/*
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.   ***************/
/************ INCLUDE FONT Archivo e Red Hat Display ********************************************************************/

@font-face {
	font-family: "Archivo";
	src: url("/wp-content/themes/flatsome-child/Fonts/Archivo/Archivo-VariableFont_wdth,wght.ttf")  format("truetype");
	font-weight: 100 900;
}
@font-face {
	font-family: "Red Hat Display";
	src: url("/wp-content/themes/flatsome-child/Fonts/Red_Hat_Display/RedHatDisplay-VariableFont_wght.ttf")  format("truetype");
	font-weight: 100 900;
}

* {
	--text_color:#BDE800;
}

.page * {
    font-family: "Red Hat Display";
}

.green, .green > * {
	color: var(--text_color)!important;
}
html { font-size: 62.5%; } /* =10px */

h1, h2 {
	font-size: 4rem!important;
    line-height: 5.3rem!important;
    font-weight: 900!important;
    letter-spacing: unset!important;
    color: black!important;
    margin-bottom: 0.8em;
    font-family: "Archivo" !important;
}
h3 {
	font-size: 4rem!important;
    line-height: 4.3rem!important;
    letter-spacing: unset!important;
    color: black!important;
    margin-bottom: 0.8em;
    font-family: "Archivo" !important;
}
.banner h3 {
    font-weight: 900;
}
h4 {
    font-size: 1.8rem!important;
    line-height: 2rem!important;
    font-weight: 900!important;
    letter-spacing: unset!important;
    font-family: "Archivo" !important;
}

p {
    font-size: 1.8rem!important;
    line-height: 2.3rem!important;
    color: black!important;
}
.p14, .p14 * {
    font-size: 1.4rem!important;
    line-height: 1.9rem!important;
}
.p15, .p15 * {
    font-size: 1.5rem!important;
    line-height: 2.0rem!important;
}
.p16, .p16 * {
    font-size: 1.6rem!important;
    line-height: 2.1rem!important;
}
.p20, .p20 * {
    font-size: 2rem!important;
    line-height: 2.4rem!important;
}
.p22, .p22 * {
    font-size: 2.2rem!important;
    line-height: 2.9rem!important;
    font-weight: 500;
}
.p36, .p36 * {
    font-size: 3.6rem!important;
    line-height: 3.0rem!important;
    font-weight: 700;
}
.text_light {
    font-weight: 100;
}
.text_bold {
    font-weight: 700;
}
.button {
    margin-top: 0.8em;
    border-color: transparent;
    font-size: 1.8rem!important;
    font-weight: bold!important;
    padding: 16px 34px;
    line-height: 20px;
    color: white!important;
}
input.wpcf7-submit {
    margin-top: 0.8em;
    border-color: transparent;
    font-size: 1.8rem!important;
    font-weight: bold!important;
    padding: 16px 34px;
    line-height: 20px;
    color: black!important;
    background-color: white!important;
}
.button:hover, .dark .button.is-form:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    box-shadow: inset 0 0 0 100px rgb(0 0 0);
    color: #fff!important;
    opacity: 1;
    outline: none;
    border-color: black;
}

/***HEADER***/


.header-nav-main li:last-child{
    padding: 1rem 2rem;
    background-color: #BDE800;
}

.header-nav-main li:last-child a{
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}


.nav > li {
    margin: 0 20px;
}
.nav > li > a {
    font-size: 2rem;
    font-weight: 600;
    color: black;
}
.nav >li.html {
    font-size: 2rem;
    margin-left: 30px;
}
.header-nav .button {
    padding: 0 1.2em;
    line-height: 2.4em;
    margin-top: 0;
}
#masthead .container {
    max-width: 1300px!important;
}
html {
    background-color: unset!important;
}
#wrapper {
    background-color: rgba(255, 255, 255, 0.9);
}

/*********HOME**************/
/***HERO***/
.numeri_hero > div > div {
	background-color: rgb(255 255 255 / 90%)!important;
}
.numeri_hero .is-border {
    top: 25%;
    height: 50%;
}
.hero_text p {
	width: 60%;
}

/***DICONO DI ME***/
.dicono_di_me h3:after {
    position: absolute;
    right: 0;
    top: -14px;
    z-index: -1;
    animation: bounce-2 10s infinite;
    content: url("/wp-content/uploads/2023/10/Points-hiding.png");
}
@keyframes bounce-2 {
    0% {
        transform: translatex(0);
    }
    50% {
        transform: translatex(-30px);
    }

    100% {
        transform: translatex(0);
    }
}

