/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.slider-type-showcase .swiper-slide img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    transition: all 500ms ease;
    display: block;
}

@media (min-width: 768px) {
    
    .slider-type-showcase .swiper-slide img {
        height: 600px;
        aspect-ratio: unset;
    }
    
    .slider-type-showcase .swiper-slide .swiper-slide-inner {
        overflow: hidden;
        display: block;
    }
    
    .slider-type-showcase .swiper-slide-prev,
    .slider-type-showcase .swiper-slide-active,
    .slider-type-showcase .swiper-slide-next {
        transition: all 300ms ease;
    }
    
    .slider-type-showcase .swiper-slide-active,
    .slider-type-showcase .swiper-slide.swiper-slide-next + .swiper-slide{
        width: 20% !important;
    }
    
    .slider-type-showcase .swiper-slide.swiper-slide-next {
        width: 60% !important;
    }
    
    .slider-type-showcase .elementor-image-carousel-wrapper {
        padding: 0;
    }

}

.slider-type-showcase .elementor-swiper-button-prev {
    top: calc(100% + 30px) !important;
    left: calc(50% - 50px) !important;
}

.slider-type-showcase .elementor-swiper-button-next {
    top: calc(100% + 30px) !important;
    right: calc(50% - 50px) !important;
}

.slider-type-showcase .elementor-swiper-button svg {
    fill: var(--e-global-color-primary) !important;
}

.overlay-container {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    

    -webkit-transition: opacity 1000ms ease;
    -moz-transition: opacity 1000ms ease;
    transition: opacity 1000ms ease;
}

@media (min-width: 768px) {
    .overlay-container {
        opacity: 0;
    }
    
    .swiper-slide-active + .swiper-slide .overlay-container {
        opacity: 1 !important;
    }
}
