/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
    position: relative;
    padding: 0;
    *zoom: 1;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

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

.bxslider {
    margin: 0;
    padding: 0;
}

ul.bxslider {
    list-style: none;
}

.bx-viewport {
    -webkit-transform: translatez(0);
    /* border-radius: 0 0 50px 50px; */
    height: 900px !important;
    width: 100% !important;
    overflow: hidden;
    position: relative;
    border-radius: 40px;
    margin: 16px auto;
}

@media screen and (max-width: 1100px) {
    .bx-viewport {
        /*fix other elements on the page moving (on Chrome)*/
        -webkit-transform: translatez(0);
        border-radius: 40px;
        height: 500px !important;
        margin-top: 10px;
    }
}

/** THEME
===================================*/
.bx-wrapper {}

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

/* LOADER */
.bx-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 */
.bx-wrapper .bx-pager {
    text-align: center;
    font-size: 16px;
    color: #fff;
    position: static;
    margin-right: 20px;
    background-color: #000 !important;
    padding: 10px 20px;
    border-radius: 20px;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: rgba(255, 255, 255, 0.6);
    text-indent: -9999px;
    display: block;
    width: 15px;
    height: 15px;
    margin: 0 3px;
    outline: 0;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {}

.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: block !important;
    vertical-align: bottom;
    margin: 0 -1px;
    *zoom: 1;
    *display: inline;
}

.bx-wrapper .bx-pager-item {
    font-size: 0;
    line-height: 0;
}

/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-controls.bx-has-controls-direction.bx-has-controls-auto {
    position: absolute;
    width: 100%;
    bottom: 80px;
    max-width: 1100px;
    left: 90%;
    margin-left: -1000px;
    text-align: right;
}

.bx-controls-direction {
    display: inline-block;
    text-align: left;
    float: right;
}

.bx-wrapper .bx-prev {
    left: 0;
    background: url(/img/arrow_left.png) no-repeat center center;
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
    background-position: 0 0;
    background-color: #003c96;
}

.bx-wrapper .bx-next {
    right: 0;
    background: url(/img/arrow_right.png) no-repeat center center;
}

.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
    background-color: #003c96;
}

.bx-wrapper .bx-controls-direction a {
    width: 46px;
    height: 46px;
    text-indent: -9999px;
    z-index: 9999;
    display: inline-block;
    margin: 0 4px;
    border-radius: 50%;
    background-size: 25px auto;
    background-color: #000;
    background-position: center !important;
}

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

/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
    position: static;
    width: auto;
    display: inline-block;
    text-align: left;
    float: right;
}

.bx-wrapper .bx-controls-auto .bx-start {
    display: block;
    text-indent: -9999px;
    width: 46px;
    height: 46px;
    outline: 0;
    margin: 0 3px;
    background-color: #003c96;
    border-radius: 50%;
    position: relative;
    top: 0;
}

.bx-wrapper .bx-controls-auto .bx-start:after {
    content: '▶';
    color: #fff;
    position: absolute;
    width: 100%;
    line-height: 46px;
    left: 0;
    z-index: 6666;
    top: 0;
    text-indent: 0;
    text-align: center;
    display: block;
    font-size: 10px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {}

.bx-wrapper .bx-controls-auto .bx-stop {
    display: block;
    text-indent: -9999px;
    width: 46px;
    height: 46px;
    outline: 0;
    margin: 0 3px;
    border-radius: 50%;
    position: relative;
    top: 0;
    background: #00000061;
}

.bx-wrapper .bx-controls-auto .bx-stop:after {
    content: 'Ⅱ';
    color: #fff;
    position: absolute;
    width: 100%;
    line-height: 46px;
    left: 0;
    z-index: 6666;
    top: 0;
    text-indent: 0;
    text-align: center;
    display: block;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
    background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
    display: inline-block;
    /* margin-right: 100px; */
    /* width: 100px; */
}

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

/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #666;
    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;
}


@media screen and (max-width:1100px) {

    .bx-controls.bx-has-controls-direction.bx-has-controls-auto {
        bottom: 30px;
        max-width: 100%;
        left: -30px;
        margin-left: 0;
    }

}

@media screen and (max-width:900px) {}

@media screen and (max-width:500px) {
    .bx-wrapper .bx-controls-direction a {
        width: 36px;
        height: 36px;
        background-size: 16px auto;
    }

    .bx-wrapper .bx-controls-auto .bx-stop:after,
    .bx-wrapper .bx-controls-auto .bx-start:after {
        line-height: 36px;
    }

    .bx-wrapper .bx-controls-auto .bx-stop,
    .bx-wrapper .bx-controls-auto .bx-start {
        width: 36px;
        height: 36px;
    }
}