#thumbs_tab-1 li, #thumbs_tab-2 li, #thumbs_tab-3 li{
	display:inline-block;
	vertical-align:top;
	padding:0 1px;
}
#gallery img{
	width:100%;
}
.tab span:first-child{
	float:left;
}
.tab span:last-child{
	float:right;
	margin:0 20px 0 0;
}

.img{width:100%}
.ten,.fourteen{display:inline-block;vertical-align:top;letter-spacing:normal}
.ten{width:100%}
.fourteen{width:100%;margin:3px;padding:3px}
.nomargin.ten{width:100%}
.nomargin.fourteen{width:100%}

@media only screen and (min-width:1680px) and (max-width:1900px){
	.ten{width:305px;}
	.fourteen{width:625px;margin:0;padding:0}
	.nomargin.ten{width:305px}
	.nomargin.fourteen{width:625px}
}
@media only screen and (min-width:1440px) and (max-width:1679px){
	.ten{width:305px;}
	.fourteen{width:625px;margin:0;padding:0}
	.nomargin.ten{width:305px}
	.nomargin.fourteen{width:625px}
}
@media only screen and (min-width:1280px) and (max-width:1439px){
	.ten{width:305px;}
	.fourteen{width:625px;margin:0;padding:0}
	.nomargin.ten{width:305px}
	.nomargin.fourteen{width:625px}
}
@media only screen and (min-width:1044px) and (max-width:1279px){
	.ten{width:305px;}
	.fourteen{width:625px;margin:0;padding:0}
	.nomargin.ten{width:305px}
	.nomargin.fourteen{width:625px}
}
@media only screen and (min-width:768px) and (max-width:1043px){
	.ten{width:305px;}
	.fourteen{width:100%;margin:0;padding:0}
	.nomargin.ten{width:305px}
	.nomargin.fourteen{width:100%}
}
@media only screen and (min-width:480px)){
.ten,.fourteen{width:100%;margin:3px 0;padding:3px 0}
.nomargin.ten,.nomargin.fourteen{width:100%}
}
@media only screen and (max-width:479px){
.ten,.fourteen{width:100%;margin:3px 0;padding:3px 0}
.nomargin.ten,.nomargin.fourteen{width:100%}
}
@media only screen and (max-width:320px){
.ten,.fourteen{width:100%;margin:3px 0;padding:3px 0}
.nomargin.ten,.nomargin.fourteen{width:100%}
}
@-webkit-keyframes bounceInDown{
0%{opacity:0;-webkit-transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px)}80%{-webkit-transform:translateY(-10px)}100%{-webkit-transform:translateY(0)}
}
@-moz-keyframes bounceInDown{
0%{opacity:0;-moz-transform:translateY(-2000px)}60%{opacity:1;-moz-transform:translateY(30px)}80%{-moz-transform:translateY(-10px)}100%{-moz-transform:translateY(0)}
}
@-o-keyframes bounceInDown{0%{opacity:0;-o-transform:translateY(-2000px)}60%{opacity:1;-o-transform:translateY(30px)}80%{-o-transform:translateY(-10px)}100%{-o-transform:translateY(0)}
}
@keyframes bounceInDown{
0%{opacity:0;transform:translateY(-2000px)}60%{opacity:1;transform:translateY(30px)}80%{transform:translateY(-10px)}100%{transform:translateY(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;-moz-animation-name:bounceInDown;-o-animation-name:bounceInDown;animation-name:bounceInDown}

.gallery.insidepage{position:relative;padding:0 0 40px}
.gallery h1{display:block;width:100%}
.revolver.nomargin{
	border-radius:0px;
	background-clip:border-box;
	width:100%;
	margin:0;
	overflow:hidden;
	position:relative;
}
div.gallery-slides.nomargin{margin-bottom:0px}
#gallery.revolver.nomargin{
	margin:20px 0px;
	z-index:20;
}
.revolver.stack .slide{left:0;position:absolute;top:0}
.revolver.stack .hidden{display:none}
.revolver.nomargin img{overflow:hidden}
#gallery-tabs{text-align:center;margin:0;padding:0; overflow:hidden}
#gallery-tabs li{margin:0 0px;position:relative;z-index:10; width:100%}

#gallery-tabs li a{
	color:#000;
	text-decoration:none;
}
.tab{
	position:relative;
	z-index:26;
	margin:0 5px 0 5px;
	padding:5px 10px 0 10px;
	z-index:10;
	cursor:pointer;
	font-weight:bold;
	font-size:12px;
	background:#EEEEEE;
	border-radius:0;
	background-clip:border-box;
	overflow:hidden;
	padding:10px;
	border-top:1px solid #CCCCCC;
}
.tab.selected{
	padding:10px;
	background:#3e71a3;
	z-index:20;
}
.tab.selected span, .tab.selected strong{
	color:#FFFFFF;
}
.tab:hover{
	padding:10px;
	border-top:1px solid #2c5073;
	background:#ee2e24;
	-webkit-box-shadow: inset 0px 0px 25px 0px #333333;
	-moz-box-shadow: inset 0px 0px 25px 0px #333333;
	box-shadow: inset 0px 0px 25px 0px #333333;
	z-index:20;
}
.tab:hover span, .tab:hover strong{
	color:#FFFFFF;
}

