/*------------------------------------*\
    
    WebFX Slick Customizations - Global styling for all slider/carousels

    Add custom slider styling to this file if it should be applied to all slick sliders on the site
    Otherwise, put your slider-specific styles in individual block stylesheets

\*------------------------------------*/


/* Preloader affect for your slider */

 /* Add class 'slider-has-preloader' to slider to show  */
.slider-has-preloader:not(.slick-initialized) {
    position: relative;
}

.slider-has-preloader:not(.slick-initialized) > .fx-slide {
    opacity: 0;
}

.slider-has-preloader:not(.slick-initialized):before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid;
    border-color: transparent #AF231C;
    animation: 1s sliderLoad infinite linear;
}

@keyframes sliderLoad {
    0% {
        transform: translate3d( -50%, -50%, 0 ) rotateZ( 0 );
    }

    100% {
        transform: translate3d( -50%, -50%, 0 ) rotateZ( 360deg );
    }    
}



/* Only show the 1st slide while your slider is loading - Utility Classes
NOTE: Add the .fx-slider class to the wrapper that is holding your entire slider.
NOTE: Add the .fx-slide class to the wrapper of each individual slide.
Guru: https://app.getguru.com/card/ixR67EpT/Slick-Slider
*/

.fx-slider .fx-slide {
    display: none;
}

.fx-slider .fx-slide:first-child {
    display: block;
}

.fx-slider.slick-initialized .fx-slide {
    display: block;
}



/* slick-dots */
.slick-dots {
    padding: 0 22px;
    margin: 0;
    list-style: none;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 18px;
    text-align: left;
    transform: translate(0);
}

.slick-dots li {
    display: inline-block;
    cursor: pointer;
    margin: 0 15px 0 0;
    padding: 0;
    border-radius: 0%;
    line-height: 1em;
    text-align: left;
}

.slick-dots li:only-child {
    display: none;
}
.slick-dots li:first-child {
    margin-left: 0;
}

.slick-dots li::before {
    display: none;
}

.slick-dots li button {
    display: block;
    cursor: pointer;
    outline: none;
    width: 15px;
    height: 15px;
    border-radius: 0;
    background: #E4E7E3;
    border: none;
    padding: 0;
    text-indent: -99999px;
}

.slick-dots li.slick-active button {
    background-color: #9EB28F;
}

@media (min-width: 768px) {
    .slick-dots {
        padding: 0 52px;
    }
}



.slick-arrow {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: -66px;
    display: block;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 9;
    text-align: center;
    color: #565A5C;
    background-color: transparent;
    border-radius: 0;
    opacity: 0.4;
}

.slick-next {
    right: 50px;
}

.slick-prev {
    right: 98px;
}

.slick-arrow::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 38px;
    line-height: 1em;
    font-family: 'icomoon';
    font-weight: normal;
}

.slick-prev::before {
    content: "\e901";
    
}

.slick-next::before {
    content: "\e902";
}

.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
    color: #565A5C;
    background-color: transparent;
    opacity: 1;
}

