
.owl-flex-gallery { position:relative; min-height:1px; }
.owl-flex-gallery .gallery-slideshow { padding:0px; background:#f8f8f8; margin-bottom:0px; }

.owl-flex-gallery .owl-carousel .owl-wrapper { left:0px !important; }

.owl-flex-gallery .slides li,
.owl-flex-gallery .slides table,
.owl-flex-gallery .slides td { width:100%; /*height:100%; min-height:100%;*/ text-align:center; vertical-align:middle; }
.owl-flex-gallery .slides img { display:block !important; margin:auto; }
.owl-pagination div span { display:block; width:10px; height:10px; background-color:#f00; float:left; margin:0 10px; }
.owl-pagination div.active span { background-color:#0f0; }

.gallery-slideshow .flex-direction-nav a { top:47.5% !important; }

.gallery-slideshow .flex-control-nav, 
.gallery-slideshow .flex-control-nav * { 
	width:1px !important; height:1px !important; 
	position:absolute; left:0px; top:0px; overflow:hidden; text-indent:-99px; 
}
.owl-flex-gallery .flex-direction-nav .flex-prev,
.owl-flex-gallery .flex-direction-nav .flex-next {
	background:url(../images/gallery-btn.png) no-repeat 0 0 rgba(236,17,25,0.5) !important;
	width:49px; height:49px;
	}

.owl-flex-gallery .flex-direction-nav .flex-prev { 
	background-position:0 0 !important; 
	left:0px !important; /*right:89.4%; */
	border-radius:0 5px 5px 0;
	}
.owl-flex-gallery .flex-direction-nav .flex-next { 
	background-position:right 0 !important; 
	right:0 !important; /*left:89.4%;*/ 
	border-radius:5px 0 0 5px;
	}
.owl-flex-gallery .flex-direction-nav .flex-next:hover,
.owl-flex-gallery .flex-direction-nav .flex-prev:hover { background-color:#ec1119 !important; }

.gallery-thbox { 
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
	padding:3px 37px !important; position:absolute; left:0px; bottom:10px; width:100%; 
	z-index:999;
	}
.gallery-thbox .owl-item { margin:0px !important; }
.gallery-thbox { border:none; padding:0px; border-radius:0px; }
.gallery-thbox .owl-item > div { border:0px solid #ffffff; padding:0 2px; }
.gallery-thbox .owl-item > div span { 
	display:block; /*height:55px;*/
	border:2px solid #FFFFFF; color:#F8F8F8;
	position:relative; min-height:1px; overflow:hidden; 
	text-align:center;
	}
.gallery-thbox .owl-item > div img { display:block !important; /*opacity:0.7;*/ width:100%; /*max-height:55px; min-height:55px;*/ margin:0 auto; }

.gallery-thbox .owl-item:hover > div span,
.gallery-thbox .owl-item.current > div span { border:2px solid #ec1119; }
.gallery-thbox .owl-item:hover > div img,
.gallery-thbox .owl-item.current > div img { /*opacity:1;*/ }

@media(min-width:980px){
.gallery-thbox .owl-wrapper { left:2px !important; }
}
.owl-flex-gallery .owl-buttons div { 
	position:absolute; top:0; width:25px; height:100%;
	background:url(../images/scroller-btn.png) no-repeat 0 0 !important; 
	font-size:0px; text-indent:-999px;
	}
.owl-flex-gallery .owl-buttons div.owl-prev { left:-30px; background-position:0 center !important; }
.owl-flex-gallery .owl-buttons div.owl-next { right:-30px; background-position:right center !important; }

.owl-flex-gallery .owl-buttons div.owl-prev:hover,
.owl-flex-gallery .owl-buttons div.owl-next:hover { /*background-color:#000000 !important; */}

.owl-flex-gallery .owl-buttons div.disabled { display:none !important; }



@media(min-width:980px) and (max-width:1199px){
.owl-buttons div.owl-next { right:7px; }
}
@media(max-width:980px){
.owl-flex-gallery .gallery-slideshow { padding:0px; }
.owl-flex-gallery .flex-direction-nav .flex-prev { left:0 !important; right:auto; border-radius:0 5px 5px 0; }
.owl-flex-gallery .flex-direction-nav .flex-next { right:0 !important; left:auto; border-radius:5px 0 0 5px; }

}
@media(max-width:767px){
.owl-flex-gallery .gallery-slideshow { margin-bottom:15px; }
.gallery-thbox { padding:5px 3px;}
.gallery-carousel { }
.gallery-thbox .owl-item > div { padding:0 2px; }
}