/***BENEFICI***/
.dot_benefici {
    position: absolute;
    right: 10%;
    z-index: -1;
    top: 42%;
    animation: bounce-2 10s infinite;
}
.bar_benefici {
    position: absolute;
    z-index: -1;
    top: 64%;
    left: 50%;
    transform: translateX(-50%);
}
.titoli_benefici {
    position: relative;
    left: -36px;
    background-color: white;
    margin-bottom: 20px;
}
.titoli_benefici h4 {
    font-family: "Red Hat Display";
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 2.9rem;
    padding: 10px 12px;
    border-right: solid 2px #BDE800;
    border-bottom: solid 2px #BDE800;
    color: black;
    height: 88px;
}

/***IL MIO PROGRAMMA***/
.dot_programma {
    position: absolute;
    left: 21%;
    z-index: -1;
    top: 43%;
    animation: bounce-2 10s infinite;
}
.banner_programma {
    background-color: transparent!important;
}
.banner_programma .text-box {
    border: 2px solid white;
    -webkit-box-shadow: 2px 31px 61px -14px rgb(0 0 0 / 14%);
}
.banner_programma .text-box-content {
    height: 380px;
}
.banner_programma .text-inner {
    top: -35px;
    position: relative;
}

/***BMI***/
.sfondo_bmi {
    background: linear-gradient(to right, #D9F50D, white);
}
.ragazza_bmi {
    position: absolute;
    bottom: 0;
}
.sfondo_slim {
    margin-bottom: 0!important;
}
.colonna_bmi > div {
    height: 600px;
}
.bmi {
    display:flex;
    align-items: center;
}
.bmi > div {
    width: 50%;
    height: 320px;
}
.bmi .risultato {

    border:dotted 2px gray;
    margin: 0 10px;
    display: grid;
    align-content: center;
    justify-items: center;
}
.bmi input[type='submit'] {
    background-color: black!important;
    width: 100%;
}
.sesso {
    display: flex;
    justify-content: space-between;
}
.sesso button {
    border: solid 2px #BDE800;
    font-size: 1.8rem;
    text-transform: capitalize;
    color: black;
    letter-spacing: 0;
    font-weight: 400;
    padding: 0 1em;
    margin: 16px 0;
}
#calcola:hover {
    box-shadow: inset 0 0 0 100px #BDE800;
    color: #fff;
    opacity: 1;
    outline: none;
    border-color: #BDE800;
    background-color: #BDE800!important;
}
.tuo_bmi {
    margin-top: 20px!important;
}
#bmiCountUp {
    font-size: 3rem!important;
    line-height: 2.9rem!important;
    font-weight: 900;
}
#bmiDescrizione {
    cursor: pointer;
}
#bmiDescrizione:hover {
    text-decoration: underline;
}
.calcolo, .risultato {
    margin-top: 50px;
}
/*
#vertical_bar_bmi {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #BDE800;
    position: absolute;
    transform: translateY(2px) rotate(0deg);
}
*/



/***RISULTATI***/
.risultati_section {
    padding-top: 200px!important;
}
.dot_risultati {
    position: absolute;
    right: 7%;
    z-index: -1;
    top: 17%;
    animation: bounce-2 10s infinite;
}
.slider_risultati .slider {
    box-shadow: 3px 3px 5px rgb(0 0 0 / 20%);
}
.flickity-prev-next-button {
    color:#BDE800;
}
.flickity-page-dots .dot {
    border: 3px solid #BED800;
}
.flickity-page-dots .dot.is-selected {
    background-color: #BED800;
}
.slider-nav-outside .flickity-page-dots {
    bottom: -40px;
}
.foto_dopo, .foto_prima {
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 1;
    transition: opacity 2s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}
.foto_prima {
    opacity: 1;
}
.foto_dopo {
    opacity: 0;
    z-index: 2;
}
.foto_dopo > div, .foto_prima > div {
    background-color: #CFCFCF;
}
.quote_risultati {
    position: absolute;
    z-index: -1;
    top: 5%;
}
.p22 span {
    font-size: 1.8rem!important;
    font-weight: 300;
}

/***INIZIAMO***/
.dot_iniziamo {
    position: absolute;
    top: 15%;
    left: 34%;
    z-index: -1;
    animation: bounce-2 10s infinite;
}

.img1_iniziamo {
    position:absolute;
    bottom: 0;
    margin-bottom: 0!important;
}
.img2_iniziamo {
    position:absolute;
    right: 60px;
    top: -16px;
}
.img3_iniziamo {
    position:relative;
    left: 20px;
}


/*********ABOUT**************/
/***HERO***/
.about_foto1 {
    position:absolute;
    top: -20px;
}

.about_foto2 {
    position:absolute;
    right: -30px;
    top: -96px;
}
.about_img1 {
    position: absolute;
    left: 0;
    top: -98px;
    z-index: -1;
}
.about_img2 {
    width: 742px!important;
    position: absolute;
    right: -360px;
    top: 232px;
    z-index: -1;
}

