@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

select {
    -moz-appearance:none;
    -webkit-appearance:none;
    appearance:none;
}

.grecaptcha-badge {
    visibility: hidden;
}

#CookiebotWidget {
    z-index: 99998!important;
}

.invisible{
    display: none !important;
}

/* Breadcrumbs */
.cerba_breadcrumbs {
    font-size: 14px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.cerba_breadcrumbs a {
    color: #2d333d;
}

.cerba_breadcrumbs span {
    color: #2580c8;
    /*white-space: nowrap;*/
}

/* Body/containers settings */
body{
    overflow-x: hidden;
    font-family: Roboto, sans-serif;
    background: linear-gradient(169deg, #F5FBFD 0%, #F4FAFD 29%, #F2F1F9 100%) 0% 0% no-repeat padding-box;
}
#main-content {
    background-color: transparent !important;
}

#page-container {
    background: url("/wp-content/uploads/2022/11/Bollo-header-3.png") no-repeat center top;
    background-size: clamp(60%, 110%, 1500px);
    padding-top: 140px!important;
}

#main-content .container-width-fix,
#main-content .entry-content .et_builder_inner_content .et_pb_row {
    width: 95%;
}

.home #main-content .entry-content .et_builder_inner_content .et_pb_row {
    width: 80%;
}

.et_pb_video_play {
    visibility: hidden;
}

.modal-contacts {
    cursor: pointer;
}

.link-prenota, .link-referti {
    cursor: pointer;
}

#main-content .et_pb_section {
    background-color: transparent;
}

/* Tipografia */
p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

h1 {
    font-size: 42px;
    letter-spacing: -1px;
}

h2.section-title{
    font-size: 34px;
    padding-bottom: 0;
    font-weight: 400;
    letter-spacing: -1px;
}

h3 {
    color: #2580C8;
}

/* Buttons */
/*Usa la classe '.custom-button' se non desideri il bottone di default*/

.et_pb_button {
    padding: 18px!important;
    padding-left: 40px !important;
    width: 360px;
    text-align: center;
    max-width: 100%;
    /*transition: all .4s;*/
    display: block;
}

body .et_pb_button:not(.custom-button):after {
    content: url('/core/img/ico_button_freccia.svg');
    margin: -7px;
    font-size: 25px;
}

.gradient-button {
    border: none;
    background: linear-gradient(130deg, rgb(89 46 170 / 72%) 45%, rgb(40 79 167 / 72%)100%);
    color: white!important;
    padding: 2rem 3rem!important;
    border-radius: 100px!important;
    opacity: 1;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gradient-button:after {
    content: "" !important;
    height: 100%;
    width: 0;
    position: absolute;
    margin: 0 !important;
    left: 0 !important;
    top: 0;
    border-radius: 99px;
    opacity: .3;
    z-index: -1;
}

.slider-home-button{
    text-align: center!important;
    color: black!important;
    background-color: transparent!important;
}

/* ANIMAZIONE BOTTONI SOLO SU DESKTOP */
@media screen and (min-width: 1024px) {

    .et_pb_button {
        transition: all .4s;
    }

    .et_pb_button:not(.custom-button):hover {
        text-align: left;
        background: #2d333d !important;
        color: white !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        padding-right: .7rem !important;
        padding-left: 40px !important;
    }

    .et_pb_button:not(.custom-button)::after {
        transition: all .5s;
        width: fit-content;
    }

    .et_pb_button:not(.custom-button):hover::after {
        left: calc(100% - 60px);
        width: fit-content !important;
        filter: invert(1);
    }

    .gradient-button:hover {
        padding: 2rem 3rem!important;
        color: white!important;
        border: none!important;
    }

    .gradient-button:after {
        background: transparent linear-gradient(107deg, #592EAA 0%, #592EAA 100%) 0% 0% no-repeat padding-box;
        /*background: transparent linear-gradient(107deg, #592EAA 0%, #284FA7 100%) 0% 0% no-repeat padding-box;*/
        transition: all .3s;
    }

    .gradient-button:hover:after{
        width: 100%;
        opacity: 1;
    }
}

@media screen and (max-width: 1024px) {

    body .et_pb_bg_layout_light.et_pb_button:hover, body .et_pb_bg_layout_light .et_pb_button:hover, body .et_pb_button:hover {
        color: #2d333d !important;
    }
}

/* Davide 18/10/2022 - Blocco titoli pagine */

.custom_page_opening {
    margin: 80px 0 40px 0;
}

.custom_page_opening .custom_page_opening_title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
}

.custom_page_opening .custom_page_opening_subtitle {
    font-size: 16px;
}

/* Davide 20/10/2022 - Blocco titoli sezioni in pagine */

.custom_section_title {
    margin: 20px 0 20px 0;
}

.custom_section_title .custom_page_section_title {
    font-size: 42px;
    letter-spacing: -1px;
    padding-bottom: 10px;
    line-height: 1em;
}

.custom_section_title .custom_page_opening_subtitle {
    font-size: 16px;
}

/*MODALE - Programmi di allenamento*/

.modal-reference-container{
    display: none;
}

#modal-container{
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    background: rgb(112 112 112 / 64%);
    z-index: -1;
    opacity: 0;
    height: 100vh;
    width: 100%;
    transition: opacity .3s;
    overflow-y: auto;
}

