/*
Theme Name:   Cerm Onulus theme child
Description:  Tema child neve per polo didattico cerm
Author:       Reeturn S.r.l.
Author URI:   https://reeturn.io
Template:     neve
Version:      1.0.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  cermonulus
*/


.tab-corso-content,
.wrapper p{
    line-height: 160%;
}



.header-copertina-pagina{
    align-items: end;
}

.block-content-home{
    width: 100vw;
    display: flex;
    border-top: 1px solid #6D6E70;
    background-repeat: no-repeat;
    background-position: 75% center;
    background-size: contain;
   
}
.block-content-home.alternate{
    background-position: 0vw center;
}

.titolo-section{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 36px;
}

.eb-countdown-h108l9a.eb-cd-wrapper .eb-cd-inner .box span.eb-cd-digit{
    font-variant-numeric: lining-nums proportional-nums;
}

div.eb-countdown-h108l9a.eb-cd-wrapper{
    margin-left: 0px!important;
}

.call-t-action-block{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-self: flex-end;
    align-items: center;
    padding: 12px;
    justify-content: space-between;
}
.call-t-action-block h3{
    margin-bottom: 0px;
    font-size: 2.5rem;
}

.block-row-home{
    display: flex;
    flex-direction: row;  
    width: 100vw;
    padding: 0px;
    align-items: center;
}
.block-content-home.alternate .block-row-home{
    flex-direction: row-reverse;
}
.block-content-home:last-child{
    border-bottom: 1px solid #6D6E70;
}
.block-row-home  .block-cta{
    min-width: 34vw;
    margin-left: 18rem;
    margin-right: 8rem;
}
.block-content-home.alternate .block-cta{
    margin-right: 15rem;
    margin-left: 8rem;
}
.block-row-home .block-media{
    width: 100%;
    height: 200px;
    margin-left: 0px;
    background-size: cover;
    background-repeat: repeat-x;
}



.blocco-elenco-corsi{
    display: flex;
    flex-direction: column;
}





#cerm_footer .nv-footer-cerm-info.row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    --valign: flex-start;
}

.hfg-grid-bottom .hfg-slot .builder-item:last-child{
    display: none;
}

.hfg_header.site-header{
    box-shadow: none!important;
}


#corsi-e-didattica.alignfull{
    padding: 0px!important;
}


.newsletter-contact p{
    margin: 0px;
}
.newsletter-contact input{
    width: 230px;
}

#form-prenotazione form{
    padding: 22px;
}
#form-prenotazione h2{
    padding-left: 22px;
    padding-top: 32px;
}
#form-prenotazione form input{
    width: 100%;
}


/** PAGINA DIDATTICA **/
.sezione-content-didattica{
    padding: 42px 0px 42px!important;
    border-bottom: 1px solid #292c3d6d;
}

.testo-info-didattica{
    line-height: 160%;
}


/** DETTAGLIO CORSO **/
.dettaglio-corso-cerm-header{
    padding: 62px 0px 62px;
    background-color: #00000070;
    margin-bottom: 32px;
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode:overlay;
}
.dettaglio-corso-cerm-header h2{
    margin-bottom: 0px;
}

.single-corsi_cerm .nv-post-navigation{
    padding: 22px;
    display: none;  
}


/** RESET TOPBAR SOCIAL **/
.wp-block-social-links.is-style-logos-only .wp-social-link svg{
    height: .8em;
    width: .8em;
}


/** footer custom **/
#footer-copy{
    padding: 22px;
    background-color: #292c3d;
    color: #fff;
}


/** JOBS SECTION **/

#colonne-top-jobs{
    gap: 20vw;
}

.colonna-form-jobs form{
    margin: 32px auto 32px;
    color: #fff;
}
.colonna-form-jobs form div{
    padding-left: 22px;
    padding-right: 22px;
}
.colonna-form-jobs form div .wpcf7-form-control-wrap input{
    width: 100%;
    display: block;
}

.background-layer-jobs{
    width: 100vw;
    background-color: #00000070;
    object-fit: contain;
    overflow: hidden;
    display: block;
    max-height: 350px;
}
.background-layer-jobs img{
    width: 100%;
    height: 100%;
    display: block;
    max-height: fit-content;
    transform: translateY(-220px);
}

.neve-main > .single-post-container .nv-single-post-wrap.col.jobs_cerm{
    max-width: 100%;
    margin-bottom: 0px;
}

.nv-single-post-wrap.jobs_cerm>div:not(:last-child){
    margin-bottom: auto;
}
.nv-single-post-wrap>div.nv-content-wrap.entry-content{
    margin-bottom: 0px;
}


/** Sticky customization **/

#header-grid.hfg_header.site-header{
    transition: all 200ms ease-in-out;
}



.colonna-immagine-contatti{
    overflow: hidden;
    background-image: url('/wp-content/uploads/2023/09/pexels-zen-chung-5538616-1.png');
    background-position: -50vw top;
    background-repeat: no-repeat;
    background-size: cover;
}

body.affixed-nav #header-grid.hfg_header.site-header{
    z-index: 9990;
    position: fixed!important;
    top: 0px;
    width: 100vw;
    animation: navAppear 800ms linear;
}

@keyframes navAppear {
    0%{
        top: -200px;
    }
    100%{
        top: 0px;
    }
}

@media (max-width: 960px) {


    .block-row-home,
    .block-content-home.alternate .block-row-home{
        flex-direction: column;
        margin-bottom: 3rem;
        align-items: flex-start;
    }

    .block-row-home .block-cta{
        margin: 12px;
        width: 100%;

       
    }
    .block-content-home.alternate .block-cta,
    .call-t-action-block{
        display: block;
        margin: 0px;
        padding: 20px;
    }


    footer .footer--row-inner .row{
        grid-template-columns: 1fr 1fr!important
    }

    
}



.blocco-elenco-corsi{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

