/*
Theme Name: TheGem Elementor Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem-elementor
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/

/* fira-sans-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 100;
    src: url('fonts/fira-sans-v18-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/fira-sans-v18-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/fira-sans-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/fira-sans-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/fira-sans-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/fira-sans-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/fira-sans-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fira-sans-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans Local';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/fira-sans-v18-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* UTILITY */

.d-none{display:none;}
.d-block{display:block;}

@media screen and (min-width: 768px){
	.d-md-none{display:none;}
	.d-md-block{display:block;}
}
@media screen and (min-width: 768px){
	.col-md-6 {flex: 0 0 auto; width: 50%;}
	.col-md-12 {flex: 0 0 auto; width: 100%;}	
}


.sfide-item, .fisio-item {
    padding: 15px 20px!important;
}
.sfide-title, .fisio-title {
    padding: 30px 20px !important;
}

.accent-text span {
    color: #FAEC60 !important;
}

/* MENU */
.menu-item a {
    font-family: 'Fira Sans Local' !important;
    font-weight: 400 !important;
    font-size: 18px !important;
}
.menu-cta {
    background: #2A2A2A;
    border-radius: 50px;
    padding: 10px 30px !important;
    color: #fff;
    border: solid 1px #2A2A2A;
    transition: all 0.5s;
}
.menu-cta a {
    color: #fff!important;
    transition: all 0.5s;
}
.menu-cta:hover {
    background: #fff;
}
.menu-cta:hover a {
    color: #2A2A2A!important;
}

/* box funzionalità */
.rev-box {
    aspect-ratio: 1.2 !important;
    display: flex!important;
    justify-content: space-between!important;
}
.rev-box:hover{
    background-color: #000!important;
}
.rev-box .rev-box__title, .rev-box .rev-box__text {
    width: 100%!important;
}
.rev-box .rev-box__title>*{
    transition: color 0.5s;
}
.rev-box:hover .rev-box__title>*{
    color: #fff!important;
}

@media screen and (max-width: 1300px){
    .rev-box {
        aspect-ratio: unset!important;
        min-height: 100%!important;
    }
}
@media screen and (max-width: 768px){
    .rev-box {
        aspect-ratio: 1.2!important;
        background-color: #000!important;
    }
    .rev-box .rev-box__title>*{
		color: #fff!important;
    }
}
@media screen and (max-width: 592px){
    .rev-box {
        aspect-ratio: unset !important;
    }
}

/* box numero */
.num-box {
    position: relative;
    padding: 60px!important;
    min-height: 450px!important;
    overflow: hidden!important;
}
.num-box__num {
    position: absolute!important;
    bottom: 0;
    color: var( --e-global-color-primary )!important;
    font-size: 120px;
    font-weight: 500;
    font-family: 'Fira Sans Local';
    transition: all 1s;
}
.num-box:hover .num-box__num{
    transform: translateY(-50px);
}

@media screen and (max-width: 1280px){
    .num-box {
        padding: 40px!important;
    }
}
@media screen and (max-width: 576px){
    .num-box {
        min-height: 400px!important;
    }
}


.partner-loghi img {
    filter: grayscale(1);
}
.partner-loghi .swiper-wrapper{
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}


/* SHT POST */
.sf-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.sf-post-card {
    background-color: #000000;
    color: #ffffff;
    border-radius: 40px;
    padding: 30px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.sf-post-card:hover .sf-excerpt, .sf-post-card:hover .sf-date {
    color: #fff!important;
}

.sf-excerpt {
    font-family: 'Fira Sans Local';
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sf-date {
    font-family: 'Fira Sans Local';
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 15px;
}

.sf-thumb {
    margin-top: auto;
    border-radius: 30px;
    overflow: hidden;
}

.sf-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    transition: all 0.5s;
}
.sf-post-card:hover .sf-thumb img {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .sf-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .sf-grid-container {
        grid-template-columns: 1fr;
    }
    
    .sf-post-card {
        padding: 20px;
        border-radius: 30px;
    }
}


/* SHT TESTIMONIAL SLIDER */
.testimonial-swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-content {
    padding: 0 100px 100px 100px;
}
.testimonial-title h4, .testimonial-quote, .testimonial-author{
    color: #fff;
}
.testimonial-swiper .swiper-button-prev, .testimonial-swiper .swiper-button-next {
    color: #fff;
}

.testimonial-swiper svg.swiper-navigation-icon {
    display: none;
}

.testimonial-author >* {
    display: block;
}

@media screen and (max-width: 480px) {
    .testimonial-content {
        padding: 0 50px 50px 50px;
    }   
}



/* CF7 */
.form-group label {
    display: none;
}
.form-group .privacy-wrap label{
    display: block;
}
.form-group .privacy-wrap label span {
    color: #000 !important;
}
.form-group .privacy-wrap label span a{
    color: #000 !important;
    text-decoration: underline;
}

/* SHT MARQUEE */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.marquee-swiper .swiper-wrapper {
    /* Fondamentale per il movimento continuo senza scatti */
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    will-change: transform;
}

.marquee-slide {
    width: auto !important;
    font-family: 'Fira Sans Local';
    font-size: 120px;
    font-weight: 100;
    line-height: 1em;
    color: #000;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .marquee-slide {
        font-size: 80px;
    }
}