/*------------------------------------*\
    
    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 {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:  15px;
}

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

.slick-dots li button {
    width: 25px;
    height: 10px;
    background: transparent;
    border-radius: 0;
    font-size: 0;
    border: 1px solid #01397A;
    padding: 0;
    transition: all ease 0.5s;
    opacity: 1;
    border-radius: 2px;
}

.slick-dots li.slick-active button {
    background: #01397A;
    transition: all ease 0.5s;
    width: 75px;
    height: 10px;
}

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

.slick-custom-arrow,
.slick-arrow {
    width: 64px;
    height: 44px;
    position: absolute;
    border: none;
    background: var(--color-primary);
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 0;
    border-radius: 5px;
    z-index: 2;
}

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

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

.slick-custom-arrow:before,
.slick-arrow:before {
    content: "";
    font-family: 'texas-icon';
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 24px;
}

.slick-custom-next:before,
.slick-next:before {
    content: "\e919";
}

.slick-custom-prev:before,
.slick-prev:before {
    content: "\e918";
}

.slick-custom-arrow:hover,
.slick-arrow:hover {
    background: var(--color-primary-med);
}

.cards-slider-btn__wrap .slick-custom-arrow,
.image-buttons-slider-btn__wrap .slick-custom-arrow {
    position: relative;
    left: auto;
    transform: none;
}

.cards-slider-btn__wrap,
.image-buttons-slider-btn__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}


@media(min-width: 768px) {
    .slick-custom-arrow,
    .slick-arrow {
        width: 64px;
        height: 51px;
    }
}