/***Esperienza***/
.row_esperienza_about {
    height: 630px;
}
.h3_esperienza_about {
    background-color: white;
    padding: 36px;
    position: relative;
    width: 460px;
    left: -150px;
    margin-bottom: 20px;
}
.h3_esperienza_about h3 {
    margin-bottom:0;
}
.about_foto3 {
    top: -20px;
    position:absolute;
}
.about_img3 {
    filter: brightness(0);
    top: 264px;
    z-index: -1;
    left: -50px;
    position: absolute;
    animation: bounce-2 10s infinite;
}
.dot_traguardi_about {
    position: absolute;
    width: 48%;
    right: 0;
    top: 20px;
    z-index: -1;
    animation: bounce-2 10s infinite;
}
.col_esperienza_about h2, .col_esperienza_about p, .colonna_bmi p {
    margin-bottom: 0;
}
.box_traguardi_about > div {
    -webkit-box-shadow: 2px 31px 61px -14px rgb(0 0 0 / 14%);
}

/***STORIA***/
.dot_storia_about {
    position: absolute;
    z-index: -1;
    animation: bounce-2 10s infinite;
    left: 260px;
    top: 20px;
    width: 240px!important;
}
.storia_about_foto {
    left: -30px;
}
.storia_about_foto img {
    max-height: 700px;
    max-width: 642px;
}
.anni_storia {
    position: relative;
}
.row_anni_storia > div::before {
    content: "";
    position: absolute;
    height: 90%;
    width: 4px;
    background-color: #BDE800;
    left: -84px;
    top: -40px;
}
.anni_storia p {
    display: flex;
    align-items: center;
}
.anni_storia p::after {
    content: "";
    width: 75px;
    height: 1px;
    background-color: #BDE800;
    position: absolute;
    top: 50%;
    left: -88px;
}
.anni_storia p::before {
    content: "";
    width: 14px;
    height: 14px;
    background-color: #BDE800;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 5px);
    left: -104px;
    border: 3px solid white;
}
.anni_storia span {
    margin-right: 10px;
}


/***INIZIAMO ORA***/
.dot_iniziamo_about {
    position: absolute;
    z-index: -1;
    animation: bounce-2 10s infinite;
    right: 172px;
    top: 56px;
}
.col_iniziamo_about > div {
    height: 280px;
}
.about_foto4 {
    position: absolute;
    width: 70%!important;
    z-index: 1;
    bottom: -201px;
    transform: scaleX(-1);
}
.about_img4 img {
    height: 325px;
}
.about_img4 {
    left: 36px;
    position: absolute;
    bottom: -200px;
}
.about_img5 {
    position: absolute;
    width: 360px!important;
    right: 0;
    top: -86px;
}

/***Referenze***/
.certificati_about {
    padding: 20px;
    -webkit-box-shadow: 2px 2px 10px 0px rgb(0 0 0 / 14%);
}
.dot_referenze {
    position: absolute;
    z-index: -1;
    animation: bounce-2 10s infinite;
    right: -20px;
    top: 42px;
}

/***************POPUP*************/
#popmake-546 {
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: unset;
}

.prenota_cont {
    display:flex;
    align-items: center;
}
.prenota_cont > div:first-child {
    width: 100%;
}
#pren_email {
    margin-bottom: 4px;
    height: 60px;
    width: 100%;
    border-radius: 0;
}
.pum-close {
    margin: 0;
    padding: 14px!important;
}

/***FOOTER***/

.footer p, .footer h4 {
    color:white!important;
}
.footer p {
    margin-bottom:0;
}
.logo_footer {
    width: 300px!important;
}
.instagram_footer, .fb_footer {
    width: 44px!important;
}
.contatti_col .img {
    width: 30px!important;
    margin-bottom: 0!important;
}

