/* #########################################################

	Уроки CSS и jQuery
	
	Как сделать адаптивный слайдер изображений с помощью CSS и jQuery

	http://freeams.ru

######################################################### */

.top_banner {
	width: 100%;
	min-width: 300px;
	display: block;
	margin-right: auto;
	margin-left: auto;
	background-color: #ECB679;
	padding-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

/* Сброс настроек браузера */
.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;
}

/* Скрываем слайды перед загрузкой ява-скрипта */
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
}

.flexslider .slides img {
	width: 100%;
	min-width: 300px;
	display: block;
}

/* Чистим предидущее изображение для .slides */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .slides { display: block; }
* html .slides { height: 1%; }



/* Основной стиль слайдера */
.flexslider {
	position: relative;
	zoom: 1;
	background: #ECB679;
	z-index: 0;
}

/* Вы можете изменить под свои требования*/
.flex-container {
	width: 95%;
	min-width: 300px;
	display: block;
	margin-right: auto;
	margin-left: auto;
	background-color: #ECB679;
}

.flexslider .slides { zoom: 1; }



/* Кнопки прокрутки. Стили */
.flex-direction-nav a {
	display: block;
	position: absolute;
	width: 65px;
	height: 100%;
	top: 0;
	cursor: pointer;
	text-indent: -9999px;
}
.flex-direction-nav a:hover {
	cursor: pointer;
	text-indent: -9999px;
	background-image: url(../img/arrows.png);
	background-repeat: no-repeat;
}

.flex-direction-nav .flex-nexts {
	right: 0;
	background-position: right 40%;
}

.flex-direction-nav .flex-prevs {
	left: 0;
	background-position: left 40%;
}



/* Кнопки прокрутки. Управление */
.flexslider .flex-control-nav {
	position: absolute;
	width: 100%;
	bottom: -50px;
	text-align: center;
	margin: 0;
	display: none;
}

.flex-control-nav li {
	display: inline-block;
	zoom: 1;
}

.flex-control-paging li a {
	display: block;
	cursor: pointer;
	width: 27px;
	height: 23px;
	background-color: #ccc;
	border-radius: 14px;
	text-align: center;
	font-size: 11pt;
	margin-top: 0;
	margin-right: 5px;
	margin-bottom: 0;
	margin-left: 5px;
	padding-top: 4px;
	color: #FFF;
}
.flex-control-paging li a:hover {
	text-decoration: none;
}
.flex-control-paging li a.flex-active {
	background-color: #e31b23;
}



