/**
 * 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 50px;
	padding: 0;
	*zoom: 1;
	z-index: 1;
}
.bx-viewport {
	background-color: #ececec;
}

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

/** THEME
===================================*/
/*
.bx-wrapper .bx-viewport {
	-moz-box-shadow: 0 0 5px #ccc;
	-webkit-box-shadow: 0 0 5px #ccc;
	box-shadow: 0 0 5px #ccc;
	border: solid #fff 5px;
	left: -5px;
	background: #fff;
}
*/

.slide {
	height: 200px;
	overflow: hidden;
	display: block;
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -40px;
	width: 100%;
}

/* 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 {
	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: transparent;
	text-indent: -9999px;
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 12px;
	outline: 0;
	border: solid 2px #101010;
	-webkit-border-radius: 7px;
	   -moz-border-radius: 7px;
			border-radius: 7px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #101010;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev { 
	left: 0;
	-webkit-transition: left 0.1s ease-in;
	   -moz-transition: left 0.1s ease-in;
			transition: left 0.1s ease-in;
}
	
.bx-wrapper .bx-next { 
	right: 0;
	-webkit-transition: right 0.1s ease-in;
	   -moz-transition: right 0.1s ease-in;
			transition: right 0.1s ease-in;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 30%;
	margin-top: -16px;
	outline: 0;
	width: 26px;
	height: 6px;
/*	text-indent: -9999px; */
	z-index: 9999;
	font-family: 'FontAwesome';
	font-size: 1.5em;
	padding: .5em 0 1.65em .6em;
	color: #fff;
	background-color: #383838;
}

.bx-wrapper .bx-controls-direction a:hover {
	background-color: #858585;
}

.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: #333;
	background: rgba(56, 56, 56, 0.75);
	width: 100%;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}

.bx-wrapper .bx-caption span {
	color: #fff;
	display: block;
	font-size: .85em;
	padding: 3px 5px;
}

.lte8 .slide { height: 400px; }
.lte8 .bx-wrapper .bx-controls-direction a {
	top: 40%;
	height: 32px;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
}
.lte8 .bx-wrapper .bx-controls-direction a:active {
	top: 41%;
}
.lte8 .bx-wrapper .bx-caption span {
	padding: 10px;
}
.lte8 .bx-wrapper .bx-prev { left: -38px; }	
.lte8 .bx-wrapper .bx-next { right: -38px; }

.lte7 .bx-wrapper .bx-controls-direction a {
	top: 40%;
	height: 32px;
	width: 32px;
	padding: 0;
	margin: 0;
	font-family: sans-serif;
	background-image: url('/SiteContent/images/controls.png');
	background-color: transparent;
	background-repeat: no-repeat;
}

.lte7 .bx-prev {
	left: 1em;
	background-position-x: 0 -32px;
}
.lte7 .bx-prev:hover {
	background-position-x: 0 0;
}

.lte7 .bx-next {
	right: 1em;
	background-position: -43px -32px;
}
.lte7 .bx-next:hover {
	background-position: -43px 0;
}


@media screen and (min-width: 480px) {

	.bx-wrapper .bx-controls-direction a {
		top: 40%;
		height: 32px;
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}
}

@media screen and (min-width: 480px) and (max-width: 767px) {
	
	.slide { height: 300px; }
	
}

@media screen and (min-width: 768px) {
	
	.slide { height: 400px; }
	
	.bxslider {
		display: block;
		height: 400px;
		overflow: hidden;
	}
	
	.bx-wrapper:before {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 1%;
		right: 1%;
		width: 98%;
		height: 304px;
		content: "";
		border-bottom-left-radius: 400px 20px;
		border-bottom-right-radius: 400px 20px;
		-webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
		   -moz-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
				box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
		z-index: 0;
	}
	
	.bx-wrapper .bx-controls-direction a:active {
		top: 41%;
	}

	.bx-wrapper .bx-caption span {
		padding: 10px;
	}
}

@media screen and (min-width: 804px) {

	.bx-wrapper .bx-prev { left: -38px; }
	
	.bx-wrapper .bx-next { right: -39px; }

}

@media screen and (min-width: 980px) {
	.bx-wrapper:before {
		height: 398px;
	}
}