
h1 {
    margin-top: 50px !important;
    font-weight: 700 !important;
    line-height: 1.0 !important;
    color: #2D7239 !important;
    margin-bottom: 16px !important;
    text-align: left !important;
    font-size: 26px !important;
    margin-bottom: 50px!important;
}

h1.home-page-title {
    display: block !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
    font-size: 1.875rem !important;
    line-height: 1.25 !important;
    color: #076b3b !important;
}

@media (min-width: 768px) {
    h1.home-page-title {
        font-size: 2.25rem !important;
    }
}


h2 {
    margin-top: 50px !important;
    font-weight: 700 !important;
    line-height: 1.0 !important;
    color: #2D7239;
    margin-bottom: 0px !important;
    text-align: center !important;
    font-size: 26px !important;
}

h2.no_home {
    margin-top: 50px !important;
    font-weight: 700 !important;
    line-height: 1.0 !important;
    color: #2D7239;
    margin-bottom: 0px !important;
    text-align: left !important;
    font-size: 26px !important;
}

h2.news {
    margin-top: 0px !important;
    font-weight: 700 !important;
    line-height: 1.0 !important;
    color: #2D7239;
    margin-bottom: 20px !important;
    text-align: left !important;
    font-size: 20px !important;
}

h2.news_page {
    margin-top: 0px !important;
    font-weight: 700 !important;
    line-height: 1.0 !important;
    color: #2D7239;
    margin-bottom: 20px !important;
    text-align: left !important;
    font-size: 20px !important;
}

h2.work_with_us_subtitle {
    font-size: 20px !important;

    text-align: left !important;
    color: #505259 !important;
}

h2.work_with_us {
    margin-top: 15px !important;
    text-align: left !important;
    color: #505259 !important;
}

.card-title{
    text-align: left !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 26.4px;
    color: #034752 !important;
}

.card-subtitle{
    text-align: left !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #034752 !important;

}

.title-newsletter {
    color: #282a2d !important;
    font-size: 2rem !important;

}

.text-green-color {
    color: #076b3b !important;
}

.text-offer-color {
    color: #034752 !important;
}

.text-title-color {
    color: #2D7239 !important;
}

.text-subtitle-gray {
    color: #808289 !important;
}

.overhead {
    color: #505259;
    background-color: #fff;
    padding: 6px 0;
    /*border-bottom: 1px solid #509f33;*/
    z-index: 1021;
    position: relative;
}

.overhead a img {
    margin-right: 4px;
    max-width: 20px;
}

.overhead a span {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}



input:focus{

        box-shadow: none !important;
}

#navbar-default ul li a {
    position: relative;
    /* Imposta il link come riferimento per il posizionamento assoluto del pseudo-element */
    font-weight: 600;
    color: #102930;

    font-size: 1.2rem;
    text-decoration: none !important;
    overflow: hidden;
    /* Evita che la pseudo-element vada fuori dai limiti del link */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

#navbar-default ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    /* Inizia da sinistra */
    bottom: 0;
    /* Posizionato sotto il testo */
    width: 0%;
    /* Inizia senza larghezza */
    height: 2px;
    /* Altezza della linea */
    background-color: rgb(7, 107, 59);
    /* Colore della linea */
    transition: width .3s ease-in-out;
    /* Transizione per width */
}

#navbar-default ul li a:hover::after {
    width: 80%;
    /* Larghezza finale della linea al passaggio del mouse */
    left: 0%;
    /* Centro della linea all'animazione completa */

}

body {
    font-family: "Anek Latin", serif;
    color: #505259;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}





@layer utilities {
    @media (max-width: 1600px) {
        #navbar-default ul li a {
            font-size: 1.0rem !important;
        }
    }
}


@media (max-width: 1280px) {

    /* Aggiungi qui le regole per gli schermi più piccoli di 1080px */
    .custom-lg-hidden {
        display: none !important;
    }

    .custom-lg-flex {
        display: flex !important;
    }
}

@media (min-width: 1280px) {

    /* Aggiungi qui le regole per gli schermi più grandi di 1080px */
    .custom-lg-hidden {
        display: flex !important;
    }

    .custom-lg-flex {
        display: none !important;
    }
}
