#container { position:relative; margin: 0px 0px 0px 0px; border: 1px solid #ccc; }

.flexslider ul { list-style-type: none; margin: 0px; 0px 0px 0px; }
.flexslider .slides > li {display: none;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flex-pauseplay span {text-transform: capitalize;}
/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

.flexslider { width: 100%; margin: 0; position: relative; }
.flexslider .slides img { max-width: 100%; display: block; }
/*
.flex-caption {	position: absolute;	bottom:14px; left:0; z-index:1; }
.flex-text-1 { font:400 41px/44px Arial, 'Ubuntu', sans-serif;	color:#dedede;	text-transform: uppercase; background: url('../images/flex-text-1.png'); padding: 0 36px 0 17px; display:inline-block; }
.flex-text-2 { font:400 41px/44px Arial, 'Ubuntu', sans-serif;	color:#040813; text-transform: uppercase; background: url('../images/flex-text-2.png'); padding: 0 20px 0 17px; display:inline-block;	}
*/
/* Control Nav */

.flex-direction-nav .prev, .flex-direction-nav .next { display:block; width:30px; height:30px; text-indent:-999em; overflow:hidden; float:left; position:absolute;	top: 297px; z-index: 2; }
.flex-direction-nav .prev {	background: url('../images/slideshow-prev.png') no-repeat; left:370px; }
.flex-direction-nav .prev:hover {background: url('../images/slideshow-prev.png') no-repeat; top: 298px; }
.flex-direction-nav .next {	background: url('../images/slideshow-next.png') no-repeat; left:410px;  }
.flex-direction-nav .next:hover {background: url('../images/slideshow-next.png') no-repeat; top: 298px; }

.flex-control-nav { display:none; }
/*
.flex-control-nav { position:absolute; right:20px; top: 320px; list-style:none; }
.flex-control-nav li { float:left; margin-right:8px; }
.flex-control-nav li a { text-indent:-999em; display:block; width:10px;	height:10px; background: url('../images/slideshow-bull.png') no-repeat; }
.flex-control-nav li a:hover, .flex-control-nav li a.active { background: url('../images/slideshow-bull.png') no-repeat 0 -10px; }
*/

/*##################################################################*/
/* RESPONSIVE
/*##################################################################*/

/* tablet portrait */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.flex-text-1 { font:400 36px/40px Arial, 'Ubuntu', sans-serif;	}
	.flex-text-2 { font:400 36px/40px Arial, 'Ubuntu', sans-serif;	}
	.flex-direction-nav { display: none; }
}

/* phone landscape */
@media only screen and (max-width: 767px) {
	.flex-caption {display:none;}
	.flex-direction-nav .prev, .flex-direction-nav .next { display:block; width:30px; height:30px; text-indent:-999em; overflow:hidden; float:left; position:absolute; top:50%; margin-top:-15px; z-index:2; }
	.flex-direction-nav .prev { left:5px; }
	.flex-direction-nav .next { right:5px; }
	.flex-control-nav { left:50%; bottom:5px; margin-left:-42px; }
	.flex-direction-nav { display:none; }
	#container { margin: 10px 0px 0px 0px; }
}

/* phone portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.flex-direction-nav { display:none; }
	#container { margin: 10px 0px 0px 0px; }
}