/*
Theme Name: Enerbuild 2024
Author: Design by F.Baldini code by Marco Romano 
Description: Made with love & passion
Requires at least: 6.3
Requires PHP: 8.2
*/
@import "css/bootstrap.css";

@font-face {
    font-family: "ESBuild-Medium";
    src: url('font/ESBuild-Medium.woff') format('woff'),
         url('font/ESBuild-Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "ESBuild-Semibold";
    src: url('font/ESBuild-Semibold.woff') format('woff'),
         url('font/ESBuild-Semibold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

html,
body{
    font-family: "ESBuild-Medium";
} 
:root{
    --white:#FFFFFF;
    --green:#59B660;
    --black: #1E1E1E;
    --grey: #4C4E56;
    --grey50: #2C2C2F;
    --gray20: rgba(255, 255, 255, 0.20);
    --green10: #A7C8A9;
    --red: #E44143;
}

.bg-black{
    background-color: var(--black)!important;;
}
.bg-grey50{
    background-color: var(--grey50)!important;;
}
.bg-green10{
    background: rgba(167, 200, 169, 0.10); 
}
.black{
    color: var(--black)!important;
}
.gray{
    color: var(--grey);
}

/* BASE FONT */
.title-big{
    color: var(--white);
    font-family: "ESBuild-Semibold";
    font-size: 100px;
    font-weight: 700;
    line-height: 110%; /* 110px */
    letter-spacing: -1px;
}
.sub-title{
    color: var(--White, #FFF);
    font-family: "ESBuild-Semibold";
    font-size: 25px;
    font-weight: 700;
    line-height: 130%; /* 32.5px */
    letter-spacing: -0.25px;
}
.title-popup{
    color: var(--Black, #1E1E1E);
    font-family: "ESBuild-Semibold";
    font-size: 55px;
    font-weight: 700;
    line-height: 110%; /* 60.5px */
    letter-spacing: -1.1px;
}
.sup-title{
    color: var(--Green, #59B660);
    font-family: "ESBuild-Semibold";
    font-size: 16px;
    font-weight: 700;
    line-height: 160%; /* 25.6px */ 
}
.slide-title{
    color: var(--White, #FFF);
    font-family: "ESBuild-Semibold";
    font-size: 35px;
    font-weight: 700;
    line-height: 130%; /* 45.5px */
    letter-spacing: -0.35px;
}
.where-title{
    color: var(--White, #FFF);
    font-family: "ESBuild-Medium";
    font-size: 16px;
    font-weight: 600;
    line-height: 160%; /* 25.6px */
}
.text, p{
    font-family: "ESBuild-Medium";
    color: var(--white);
    font-feature-settings: 'liga' off;
    font-size: 18px;
    font-weight: 600;
    line-height: 170%; /* 30.6px */
}
@media (max-width:768px){
    .title-big{
        font-size: 30px;
        line-height: 110%; /* 110px */
    }
    .text, p{
        font-size: 16px;
        line-height: 140%; 
    }
}


/* MIX */
.sfondo svg{
    position: fixed;
    z-index: 0;
    width: 100%;
    right: 0;
    bottom: 0;
    max-width: 50%;
    max-height: 56%;
}
.z1{
    position: relative;
    z-index: 1;
}
.maintenance-mode{
    background-color: var(--black);
    width: 100%;
    height: 100vh;
    margin: 0;
}
.maintenance-mode .content {
    text-align: center;
    margin-top: 30%;
}
@media (max-width:999px){
    .sfondo svg{
        max-width: 80%;
        max-height: 26%;
    }
    .maintenance-mode .content {
        text-align: center;
        margin-top: 10%;
    }
}

/* INPUT */
input::placeholder,
textarea::placeholder{
    color: white!important;
}
input::-ms-input-placeholder,
textarea::-ms-input-placeholder{
    color: white!important;
}
.form-control{
    background: transparent;
    color: white;
}
.form-control:focus{
    background: transparent;
    color: white;
    border-color: var(--green);
    box-shadow: none;
}
.wpcf7-not-valid-tip{
    font-size: 0.85rem;
    font-weight: 400;
}

/* SPAZI */
.paddingYbase{
    padding-left: 50px;
    padding-right: 50px;
}
.line{
    border-bottom: 1px solid var(--grey);
    display: block;
}
.lineUp{
    border-top: 1px solid var(--grey);;
}
.paddingTop{
    padding-top: 250px;
}
@media (max-width:768px){
    .paddingYbase {
        padding-left: 15px;
        padding-right: 15px;
    }
    .paddingTop{
        padding-top: 100px;
    }
}

/* BTN */
.link-green{
    color: var(--green);
    font-feature-settings: 'liga' off;
    font-family: "ESBuild-Medium";
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: 0;
    border: none;
}
.btn-green{
    display: inline-flex;
    padding: 14px 18px 12px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #FFFFFF;
}
.btn-green:hover,
.btn-green:active{
    background-color: transparent;
    border-color: var(--green);
    color: var(--green);
}
.btn-green:after{
    display: block;
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.125 10H16.875' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.25 4.375L16.875 10L11.25 15.625' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E ");
}
.btn-green:hover:after{
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.625 10H17.375' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.75 4.375L17.375 10L11.75 15.625' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
input.btn-green{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.125 10H16.875' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.25 4.375L16.875 10L11.25 15.625' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position-x: 100px;
    background-position-y: 16px;
}
input.btn-green:hover{
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.625 10H17.375' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.75 4.375L17.375 10L11.75 15.625' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.link-green:hover,
.link-green:active{
    color: var(--green);
    border: none;
    background-color:transparent;
    padding: 0;
}
.read-more-container h3,
.read-more-container p,
.read-more-container li{
    color: #FFFFFF;
}
.read-more-container li{
    font-size: 18px
}
.read-more-container h4{
    color: var(--green);
}
.more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Regola la durata dell'animazione secondo le tue preferenze */
}
.read-more-toggle{
    display: flex;
    align-items: center;
}
.read-more-toggle:after{
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.125L10 16.875' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.625 11.25L10 16.875L4.375 11.25' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    margin-left: 8px;
}
.read-more-toggle.open:after{
    transform: rotate(180deg);
}
.btn-dark{
    display: inline-flex;
    padding: 14px 18px 12px 18px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    background: var(--grey-50, #2C2C2F);
}
.btn-dark:after{
    display: block;
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.125 10H16.875' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.25 4.375L16.875 10L11.25 15.625' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E ");
}
.btn-dark:hover,
.btn-dark:active{
    border: 1px solid var(--green);
    color: var(--green);
}
.btn-dark:hover:after{
    background-image: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.625 10H17.375' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.75 4.375L17.375 10L11.75 15.625' stroke='%2359B660' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
footer a{
    color: transparent;
}


/* Nav */
.navbar{
    background-color: transparent;
    border-bottom: 1px solid white;
    transition: 0.25s all;
}
.navbar-expand-lg .navbar-nav{
    gap: 20px;
}
.nav-link{
    color: var(--white);
    font-family: "ESBuild-Medium";
    font-size: 16px;
    font-weight: 600;
    line-height: 170%; /* 27.2px */
    letter-spacing: 0.16px;  
    padding: 0!important;
}
.nav-link:hover{
    color: var(--green);
}

.navbar.scroll-class{
    background-color: #FFFFFF;
}
.scroll-class .logoBianco{
    display: none;
}
.logoNero{
    display: none;
}
.scroll-class .logoNero{
    display: block;
}
.scroll-class .nav-link{
    color: var(--black);
}
.scroll-class .nav-link:hover{
    color: var(--green);
}
.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:focus{
    border: none;
    padding: 0;
    margin: 0;
    box-shadow:none
}
.navbar-toggler .closeMenu{
    display: block;
}
.navbar-toggler .openMenu{
    display: none;
}
#navbar.mobileopen{
    background-color: var(--black);
}
.navbar-toggler.is-expanded .closeMenu{
    display: none;
}
.navbar-toggler.is-expanded .openMenu{
    display: block;
}
.collapse,
.collapsing,
.navbar-collapse{
    transition: none;
}
.dropdown-toggle{
    text-decoration: none;
    color: var(--white, #FFF);
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 170%; /* 25.5px */
    letter-spacing: 0.15px;
    cursor: pointer;
}
.scroll-class .dropdown-toggle{
    color: var(--black);
}
.dropdown-menu[data-bs-popper] {
    left: -14px;
    border: none;
    min-width: 0px;
    cursor: pointer;
    text-align: center;
}
.dropdown-toggle::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='11' viewBox='0 0 6 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.71716 10.3453C2.87337 10.5016 3.12663 10.5016 3.28284 10.3453L5.82843 7.79976C5.98464 7.64355 5.98464 7.39028 5.82843 7.23407C5.67222 7.07786 5.41895 7.07786 5.26274 7.23407L3 9.49681L0.737258 7.23407C0.581048 7.07786 0.327782 7.07786 0.171573 7.23407C0.0153629 7.39028 0.0153629 7.64355 0.171573 7.79976L2.71716 10.3453ZM2.6 0.0625L2.6 10.0625L3.4 10.0625L3.4 0.0625L2.6 0.0625Z' fill='white'/%3E%3C/svg%3E ");
    width: 6px;
    height: 10px;
    margin: 0;
    border: 0;
    vertical-align: 0;
    background-repeat: no-repeat;
}
.scroll-class .dropdown-toggle::after{
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='11' viewBox='0 0 6 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.71716 10.3453C2.87337 10.5016 3.12663 10.5016 3.28284 10.3453L5.82843 7.79976C5.98464 7.64355 5.98464 7.39028 5.82843 7.23407C5.67222 7.07786 5.41895 7.07786 5.26274 7.23407L3 9.49681L0.737258 7.23407C0.581048 7.07786 0.327782 7.07786 0.171573 7.23407C0.0153629 7.39028 0.0153629 7.64355 0.171573 7.79976L2.71716 10.3453ZM2.6 0.0625L2.6 10.0625L3.4 10.0625L3.4 0.0625L2.6 0.0625Z' fill='%231E1E1E'/%3E%3C/svg%3E ");
}
.lang-mob{
    position: absolute;
    bottom: 5rem;
    display: flex;
    justify-content: center;
    gap: 50px;
    text-decoration: none;
    list-style: none;
    border-top: 1px solid white;
    padding-top: 1rem;
}
.dropdown-item:active{
    background-color:transparent;
    color: var(--green);
}
@media (max-width:999px){
    .navbar{
        overflow: visible;
    }
    .collapse,
    .collapsing,
    .navbar-collapse.show{
        position: absolute;
        z-index: 999999999;
        width: 100%;
        left: 0;
        top: 61px;
        justify-content: center;
        display: flex;
        background-color: var(--black);
        height: 100vh;
        align-items: flex-start;
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #FFFFFF;
    }
    .navbar.scroll-class{
        background-color: var(--black);
    }
    .scroll-class .nav-link{
        color: white;
    }
    .scroll-class .logoBianco{
        display: block;
    }
    .logoNero,
    .scroll-class .logoNero{
        display: none;
    }
}

/* HEADER */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000004a;
} 
.bulletpoint{
    background-color: var(--white);;
    height: 12px;
    width: 12px;
    z-index: 2;
    position: relative;
    border: none;
    border-radius: 100%;
}
.bulletpoint.active{
    background-color: var(--green);
}
.header-title {
    position: absolute;
    top: calc(62px + 2rem);
    left: 0;
    color: #fff;
}
.headr-scroll{
    position: absolute;
    bottom: 1rem;
    left: 0;
    color: #fff;
}
.header-bulletpoint{
    position: absolute;
    right: 0;
    bottom: 1rem;
}
.carousel-item img{
    width: 100%;
}
@media (max-width:768px){
    .carousel-item img{
        height: 450px;
        width: auto;
        transform: translateX(-29%);
    }
    .header-title .title-big{
        font-size: 55px;
    }
}


/* Service */
.blockService{
    display: flex;
    width: 261px;
    height: 280px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 1px;
    background: var(--grey-50, #2C2C2F);
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.blockService:hover{
    border-radius: 1px;
    background: var(--Green, #59B660);
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.05);
    color: var(--white);
}
.blockService:hover path,
.blockService:hover rect,
.blockService:hover circle{
    stroke:#FFFFFF
}
.blockService:hover .sub-title{
    color: #FFFFFF;
}
.boxBlockService{
    display: grid; 
    grid-template-columns: repeat(2, 261px)
}
@media (max-width:999px){
    .blockService{
        width:168px;
        height: 200px;
        padding: 15px;
    }
    .blockService .sub-title {
        color: var(--White, #FFF);
        font-family: "ESBuild-Semibold";
        font-size: 22px;
        font-weight: 700;
        line-height: 110%;
        letter-spacing: -0.25px;
    }
    .boxBlockService{
        grid-template-columns: repeat(2, 167px);
    }
}

/* Stile di base per il popup */
.popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background-color: white;
    overflow-y: auto; 
    transition: right 0.5s ease; 
    z-index: 9999;
}
.close-btn,
.close-btn-left {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}
.popup.open {
    right: 0;
}
.popup-content {
    padding: 100px 0;
    color: var(--black);
}
.popup-content p{
    color: var(--black);
}
.popup-content .col{
    gap: 20px;
    display: flex;
    flex-direction: column;
}
.popup-left{
    position: fixed;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background-color: white;
    overflow-y: auto; 
    transition: left 0.5s ease; 
    z-index: 9999;
}
.popup-left.open {
    left: 0;
}
@media (max-width:768px){
    .popup,
    .popup-left{
        width: 95%;
    }
    .popup-content{
        padding: 64px 0; 
    }
    .popup-content .col{
        gap: 15px;
    }
    .title-popup{
        font-size: 35px;
    }
    .close-popup-pj {
        right: 45px;
        zoom: 0.70;
    }
}

/* slider project */
.splide__pagination {
    -ms-flex-pack: flex-start!important;
    justify-content: flex-start!important;
}
.splide__pagination {
    bottom: -4rem!important;
    padding: 0!important;
}
.splide__pagination__page{
    background: var(--white)!important;
}
.splide__pagination__page.is-active{
    transform: scale(1)!important;
    background: var(--green)!important;
}
.splide__slide{
    cursor: pointer;
}
.splide__list a{
    text-decoration: none;
}
.splide__arrow{
    background: var(--black)!important;
    border: 1px solid #fff!important;
    opacity: 1!important;
}
.splide__arrow svg{
    fill: transparent!important;
}
.imgBg{
    min-width: 600px;
    width: 100%;
    height: 440px;
    background-position: center;
    background-size: cover;
}
.PopUpProgetto {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black); 
    z-index: 999999; 
    overflow-y: scroll;
}
.show-popup {
    display: block; 
}
.close-popup-pj{
    position: absolute;
    height: 30px;
    width: 30px;
    display: block;
    right: 75px;
    cursor: pointer;
}
.PopUpProgetto p{
    margin-bottom: 0;
}

.wpcf7 form.sent .wpcf7-response-output{
    color: white;
}

/* MOBILE */
@media (max-width:768px){
    .mob-w100{
        width: 100%;
    }
    .imgBg{
        min-width: 100%;
        width: 100%;
        height: 440px;
        background-position: center;
        background-size: cover;
    }
}