/**
 * 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
===================================*/
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.bx-wrapper {
	border-radius: 7px;
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/
.bxslider {margin:0 auto; padding:0;}
.bxslider p{margin:0;padding:0;}
.bx-wrapper .bx-viewport{left:0;}
.bx-wrapper .bx-caption span{font-family:'Cabin', sans-serif;font-size:1.750em;line-height:1.3em;text-align:right;}

/* 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 {
	display: none;
}

.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: rgba(255,255,255,.3);
	border: 1px solid rgba(255,255,255,.3);
	display: block;
	width: 21px;
	height: 15px;
	margin: 0 5px;
	outline: 0;
	text-indent: -9999px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #B6A880;
	border: 1px solid #d1c6a6;
	box-shadow: 0 1.25px 1.667px 0.667px rgba(7, 17, 61, 0.75);
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 0;
}

.bx-wrapper .bx-next {
	right: 0;
}

.bx-wrapper .bx-next:after {
    background: #fff;
    border-radius: 100%;
    color: #395a9f;
    content: "\f054";
    display: block;
    font-family: FontAwesome;
    font-size: 1.5rem;
    height: 48px;
    padding: 13px 0 0 4px;
    position: relative;
    text-align: center;
    left: 24px;
}
.bx-wrapper .bx-prev:after {
    background: #fff;
    border-radius: 100%;
    color: #395a9f;
    content: "\f053";
    display: block;
    font-family: FontAwesome;
    font-size: 1.5rem;
    height: 48px;
    padding: 13px 4px 0 0;
    position: relative;
    text-align: center;
    right: 24px;
}


.bx-wrapper .bx-prev:hover {
	
}

.bx-wrapper .bx-next:hover {
	
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 48px;
	height: 48px;
	z-index: 9999;
}

.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 {
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    background: rgba(25,62,121,.5);
}
.bx-wrapper .bx-caption > span {
	position: relative;
	color: #fff;
	font-family:'Cabin', sans-serif;
	font-size:1.25em;
	line-height:1.3em;
	text-shadow: 0 0 3px #ffffff;
	top: 8px;
}

.bx-wrapper .bx-caption.slide-2,
.bx-wrapper .bx-caption.slide-5
.bx-wrapper .bx-caption.slide-6 { text-align: inherit;}
.bx-wrapper .bx-caption.slide-3 { text-align: right;}

.bx-wrapper .bx-caption.slide-2 > span, .bx-wrapper .bx-caption.slide-6 > span {left: 10px; line-height: 1.1; position: absolute; text-align: left;}
.bx-wrapper .bx-caption.slide-3 > span {right: 10px; line-height: 1.1; position: absolute;}
.bx-wrapper .bx-caption.slide-4 > span {left: 7px; bottom: 5px; position: absolute; text-align: left;}
.bx-wrapper .bx-caption.slide-5 > span {right: 10px; line-height: 1.1; position: absolute;}

@media only screen and (min-width:480px){
	.bx-wrapper .bx-caption {background: transparent;}
	.bx-wrapper .bx-caption > span {font-size:1.5em;}
	.bx-wrapper .bx-pager {
		color: #666;
	    font-family: Arial;
	    font-size: 0.85em;
	    font-weight: bold;
	    margin-top: -30px;
	    padding-bottom: 15px;
	    position: relative;
	    text-align: center;
	    z-index: 9999;
	    display: block;
	}

}

@media only screen and (min-width:768px){
	.bx-wrapper .bx-caption.slide-1 > span {top: 5px;}
	.bx-wrapper .bx-caption.slide-2 > span {top: 29%;}
	.bx-wrapper .bx-caption.slide-3 > span {top: 36%;}
	.bx-wrapper .bx-caption.slide-4 > span {left: 14px;}
	.bx-wrapper .bx-caption.slide-5 > span {top: 29%;}
	.bx-wrapper .bx-caption > span {font-size: 2.125em; top: 25%;}
	.bx-wrapper .bx-pager,
	.bx-wrapper .bx-controls-auto {top:85%;}

}