/**
 * 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 auto;
	padding: 0;
	*zoom: 1;
}

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

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

.bx-wrapper .bx-viewport {


	/*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/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;
	-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 {
	left: 45px;
}

.bx-wrapper .bx-next {
	right: 45px;
}

.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: 100%;
	outline: 0;
	color: #E0BB6D;
	width: 35px;
	height: 35px;
	font-size: 20px;
	margin-top: -7px;
	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 {
	position: relative;
	/* margin-top: 20px; */
	display: block;
	/* margin-right: 85px; */
	width: 35%;
	float: right;
	/* bottom: 4%;
	right: 2%; */
	letter-spacing: 0;
	background: rgba(25,29,35,.9);

}

.bx-wrapper .bx-caption span {
	color: #ECBE60;
	display: block;
	font-size: .9rem;
	padding: 4px 6px;
	font-weight: 300;
	font-style: italic;
}

.bx-pager li .active img{
	opacity: .2;
}




/*----------------------------------------------------------------------------------
------------------------------------------------------------------------------------
----- Media Queries ----
----------------*/

@media only screen
and (max-width : 480px){
	#dynamic-content{
		width:100%;
		display:block;
	}
	#dynamic-content > #gallery > .gal-center{
		width:100%;
		display:block;
	}
	#dynamic-content > #gallery > .gal-left,#dynamic-content > #gallery >.bx-pager > .gal-right{
		width:100%;
		clear:clear-both;

	}
	#dynamic-content > #gallery > .gal-left > .bx-pager{
		position:relative;

	}
	#dynamic-content > #gallery > .gal-left > .bx-pager > .gal-right{
		position:relative;
		display:inline-block;
		width:100%;
	}
	#dynamic-content > #gallery > .gal-left > .bx-pager > li{
		position:relative;
		display:inline;
		width:25%;
	}
	#dynamic-content > #gallery > .gal-left > .bx-pager > .gal-right li{
		position:relative;
		display:inline;
		width:25%;
	}

	#dynamic-content > #gallery > .gal-center .bxslider{
		width:100%;
		display:block;
	}
	#dynamic-content > #gallery > .gal-center .bxslider > li {
		width:100%;
		display:block;
		position:absolute;
	}
	#dynamic-content > #gallery > .gal-center > .videoWrapper{
		width:100%;
	}
	#dynamic-content > #gallery > .gal-center > .videoWrapper > #mainVideo{
		width:100%;
		display:block;
	}


	.bx-wrapper .bx-caption {
		position: relative;
		width: 60%;
		float: left;
		margin-left: 35px;
		align-content: center;
		bottom: 4%;
		/* right: 2%; */
		letter-spacing: 0;
		background: rgba(25,29,35,.9);
	}

	.bx-wrapper .bx-caption span {
		color: #ECBE60;
		display: block;
		font-size: .9rem;
		text-align: center;
		padding: 5px 6px;
		font-weight: 300;
		font-style: italic;
	}

}


@media only screen and (min-width: 601px){
	#gallery {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	/*background: url(../img/preloader.gif) center no-repeat   #1B2234;*/
}

#gallery {

    /*margin: 20px 0 0;*/
    padding: 0;
    border-top: 1px solid #1B2234;
    position: relative;
    text-align: left;
    font-size: 0;
    letter-spacing: -4px;




	}


#gallery ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gal-left,
.gal-center {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    opacity: 0;
}

.gal-center {
    width: 50%;
}

#gallery li img {
   width: 100%;

}




.videoWrapper {
    position: relative;
    padding-bottom: 56.08%; /* 16:9 */
    height: 0;

}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

}

.gal-left li,
.gal-right li {
    width: 50%;
    float: left;
    vertical-align: top;
    margin: 0;
    padding: 0;
    background: #76879d url(../img/plus.png);
    background-position: center;
    background-size: 30%;
    background-repeat: no-repeat;

    letter-spacing: normal;
}

#gallery .video{
    background-image: url(../img/video.png);
}

.gal-left img,
.gal-right img {
    -webkit-transition: all .15s linear 15s;
    -o-transition: all .15s linear .15s;
    transition: all .15s linear .15s;
}

.gal-left img:hover,
.gal-right img:hover {
    opacity: .5;
}

.gal-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 25%;
}

.gal-center-over {
    position: absolute;
    width: 100%;
    top: 0%;
    left: 0;
    z-index: 0;
    cursor: pointer;

    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
}
}

.bx-wrapper .bx-caption {
	position: relative;
	margin-top: 20px;
	bottom: 4%;
	right: 2%;
	letter-spacing: 0;
	background: rgba(25,29,35,.9);
}

.bx-wrapper .bx-caption span {
	color: #ECBE60;
	display: block;
	font-size: .9rem;
	padding: 4px 6px;
	font-weight: 300;
	font-style: italic;
	text-align: center;
}


/* iPads (landscape) ----------- */
@media only screen
and (max-width : 768px)  {


.bx-wrapper .bx-controls-direction a {
        width: 45px;
        height: 45px;
        font-size: 35px;
        margin-top: -19px;
    }

    .bx-wrapper .bx-prev {
        left: 24px;
    }

    .bx-wrapper .bx-next {
        right: 15px;
    }

		.bx-wrapper .bx-caption {
			position: relative;
			float: right;
			/* margin-top: 20px;
			margin-right: 170px; */
			/* bottom: 4%;
			right: 2%; */
			letter-spacing: 0;
			background: rgba(25,29,35,.9);
		}

		.bx-wrapper .bx-caption span {
			color: #ECBE60;
			display: block;
			font-size: .9rem;
			padding: 4px 6px;
			font-weight: 300;
			font-style: italic;
		}

}
