.flatcam,
.flatcam a,
.flatcam a img {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.ai-title-sub {
    display: block !important;
    font-size: 80% !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-transform: none !important;
    color: #CCC !important;
}

.flatcam a:hover,
#fancybox-wrap a:hover {
    text-decoration: none;
    border: none;
}

.flatcam.ai-classic,
.flatcam.ai-outline {
    width: 200px;
    height: 390px;
    margin: 0 auto !important;
    background: url(img/polaroid_sprite.png) no-repeat 0 0;
    position: relative;
}

.flatcam.ai-outline {
    background: url(img/polaroid_outline_sprite.png) no-repeat 0 0;
}

.ai-classic .ai-body,
.ai-outline .ai-body {
    position: absolute;
    z-index: 3;
    height: 184px;
    width: 100%;
    background: url(img/polaroid_sprite.png) no-repeat 0 0;
    top: 0;
    left: 0;
    cursor: pointer;
}

.ai-outline .ai-body {
    height: 178px;
    background: url(img/polaroid_outline_sprite.png) no-repeat 0 0;
}

.ai-classic .ai-opening,
.ai-outline .ai-opening {
    position: absolute;
    z-index: 2;
    width: 182px;
    height: 242px;
    top: 180px;
    left: 11px;
    overflow: hidden;
    background: url(img/blank.gif) repeat 0 0;
}

.ai-outline .ai-opening {
    top: 176px;
    left: 10px;
}

.ai-classic .ai-opening a,
.ai-outline .ai-opening a {
    display: block;
    position: absolute;
    height:  206px;
    width: 100%;
    top: -206px;
    background: url(img/polaroid_sprite.png) no-repeat -486px 0px transparent;
}

.ai-outline .ai-opening a {
    background: url(img/polaroid_outline_sprite.png) no-repeat -478px 0;
}

.ai-opening a img {
    display: none;
    height: 160px;
    margin: 2px 10px !important;
    width: 160px;
}

.ai-classic .ai-body .ai-activebtn {
    position: absolute;
    top: 68px;
    left: 9px;
    width: 50px;
    height: 50px;
    display: none;
    background: url(img/polaroid_sprite.png) no-repeat -233px -98px;
}

.ai-outline .ai-body .ai-activebtn {
    position: absolute;
    top: 73px;
    left: 13px;
    width: 44px;
    height: 46px;
    display: block;
    background: url(img/polaroid_outline_sprite.png) no-repeat -659px -2px;
}

.ai-body:hover .ai-activebtn {
    display: block;
}

.ai-outline .ai-body:hover .ai-activebtn {
    background-position: -236px -104px;
}

.ai-classic .ai-body .ai-activebtn.ai-activebtn-pressed {
    background-position:  -233px -150px;
}

.ai-outline .ai-body .ai-activebtn.ai-activebtn-pressed {
    background-position:  -236px -153px;
}

.ai-classic .ai-opening .ai-frame,
.ai-outline .ai-opening .ai-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(img/polaroid_sprite.png) no-repeat -309px 0px transparent;
    font: italic 12px Georgia, Times New Roman, serif;
}

.ai-outline .ai-opening .ai-frame {
    background: url(img/polaroid_outline_sprite.png) no-repeat -296px 0;;
}

.ai-frame .ai-likes,
.ai-frame .ai-comments {
    display: block;
    float: right;
    margin: 167px 10px 0 0;
    padding: 0 0 0 17px;
    color: #9c9c9c;
    font: italic 14px Georgia, Times New Roman, serif;

}

.ai-frame .ai-magnifying {
    position: absolute;
    width: 146px;
    height: 146px;
    background: url(img/polaroid_outline_sprite.png) no-repeat -736px -27px;
    top: 9px;
    right: 20px;
    opacity: 0;
    -webkit-transition: opacity .20s ease-in;
    -moz-transition: opacity .20s ease-in;
    -o-transition: opacity .20s ease-in;
    -ms-transition: opacity .20s ease-in;
    transition: opacity .20s ease-in;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.ai-classic .ai-frame .ai-magnifying {
    top: 8px;
    right: 19px;
}

.ai-frame .ai-magnifying:hover {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.ai-frame .ai-likes {
    background: url(img/icons.png) no-repeat -22px -122px;
}
.ai-frame .ai-comments {
    background: url(img/icons.png) no-repeat -23px -145px;
    margin-right: 20px;
}
.ai-showall {
    display: none;
    width: 65px;
    height: 37px;
    background: url(img/controls.png) no-repeat -5px -52px transparent;
    margin-left: 72px;
    cursor: pointer;
}


#ai-overlay {
    opacity:0;
    background: black;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
}


.ai-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
}

.ai-lightbox img {
    display: none;
}

.ai-lightbox a,
.ai-lightbox a:hover  {
    text-decoration: none !important;
    border: none !important;
}

.ai-lightbox img:hover {
    z-index: 3;
}

.ai-lightbox-likes,
.ai-lightbox-comments  {
    position: absolute;
    top: 20px;
    right: -9px;
    width: 58px;
    padding: 20px 0 0 0;
    background: url(img/icons.png) no-repeat 0 0 transparent;
    font: normal 16px Helvetica, sans-serif;
    height: 38px;
    line-height: 38px;
    color: white;
    text-align: center;
}


