/*------------------------------------*\

    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 */
.slick-dots {
    position: relative;
}

.slick-dots li {
    padding: 5px;
}

.slick-dots button {
    border: 0;
    height: 12px;
    width: 12px;
    border-radius: 6px;
    background-color: #78D2E2;
    margin: 0;
    text-indent: 999999px;
}

.slick-active button {
    background-color: #1A1743;
}



/* Slick Arrows */
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    bottom: 0;
    display: block;
    width: 50px;
    height: 50px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: linear-gradient(135deg, rgba(26,23,67,1) 0%,rgba(90,165,191,1) 100%);
    z-index: 9;
    text-align: center;
    color: #00263E;
    border-radius: 50%;
    transition: all .3s ease-in-out;
}

.slick-next {
    right: 50%;
    margin-right: -75px;
}

.slick-prev {
    left: 50%;
    margin-left: -75px;
}

.slick-prev::before,
.slick-next::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 22px;
    font-weight: 400;
    line-height: 2.2em;
    font-family: 'icomoon';
    color: #fff;
}

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

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

@media (min-width: 768px) {
    .slick-prev,
    .slick-next {
        bottom: 50%;
        transform: translate(0, 50%);
    }

    .slick-next {
        right: -20px;
        margin-right: 0px;
    }

    .slick-prev {
        left: -20px;
        margin-left:0px;
    }
}

@media (min-width: 1200px) {
    .slick-next:hover,
    .slick-next:focus,
    .slick-prev:hover,
    .slick-prev:focus {
        background: rgba(210, 235, 21, 0.47);
    }
}
