/*------------------------------------*\
    
    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 li {
    margin: 0 4px;
    padding: 0;
    vertical-align: middle;
}

.slick-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 1em;
    text-align: left;
    z-index: 9;
}

.slick-dots li:before {
    display: none;
}

.slick-dots li button {
    width: 103px;
    height: 5px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0;
    background: #004B86;
}

.slick-dots li.slick-active button {
    background: #F17503;
}

@media (min-width: 768px) {
    .slick-dots li button {
        width: 100px;
    }
}


/* slick arrow */

.slick-arrow {
    width: 41px;
    height: 41px;
    background: #004B86;
    font-size: 0;
    border: none;
    position: absolute;
    left: 50%;
    bottom: 0;
    clip-path: polygon(0 0, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0 80%);
    transform: translate(-50%, 0);
    z-index: 1;
    opacity: 0.75;
}

.slick-next:before {
    content: "\e903";
    font-family: 'icomoon';
    font-size: 15px;
    color: #fff;
}

.slick-prev:before {
    content: "\e902";
    font-family: 'icomoon';
    font-size: 15px;
    color: #fff;
}

.slick-prev {
    margin-left: -27px;
}

.slick-next {
    margin-left: 27px;
}

@media(min-width:1200px){
    .slick-arrow:hover {
        opacity: 1;
    }
    
}

