/*
 * jQuery Nivo Slider v3.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 */
.nivoSlider {
    position:relative;
    width:100%;
    height:auto;
    overflow: hidden;
    background: #fff;
    border-radius: .5rem;
    z-index: 1;
}
.nivoSlider img {
    position:absolute;
    top:0;
    left:0;
    max-width: none !important;
}
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    width: 100% !important;
    height: auto;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:6;
    display:none;
}
/* 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:0;
    bottom:0;
    background: #eee;
    width:100%;
    z-index:8;
    padding: .8rem 1rem;
    overflow: hidden;
    display: none;
}
.nivo-caption p {
    margin:0;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    cursor: pointer;
    background: #eee;
    font-size: 0;
    width: 2.2rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nivo-directionNav a:before {
    content: '';
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
}
.nivo-prevNav {
    left:0;
    border-radius: 0 3rem 3rem 0;
}
.nivo-prevNav:before{
    transform: rotate(135deg);
}
.nivo-nextNav {
    right:0;
    border-radius: 3rem 0 0 3rem;
}
.nivo-nextNav:before {
    transform: rotate(-45deg);
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    text-align:center;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.nivo-controlNav a {
    cursor: pointer;
    font-size: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #eee;
    display: inline-block;
    margin: 0.2rem;
}
.nivo-controlNav a.active{
    background: #bbb;
}
.theme-light .nivo-caption,
.theme-light .nivo-directionNav a{
    background: rgba(255,255,255,.8);
}
.theme-dark .nivo-caption,
.theme-dark .nivo-directionNav a{
    background: rgba(0,0,0,.7);
}
.theme-dark .nivo-caption,
.theme-dark .nivo-caption strong{
    color: white;
}
.theme-dark .nivo-directionNav a:before{
    border-color: white;
}
.theme-dark .nivo-controlNav a {
    background: #888;
}
.theme-dark .nivo-controlNav a.active{
    background: #222;
}
@media screen and (max-width: 767px){
    .nivo-directionNav a{
        width: 1.8rem;
        height: 2rem;
    }
    .nivo-directionNav a:before{
        padding: 3px;
    }
    .nivo-controlNav a {
        width: 0.8rem;
        height: 0.8rem;
        margin: 0.1rem;
    }
    .nivo-caption{
        padding: .4rem .6rem;
    }
}