/**
 * AC MetaSlider slider customisation
 *
 * The AC theme
 */


/*** Caption ***/

#slider .nivo-caption {
	padding-top: 50px !important;
	padding-left: 25px !important;
	padding-right: 25px !important;
	padding-bottom: 15px !important;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1)) !important;
	font-size: 20px;
	line-height: 1.3;
	color: white;
}

#slider .nivo-caption h1,
#slider .nivo-caption h2,
#slider .nivo-caption h3,
#slider .nivo-caption h4,
#slider .nivo-caption h5 {
	color: white;
	margin-bottom: 5px;
}

#slider .nivo-caption a {
	display: inline-block;
	background-color: #006341;
	color: white;
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	border: none;
	font-size: 0.8em;
}

/*** Focus ***/

#slider .nivoSlider:focus-within {
    outline: 1px dotted #006341;
}

#slider .nivoSlider:focus-within a.nivo-imageLink {
    outline: 1px dotted #006341;
}

#slider .nivoSlider:focus-within img {
    filter:contrast(130%);
}

#slider .nivoSlider:focus-within .nivo-caption {
	text-decoration: underline;
	background: linear-gradient(rgba(0,0,0,0), #006341) !important;
}


/*** Slider control and play/pause ***/

#slider .nivo-controlNav {
    height: 25px !important;
	padding: 3px !important;
	background-color: #212721;
}

#slider .nivo-controlNav .nivo-control:focus,
#slider .nivo-controlNav .nivo-control:hover {
    border-bottom: 1px solid white !important;
}
 
#slider #nivo-control-pause {
    float: right;
    background-color: transparent;
    border: 0;
    color: white;
    font-size: 15px; 
    text-shadow: 1px 1px 2px black;
}

#slider #nivo-control-pause:focus, 
#slider #nivo-control-pause:hover {
    color: #8DD48C;
}

/*** Arrows ***/

.metaslider .theme-default .nivo-directionNav a {
	background-color: grey !important;
	border-radius: 25px !important;
}