/**
 * 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 30px 20px 30px;
	padding: 0;
	*zoom: 1;
	z-index:5;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	background: #fff;
	
	/*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;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	/*background: url(../img/common/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 {
	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: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	border: 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: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: -6px;
	/*margin-top: -16px;*/
	outline: 0;
	border: 0;
	width: 30px;
	height: 100%;
	text-indent: -9999px;
	z-index: 9999;
}
.bx-wrapper .bx-prev {
	left: -31px;
}
.bx-wrapper .bx-next {
	right: -31px;
}
.bx-wrapper .bx-controls-direction a:before {
	content:"";
	position:absolute;
	width:16px;
	height:60px;
	top:0;
	z-index:1;
	box-sizing:border-box;
	-webkit-transition: opacity 0.6s ease, border 0.6s ease;
	-moz-transition: opacity 0.6s ease, border 0.6s ease;
	-o-transition: opacity 0.6s ease, border 0.6s ease;
	transition: opacity 0.6s ease, border 0.6s ease;
}
.bx-wrapper .bx-prev:before {
	left:0;
	background: url(../img/common/slider-controls-2.png) no-repeat 0 0;
	border-right: 1px solid #fff;
}
.bx-wrapper .bx-next:before {
	right:0;
	background: url(../img/common/slider-controls-2.png) no-repeat -15px 0;
	border-left: 1px solid #fff;
}
.bx-wrapper .bx-controls-direction a:after {
	content:"";
	position:absolute;
	width:15px;
	height:60px;
	top:0;
	z-index:2;
	opacity:0;
	background-color:#fe9161;
	box-sizing:border-box;
	-webkit-transition: opacity 0.6s ease;
	-moz-transition: opacity 0.6s ease;
	-o-transition: opacity 0.6s ease;
	transition: opacity 0.6s ease;
}
.bx-wrapper .bx-prev:after {
	left:0;
	background-image: url(../img/common/slider-controls-2.png); background-repeat:no-repeat; background-position:0 -60px;
	border-right:1px dotted #fff;
}
.bx-wrapper .bx-next:after {
	right:0;
	background-image: url(../img/common/slider-controls-2.png); background-repeat:no-repeat; background-position:-16px -60px;
	border-left:1px dotted #fff;
}
.bx-wrapper .bx-controls-direction a:hover,
.bx-wrapper .bx-controls-direction a:focus { background:none; }
.bx-wrapper .bx-controls-direction a:hover:before { border-color:#fe9161; }
.bx-wrapper .bx-controls-direction a:hover:after { opacity:1; }

.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(../img/common/slider-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(../img/common/slider-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;
}

/* HEADER SLIDER */
#header .bx-wrapper { margin:0; overflow:hidden; max-height:115px; }
@media only screen and (min-width:1224px) {
	#header .bx-wrapper { max-height:138px; }
}
#header .slider-item img { width:100%; }

/* PHOTO-CAROUSEL SECTION */
.photo-carousel { max-width:556px; }
.photo-carousel .bx-wrapper { margin:0; }
.photo-carousel .bx-wrapper .bx-controls-direction a { top:0; }
.photo-carousel .bx-wrapper .bx-controls-direction a:before {
	top:50%;
	margin-top:-25px;
	width:17px;
	height:50px;
	z-index:3;
	-webkit-transition: background-color 0.6s ease;
	-moz-transition: background-color 0.6s ease;
	-o-transition: background-color 0.6s ease;
	transition: background-color 0.6s ease;
}
.photo-carousel .bx-wrapper .bx-controls-direction a:after {
	width:30px;
	height:100%;
	top:0;
	background:url(../img/common/thumb-overlay-3.png) repeat 0 0;
	opacity:0;
	-webkit-transition: opacity 0.6s ease;
	-moz-transition: opacity 0.6s ease;
	-o-transition: opacity 0.6s ease;
	transition: opacity 0.6s ease;
}
.photo-carousel .bx-wrapper .bx-prev { left:0; }
.photo-carousel .bx-wrapper .bx-next { right:0; }
.photo-carousel .bx-wrapper .bx-prev:before { left:7px; border-right:0; background-position:-29px -5px; }
.photo-carousel .bx-wrapper .bx-next:before { right:7px; border-left:0; background-position:-45px -5px; }
.photo-carousel .bx-wrapper .bx-prev:after { left:0; border-right:0; background-position:-30px -60px; }
.photo-carousel .bx-wrapper .bx-next:after { right:0; border-left:0; background-position:-46px -60px; }
.photo-carousel .bx-wrapper .bx-controls-direction a:hover:before { background-color:#fe9161; }
.photo-carousel .bx-wrapper .bx-controls-direction a:hover:after { opacity:1; }
.photo-carousel .bx-wrapper .bx-prev:hover:before { background-position:-29px -65px; }
.photo-carousel .bx-wrapper .bx-next:hover:before { background-position:-44px -65px; }
