/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE. ***************/

@font-face {
    font-family: 'UTM Avo';
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvo.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo.woff2') format('woff2'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo.woff') format('woff'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo';
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvo-BoldItalic.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo-BoldItalic.woff2') format('woff2'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo-BoldItalic.woff') format('woff'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo';
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.woff2') format('woff2'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.woff') format('woff'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvoBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'UTM Avo';
    src: url('/wp-content/themes/flatsome-child/fonts/UTMAvo-Italic.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo-Italic.woff2') format('woff2'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo-Italic.woff') format('woff'),
         url('/wp-content/themes/flatsome-child/fonts/UTMAvo-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

#mainCarousel {
    width: 600px !important;
    margin: 0 auto 1rem auto;
    padding: 20px;
    --carousel-button-color: #170724;
    --carousel-button-bg: #fff;
    --carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
    --carousel-button-svg-width: 20px;
    --carousel-button-svg-height: 20px;
    --carousel-button-svg-stroke-width: 2.5;
    background: #F5F5F5 !important;
}

#mainCarousel .carousel__slide {
    width: 100%;
    padding: 0;
    text-align: center;
}

#mainCarousel .carousel__button.is-prev {
    left: -1.5rem;
}

#mainCarousel .carousel__button.is-next {
    right: -1.5rem;
}

#mainCarousel .carousel__button:focus {
    outline: none;
    box-shadow: 0 0 0 4px #A78BFA;
}

#thumbCarousel .carousel__slide {
    opacity: 0.5;
    padding: 0;
    margin: 0.25rem;
    width: 96px;
    height: 64px;
}

#thumbCarousel .carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

#thumbCarousel .carousel__slide.is-nav-selected {
    opacity: 1;
}

@media only screen and (max-width: 48em) {
    #mainCarousel {
        width: 100% !important;
    }
    #thumbCarousel .carousel__slide {
        width: 80px;
        height: 60px;
    }
}