
.theme-nivo,
.theme-nivo .bg-slider :is(div:not(.slick-slide), .nivo-imageLink) {
    height: 100%;
}

.theme-nivo :is(.slick-trigger,[data-slick]):not(.slick-initialized) {
    background: #ffffff url(loading.gif) no-repeat 50% 50%;
}

.theme-nivo .slick-track {
    display: flex;
}

.theme-nivo .slick-initialized .slick-slide {
    height: auto !important;
}

.theme-nivo .nivo-imageLink {
    display: block !important;
    outline-offset: -5px;
}

.theme-nivo .nivo-caption-wrapper {
    display: block !important;
    height: 100%;
}

.theme-nivo .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #000000;
    color: #ffffff;
    width: 100%;
    z-index: 8;
    padding: 5px 10px;
    opacity: 0.8;
    overflow: hidden;
    /*display: none;*/
}

.theme-nivo .nivo-caption p {
    padding: 5px;
    margin: 0;
}

.theme-nivo .nivo-caption a {
    color: inherit;
    border-bottom: 1px dotted #ffffff;
}

.theme-nivo .nivo-caption a:hover {
    color: inherit;
}

.theme-nivo .nivo-directionNav a {
    position: absolute;
    top: 45%;
    z-index: 9;
    cursor: pointer;
}

.theme-nivo .nivo-directionNav a {
    display: block;
    width: 30px;
    height: 30px;
    background: url(arrows_contrast.png) no-repeat;
    text-indent: -200vw;
    border: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.theme-nivo:hover .nivo-directionNav a {
    opacity: 1;
}

.theme-nivo a.nivo-nextNav {
    background-position: -30px 0;
    right: 15px;
}

.theme-nivo a.nivo-prevNav {
    left: 15px;
}

.theme-nivo a.nivo-prevNav.contrast_slider_light, a.nivo-nextNav.contrast_slider_light {
    background-position-y: center;
}

.theme-nivo a.nivo-prevNav.contrast_slider_dark, a.nivo-nextNav.contrast_slider_dark {
    background-position-y: bottom;
}

.theme-nivo .nivo-controlNav {
    text-align: center;
    position: absolute;
    bottom: 0;
    z-index: 50;
    margin: 0;
    padding: 0;
    width: 100%;
}

.theme-nivo .nivo-controlNav .slick-dots {
    display: inline-block;
    margin-left: 0;
    line-height: 0;
    position: static;
}

.theme-nivo .nivo-controlNav .slick-dots li {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 22px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.theme-nivo .nivo-controlNav button {
    cursor: pointer;
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(bullets.png) no-repeat;
    text-indent: -200vw;
    border: 0;
    margin: 0 2px;
    background-color: rgba(0, 0, 0, 0) !important;
}

.theme-nivo .nivo-controlNav.contrast_slider_dark button {
    background: url(bullets_black.png) no-repeat;
}

.theme-nivo .nivo-controlNav.contrast_slider_light button {
    background: url(bullets_white.png);
}

.theme-nivo .nivo-controlNav .slick-active button {
    background-position: 0 -22px;
}

.slick-slide.slick-active {
    opacity: 1 !important;
}
