/*------------------------------------*\
    
    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('https://www.middlesexrecovery.com/wp-content/themes/middlesexrecovery/assets/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
NOTE: .your-slider should be the class that is holding your entire slider.
NOTE: .slide is the class you have on each slide before any js classes are added.
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; }

.programs-listings-slider .programs-item { /* TODO: Change .your-slider to match your sliders wrapper class and .slide to match your individual slide class. Example: https://webpagefx.mangoapps.com/msc/NTUzMjUxXzg0NDA4Njg  */
    display: none;
}

.programs-listings-slider .programs-item:first-child {  /* TODO: Change .your-slider to match your sliders wrapper class and .slide to match your individual slide class. Example: https://webpagefx.mangoapps.com/msc/NTUzMjUxXzg0NDA4Njg  */
    display: block;
}

.programs-listings-slider.slick-initialized .programs-item {  /* TODO: Change .your-slider to match your sliders wrapper class and .slide to match your individual slide class. Example: https://webpagefx.mangoapps.com/msc/NTUzMjUxXzg0NDA4Njg  */
    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;
    bottom: 0;
    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;
}

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

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

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

.slick-prev:hover,
.slick-prev:focus {
    color: #ffffff;
    background: #0D7C3C;
}

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

.slick-next:hover,
.slick-next:focus {
    color: #ffffff;
    background: #0D7C3C;
}

