
 
 
 
/* Основные стили */
.slider-container {
	max-height: 500px;  /* ограничение стайдера по высоте */
	overflow: hidden;
}
@media screen and (max-width: 599px) {
	.slider-container {
		display: none;
	}
}

.slider-wrapper {
	font-family: Arial, Helvetica, sans-serif;
	position: relative;
	height: 0px;
	padding-top: 35%;  /* пропорция картинки */
}
.slider-wrapper .wr-slider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 500px; /* ограничение стайдера по высоте */
}
.slider-wrapper .wr-slider .wr {
	position: absolute;
	bottom: 0px;
	width: 100%;
}




.nivoSlider {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: auto;
	background: #fff url(loading.gif) no-repeat 50% 50%;
	-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
	-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
	box-shadow: 0px 1px 5px 0px #4a4a4a;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
	display:none;
	transform: translateZ(0);
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}
.nivoSlider a {
	border:0;
	display:block;
}


/* ------ блок с текстом  ------- */
.nivo-caption {
	position: absolute;
	z-index: 8;
	left: 20%;
	bottom: 10%;
	width: 60%;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	text-shadow: 1px 1px 2px #222222;
	/* background: rgba(50, 50, 50, 0.5); */ /* фон под текстом */
	padding: 0px 30px;
	overflow: hidden;
	display: none;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
	font-size: 30px;
	color: rgba(255,255,255,1);
	line-height: 120%;
}
.nivo-caption p span {
	white-space: nowrap;
}

.nivo-caption a {
	display:inline !important;
	color:#fff;
	border-bottom: 1px dotted #fff;
}
.nivo-caption a:hover {
    color:#fff;
}
.nivo-html-caption {
    display:none;
}
@media screen and (min-width: 600px) and (max-width: 800px) {
	.nivo-caption {
		bottom: 18%;
	}
	.nivo-caption p {
		font-size: 22px;
	}
	.nivo-controlNav {
		display:none;
	}
}
@media screen and (min-width: 801px) and (max-width: 1000px) {
	.nivo-caption {
		bottom: 13%;
	}
	.nivo-caption p {
		font-size: 26px;
	}
}
@media screen and (min-width: 1200px) and (max-width: 1600px) {
	.nivo-caption p {
		font-size: 34px;
	}
}
@media screen and (min-width: 1601px) {
	.nivo-caption p {
		font-size: 38px;
	}
}



/* ---- блок общего текста ---- */
.slider-wrapper .container {
	position: relative;
	width: 100%;
	height: 0px;
}
.slider-wrapper .container .text {
	position: absolute;
	z-index: 10; 
	bottom: 0%;
	left: 10%;
	right: 10%;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.slider-wrapper .container .text h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 40px;
	color: #FFA300;
	text-align: center;
	line-height: 120%;
	text-shadow: 1px 1px 2px #222222;
	padding: 0% 2% 15% 2%;
}
@media screen and (min-width: 600px) and (max-width: 800px) {
	.slider-wrapper .container .text h1 {
		font-size: 28px;
		padding: 0% 2% 20% 2%;
	}
}
@media screen and (min-width: 801px) and (max-width: 1000px) {
	.slider-wrapper .container .text h1 {
		font-size: 36px;
		padding: 0% 2% 18% 2%;
	}
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
	.slider-wrapper .container .text h1 {
		font-size: 44px;
		padding: 0% 2% 16% 2%;
	}
}
@media screen and (min-width: 1601px)  {
	.slider-wrapper .container .text h1 {
		font-size: 50px;
		padding: 0% 2% 15% 2%;
	}
}
/* ---- блок общего текста ---- */




/* ---- Навигация "вперед" "назад" ---- */
.nivo-directionNav a {
	display: block;
	position: absolute;
	top: 45%;
	z-index: 9;
	width: 30px;
	height: 47px;
	cursor: pointer;
	background: url(arrows.png) no-repeat;
	text-indent: -9999px;
	border: 0;
	opacity: 0;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
@media screen and (min-width: 1500px) and (max-width: 1600px) {
	.nivo-directionNav a {
		top: 47%;
	}
}
@media screen and (min-width: 1601px) and (max-width: 1800px) {
	.nivo-directionNav a {
		top: 55%;
	}
}
@media screen and (min-width: 1801px) {
	.nivo-directionNav a {
		top: 60%;
	}
}

a.nivo-prevNav {
	left: 5%;
}
a.nivo-nextNav {
	right: 5%;
	background-position:-30px 0;
}
.slider-wrapper:hover .nivo-directionNav a { opacity: 1; }


/* ---- кнопки наваигации (e.g. 1,2,3...) ----- */
.nivo-controlNav {
	position: relative;
	z-index: 11;
	bottom: 10px;
	text-align: center;
	margin-top: -15px;  /* положение панели - критичное число - образуется щель */
}
.nivo-controlNav a {
	cursor: pointer;
	display: inline-block;
	width: 12px;
	height: 12px;
	background-color: #ffffff; /* цвет кнопки */
	border-radius: 50%;
	-moz-border-radius: 50%;
	-khtml-border-radius: 50%;
	-webkit-border-radius: 50%;
	text-indent:-9999px;
	border: 0;
	margin: 0 5px;
}
.nivo-controlNav a.active {
	font-weight: bold;
	background-color: #FFA300;  /* цвет активной кнопки  */
}
.nivo-controlNav.nivo-thumbs-enabled {
	width: 100%;
}
.nivo-controlNav.nivo-thumbs-enabled a {
	width: auto;
	height: auto;
	background: none;
	margin-bottom: 5px;
}
.nivo-controlNav.nivo-thumbs-enabled img {
	display: block;
	width: 120px;
	height: auto;
}




/* Если изображение завернуто в ссылку */
.nivoSlider a.nivo-imageLink {
	display: none;
	position: absolute;
	z-index: 6;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	background: white; 
	filter: alpha(opacity=0); 
	opacity: 0;
}
/* Срезы и контейнеры для слайда */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }






