/**
 * 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 0 30px;
	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: -30px;
	width: 100%;
}

/* LOADER */

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

/* 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;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: $gray-white;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: $primary;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper{ 
    .bx-prev {
	left: 0;
        &:before{
            content: "\e903"; 
        }
    }

    .bx-next {
        right: 0;
        &:before{
            content: "\e902";
        }
    }

 .bx-controls-direction a {
	position: absolute;
	top: 0;
	outline: 0;
	width: 32px;height: 100%;
	z-index: 1000;
    font-size: 0;
    color: transparent;
    
    &:before{
        font-family: 'icomoon'; font-size: 25px;
        position: absolute;
        left:0;
        right:0;
        margin-top: -28px;
        top:50%;
        @include box-shadow(3px 2px 7px rgba($dark,0.1));
        padding: 11px 7px;
        color: $gray-white;
        opacity: 0;
        @include transition(all .1s ease);
        
    }
    &:hover{
        //background: rgba($white,0.1);
        &:before{
            background:rgba( $white,0.8);
            
        }
    }
    
}
    &:hover{
        .bx-controls-direction a:before{
            opacity: 1;
        }
    }
}
.vertical{
    .bx-controls-direction{
        height: 35px;
        a {
	   bottom: 0;
       top:auto;
	   width: 25px;
       height: 25px;
       text-align: center;
        background: $white;
        &:before{
            font-size: 15px;
            margin-top:-17px;top:50%;
            padding: 5px;
            opacity:1;
            box-shadow:none;
            color: $text-color;
        }
        &:hover{
            background:$white;
        }
        &:hover:before{
            background: none;
        }
    }
}
    .bx-prev {
	    right: 35px;
        left:inherit;
        &:before{
            content: "\e91a";
            
        }
    }
    .bx-next {
        right: 5px;
        &:before{
              content: "\e919";
        }
    }
.bx-wrapper .bx-controls-direction a.disabled {
	display: block;opacity: 0.5;cursor: default;
}
    
}
.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}
