/*
 * jQuery Nivo Slider v3.0.1
 * 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 */

.slider-wrapper {
    position: relative;
    margin: 0;
    width: 100%;
}

.nivoSlider {
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
	z-index:6;
}

/* 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;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:8;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:8;
	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;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}*/

.nivo-caption {
   font-family: Helvetica, Arial, sans-serif;
   font-size: 1.2em;
   line-height: 1.1em;
	position:absolute;

	top:0;
	left:0;
	overflow: hidden;
	/*
display: none;
*/
    box-sizing: border-box;

	-moz-opacity: 0.8;
	opacity: 0.8;
	filter:alpha(opacity=8);

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box;

	width: 100%;
    height: calc(100% - 2.2em);
	z-index:7;
	}

.nivo-caption p, .nivo-H2 {
  line-height: 1.1em;
  margin-bottom: 0.8em;
  font-size: 1.1em;
}


.nivo-caption-href {
    font-size: 1em;

}

.nivo-caption-href .white {
    color: #fff;
}
.nivo-caption-href .black {
    color: var(--color-Dark);
}


/*
.nivo-caption-href, .nivo-caption-href:visited {
font-size: 1em;
	border: 1px solid #ffffff;
-moz-border-radius:8px;
-webkit-border-radius:8px;
-khtml-border-radius:8px;
border-radius:8px;
text-decoration: none;
padding: 0.2em 0.7em;
color: #ffffff;
margin: 3px;
display: inline-block !important;
-moz-box-shadow: 1px 1px 3px #555555;
	-webkit-box-shadow: 1px 1px 3px #555555;
	-khtml-box-shadow: 1px 1px 3px #555555;
	box-shadow: 1px 1px 3px #555555;

	background:#0082ff;
float: right;

background:  -webkit-gradient(linear, 0% 0%, 0% 100%, from(#40b2ff), to(#0062df));
background-image: -webkit-linear-gradient(top, #40b2ff, #0062df);
background-image:    -moz-linear-gradient(center top, #40b2ff, #0062df);
background-image:     -ms-linear-gradient(top, #40b2ff, #0062df);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#40b2ff', endColorstr='#0062df');
background-image:      -o-linear-gradient(top, #40b2ff, #0062df);
background-image:         linear-gradient(top, #40b2ff, #0062df);

text-shadow: #0062cf -1px -1px 0px;

}

.nivo-caption-href:hover, a.nivo-caption-href:hover {
color: #fff;
display: inline-block !important;
-moz-box-shadow: 2px 2px 3px #555555;
	-webkit-box-shadow: 2px 2px 3px #555555;
	-khtml-box-shadow: 2px 2px 3px #555555;
	box-shadow: 2px 2px 3px #555555;
	}
*/

.nivo-H {
	display: block;
	font-size:1.7em;
	line-height: 1.0em;
	text-shadow:1px 1px 2px rgba(119, 119, 119, 0.5);
	color: #111111;
	margin-bottom: 0.8em;
}

/*.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}*/

.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;
}

/*========================*/


.theme-default .nivoSlider {
	position:relative;
	background:#fff url(../images/loading.gif) no-repeat 50% 50%;
    margin-bottom:0px;
	border-bottom: 1px solid #DFD8D0;
	border-top: 1px solid #DFD8D0;
}

.nivoSlider img {
    /*
    max-height: var(--nivoSlider_img_H);
    */
    max-height: unset;
}

.theme-default .nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.theme-default .nivoSlider a {
	/*border:0;*/
	/*
display:block;
*/
}

/* 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;
}

.theme-default .nivo-controlNav {
    width: 100%;
    justify-content: center;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;

	position: absolute;
	font-size: 1.2em;

	padding: 0px;
	margin: 0;
    bottom: 0.3em;
	z-index: 20;
}
.theme-default .nivo-controlNav a {
	display:inline-block;
/*
	width:22px;
	height:22px;
*/
	background:url(images/bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin: 0 0.1em;
}
.theme-default .nivo-controlNav a.active {
	background-position:0 -22px;
}

.theme-default .nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(../images/arrows.png) no-repeat;
	border:0;
}
.theme-default a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
.theme-default a.nivo-prevNav {
	left:15px;
}

/*
.theme-default .nivo-controlNav.nivo-thumbs-enabled {
	width: 100%;
    display: flex;
    justify-content: center;
}
*/
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
	border: 1px solid #333333;
	width: initial;
	height: inherit;
	background: none;
	vertical-align: middle;
	
	filter:alpha(opacity=30);
    -moz-opacity: 0.30;
    -khtml-opacity: 0.30;
    opacity: 0.30;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: inherit;
    height: 2em;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled a.active {
	
	border: 1px solid #0062cf;
	
	filter:alpha(opacity=85);
    opacity: 0.85;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled a:hover {
	border: 1px solid #0082ff;
    opacity: 1;
	
box-shadow: 0px 0px 8px #0082ff;
}

@media only screen
	and (-webkit-min-device-pixel-ratio: 1.25)
	and (min-device-width : 320px)
	and (max-device-width : 767px){

	.nivo-caption { font-size: 0.63em; }
	.theme-default .nivo-controlNav {
	    font-size: 0.9em;
    }

/*
 	.theme-default .nivo-controlNav.nivo-thumbs-enabled a { width: inherit; }
*/
 			
 	.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
 		display: flex;
        width: inherit;
    	
        align-self: center; }
	
   .nivo-H { font-size:2.4em;
   	margin-top: 1.5em; }
   .nivo-H2 {font-size:1.7em; }

	.nivo-caption p {
		display: none;
		font-size:1.3em;
        }
	}