/* Nivo Slider Core Styles */
.nivoSlider {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    background: #fff;
}

.nivoSlider img {
    position: absolute !important;
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    display: none !important;
    z-index: 1;
    opacity: 0;
}

.nivoSlider img.nivo-main-image {
    display: block !important;
    z-index: 2;
    opacity: 1;
}

.nivoSlider .nivo-slice {
    background: transparent;
}

.nivoSlider a {
    border: 0;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 3;
    display: block;
}

.nivo-controlNav {
    text-align: center;
    padding: 15px 0;
    position: relative;
    z-index: 99;
}

.nivo-controlNav a {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    text-indent: -9999px;
    border: 0;
    margin: 0 5px;
}

.nivo-controlNav a.active {
    background: #A5BD33;
}

.nivo-directionNav a {
    display: none;
}

/* Nivo Slider transition elements */
.nivo-slice {
    display: block !important;
    position: absolute !important;
    z-index: 5 !important;
    height: 100% !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
}

.nivo-box {
    display: block !important;
    position: absolute !important;
    z-index: 5 !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.nivo-box img,
.nivo-slice img {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Force clean transitions */
.nivoSlider .nivo-slice,
.nivoSlider .nivo-box {
    background-size: cover !important;
    background-position: center !important;
}

.nivo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 8;
    opacity: 0.8;
    overflow: hidden;
}

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

.nivo-html-caption {
    display: none;
}

.slider-wrapper {
    position: relative;
    height: 460px;
    margin-bottom: 50px;
    overflow: hidden;
}

.theme-default .nivoSlider {
    margin-bottom: 0;
    background: #fff;
    box-shadow: 0px 1px 5px 0px #4a4a4a;
    height: 460px;
    overflow: hidden !important;
}

.theme-default .nivoSlider img {
    max-height: 460px;
}

.theme-default .nivo-controlNav {
    position: absolute;
    left: 0;
    bottom: -41px;
    z-index: 99;
    width: 100%;
    background: transparent;
}

.theme-default .nivo-controlNav a {
    background-color: #999;
}

.theme-default .nivo-controlNav a.active {
    background-color: #A5BD33;
}

.nivo-heading {
    font-size: 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
}