.tab a{text-decoration:none;color:#fff;font-size:12px}
.tab a:hover{text-decoration:underline}
.tab.selected a{color:#fff}

#gallery-thumbs{
	min-height:130px;
	position:relative;
	margin:-1px 0px 0 25px
}

.thumbs{
	display:block;
	background:#D4D4D4;
	border-radius:0px;
	background-clip:border-box;
	overflow:hidden;
	padding:10px;
	text-align:center;
	z-index:10;
}
.thumbs h3{
	display:block;
	font-family:Arial,Helvetica,sans-serif;
	font-size:13px;
	background:#d9a74a;
	color:#fff;
	margin:3px;
	padding:5px;
	border-radius:15px;
	background-clip:border-box;
	overflow:hidden
}

.thumbs li{
	margin:2px;
	width:30%;
}

.thumbs li a{cursor:pointer}

.thumbs li a img{
	border:1px solid #777777;
	display:inline-block;
	width:100%;
	overflow:hidden;
	opacity:1;
	margin:2px
}

.thumbs-selected{z-index:11}.
thumbs li a:hover img{opacity:1;border:1px solid #d9a74a;margin:1px}
.thumbs.hidden{display:none}
.thumbs.shown{display:block}

@media only screen and (min-width:1680px){
	.revolver.nomargin{height:468px}
}
@media only screen and (min-width:1440px){
	.revolver.nomargin{width:100%;height:468px}
}
@media only screen and (min-width:1280px){
	.revolver.nomargin{width:100%;height:468px}
}
@media only screen and (min-width:1044px) and (max-width:1279px){
	.revolver.nomargin{width:100%;height:468px}
}
@media only screen and (min-width:768px) and (max-width:1043px){
	.ten{width:100%}
	.revolver.nomargin{width:100%;height:600px}
	div.gallery-slides.nomargin{width:100%}
	#gallery-thumbs{width:100%;margin:0 0 0 0}
	#gallery-tabs{margin:5px 0 0 0}
	#gallery-tabs li{margin:0; width:100%; overflow:hidden;}
}
@media only screen and (min-width:480px) and (max-width:767px){
	.ten{width:100%}
	.revolver.nomargin{width:100%;height:450px}
	#gallery-thumbs{margin:30px 0 10px 0}
	#gallery-tabs{margin:5px 0 0 0}
	#gallery-tabs li{margin:0; width:100%; overflow:hidden;}
}
@media only screen and (max-width:479px){
	.ten{width:100%}
	.revolver.nomargin{width:100%;height:260px}
	#next,#prev,#pause,#play{display:none}
	#gallery-thumbs{margin:10px 0}
	#gallery-tabs{margin:5px 0 0 0;min-width:0}
	#gallery-tabs li{margin:0; width:100%; overflow:hidden;}
}