#modal{
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f0f1f2;
    width: 95%;
    min-height: 20%;
    padding: 3rem 4rem;
    border-radius: 10px;
}

#modal #modal-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal #modal-inner > div {
    width: 100%;
}

#modal #close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    border: 1px solid rgba(112, 112, 112, 0.65);
    cursor: pointer;
    transition: all .3s;
}

#modal #close-button div{
    width: 80%;
    height: 1px;
    background: rgba(112, 112, 112, 0.65);
    border-radius: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all .3s;
}

#modal #close-button div:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}

#modal #close-button div:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}


#modal #close-button:hover {
    background: #707070;
}

#modal #close-button:hover div{
    background: white;
}

/*FINE MODALE - Programmi di allenamento*/


/* Style pagination */
.pager_div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    grid-column-gap: 5px;
    margin: 30px auto;
}

.pager_div .pager_button {
    background-color: #DBE7F5;
    width: 49px;
    height: 49px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 11px;
    cursor: pointer;
}

.pager_div .pager_button.active {
    background-color: #B2D1EB;
}

.pager_div .pager_button_skip {
    background-color: unset;
}


/* Blocco Alert */
.alert-block {
    display: flex;
    align-items: center;
    background-color: #B9E4EE;
    border-radius: 30px;
    padding: 6px;
}

.alert-block .alert-block-img {
    margin-right: 20px;
}

.alert-block .alert-block-text {
    font-weight: 700;
    color: #2580C8;
}

.alert-block ul{
    padding: 10px;
}

/* Blocco Espandibili */
.cerba-div-collapse {
    border-bottom: 1px solid #D1D3D4;
    padding: 15px 0;
}

.cerba-div-collapse .cerba-div-collapse-title {
    display: flex;
    align-items: center;
}

.cerba-div-collapse .cerba-div-collapse-title img {
    width: 55px;
    margin-right: 30px;
}

.cerba-div-collapse .cerba-div-collapse-title img.cerba-freccia {
    width: 15px;
    height: 15px;
    margin: 0 10px 0 auto;
    transform: rotate(90deg);
    transition-duration: 0.3s;
}

.cerba-div-collapse.open .cerba-div-collapse-title img.cerba-freccia {
    transform: rotate(270deg);
}

.cerba-div-collapse-block .cerba-div-collapse .cerba-div-collapse-title img.cerba-freccia {
    transform: rotate(90deg) !important;
}

.cerba-div-collapse-block .cerba-div-collapse.open .cerba-div-collapse-title img.cerba-freccia {
    transform: rotate(270deg) !important;
}

.cerba-div-collapse .cerba-div-collapse-title p {
    font-family: "Roboto Bold", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.cerba-div-collapse.close .cerba-div-collapse-block {
    display: none;
}
.cerba-div-collapse.open .cerba-div-collapse-block {

}

/* Domande frequenti */

.home-domande-frequenti {
    border-bottom: 1px solid #707070;
    padding: 30px 25px 30px 50px;
    position: relative;
}

.home-domande-frequenti::after {
    content: '';
    width: 25px;
    height: 25px;
    background: url("/core/img/faq-sheet.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 1;
    display: block;
}


.domande-frequenti-title h4 {
    font-family: Roboto, sans-serif !important;
    font-size: 20px !important;
    color: #2580C8 !important;
    font-weight: 700 !important;
    line-height: 1.5;
    width: auto;
    cursor: pointer;
    padding: 0;
}

.domande-frequenti-title img {
    cursor: pointer;
}

.domande-frequenti-answer {
    padding-top: 20px;
    width: 95%;
}

@media all and (max-width: 1180px) {

    #page-container {
        padding-top: 120px!important;
    }
}

@media all and (min-width: 1024px) {
    .domande-frequenti-title h4:hover {
        background-color: rgba(37,128,200,0.1)
    }
}

/* CONTACT FORM */

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
    font-size: 16px;
}

span.wpcf7-form-control-wrap {
    width: 100%;
}

.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.width-100-form {
    margin-top: 40px;
}

.grid-form > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.width-100-form > div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.grid-form div > span,
.width-100-form div > span {
    margin-left: 20px;
}

.grid-form > div > img {
    width: 20px;
    height: 20px;
}

.width-100-form > div > img {
    width: 20px;
    height: 20px;
}

.grid-form div > span > input[type="text"],
.grid-form div > span > input[type="text"],
.grid-form div > span > input[type="email"],
.grid-form div > span > input[type="tel"],
.width-100-form div > span > select,
.width-100-form div > span > textarea {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 20px 40px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 3%);
}

