#gallery_wrap {
	position: relative;


}
#thumbnails_wrapper {
	margin: 0;

}
#thumbnails_wrapper .gallery {
	position: relative;
	display: block;
	height: 100px;
	padding:6px 3px 0;
	background:#fff;
	margin: auto;
}
#thumbnails_wrapper a:first-child {
	background: none repeat scroll 0 0 #000000;
    display: inline-block;
    height: 100px;
    line-height: 0;
    overflow: hidden;
    position: relative;
    width: 100px;
}
#thumbnails_wrapper img {
	width: 100px;
	height: 100px;
	-webkit-transition: all 250ms ease-in-out;
	-moz-transition: all 250ms ease-in-out;
	-o-transition: all 250ms ease-in-out;
	transition: all 250ms ease-in-out;

}
#thumbnails_wrapper img:hover {

	-moz-transform: scale(1.2) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
		-webkit-transform: scale(1.2) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
        -o-transform: scale(1.2) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
        -ms-transform: scale(1.2) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
        transform: scale(1.2) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
	
}
#thumbnails_wrapper .first_thumb img {
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	-webkit-opacity: 1;
	opacity: 1;
}
#kwik_loader{background: #fff url('loader.gif') no-repeat center center;position:absolute; left:50%; top:50%; width:300px;height:200px;margin-left:-150px;margin-top:-100px;}

#main_img_wrap {
	
	position: relative;
/*	height: 400px;*/
	width: 100%;
	text-align: center;
	overflow: hidden;
	-webkit-transition: height 250ms ease;
	-moz-transition: height 250ms ease;
	-ms-transition: height 250ms ease;
	-o-transition: height 250ms ease;
	transition: height 250ms ease;
}
#main_img_wrap .attachment-large {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	-webkit-transition: height 250ms ease;
	-moz-transition: height 250ms ease;
	-ms-transition: height 250ms ease;
	-o-transition: height 250ms ease;
	transition: height 250ms ease;
	width:100%;
	height:auto;
}
.attachment-full {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	
/*	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	-webkit-opacity: 0;
	opacity: 0;*/
}
dl.gallery_item {
	height: 100px;
	width: 100px;
	float:left;
	margin: 0;
	padding: 0 3px;
	background: none repeat scroll 0 0 #FFFFFF;
}

dt.gallery_icon {
	line-height:0;
	padding:0;
	margin:0;
	
}
#play_video {
	z-index: 2;
	width: 610px;
	height: 426px;
	margin: auto;
	/*background:url('../lib/play_button.png') no-repeat center center;*/

	position: absolute;
	top: 0;
	left: 0;
	text-indent: -9999px;/*	top:123px;

	left:216px;

	margin-left:-232px;

	margin-top:-122px;*/
}
.play_icon:after {
	content: " ";
	position: absolute;
	background: url('play_icon.png') no-repeat center center;
	top: -6px;
	right: -6px;
	height: 16px;
	width: 16px;
}

#fullscreen_wrap {
	display: none;
	background: none repeat scroll 0 0 #444444;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
	text-align:center;
}

#fullscreen_wrap .attachment-large{
	height:100%;
	width:auto;
position:relative;
}
#fullscreen_wrap #kg_toolbar {
	display:none;
}
#fullscreen_wrap #img_zoom_wrap {
	width: 100%;
	height: 100%;
}
#fullscreen_wrap #kg_toolbar span, #fullscreen_wrap #kg_toolbar a {
	margin-left: 6px;
	margin-top: 0;
}


#fullscreen_wrap #thumbnails_wrapper {
	bottom: 0;
    left: 0;
	position:absolute;
	width: 100%;;
	z-index:110
}






#kg_toolbar {
	background: #fff;
	top: 0;
	right: 0;
	margin: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	position: absolute;
	text-align: center;
line-height: 0;
	z-index: 10;
}
#kg_toolbar span, #kg_toolbar a {
	cursor: pointer;
	display: inline-block;
	height: 35px;
	margin-left: 6px;
	margin-bottom: 6px;
	padding: 0;
	text-indent: -9999px;
	width: 35px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}
#kg_toolbar span:hover, #kg_toolbar a:hover {
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}
#kg_toolbar a.kg_fullscreen {
	background: url('kg_toolbar_sprite.png') no-repeat -41px 0;
	display:none;
}
#kg_toolbar span.kg_prev {
	background: url('kg_toolbar_sprite.png') no-repeat 0 0;
}
#kg_toolbar span.kg_next {
	background: url('kg_toolbar_sprite.png') no-repeat -82px 0;
}
.transparent {
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	-webkit-opacity: 0;
	opacity: 0;
	display: none;
}



#main_img_wrap iframe{position:absolute;top:0;left:0;width:100%; height:100%;z-index: 10;}

