﻿/*------------------------------------*\
    
    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/omegasystems/assets/css/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-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 34px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    z-index: 9;
    text-align: center;
    color: #333333;
    background-color: transparent;
    transform: translate(0, -50%);
}

.slick-next {
    right: 0;
}

.slick-prev {
    left: 0;
}

.slick-arrow::before {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 32px;
    line-height: 1em;
    font-family: 'icomoon';
    font-weight: normal;
}

.slick-prev::before {
    content: "←";
    left: 0;
    
}

.slick-next::before {
    content: "→";
    right: 0;
}


/* slick-dots */
.slick-dots {
    padding: 0 0;
    margin: 0;
    list-style: none;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: left;
}

.slick-dots li {
    display: inline-block;
    cursor: pointer;
    margin: 0 3px;
    padding: 0;
    border-radius: 0%;
    line-height: 1em;
    text-align: left;
}

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

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

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

.slick-dots li.slick-active button {
    background-color: #F58220;
}



.slick-prev::before {
    content: initial;
    left: 0;
    
}

.slick-next::before {
    content: initial;
    right: 0;
}
.slick-arrow .icon svg {
    max-width: 32px;
    max-height: 28px;
}

.slick-logo {
    background: rgba(151, 42, 178, 0.20);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-carousel .fx-slide {
    /* display: flex !important; */
    /* justify-content: center; */
}

.js-logo-carousel .slick-track {
    display: flex;
    flex-direction: row;
}

.js-logo-carousel .fx-slide {
    height: inherit;
    display: flex!important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
}

.js-logo-carousel:not(.slick-initialized) .fx-slide:first-child {
    display: block !important;
}

.js-logo-carousel:not(.slick-initialized) .fx-slide {display: none !important;}

.logo-carousel .slick-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 10px;
}

.rounded-image-overlay-text__content .slick-dots {
    position: static;
    text-align: left;
    margin-top: 1.2rem;
}

.rounded-image-overlay-text__content .slick-dots li button{
    background-color: #969494;
}
.rounded-image-overlay-text__content .slick-dots li.slick-active button{
    background-color: #F58220;
}