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

.HomepageSlider {
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-top: -32px;
}

.nivoSlider {
    position: relative;
    width: 100%;
    min-height: inherit;
    overflow: hidden;
}

.nivoSlider img {
    position: absolute;
    top: 0px;
    left: 0px;
    max-width: none;
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

/* 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;
    background: white;
    filter: alpha(opacity=0);
    opacity: 0;
}

/* 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-html-caption {
    display: none;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav {
    position: absolute;
    width: 1170px;
    top: auto;
    transform: translateY(-50%);
    text-align: left;
    margin: 0 auto;
    z-index: 9;
    transition: all 300ms ease-out 0s;
    -webkit-transition: all 300ms ease-out 0s;
    -moz-transition: all 300ms ease-out 0s;
    -ms-transition: all 300ms ease-out 0s;
    -o-transition: all 300ms ease-out 0s;
    display: inline-block;
    height: 36px;
    margin: 0 auto;
    float: none;
    left: 0;
    right: 0;
    bottom: 0px;
}

.nivo-directionNav a {
    position: absolute;
    z-index: 9;
    cursor: pointer;
    color: #fe7f4c;
    background-color: #fff;
}

.nivo-directionNav a:hover {
    color: #ffffff;
}

a.nivo-prevNav {
}

a.nivo-nextNav {
    left: 56px;
    right: auto;
}

a.nivo-nextNav:before,
a.nivo-prevNav:before {
    font-family: 'Font Awesome 5 Solid';
    position: relative;
    font-size: 17px;
    text-align: center;
}

a.nivo-nextNav:before {
    content: "\f061";
}

a.nivo-prevNav:before {
    content: "\f060";
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    max-width: 1170px;
    right: 0;
    left: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    bottom: 10%;
    text-align: center;
    margin: 0 auto;
    z-index: 9;
}

.nivo-controlNav a {
    cursor: pointer;
    border: 0 none;
    display: inline-block;
    height: 13px;
    margin: 0 4px;
    text-indent: -9999px;
    width: 13px;
    border-radius: 100%;
    background-color: #fff;
}

.nivo-controlNav a.active {
    font-weight: bold;
}

.nivo-directionNav a {
    font-size: 0;
    border: 0 none;
    display: block;
    height: 55px;
    transition: all 200ms ease-in-out 0s;
    width: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 0px;
}

/* Caption styles */
.nivo-caption {
    color: #fff;
    z-index: 8;
    width: 70%;
    text-align: center;
    margin: 0 auto;
}

.slidecaption-wp {
    max-width: 1170px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
}

.nivo-caption h2 {
    font-size: 55px;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
    margin: 0 0 30px 0;
    position: relative;
}

.nivo-caption p {
    margin: 0 0 25px 0;
    color: #fff;
    line-height: 1.7;
    font-weight: 400;
    margin: 0 auto 40px;
}

.nivo-caption .slidermorebtn {
    padding: 15px 40px;
    display: inline-block;
    background-color: #1a6fe1;
    color: #0a1f39;
    font-size: 18px;
    font-weight: 500;
    border-radius: 100px;
}

.nivo-caption .slidermorebtn:hover {
    color: #fff;
    background: #8cc73e;
}

.nivo-caption h5 {
    font-size: 16px;
    line-height: 24px;
    background-color: #ad6004;
    color: #fff;
    font-weight: 400;
    margin: 0 0 25px 0;
    padding: 5px 20px;
    position: relative;
    display: inline-block;
}

.nivoSlider img {
    animation: zoomEffect 8s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
