/* #########################################################

HOW TO CREATE A RESPONSIVE IMAGE SLIDER [TUTORIAL]

"How to create a Responsive Image Slider [Tutorial]" was specially made for DesignModo by our friend Valeriu Timbuc.

Links:
http://vtimbuc.net
http://designmodo.com
http://vladimirkudinov.com

######################################################### */

.flex-container{position: relative;margin: 0 auto;}

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  { outline: none; }

.slides,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.flexslider a img { outline: none; border: none; }

.flexslider {
	margin: 0;
	padding: 0;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}

.flexslider .slides img {
	width: 100%;
	display: block;

	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/* 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%; }



/* Theme Styles */
.flexslider {
	position: relative;
	zoom: 1;
	 	
}

/* Edit it if you want */
.flex-container {
	min-width: 150px;
	max-width: 960px;
}

.flexslider .slides { zoom: 1; }



/* Direction Nav */
.flex-direction-nav a {
	display: block;
	position: absolute;
	margin: -17px 0 0 0;
	width: 30px;
	height: 30px;
	top: 50%;
	cursor: pointer;
	text-indent: -9999px;
	z-index: 9999;
	opacity: 0;
}
/*.flex-direction-nav a:before {
	display: block;
	position: absolute;
	content: '';
	width: 30px;
	height: 30px;
	top: 11px;
	left: 11px;background: url(../images/arrows.png) no-repeat;

}

.flex-direction-nav a:after {
	display: block;
	position: absolute;
	content: '';
	width: 30px;
	height: 30px;
	top: 35px;background: url(../images/arrows.png) no-repeat;
}

*/
.flex-direction-nav .flex-next { background-position: -31px 0!important;background: url(../images/arrows.png) no-repeat; right:0px;}
.flex-direction-nav .flex-prev { background-position: 0 0;background: url(../images/arrows.png) no-repeat; left: 11px;}

.flex-direction-nav .flex-next:after {
	right:-935px;background-position: -31px 0;
}

.flex-direction-nav .flex-prev:after {
	left: 0;
}


.flexslider:hover .flex-prev { opacity: 0.7;  }
.flexslider:hover .flex-next { opacity: 0.7; }

/* Control Nav */
.flexslider .flex-control-nav {
	position: absolute;
	width: 100%;
	bottom: 9px;
	text-align: center;
	margin: 0 0 0 -441px;
}

.flex-control-nav li {
	display: inline-block;
	zoom: 1;
}

.flex-control-paging li a {
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	width: 12px;
	height: 12px;
	margin: 0 3px;
	
	background-color: #ccc;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;

	
}

.flex-control-paging li a.flex-active {
	background-color: #FF0000;
	

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}



/* Captions */
.flexslider .slides p {
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0 5px;
	margin: 0;

	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 20px;
	color: white;

	background-color: #222222;
	background: rgba(0,0,0, .9);

	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}