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



/* Dots */

.masthead-slider__dots-wrap .slick-dots {
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 7px;
}

.masthead-slider__dots-wrap .slick-dots li {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.masthead-slider__dots-wrap .slick-dotsli::before {
    display: none;
}

.masthead-slider__dots-wrap .slick-dots li button {
    font-size: 0;
    line-height: 1em;
    display: block;
    width: 31px;
    height: 4px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: #A5A5A5;
    transition: all ease-in-out 0.5s;
}

.masthead-slider__dots-wrap .slick-dots li button:hover,
.masthead-slider__dots-wrap .slick-dots li button:focus {
    outline: none;
}

.masthead-slider__dots-wrap .slick-dots li button:before {
    display: none;
}

.masthead-slider__dots-wrap .slick-dots li.slick-active button {
    background: #003057;
    width: 58px;
    height: 4px;
    transition: all ease-in-out 0.5s;
}



/* slick-arrow */

.products-slider .slick-arrow,
.fx-slider .slick-arrow {
    position: absolute;
    width: 44px;
    font-size: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    top: -58px;
    right: 22px;
    line-height: 1em;
}

.products-slider .slick-arrow:before,
.fx-slider .slick-arrow:before {
    content: "";
    font-family: 'prodent-usa-icon' !important;
    color: #D0D3D4;
    font-size: 44px;
    line-height: 1em;
}


.products-slider .slick-next:before,
.fx-slider .slick-next:before {
    content: "\e904";
}


.products-slider .slick-prev:before,
.fx-slider .slick-prev:before {
    content: "\e903";
}

.fx-slider .slick-prev {
    right: 85px;
}

.fx-slider .slick-arrow:hover:before {
    color: #003057;
}


@media(min-width: 768px) {
    .fx-slider .slick-arrow {
        top: -68px;
        right: 52px;
    }

    .fx-slider .slick-prev {
        right: 115px;
    }
}

.fx-slider.slick-initialized .slick-slide {
    display: inline-block;
}