/*------------------------------------*\
    
    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 */

.js-slider-has-preloader {
    /* Add class to slider to show  */
    min-height: 50px;
    position: relative;
}

.js-slider-has-preloader:before {
    content: url('../img/loading.gif');
    /* Create and upload a loading gif to your image directory */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    /* Update width based on gif size */
    height: 50px;
    /* Update height based on gif size */
    transition: all .5s ease;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.js-slider-has-preloader-init:before {
    -webkit-transform: scale(0);
    transform: scale(0);
}



/* 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 {
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    bottom: 0;
}

.slick-dots li {
    margin: 0;
    padding: 0 7px;
}

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

.slick-dots li button {
    display: block;
    cursor: pointer;
    outline: none;
    background-color: var(--color-white);
    width: 12px;
    height: 12px;
    border: none;
    padding: 0;
    text-indent: -99999px;
    opacity: 0.5;
}

.slick-dots li.slick-active button {
    opacity: 1;
}


.slick-arrow {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    color: var(--color-gray-3);
    border: none;
    outline: none;
    background: none;
    z-index: 9;
    text-align: center;
    margin-top: -21px;
    
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev::before,
.slick-next::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 40px;
    font-family: 'icomoon' !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.slick-prev::before {
    content: "\e93b";
}

.slick-next::before {
    content: "\e93d";
}


@media (min-width: 768px) {
    .slick-prev::before,
    .slick-next::before {
        position: absolute;
        font-size: 42px;
    }

    .slick-prev {
        left: 20px;
    }
    
    .slick-next {
        right: 20px;
    }
}

@media (min-width: 1200px) {
    .slick-prev {
        left: 0;
    }
    
    .slick-next {
        right: 0;
    }

    .slick-arrow:hover {
        color: #015488;
    }
}