/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Written by: Steven Wanderski, 2014
* http://stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* http://bxcreative.com
*/


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

.bx-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0;
    *zoom: 1;
    overflow: hidden;
}

.bx-wrapper img {
    max-width: 100%;
    display: block;
}


.bx-wrapper a:hover {
    text-decoration: none;
}


.s-auto, .m-slider {margin: 0; padding: 0;}
.m-slider img {width: 100%;}
.s-auto img {max-height: 550px; margin: 0 auto;}
.s-auto li {background: #eee;}
/** THEME
===================================*/

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

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
    min-height: 50px;
    background: url(/images/bx_loader.gif) center center no-repeat #fff;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
    font-size: .85em;
    color: #666;
    text-align: center;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    z-index: 9;
}

.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
    *zoom: 1;
    *display: inline;
}

.bx-wrapper .bx-pager .bx-pager-item {
    position: relative;
    display: inline-block;
    margin: 0px 6px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    *zoom: 1;
    *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    outline: medium none;
    border-radius: 50%;
    text-indent: -999em;
    cursor: pointer;
    position: absolute;
    background-color: transparent;
    box-shadow: inset 0 0 0 2px white;
    -webkit-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    outline: medium none;
    border-radius: 50%;
    text-indent: -999em;
    cursor: pointer;
    position: absolute;
    box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.8) inset;
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
    box-shadow: 0px 0px 0px 8px #56A0CC inset;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
    opacity: 0;
    left: -30px;
}

.bx-wrapper .bx-next {
    opacity: 0;
    right: -30px;
}

.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-prev:hover {
    color: rgba(255,255,255,1);
}

.bx-wrapper:hover .bx-prev {
    opacity: 1;
    left: 20px;
}

.bx-wrapper:hover .bx-next {
    opacity: 1;
    right: 20px;
}

.bx-wrapper .bx-prev:hover {
    background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
    background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    color: rgba(255,255,255,0.8);
    margin-top: -20px;
    outline: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 28pt;
    z-index: 9999;
    text-align: center;
}

.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}

.auto-controls .bx-wrapper .bx-controls-direction a {
    top: calc(100% - 45px);
}

.auto-controls .bx-wrapper:hover .bx-prev {
    opacity: 1;
    left: 50%;
    margin-left: -100px;
}

.auto-controls .bx-wrapper:hover .bx-next {
    opacity: 1;
    right: 50%;
    margin-right: -100px;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper:hover .bx-controls-auto,
.bx-wrapper:hover .bx-has-controls-auto {
    opacity: 1;
    visibility: visible;
}

.bx-wrapper .bx-controls-auto {
    text-align: center;
    width: 120px;
    left: 50%;
    margin-left: -60px;
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transition:All 0.8s ease;
    -webkit-transition:All 0.8s ease;
    -moz-transition:All 0.8s ease;
    -o-transition:All 0.8s ease;
}

.bx-wrapper .bx-controls-auto .bx-start,
.bx-wrapper .bx-controls-auto .bx-stop {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 11pt;
    text-align: center;
    color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.8);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: 2px solid #fafafa;
    margin: 0 2px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
    color: rgba(255,255,255,1);
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
    text-align: left;
    width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    right: 0;
    width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666\9;
    background: rgba(80, 80, 80, 0.75);
    width: 100%;
}

.bx-wrapper .bx-caption span {
    color: #fff;
    font-family: Arial;
    display: block;
    font-size: .85em;
    padding: 10px;
}

/* SIDEBAR BTN NAV */
.sb-slider #slider-next,
.sb-slider #slider-prev {
    position: absolute;
    background: rgba(255,255,255,0.8);
    font-size: 13pt;
    text-align: center;
    top: 35%;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    transition:All 0.3619s ease;
    -webkit-transition:All 0.3619s ease;
    -moz-transition:All 0.3619s ease;
    -o-transition:All 0.3619s ease;
    z-index: 2;
}

.sb-slider #slider-next a,
.sb-slider #slider-prev a {
    color: rgba(0,0,0,0.4);
    text-decoration: none;
    display: block;
    line-height: 50px;
    width: 40px;
    height: 50xp;
}

.sb-slider #slider-next a:hover,
.sb-slider #slider-prev a:hover {
    color: rgba(0,0,0,0.6); 
}

.sb-slider #slider-prev {
    left: -40px;
}

.sb-slider #slider-next {
    right: -40px; 
}

.sb-slider:hover #slider-prev {
    left: -3px;
}

.sb-slider:hover #slider-next {
    right: -3px; 
}

/* SLIDE DESCRIPTION */
    .m-slider .des {
    position: absolute;
    bottom: 20%;
    left: 10%;
    margin-right: 10%;
}

.m-slider .des span {
    display: table;
    color: #fff;
    padding: 10px 16px;
}

.m-slider .des span.m {
    background: rgba(0,0,0,0.8);
    font-weight: 300;
    font-size: 26pt;
}

.m-slider .des span.d {
    background: rgba(0,0,0,0.6);
    font-weight: 300;
}

.des-r {
  left: auto !important;
  right: 10%;
  margin: 0 0 0 10% !important;
  text-align: right;
}

.des-r span {
  margin-left: auto;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1020px) { 
    .m-slider .des span.m {font-size: 20pt;}
}

@media screen and (min-width: 600px) and (max-width: 800px) {
    .bx-wrapper .bx-controls-direction a {font-size: 18pt;}
    .bx-pager {display: none;}
    .m-slider .des span.m {font-size: 14pt;}
}

@media screen and (min-width: 200px) and (max-width: 599px) {
    .bx-wrapper .bx-controls-direction a {font-size: 14pt;}
    .m-slider .des {display: none;}
}