.ai-ligthbox-active .ai-lightbox-likes,
.ai-ligthbox-active .ai-lightbox-comments {
    /*display: block;*/
}

.ai-lightbox-likes {

}

.ai-lightbox-comments {
    top: 85px;
    background-position: 0 -60px;
}

.ai-classic .ai-body.ai-loading-photo {
}

.ai-classic .ai-body .ai-lens,
.ai-outline .ai-body .ai-lens {
    position: absolute;
    background: url(img/polaroid_sprite.png) -215px -5px no-repeat transparent;
    width: 82px;
    height: 92px;
    top: 40px;
    left: 58px;
}

.ai-outline .ai-body .ai-lens {
    background: url(img/polaroid_outline_sprite.png) -215px -5px no-repeat transparent;
}

.ai-classic .ai-body .ai-stripes {
    position: absolute;
    background: url(img/stripes_animation.gif) -27px 0 no-repeat transparent;
    width: 36px;
    height: 56px;
    top: 108px;
    left: 82px;
    display: none;
}

.ai-outline .ai-body .ai-stripes {
    position: absolute;
    background: url(img/stripes_outline_animation.gif) 0 0 no-repeat transparent;
    width: 24px;
    height: 42px;
    top: 112px;
    left: 88px;
    display: none;
}

.ai-body.ai-loading-photo .ai-stripes{
    display: block;
}

ul.wi-container {
	width: 190px;
	height: 300px;
	margin: 0 auto 20px;
	position: relative;
	padding: 0;
	list-style-type: none;
    width: 500px;
   	height: 550px;
	-webkit-perspective: 1400px;
	-moz-perspective: 1400px;
	-ms-perspective: 1400px;
	-o-perspective: 1400px;
	perspective: 1400px;
}

ul.wi-container li {
	width: 100%;
	height: 100%;
	display: none;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	background: url(img/loading.gif) no-repeat center center #222;
    border-radius: 27px;
	pointer-events: auto;
    padding: 0;
   	-webkit-user-select: none;
   	-khtml-user-select: none;
   	-moz-user-select: none;
   	-ms-user-select: none;
   	user-select: none;
}

ul.wi-container li.wi-move {
	pointer-events: none;
	-webkit-transition: -webkit-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
	-moz-transition: -moz-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
	-o-transition: -o-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
	-ms-transition: -ms-transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
	transition: transform 600ms ease, opacity 600ms ease, left 600ms ease, top 600ms ease;
}

.windy-wrapper {
	width: 100%;
	margin: 0 auto;
	color: #aaa;
}

.windy-wrapper li img {
	display: none;
    width: 100%;
    border-radius: 25px;
}

.windy-wrapper h4 {
	padding: 5px 5%;
    width: 82%;
    background: url(img/alpha75.png) repeat center center transparent;
    font: normal 14px Helvetica, Arial;
    overflow: hidden;
    text-align: center;
	margin: 0;
	color: #ccc;
	text-align: left;
    position: absolute;
    bottom: 4%;
    left: 4%;
}

.windy-wrapper ul.wi-container:before,
.windy-wrapper ul.wi-container:after{
	content: '';
	position: absolute;
	z-index: -2;
	bottom: 15px;
	left:  10px;
	width: 50%;
	height: 20%;
	box-shadow: 0 15px 20px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	transform: rotate(-3deg);
}

.windy-wrapper ul.wi-container:after {
	right: 10px;
	left: auto;
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	transform: rotate(3deg);
}

.windy-wrapper ul.wi-container li {

}


.windy-wrapper .ai-nav {
	position: relative;
	width: 158px;
	margin: 0 auto;
}

.windy-wrapper .ai-nav span {
	width: 42px;
	height: 42px;
	margin: 0 4px;
	float: left;
	background: url(img/nav.png) no-repeat 100% 0;
	text-indent: -9000px;
	cursor: pointer;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.windy-wrapper .ai-nav span:first-child {
	background-position: 0 0;
}

.windy-wrapper .ai-nav a {
	position: relative;
    color: rgba(255,255,255,1) !important;
    text-decoration: none;
    background-color: rgba(219,87,5,1);
    font-family: Helvetica, Arial;
    font-weight: 700;
    font-size: 14px;
    float: left;
    display: inline;
    padding: 4px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0px 6px 0px rgba(219,31,5,1), 0px 6px 25px rgba(0,0,0,.7);
    -moz-box-shadow: 0px 6px 0px rgba(219,31,5,1), 0px 6px 25px rgba(0,0,0,.7);
    box-shadow: 0px 6px 0px rgba(219,31,5,1), 0px 6px 25px rgba(0,0,0,.7);
    margin: 0;
	width: 60px;
	text-align: center;

	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}

.windy-wrapper .ai-nav a:active {
    -webkit-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    -moz-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
    position: relative;
    top: 3px;
}

.windy-wrapper .ai-nav span:active {
	background-position: 100% 2px;
}

.windy-wrapper .ai-nav span:first-child:active {
	background-position: 0 2px;
}

.windy-wrapper .ai-nav a:first-child {
	margin-right: 20px;
}