/*------------------------------------*\
    
    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('/wp-content/themes/fx/assets/img/loading.gif');
    /* Create and upload a loading gif to your image directory */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    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 {
    padding: 0 0;
    margin: 0;
    list-style: none;
    position: absolute;
    width: 100%;
    left: 22px;
    bottom: 0;
}

.slick-dots li {
    display: inline-block;
    cursor: pointer;
    margin: 0 3px;
    padding: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    line-height: 13px;
    text-align: center;
}
    
.slick-dots li::before {
    display: none;
}

.slick-dots li:only-child {
    display: none;
}

.slick-dots li button {
    display: block;
    cursor: pointer;
    outline: none;
    border-radius: 50%;
    background: #fff;
    min-width: unset;
    width: 11px;
    height: 11px;
    border: none;
    padding: 0;
    text-indent: -99999px;
}

.slick-dots li.slick-active button {
    background-color: #FFC10E;
    width: 12px;
    height: 12px;
}

@media (min-width: 768px) {
    .slick-dots {
        left: 50px;
    }
}

@media (min-width: 1200px) {
    .slick-dots {
        left: 50%;
        max-width: 1354px;
        margin-left: -662px;
    }
}

/* slick-prev,
slick-next */

.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;;
    border: none;
    outline: none;
    background: #B9B9B9;
    z-index: 2;
    text-align: center;
    border-radius: 50%;
    color: #ffffff;
    min-width: auto;
    transition: background .35s, color .35s;
    transform: translateY(-50%);
}

.slick-prev {
    left: 5%;
}

.slick-next {
    right: 5%;
}

.slick-prev::before,
.slick-next::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 28px;
    line-height: 1.429em;
    font-family: 'icomoon-header' !important;
}

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

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

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: #ffffff;
    background: var(--primary-color);
}