.section-privacy-title {
    font-size: 16px;
    font-weight: 700;
    color: #4080C2;
}

.section-privacy-text {
    padding-top: 20px;
    font-weight: 400;
}
/*
.wpcf7-form .section-privacy-check {
    margin-top: 30px;
}
.wpcf7-form .section-privacy-check p {
    margin-bottom: 10px
}

 */

.btn-invia-form {
    width: 160px;
    height: 45px;
    background-color: rgba(78,185,216,0.6) !important;
    border: none !important;
    border-radius: 29px !important;
    font-size: 13px;
    color: #2D333D;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    cursor: pointer;
}

.consenso-privacy {
    margin-top: 40px;
}

.text-privacy-policy {
    font-size: 15px;
    font-weight: 400;
    color: #707070;
    margin-top: 15px;
}

.text-privacy-policy > a {
    color: #2580C8;
    text-decoration: underline;
}

.wpcf7-form span.wpcf7-list-item {
    margin-top: 10px;
}

.wpcf7-form  span.wpcf7-list-item-label {
    font-size: 15px;
    font-weight: 400;
    color: #A6A6A6;
}

.privacy-grey-text > a {
    color: #2580C8;
    text-decoration: underline;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0 1em;
    font-weight: 700;
    border: none;
    padding: 0;
    font-size: 20px;
    color: #2580C8
}

@media all and (max-width: 425px) {

    #page-container {
        padding-top: 100px!important;
    }


    .grid-form {
        grid-template-columns: 1fr;
    }

    #modal{
        padding: 1.5rem;
        top: 12%;

    }

    #modal #close-button {
        top: 1rem;
        right: 1rem;
    }

}

/* FINE CONTACT FORM */

/* 3D flip BOOK */
._3d-flip-book {
    margin: 80px 0px;
}

/* Cerba Loader */
.cerba-page-loader {
    width: 100%;
    position: absolute;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

.cerba-page-loader .cerba-page-loader-gif {
    height: 60px;
}

.cerba-page-loader .cerba-page-loader-text {
    font-size: 14px;
    color: #a5a5a7;
}


/* template page Blank */

body.page-template-page-template-blank,
body.page-template-page-template-blank #page-container {
    min-height: 100vh;
}

.blank-page-return-link {
    float: right;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.5rem;
    padding-top: 1.5rem;
    padding-right: 1rem;
}

.blank-page-return-link .arrow-container {
    height: 20px;
}

.blank-page-title {
    display: flex;
    align-items: center;
}

.blank-page-title img {
    height: 50px;
    margin-left: 0;
    margin-right: 30px;
}

.blank-page-title h1 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0px;
    padding: 0px;
}

.blank-page-container {
    background: transparent linear-gradient(113deg, #C7E6FF 0%, #F4F4F4 0%, #FAFCFF 67%, #EDEDED 100%, #592EAA 100%) 0% 0% no-repeat padding-box;;
    padding: 3rem 4rem;
    box-shadow: 10px 10px 20px #00000029;
    border-radius: 15px;
    margin-top: 10px;
}

.blank-page-container h3 {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.blank-page-container hr {
    border: 1px solid black;
}

.blank-page-flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 50px 0;
}

.blank-page-flex-row p {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    width: 55%;
}

.blank-page-flex-row a.blank-page-submit-link {
    display: block;
    margin-bottom: 10px;
    background: #4EB9D8;
    border-radius: 50px;
    padding: 1rem;
    width: 40%;
    text-align: center;
    color: white;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

body.page-template-page-template-blank .button_goback {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

body.page-template-page-template-blank .button_goback::before {
    content: url(/core/img/icona-arrow-left.svg);
    margin-top: 3px;
    margin-right: 10px;
}

body.page-template-page-template-blank .button_goback a {
    color: #2D333D;
    font-size: 16px;
    font-weight: 800;
}

body.page-template-page-template-blank .button_goback a span {
    color: #2580C8;
}

@media all and (max-width: 767px) {

    body.page-template-page-template-blank #logo-top {
        height: 100px;
    }
    
    .blank-page-return-link {
        display: none;
    }

    .blank-page-container {
        padding: 2rem 2rem;
    }

    .blank-page-flex-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .blank-page-flex-row a.blank-page-submit-link {
        width: 90%;
    }
    
    .blank-page-flex-row p {
        width: 100%;
        text-align: center;
    }

}

@media all and (max-width: 480px) {

    .blank-page-container {
        padding: 2rem 1rem;
        margin-top: 0;
    }

    .blank-page-flex-row p {
        font-size: 16px;
    }

    .blank-page-title h1 {
        font-size: 32px;
        line-height: 43px;
    }

    .blank-page-container h3 {
        font-size: 18px;
    }

}

/* fine template page Blank */