/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* 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:6;
	display:none;
	background:white; 
	filter:alpha(opacity=0); 
	opacity:0;
}
/* The slices and boxes in the Slider */
.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; }

/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px;
	opacity: 0.8;
	overflow: hidden;
	display: none;
	-moz-opacity: 0.8;
	filter:alpha(opacity=8);
	-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 {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
	padding: 15px 0;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

/* Resava: responsive slider container */
.block2 {
    width: 100%;
    max-width: 970px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.slider-responsive-wrap {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    box-sizing: border-box;
}

#slider.nivoSlider {
    width: 100%;
    max-width: 970px;
    height: auto;
    box-sizing: border-box;
}

#slider.nivoSlider .nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
}

@media screen and (max-width: 970px) {
    .block2,
    .slider-responsive-wrap,
    #slider.nivoSlider {
        width: 100%;
        max-width: 100%;
    }
}


/* Legacy Resava layout: release the fixed desktop minimum on narrow screens */
@media screen and (max-width: 970px) {
    html,
    body {
        width: 100%;
        min-width: 0 !important;
    }

    #wrap {
        width: 100%;
        max-width: 970px;
        min-width: 0 !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .block2,
    .slider-responsive-wrap,
    #slider.nivoSlider {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* Resava: visible arrow navigation and round control dots */
.nivo-directionNav a {
    display: block !important;
    position: absolute;
    top: 50% !important;
    z-index: 20 !important;
    width: 40px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.48);
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0.85;
    cursor: pointer;
    box-sizing: border-box;
}

.nivo-directionNav a:hover {
    background: rgba(0, 0, 0, 0.75);
    opacity: 1;
}

.nivo-prevNav {
    left: 10px !important;
}

.nivo-nextNav {
    right: 10px !important;
}

.nivo-prevNav:before,
.nivo-nextNav:before {
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: normal;
    line-height: 43px;
    text-indent: 0;
}

.nivo-prevNav:before {
    content: "‹";
}

.nivo-nextNav:before {
    content: "›";
}

/* Replace numeric pagination labels with round dots */
.nivo-controlNav {
    text-align: center;
    padding: 12px 0 8px !important;
}

.nivo-controlNav a {
    display: inline-block !important;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b8b8b8;
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px;
    vertical-align: middle;
    box-shadow: none;
}

.nivo-controlNav a.active {
    background: #333;
    font-weight: normal;
}

@media screen and (max-width: 600px) {
    .nivo-directionNav a {
        width: 32px;
        height: 38px;
        margin-top: -19px;
    }

    .nivo-prevNav:before,
    .nivo-nextNav:before {
        font-size: 32px;
        line-height: 36px;
    }

    .nivo-prevNav {
        left: 5px !important;
    }

    .nivo-nextNav {
        right: 5px !important;
    }
}
