/*
 * jQuery Nivo Slider v2.6
 * http://nivo.dev7studios.com
 *
 * Copyright 2011, Gilbert Pellegrom
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 * March 2010
 */  
 
/* The Nivo Slider styles */

.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:100;
	background:url(../../images/slider_mask.png) no-repeat 0 0;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
}
/* Caption styles */
.nivo-caption {
	color:#fff;
	width:100%;
	z-index:8;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav {

}

.nivo-directionNav a {
	position:absolute;
	z-index:1000;
	cursor:pointer;
}
.nivo-prevNav {
}
.nivo-nextNav {
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	z-index:9;
	cursor:pointer;
}
.nivo-controlNav a.active {

}




/*---Theme---*/

#slider {
	width:950px;
	height:450px;
}

.nivoSlider {
	position:relative;
	background:#fff url(loading.gif) no-repeat 50% 50%;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.nivoSlider a {
	border:0;
	display:block;
}

.nivo-controlNav {
	position:absolute;
	left:50%;
	bottom:-35px;
	margin-left:-27px; /* Этот отступ надо менять, в зависимости от кол-ва итемов (11 × x) / 2 */
	height:30px;
	/*background:url(slider_bullets_bg.png) repeat-x 0 0;*/
	z-index:100;
	white-space: nowrap;
}
.nivo-controlNav a {
	display:block;
	width:11px;
	height:10px;
	background:url(bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin:10px 4px 0 4px;
	float:left;
}
.nivo-controlNav a.active {
	background-position:-11px 0;
}

.nivo-directionNav a {
	bottom:-220px;
	display:block;
	width:27px;
	height:27px;
	background:url(arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
a.nivo-nextNav {
	background-position:-27px 0;
	left:133px; /* +/-20px */
	display:none;
}
a.nivo-prevNav {
	left:34px;
	display:none;
}


.nivo-caption {
	position:absolute;
	right:0;
	top:0;
	display:block;
	width:303px;
	height:180px;
}

.nivo-caption-bg {
	position:absolute;
	left:0;
	top:0;
	display:table;
	width:100%;
	height:100%;
	background-image:url(slider_text_bg.png);
}

.nivo-caption-bg div {
	display:table-cell;
	vertical-align:middle;
}

.nivo-caption-bg p {
	display:inline-block;
	margin:0 0 0 21px;
	width:175px;
	color:#fff;
	font-size:24px;
	text-shadow: -1px -1px 2px #000, 1px 1px 2px #000;
	-webkit-text-shadow:  -1px -1px 2px #000, 1px 1px 2px #000;
	-moz-text-shadow:  -1px -1px 2px #000, 1px 1px 2px #000;
}

.nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.nivo-caption a:hover {
    color:#fff;
}

.nivoSlider_text {
	position:absolute;
	top:0;
	left:0;
	border:1px solid red;
}

.main_slider_left_cap {
	position:absolute;
	top:0;
	left:-15px;
	/*background:url(slider_left_cap.png) no-repeat 0 0;*/
	width:15px;
	height:30px;
}

.main_slider_right_cap {
	position:absolute;
	top:0;
	right:-15px;
	/*background:url(slider_right_cap.png) no-repeat 0 0;*/
	width:15px;
	height:30px;
}