/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * 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 56px;*/
    padding: 0;
    *zoom: 1;
}

.bx-wrapper img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/** THEME
===================================*/
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: 20px;
    width: 100%;
}
.brands .bx-wrapper .bx-pager,
.brands .bx-wrapper .bx-controls-auto {
    bottom: -55px;
}
.deal-products .bx-wrapper .bx-pager{bottom: -25%}
/* LOADER */

.bx-wrapper .bx-loading {
    min-height: 50px;
    background: url(../images/bx_loader.gif) center center no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #666;
    /*padding-top: 20px;*/
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
}

.bx-wrapper .bx-pager.bx-default-pager .bx-pager-item:first-child a {
    margin: 0
}
.bx-wrapper .bx-pager.bx-default-pager a {
    text-indent: -9999px;
    display: inline-block;
    border-bottom: 1px solid #9b9b9b;
    width: 50px;
    height: 10px;
    margin-left: 15px;
    outline: 0;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    border-bottom: 2px solid #373737;
}



/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
    /*right: 52px;
    background: url(../images/button-previous.png) no-repeat center center;*/
}

.bx-wrapper .bx-next {
    /*right: 0;
    background: url(../images/button-next.png) no-repeat center center;*/
}

.bx-wrapper .bx-controls-direction a {
    position: absolute;
    bottom: calc(50% - 20px);
    right: -53px;
    margin-top: 0; 
    text-align: center;
    outline: 0;
    width: 60px; font-size: 20px !important; color: #172763;
    line-height: 40px;
    /*text-indent: -9999px;*/
    /*	background-color: #888;*/
    z-index: 20;
    -webkit-transition: all 00ms ease-in-out;
    -moz-transition: all 00ms ease-in-out;
    -o-transition: all 00ms ease-in-out;
    -ms-transition: all 00ms ease-in-out;
    transition: all 00ms ease-in-out;
}
/*.magiccategory .bx-wrapper .bx-controls-direction a{bottom: calc(50% + 55px); right: -20px}
.magiccategory .bx-wrapper .bx-controls-direction a.bx-prev{left: -20px}*/

.magiccategory .bx-wrapper .bx-controls-direction a{bottom: calc(50% + 55px); transition: all 0.3s ease-in-out 0s; opacity: 0; visibility: hidden;}
.magiccategory .bx-wrapper:hover .bx-controls-direction a{visibility: visible; opacity: 1}
.magiccategory .bx-wrapper .bx-controls-direction a.bx-next{right: calc(50% - 30px)}
.magiccategory .bx-wrapper:hover .bx-controls-direction a.bx-next{display: block; right: -20px}
.magiccategory .bx-wrapper .bx-controls-direction a.bx-prev{left: calc(50% - 30px)}
.magiccategory .bx-wrapper:hover .bx-controls-direction a.bx-prev{display: block; left: -20px}

.product-view .product-img-box .more-views .bx-wrapper .bx-controls-direction a{background-color: transparent;color: #888; top: calc(100% + 20px); bottom: auto; right: 0; width: 40px; line-height: 20px; display: none; border: 1px solid #888; transform: rotate(90deg); -moz-transform: rotate(90deg); -webkit-transform: rotate(90deg); -o-transform: rotate(90deg);}
.product-view .product-img-box .more-views .bx-wrapper .bx-controls-direction a:hover{background-color: #373737; border-color: #373737; color: #fff}
.product-view .product-img-box .more-views .bx-wrapper .bx-controls-direction a.bx-prev{left: 0}
.product-view .product-img-box:hover .more-views .bx-wrapper .bx-controls-direction a{display: block;}

.block.block-related .bx-wrapper .bx-controls-direction a, .block.box-up-sell .bx-wrapper .bx-controls-direction a, .crosssell .bx-wrapper .bx-controls-direction a{bottom: -9; right: -18}
.block.block-related .bx-wrapper .bx-controls-direction a.bx-prev, .block.box-up-sell .bx-wrapper .bx-controls-direction a.bx-prev, .crosssell .bx-wrapper .bx-controls-direction a.bx-prev{left:-18;}

.bx-wrapper .bx-controls-direction a.bx-prev{right: auto; left: -54px}
.bx-wrapper .bx-controls-direction a:hover{color:#8a6c48;cursor:pointer;}
.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
    text-align: center;
}

.bx-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;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
    background-position: -86px 0;
}

.bx-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;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
    background-position: -86px -33px;
}

/* 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;
}
*/
.bx-controls-direction .icon {
    font-size:20px;
}