/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/

.blind {overflow:hidden;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0}

.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
  position: relative;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  
}
.bx-wrapper {margin: 0 auto;}
/** THEME
===================================*/
.gallery-slider-wrap {position:relative;margin:0;padding:10px;border:1px solid #d7d7d7}
ul.gallery-slider {list-style: none;}
/*ul.gallery-slider li {background-repeat: no-repeat;background-position: top center;background-size: cover;height:500px !important;}*/

.gallery-wrapper {
  background: #fff;
  width:100%;
  overflow: hidden;
  border:1px solid #e5e5e5;
  position:relative;
}




.gallery-wrapper img {
  max-width:100%;
  display: block;
}
.gallery-wrapper .bx-pager,
.gallery-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -30px;
  width: 100%;
}
/* LOADER */
.gallery-wrapper .bx-loading {
  min-height: 50px;
  background: url('images/bx_loader.gif') center center no-repeat #ffffff;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}
/* PAGER */
.gallery-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  position: absolute;
  top:61%;
  left:0;
  z-index: 999;
}
.gallery-wrapper .bx-pager.bx-default-pager a {
  background: #ffffff;
  text-indent: -9999px;
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}
.gallery-wrapper .bx-pager.bx-default-pager a:hover,
.gallery-wrapper .bx-pager.bx-default-pager a.active,
.gallery-wrapper .bx-pager.bx-default-pager a:focus {
  background: #00b9f1;
}
.gallery-wrapper .bx-pager-item,
.gallery-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  vertical-align: bottom;
  *zoom: 1;
  *display: inline;
}
.gallery-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.gallery-wrapper .bx-prev {
  left: 10px;
  background: url('images/controls.png') no-repeat 0 -32px;
}
.gallery-wrapper .bx-prev:hover,
.gallery-wrapper .bx-prev:focus {
  background-position: 0 0;
}
.gallery-wrapper .bx-next {
  right: 10px;
  background: url('images/controls.png') no-repeat -43px -32px;
}
.gallery-wrapper .bx-next:hover,
.gallery-wrapper .bx-next:focus {
  background-position: -43px 0;
}
.gallery-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 999;
}
.gallery-wrapper .bx-controls-direction a.disabled {
  display: none;
}
/* AUTO CONTROLS (START / STOP) */
.gallery-wrapper .bx-controls-auto {
  text-align: center;
}
.gallery-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -11px no-repeat;
  margin: 0 3px;
}
.gallery-wrapper .bx-controls-auto .bx-start:hover,
.gallery-wrapper .bx-controls-auto .bx-start.active,
.gallery-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}
.gallery-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -44px no-repeat;
  margin: 0 3px;
}
.gallery-wrapper .bx-controls-auto .bx-stop:hover,
.gallery-wrapper .bx-controls-auto .bx-stop.active,
.gallery-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.gallery-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.gallery-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}
/* IMAGE CAPTIONS */
.gallery-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}
.gallery-wrapper .bx-caption span {
  color: #fff;
  display: block;
  font-size: 1.0em;
  padding: 10px;
}


#gallery-pager {border:solid #ddd;border-width:1px 0;margin:20px auto 0;padding:15px;}
#gallery-pager a.thumbA {display:inline-block;border:2px solid #ddd; width:31%;position:relative;overflow:hidden;}
#gallery-pager a.thumbA.active {border:2px solid #255bab;}

#gallery-pager a img {max-width:100%;}


.gallery-slider-controls {position: absolute;left:0;top:50%;margin-top: -13px;width:100%;height:27px;z-index:1;}

#gallery-slider-prev {display: inline-block;overflow: hidden;position: absolute;top:50%;margin-top: -10px;left:20px;width: 20px;height: 20px;z-index:200;}
#gallery-slider-prev a {background: url(images/arrow_left.png);background-size:100%;display: block;width: 100%;height: 20px;position:relative;}
#gallery-slider-next {display: inline-block;overflow: hidden;position: absolute;top:50%;margin-top: -10px;right:20px;width: 20px;height: 20px;z-index:200;}
#gallery-slider-next a {background: url(images/arrow_right.png);background-size:100%;display: block;width: 100%;height: 20px;position:relative;}



.gallery-thumb {padding:19px 0;position:relative;width:100%;margin:48px auto 0;z-index:999;border-top:1px solid #d7d7d7;border-bottom:1px solid #d7d7d7;}
.gallery-thumb .thumb-list{display:inline-block;zoom:1;vertical-align:top}
.gallery-thumb .thumb-list:after{display:block;clear:both;content:''}
.gallery-thumb .thumb-list li {width:190px !important;}
.gallery-thumb .thumb-list li a {width:190px;height:142px}
.gallery-thumb .thumb-list li a img{width:190px !important;height:142px !important;}

/*@media screen and (max-width:768px){*/
	
	/*.view_img_area .view_img,  .view_img_area,  .view_img_area .view_img{width:100%;height:auto}*/
	/*.gallery-wrapper { border:0 none;}*/
/*}*/

/*@media screen and (max-width:640px){*/
	/*.gallery-slider-wrap {width:auto;padding:10px;}*/
	/*.gallery-wrapper {*/
	  /*height:300px !important;*/
	/*}*/
	/*.gallery-wrapper img {*/
		/*height:300px !important;*/
	/*}*/
	/*.gallery-thumb .thumb-list li {width:100px !important;}*/
	/*.gallery-thumb .thumb-list li a {width:100px;height:100px}*/
	/*.gallery-thumb .thumb-list li a img{width:100px !important;height:100px !important;}*/
/*}*/