.social_footer_col > div {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

/**********CF********/
.row_cf {
    background-color: rgb(189, 232, 0);
}
.row_cf label {
    font-size: 1.8rem!important;
    line-height: 2.3rem!important;
    color: black!important;
    font-weight: 400;
}
.row input[type=checkbox] {
    margin-bottom: 0;
}
.row_cf .wpcf7-acceptance span {
    font-size: 1.2rem!important;
    line-height: 0!important;
}
.row_cf input:not([type="checkbox"]), .row_cf textarea {
    margin-top: 6px;
}
.row_cf textarea {
    margin-bottom: 0!important;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    h1, h2 {
        font-size: 2.8rem!important;
        line-height: 3.1rem!important;
        font-weight: 900!important;
        letter-spacing: unset!important;
        color: black!important;
        margin-bottom: 30px;
    }
    h3 {
        font-size: 3.2rem!important;
        line-height: 4.3rem!important;
        letter-spacing: unset!important;
        color: black!important;
    }
    h4 {
        font-size: 1.8rem!important;
        line-height: 2rem!important;
        font-weight: 900!important;
        letter-spacing: unset!important;
    }
    p {
        font-size: 18px!important;
    }
    .p20, .p20 * {
        font-size: 1.6rem!important;
        line-height: 2rem!important;
    }
    .p22, .p22 * {
        font-size: 1.8rem!important;
        line-height: 2.2rem!important;
        font-weight: 500;
    }
    .button {
        width: 100%;
    }
    .select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
        font-size: 16px;
    }
    .button, button, input[type=button], input[type=reset], input[type=submit] {
        font-size: 16px;
    }

    /*****HEADER*****/
    #masthead .flex-row {
        flex-direction: row-reverse;
    }
    .off-canvas-center.mfp-bg.mfp-ready {
        opacity: 0.95;
    }
    .social-icons i {
        color:#BDE800;
    }
    .off-canvas-center .nav-vertical>li>a {
        font-size: 18px;
        font-weight: 700;
    }
    .mobile-nav .icon-menu:before {
        content: "";
        display: block;
        width: 49px;
        height: 24px;
        background-image: url(../../../wp-content/uploads/2023/10/Burger-button.png);
        background-size: cover;
    }
    /***HERO***/
    .hero_text p {
        width: 100%;
    }
    .hero_ilaria {
        position: relative!important;
        margin-bottom: 0!important;
    }
    .numeri_hero p {
        font-size: 16px!important;
    }
    .banner .numeri_hero p {
        margin: 0;
    }
    .numeri_hero h3 {
        margin-bottom: 0;
    }

    /***BENEFICI***/
    .dot_benefici {
        position: absolute;
        right: 8%;
        z-index: -1;
        top: 70%;
    }
    .bar_benefici_mobile {
        position: absolute;
        z-index: -1;
        top: 14%;
        left: 50%;
        transform: translateX(-50%);
    }

    /***BMI***/
    .bmi > div {
        width: 100%;
        height: 320px;
    }
    .bmi {
        display: block;
    }
    .colonna_bmi > div {
        height: auto;
    }
    .sesso button {
        width: 160px;
    }
    .bmi .risultato {
        margin: 0;
        padding: 12px;
        text-align: center;
        row-gap: 12px;
    }
    .calcolo_bmi_col {
        height: 690px;
        display: flex;
        align-items: flex-end;
    }
    .calcolo {
        margin-top:0;
    }

    /***PROGRAMMA***/
    .dot_programma {
        right: 11%;
    }

    /***RISULTATI***/
    .foto_dopo, .foto_prima {
        width: 100%;
        height: 100%;
        background-size: cover;
        z-index: 1;
        transition: opacity 2s ease-in-out;
        position: absolute;
        top: 0;
        left: 0;
    }
    .foto_dopo {
        z-index: 2;
    }
    .slider_risultati .flickity-viewport {
        height: 668px!important;
    }
    .row_slider_risultati > div {
        height:auto;
    }
    .quote_risultati {
         top: 0%; 
    }
    .dot_risultati {
        position: absolute;
        right: 7%;
        z-index: -1;
        top: 17%;
    }

    /***INIZIAMO***/
    .dot_iniziamo {
        position: absolute;
        top: 17%;
        right: 14%;
        z-index: -1;
        left: auto;
    }

    
    /*********ABOUT**************/
    /***HERO***/
    .about_foto1 {
        position: relative;
    }
    .qualcosa_col {
        z-index: 1;
    }
    /***Esperienza***/
    .h3_esperienza_about {
        background-color: white;
        padding: 14px;
        position: relative;
        width: 340px;
        left: 50%;
        top: 60px;
        transform: translatex(-50%);
    }
    .storia_about_foto {
        left: -14px;
        width: 108%!important;
    }
    .dot_storia_about {
        position: absolute;
        z-index: -1;
        animation: bounce-2 10s infinite;
        left: 168px;
        top: 70px;
        width: 180px!important;
    }
    .row_anni_storia {
        margin-left: 40px!important;
    }
    .anni_storia p::after {
        left: -50px;
        width: 40px;
    }
    .anni_storia p::before {
        left: -66px;
        top: calc(50% - 7px);
    }
    .row_anni_storia > div::before {
        left: -46px;
    }
    .about_img5 {
        position: absolute;
        width: 200px!important;
        right: 0;
        top: 0;
    }
    .about_foto4 {
        bottom: -146px;
    }
    .about_img4 {
        bottom: -145px;
    }
    .dot_referenze {
        right: 4px;
        top: 22px;
    }

    /***************POPUP*************/
    .prenota_cont {
        display: block;
    }
    input.wpcf7-submit {
        width: 100%;
    }


    /***FOOTER***/
    .contatti_col .col {
        padding-bottom: 10px;
    }
    .contatti_col .row {
        margin-bottom: 20px;
    }
}