/**
 * 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 {
	width: 100%;
max-height: 600px;
text-align: center;
overflow: hidden;
}


.P_page .bx-wrapper {
	width: 100%;
max-height: auto;
text-align: center;
overflow: inherit;
position: relative;
}

.bx-wrapper img {
	position: absolute;
	left: 0;
	top: 0px;
	max-width: 1024px;
}

.P_page .bx-wrapper img {
	position: relative;
	top: auto;
	left: auto;
  max-width: 830px;
    max-height: 585px;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	background: #7B2A3A;
	margin: 0 auto;
	height: 522px !important;
	    width: 1024px !important;
	}


.P_page	.bx-wrapper .bx-viewport {
    height: 800px !important;
    width: 1024px !important;
}


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

.bx-viewport ul li {
	left: 0;
top: 100px;
}

.bx-viewport ul {
	margin: 0;
}

/* 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: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 0px;
	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: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	background: url(../images/ArrowLeft.png);
	background-repeat: no-repeat;
}

.bx-wrapper .bx-next {
	background: url(../images/ArrowRight.png);
	background-repeat: no-repeat;
}

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

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

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	outline: 0;
	width: 150px;
  height: 150px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-next{
	right: 50%;
margin-right: -550px;
}

.bx-prev{
	left: 50%;
    margin-left: -530px;
}

.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 {
    text-align: center;
    width: 100%;
    max-width: calc(100% - 100px);
    margin: auto;
}

.bx-wrapper .bx-caption span {
    color: #D4AF37;
    font-size: small;
	display: block;
	font-size: 1em;
	padding: 10px 0;
	    font-family: futura;
}

@media all and (max-width:1024px) {
	.P_page	.bx-wrapper .bx-viewport {
    overflow: visible !important;
    width: 100% !important;
	}

	.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: auto;
    bottom: -175px;
    outline: 0;
    width: 70px;
    height: 70px;
    background-size: contain;
    text-indent: -9999px;
    z-index: 9999;
}

.bx-next {
    right: 50%;
    margin-right: -185px;
}

.bx-prev {
	 left: 50%;
	 margin-left: -185px;
}

.bx-wrapper .bx-caption span {
    color: #D4AF37;
    font-size: small;
    display: block;
    font-size: 1em;
    padding: 40px 0;
}



}


@media all and (max-width:830px) {
		.P_page .bx-wrapper img {
	    position: relative;
	    top: auto;
	    left: auto;
	    width: 100%;
	    max-height: 585px;
			display: block;
	}
}

@media all and (max-width:400px) {
	.bx-wrapper .bx-controls-direction a {
		bottom: -10px;
	}

	.bx-next {
    right: 50%;
    margin-right: -155px;
}

.bx-prev {
	left: 50%;
	margin-left: -155px;
}

.P_page .bx-wrapper img {
    position: relative;
    top: auto;
    left: auto;
		width: auto;
    max-width: 100%;
    max-height: 420px;
    display: block;
		margin: 0 auto;
}

}
