/* 
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 */

.ma-acf-gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
	border-radius:12px;
	border:1px solid rgba(0,0,0,.12);
}

.ma-acf-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.ma-acf-gallery-track::-webkit-scrollbar {
    display: none;
}

.ma-acf-gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.ma-acf-gallery-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Navigation */
.ma-acf-gallery-prev,
.ma-acf-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
	outline:none;
	
	&:hover, &:focus {
		background-color:var(--e-global-color-primary);
	}
}

.ma-acf-gallery-prev {
    left: 15px;
}

.ma-acf-gallery-next {
    right: 15px;
}

@media (max-width:600px) {
    .ma-acf-gallery-prev,
    .ma-acf-gallery-next {
        display:none;
    }
}