/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/
.vg_inner {width:100%;min-width:1200px;position: relative;height:593px;}

.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  /*-webkit-transform: translatez(0);*/

}
/** THEME
===================================*/
ul.main-slider {list-style: none;}
ul.main-slider li {height: 593px;background-repeat: no-repeat;background-size: cover;background-position: top center;
/*transform:scale(1.1);
-webkit-transform:scale(1.1);
-moz-transform:scale(1.1);
-o-transform:scale(1.1);*/
}





ul.main-slider li.active-slide {
  transform:scale(1); -webkit-transform:scale(1); -moz-transform:scale(1);
  -webkit-transition: all 6.0s;-moz-transition: all 6.0s;-o-transition: all 6.0s;transition: all 6.0s;
}

.main-wrapper {
  width:100%;
  position: relative;
}
.main-wrapper img {
  max-width:100%;
  display: block;

}
.main-wrapper .bx-pager,
.main-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 30%;
  width: 100%;
}
/* LOADER */
.main-wrapper .bx-loading {
  min-height: 50px;
  background: url('images/bx_loader.gif') center center no-repeat #ffffff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}
/* PAGER */
.main-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #c6c6c6;
  z-index: 300;
}
.main-wrapper .bx-pager.bx-default-pager a {
  background: #c6c6c6;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;

}
.main-wrapper .bx-pager.bx-default-pager a:hover,
.main-wrapper .bx-pager.bx-default-pager a.active,
.main-wrapper .bx-pager.bx-default-pager a:focus {
  background: #fff;
}
.main-wrapper .bx-pager-item,
.main-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  vertical-align: bottom;
  *zoom: 1;
  *display: inline;
}
.main-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.main-wrapper .bx-prev {
  left: 10px;
  background: url('images/controls.png') no-repeat 0 -32px;
}
.main-wrapper .bx-prev:hover,
.main-wrapper .bx-prev:focus {
  background-position: 0 0;
}
.main-wrapper .bx-next {
  right: 10px;
  background: url('images/controls.png') no-repeat -43px -32px;
}
.main-wrapper .bx-next:hover,
.main-wrapper .bx-next:focus {
  background-position: -43px 0;
}
.main-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.main-wrapper .bx-controls-direction a.disabled {
  display: none;
}
/* AUTO CONTROLS (START / STOP) */
.main-wrapper .bx-controls-auto {
  text-align: center;
}
.main-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;
}
.main-wrapper .bx-controls-auto .bx-start:hover,
.main-wrapper .bx-controls-auto .bx-start.active,
.main-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}
.main-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;
}
.main-wrapper .bx-controls-auto .bx-stop:hover,
.main-wrapper .bx-controls-auto .bx-stop.active,
.main-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.main-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.main-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}
/* IMAGE CAPTIONS */
.main-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}
.main-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}



#main-slider-prev {display: inline-block;overflow: hidden;position: absolute;top:50%;margin-top:-21px;left:-120px;width: 26px;height: 42px;}
#main-slider-prev a {background: url(images/prev.png);display: inline-block;width: 26px;height: 42px;margin: 0;padding: 0;text-indent:-9999px;}
#main-slider-next {display: inline-block;overflow: hidden;position: absolute;top:50%;margin-top:-21px;right:-120px;width: 26px;height: 42px;}
#main-slider-next a {background: url(images/next.png);display: inline-block;width: 26px;height: 42px;margin: 0;padding: 0;text-indent:-9999px;}


.main-slider-controls {margin-top: -8px;}
.main-slider-controls .control-play-btn {display:inline-block;background:transparent;text-align: center;}
.main-slider-controls .control-play-btn i {color:#fff;font-size: 0.5em}


#main-bx-pager {
    position: relative;
    padding: 0;
    margin: 25px 0 0;
    list-style-type: none;
    z-index: 555;
}
#main-bx-pager ul {
    list-style: none;
    margin:0;
    padding:0;
    width: 100%;
    text-align: right;
}
#main-bx-pager li {
    display:inline-block;
    margin:0 7px 0 0;
    padding:0;
}
#main-bx-pager li a {
    text-decoration: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width:15px;height:15px;
    border:4px solid #646464;
    border-radius: 50%;
    display: block;
    text-indent: -9999px;
}
#main-bx-pager li a.active, #main-bx-pager li a:hover {
    background-color: transparent;border:4px solid #e5e5e5;
}



@media only screen and (max-width: 1024px) {
	.vg_inner {min-width:320px;height: 300px}
	ul.main-slider li {height:300px !important;}
	.main-wrapper {height:300px !important;}
	.main-pager {margin-top:50px;}

	#main-bx-pager {width:100%;}
	#main-bx-pager ul { text-align: center; }
	#main-bx-pager li a {width:10px;height:10px;}

	#main-slider-prev, #main-slider-next {display: none}
}


@media only screen and (max-width: 768px)
{
	#main-bx-pager ul {text-align: right; }
	#main-bx-pager {margin: 5px 0 0;}
}