/*#region Global e utils*/
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v135/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    scroll-margin-top: calc(9vh + 50px);
}

/* typical tablet screen resolution */
@media only screen and (max-width : 1300px) {
    a {
        scroll-margin-top: 9vh;
    }
}

a:hover {
    text-decoration: underline;
}

.linkGME a {
    color: #00783D;
}

    .linkGME a:hover {
        color: #5d9d66
    }

a.legenda-btn {
    background: #00783D;
    padding: 10px 10px 10px 10px;
    color: #fff;
    font-weight: bold;
}

    a.legenda-btn:hover {
        background: #5d9d66;
    }

    a.legenda-btn:before {
        font-family: FontAwesome;
        content: "\f05a";
        padding-right: 10px;
    }

*, *:before, *:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    scroll-margin-top: calc(9vh + 50px);
}

.h2, h2 {
    font-size: 28px !important;
    font-weight: bold !important;
}

ol, ul {
    list-style-type: none;
}

img {
    height: auto;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}

.center-text {
    text-align: center !important;
}

/*#endregion*/

.home-main {
    background-color: #F3F3F3;
}


/* Separatore grigio */
.separatore-grigio {
    width: 100%;
    height: 275px;
    background-color: #CCCBCB;
    opacity: 50%;
}

/*sezione carte */

.disable-overflow {
    /*overflow-x: hidden !important;*/
}

.sezione-carte {
    position: relative;
    top: -140px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    /* height: 450px; */
    margin-bottom: -150px;
}

#sezione-carte-small {
    display: none;
}

.gas {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 341px;
    height: 402px;
    background-color: #FFFFFF;
    /* box-shadow: 0px 3px 20px #000000; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-style: none;
    padding: 0px;
}

.logo-carta-1 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url("../img/icona gas.png");
    background-position: center center;
    margin-top: 10px;
}

.gas h3 {
    font-size: 21px;
    font-weight: 700;
    /*color: #D1D466; backup colore originale*/
    color: #969917;
}

@media screen and (min-width: 100px) and (max-width: 500px) {

    .gas {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 180px;
        height: 200px;
        background-color: #FFFFFF;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        border-style: none;
        padding: 0px;
    }

    .logo-carta-1 {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-image: url("../img/icona gas.png");
        background-position: center center;
        background-size: cover;
        margin-top: 10px;
    }

    .gas h3 {
        font-size: 14px;
        font-weight: 700;
        color: #969917;
    }
}/**/

.elettricità {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 341px;
    height: 402px;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-style: none;
    padding: 0px;
}

.logo-carta-2 {
    width: 250px;
    height: 250px;
    background-image: url('../img/icona elettricità.png');
    background-position: center center;
    margin-top: 10px;
}

.elettricità h3 {
    font-size: 21px;
    font-weight: 700;
    /*color: #87C668; backup colore originale*/
    color: #3FA90B;
}

@media screen and (min-width: 100px) and (max-width: 500px) {

    .elettricità {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 180px;
        height: 200px;
        background-color: rgb(255, 255, 255);
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        border-style: none;
        padding: 0px;
    }

    .logo-carta-2 {
        width: 120px;
        height: 120px;
        background-image: url('../img/icona elettricità.png');
        background-position: center center;
        background-size: cover;
        margin-top: 10px;
    }

    .elettricità h3 {
        font-size: 14px;
        font-weight: 700;
        color: #3FA90B;
    }
}/**/

.ambiente {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 341px;
    height: 402px;
    background-color: #FFFFFF;
    /* box-shadow: 0px 3px 20px #000000; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-style: none;
    padding: 0px;
}

.logo-carta-3 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url("../img/Icona ambiente GME.png");
    background-position: center center;
    margin-top: 10px;
}

.ambiente h3 {
    font-size: 21px;
    font-weight: 700;
    color: #005129; /*color: #00783D; backup colore originale*/
}

@media screen and (min-width: 100px) and (max-width: 500px) {

    .ambiente {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 180px;
        height: 200px;
        background-color: #FFFFFF;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        border-style: none;
        padding: 0px;
    }

    .logo-carta-3 {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background-image: url("../img/Icona ambiente GME.png");
        background-position: center center;
        background-size: cover;
        margin-top: 10px;
    }

    .ambiente h3 {
        font-size: 14px;
        font-weight: 700;
        color: #005129;
    }
}/**/

.fondo {
    width: 100%;
    height: 71px;
    margin-top: 48px;
}

.giallo {
    background-color: #969917; /*background-color: #D1D466; backup colore originale*/
}

.verde-chiaro {
    background-color: #3FA90B; /*background-color: #87C668; backup colore originale*/
}

.verde-scuro {
    background-color: #005129; /*background-color: #00783D; backup colore originale*/
}

.carta-centro {
    bottom: -40px;
    z-index: 10;
}

.carta-sinistra {
    left: 50px;
}

.carta-destra {
    right: 50px;
}

    .carta-centro:hover, .carta-sinistra:hover, .carta-destra:hover {
        margin-top: -10px;
        transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
    }

@media screen and (min-width: 100px) and (max-width: 500px) {

    .fondo {
        width: 100%;
        height: 40px;
        margin-top: 20px;
    }

    .carta-sinistra {
        left: 10px;
    }

    .carta-destra {
        right: 10px;
    }

    .dots-carte {
        display: none;
    }

    #sezione-carte-small {
        top: -100px;
    }

    .separatore-grigio-2 {
        height: 200px;
    }
}/**/

.dots-carte {
    width: 100%;
    display: flex;
    justify-content: center;
    top: -75px;
    position: relative;
    display: none;
}

.active-icon-carte {
    color: #292929 !important;
}

/*tabella */
/* 
.sezione-tabella{
    overflow-x: scroll;
   
} */

.table-gme {
    border-collapse: collapse;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 80px;
}

    .table-gme th {
        font-size: 20px;
        font-weight: 500;
        text-align: end;
        min-width: 400px;
        max-width: 400px;
        width: 400px;
    }

    .table-gme td div.border-cell:hover {
        /* .table-gme td div.border-cell:hover, .table-gme td div.border-cell-first:hover{ */
        background-color: rgb(80, 197, 64);
    }

    .table-gme td div.border-cell-2 div:hover {
        /* .table-gme td div.border-cell:hover, .table-gme td div.border-cell-first:hover{ */
        background-color: #94CB6D;
    }


.border-cell-2 {
    padding: 3px;
    background-color: rgb(80, 197, 64);
    border-radius: 2px;
    text-align: center;
}

.border-cell {
    padding: 3px;
    background-color: rgb(236, 234, 234);
    border-radius: 2px;
    text-align: center;
}

.border-cell-first {
    padding: 3px;
    background-color: #E4EFD5;
    border-radius: 2px;
    text-align: center;
}

.first-row {
    background-color: rgb(2, 119, 65);
    color: white;
}

.second-row {
    background-color: rgb(80, 197, 64);
    color: #10294e;
}

.third-row {
    background-color: rgb(169, 223, 163);
    color: #10294e;
}

.fourth-row {
    background-color: rgb(80, 197, 64);
    color: #10294e;
}

.fifth-row {
    background-color: rgb(169, 223, 163);
    color: #10294e;
}

.row-header {
    /*color: white; backup colore originale*/
    padding: 20px 20px 20px 40px;
}

.row-header-first {
    position: absolute;
}

.table-gme td:not(.last) {
    background-color: white;
    font-size: 20px;
    padding: 5px 5px;
    min-width: 150px;
}

.last {
    width: 10px;
}

.table-cell-first-row {
    padding: 12px 7px;
    background-color: #E4EFD5;
    color: black;
    border-radius: 2px;
    font-weight: bold;
    text-align: center;
}

.table-cell-other-rows {
    padding: 10px 25px;
    background-color: rgb(236, 234, 234);
    color: black;
    border-radius: 2px;
    text-align: center;
}


/*grafico */

.sezione-grafico {
    position: relative;
    border: 1px solid #FFFFFF;
    background-color: white;
    /*width: 85%;*/
    /*min-height: 710px; */
    margin: auto;
    box-shadow: 0 3px 6px #000000;
    z-index: 2;
    padding: 60px 4% 60px 4%;
}

.bottoni {
    margin-left: 77px;
    margin-top: 54px;
}

#prezzi {
    width: 151px;
    height: 55px;
    outline: none;
    border: none;
    background-color: #00783D;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 600;
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}


    #prezzi:hover {
        background-color: #5d9d66;
    }

#volumi {
    width: 151px;
    height: 55px;
    outline: none;
    border: 2px solid #00783D;
    background-color: white;
    color: #00783D;
    font-size: 19px;
    font-weight: 600;
    margin-left: 30px;
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}

    #volumi:hover {
        background-color: #5d9d66;
        color: #FFFFFF;
        border: #FFFFFF;
    }

.label-grafico {
    display: flex;
    align-items: baseline;
    margin-left: 64px;
    margin-top: 32px;
    margin-bottom: 60px;
}

    .label-grafico p {
        font-size: 19;
        font-weight: bold;
        margin-right: 16px;
        margin-left: 16px;
    }

    .label-grafico input {
        height: 36px;
    }

    .label-grafico :placeholder-shown {
        padding-left: 12px;
    }

.hr1 {
    color: #707070;
    height: 1px;
    margin: 0 auto;
    width: 80%;
    margin-bottom: 64px;
    margin-top: 64px;
}



/*separatore grigio e bottone vai agli esiti */

.separatore-grigio-2 {
    /*position: relative;*/
    width: 100%;
    height: 200px;
    background-color: rgba(204,203,203, 0.5);
    bottom: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    margin-top: 40px;
}

.vai-esiti {
    background-color: #00783D;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    outline: none;
    padding: 22px 50px;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 100px;
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}

    .vai-esiti:hover {
        background-color: #5d9d66;
    }

    .vai-esiti:focus {
        border: 3px solid white;
    }

/*Sezione Newsletter  */
.newsletter {
    /* display: inline-block; */
    background-color: #00783D;
    /* width: 100%;
    height:312px;
    text-align: center;
    vertical-align: middle; */
}

.newsletter-inner {
    width: 80%;
    margin: 0px auto;
    text-align: center;
    padding: 55px 0px;
}


.newsletter h3 {
    /* padding-top: 44px; */
    color: #FFFFFF;
    font-size: 35px;
    font-weight: bold;
}

.newsletter p {
    color: #FFFFFF;
    font-size: 17px;
    margin-top: 16px;
}

.newsletter button {
    padding: 22px 40px;
    outline: none;
    background-color: #323232;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    margin-top: 40px;
    font-size: 21px;
    font-weight: 500;
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}

    .newsletter button:hover {
        background-color: #00783D;
    }

#newsletter-registrati a {
    padding: 22px 40px;
    outline: none;
    background-color: #323232;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    margin-top: 40px;
    font-size: 21px;
    font-weight: 500;
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}

    #newsletter-registrati a:hover {
        background-color: #00783D;
    }

    #newsletter-registrati a:focus {
        background-color: #6c6c6c;
        border: 3px solid #1f1d1d;
    }

.newsletter_accedi a {
    color: white;
    width: 80%;
    margin: 0px auto;
    text-align: center;
    background-color: transparent;
    border: 0px solid #FFFFFF;
}


#accedi-qui {
    font-size: 16px;
    font-style: italic;
    margin-top: 10px;
}

    #accedi-qui a {
        color: #FFFFFF;
        text-decoration: underline;
    }

/* Sezione Bilancio e Relazione Annuale */

.griglia {
    display: flex;
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0; */
    /*width: 100%;*/
    /* height: 415px; */
}


/* bilanci */


.bilanci {
    /*background-color: #59BCDE; backup colore originale */
    background-color: #055c7c;
    text-align: left;
    padding: 80px 120px;
    /*width: 50%;*/
}


    .bilanci h3 {
        font-size: 32px;
        font-weight: bold;
        color: #FFFFFF;
        margin-bottom: 16px;
    }

    .bilanci span {
        font-size: 17px;
        font-weight: 500;
        color: #FFFFFF;
        margin-bottom: 50px;
        font-family: inherit;
        line-height: 1.1;
        display: block;
    }

    .bilanci button {
        /*background: #59BCDE; backup colore originale */
        background: #055c7c;
        color: #FFFFFF;
        border: 2px solid #FFFFFF;
        padding: 22px 40px;
        font-size: 21px;
        font-weight: 500;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s
    }

        .bilanci button:hover {
            /*color: #59BCDE; backup colore originale */
            color: #055d7b;
            background: rgba(255, 255, 255, 0.7);
        }

    .bilanci a {
        /*background: #59BCDE; backup colore originale */
        background: #055c7c;
        color: #FFFFFF;
        border: 2px solid #FFFFFF;
        padding: 22px 40px;
        font-size: 21px;
        font-weight: 500;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s
    }

        .bilanci a:hover {
            /*color: #59BCDE; backup colore originale */
            color: #055d7b;
            background: rgba(255, 255, 255, 0.7);
        }



/* relazione */

.relazione {
    background-color: #017EAC;
    text-align: left;
    padding: 80px 120px;
    /*width: 50%;*/
}

    .relazione h3 {
        font-size: 32px;
        font-weight: bold;
        color: #FFFFFF;
        margin-bottom: 16px;
    }

    .relazione span {
        font-size: 17px;
        font-weight: 500;
        color: #FFFFFF;
        margin-bottom: 50px;
        font-family: inherit;
        line-height: 1.1;
        display: block;
    }

    .relazione button {
        background: #017EAC;
        color: #FFFFFF;
        border: 2px solid #FFFFFF;
        padding: 22px 40px;
        font-size: 21px;
        font-weight: 500;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s
    }

        .relazione button:hover {
            color: #055d7b;
            background: rgba(255, 255, 255, 0.7);
        }

    .relazione a {
        background: #017EAC;
        color: #FFFFFF;
        border: 2px solid #FFFFFF;
        padding: 22px 40px;
        font-size: 21px;
        font-weight: 500;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s
    }

        .relazione a:hover {
            color: #017EAC;
            background: rgba(255, 255, 255, 0.7);
        }

/* helpers */

* a:hover {
    transition: 0.2s;
}

button {
    cursor: pointer;
}

    button:active {
        transform: scale(0.95);
    }

.sezione-tabella {
    overflow-x: auto;
    margin-bottom: 50px;
    margin-top: 150px;
}

.icons {
    display: none;
}

.sezione-logo .logo img {
    /* height: 65px;
    width: 150px; */
}

.icons #menu-btn {
    font-size: 30px;
    color: #fff;
    position: relative;
    z-index: 110;
    cursor: pointer;
}

.center-justify {
    text-align: center !important;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background-color: #05191F;
}

@media(min-width: 1300px) {
    .li_home_main {
        display: none !important;
    }

    .li_search_main {
        display: none !important;
    }
}

@media(max-width: 1300px) {
    .sezione-tabella {
        margin-bottom: 50px;
    }

    .li_search_main input {
        color: #fff;
        padding: 10px 5px;
        outline: none;
    }

        .li_search_main input::placeholder {
            color: #C8C8C8;
        }

    .sezione-logo {
        text-align: center;
    }
}

@media(max-width: 991px) {
    .separatore-grigio-2 {
        height: 470px;
        margin-top: 40px;
    }

    .separatore-grigio {
        height: 220px;
    }



    .sezione-carte {
        width: 100%;
        transform: scale(0.8);
    }
    /* .elettricità, .gas, .ambiente {
        height: 45vh;
    } */
    .bilanci, .relazione {
        padding: 30px 30px 50px 30px;
    }

        .relazione h3, .bilanci h3 {
            font-size: 24px;
            font-weight: bold;
        }

        .bilanci h4, .relazione h4 {
            font-size: 16px;
        }

        .bilanci button, .relazione button {
            font-size: 16px;
            padding: 12px 48px;
        }
}

@media(max-width: 768px) {
    .sezione-tabella {
        margin-top: 50px;
        margin-bottom: 50px;
        overflow-x: auto;
    }

    .table-gme th {
        font-size: 10px;
        min-width: 200px;
        max-width: 200px;
        width: 200px;
    }

        .table-gme th#first-header {
            margin-top: -1px;
            padding-bottom: 21px;
        }

    .table-gme td:not(.last) {
        font-size: 10px !important;
        min-width: 110px !important;
    }

    .dots-carte {
        /* margin-top: 100px; */
        top: -40px;
    }

    .newsletter-inner,
    footer .content-principale, .rss-feeds,
    .griglia, .contenuto-finale {
        width: 100%;
    }

    .sezione-hero {
        height: 450px;
    }

    .sezione-grafico {
        width: 100%;
    }

    .newsletter-inner {
        padding: 55px 25px;
    }

        .newsletter-inner h2 {
            font-size: 24px;
            font-weight: bold;
        }

        .newsletter-inner p {
            font-size: 16px;
        }

        .newsletter-inner button {
            font-size: 16px;
            padding: 12px 48px;
        }

    footer {
        /* margin-top: 17px; */
    }

        footer .content-principale {
            flex-direction: column-reverse
        }

            footer .content-principale .colonna {
                display: none;
            }

    .griglia, .contenuto-finale {
        flex-direction: column;
    }

    .bilanci, .relazione {
        width: 100%;
    }

        .relazione button, .bilanci button {
            font-size: 18px;
        }

    .footer-logo {
        text-align: center;
    }

        .footer-logo img {
            width: 130px;
            height: 68px;
        }

    .testocontenutofinale {
        padding: 0;
        text-align: center;
        padding: 40px 0 0;
    }

        .testocontenutofinale p {
            text-align: center;
        }

    footer .content-principale {
        padding: 70px 25px 30px;
    }

    .rss-feeds {
        padding: 0 25px 0px;
    }

    .contenuto-finale {
        padding: 55px 25px;
    }

    .bottoni {
        margin: 54px 30px 0;
    }

    .label-grafico {
        margin: 32px 20px 60px;
    }

    .accordion-content {
        display: block;
    }

    .rss-feeds button {
        display: none;
    }
    /* #card-1, #card-2{
        transform: scale(0.8);
    } */

}

@media(max-width: 768px) {
    .mobile_search_footer {
        display: block;
    }

    .bottoni {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

    .graph_button {
        display: flex;
        column-gap: 20px;
    }

    #volumi {
        margin: 0;
    }

    .sezione-carte {
        top: -220px;
        /* transform: scale(0.55); */
    }

    .separatore-grigio {
        height: 130px;
    }

    .menu-primario nav ul li {
        text-align: right !important;
    }

    .menu-primario {
        background: linear-gradient(75deg,#fff 35%,#00783D 36%) !important;
    }

    .li_search_main {
        margin-top: 65px !important;
    }

    .menu-primario nav ul.active li.active a {
        color: #fff !important;
    }

    .li_search_main {
        position: relative;
    }

    .sezione-logo .logo img {
        max-width: 83%;
        width: 110px;
        max-height: 50px;
    }

    .sezione-logo, .menu-primario nav /*,.table-cell-other-rows*/ {
        background: transparent !important;
    }

        .menu-primario nav ul {
            display: none;
            left: 0px;
            transition: .3s;
            opacity: 1;
            animation: slide-out 0.5s forwards;
            animation-delay: .5s;
            height: 650px;
        }

            .menu-primario nav ul.active {
                display: block;
                position: absolute;
                left: 600px;
                opacity: 0;
                height: 100vh;
                animation: slide 0.5s forwards;
                animation-delay: .5s;
            }

    @keyframes slide {
        100% {
            left: 0;
            opacity: 1;
        }
    }

    @keyframes slide-out {
        100% {
            left: 600px;
            opacity: 0;
        }
    }

    .rss-feeds .app .google-play, .rss-feeds .app .apple-store {
        max-width: 150px !important;
        width: 100%;
    }
}

@media(max-width: 500px) {
    .rss-feeds .app .google-play, .rss-feeds .app .apple-store {
        max-width: 100px !important;
        margin: 0px !important;
    }

    .app {
        column-gap: 20px;
    }

    .mobile_search_footer {
        margin-top: 10px;
    }

    .dots-carte {
        display: flex;
    }

    #sezione-carte-small {
        display: flex;
    }

    #sezione-carte {
        display: none;
    }
}

@media screen and (min-width: 100px) and (max-width: 500px) {
    .sezione-tabella {
        overflow-x: auto !important;
        margin-top: 100px;
        position: relative;
    }

    .table-gme th {
        font-size: 10px;
        min-width: 200px;
        max-width: 200px;
        width: 200px;
    }

        .table-gme th#first-header {
            margin-top: -1px;
            padding-bottom: 21px;
        }

    .table-gme td:not(.last) {
        font-size: 10px !important;
        min-width: 110px !important;
    }
}/**/

.container {
    /*width: 90%;*/
    /*max-width: 1024px;*/
    margin: 0px auto;
    /*padding-top: 20px;*/
    /*transform: translate(0px,-140px);*/
}

.cl {
    height: 200px;
    padding: 10px;
}

.cl-yellow {
    background: #f1c40f;
}

.cl-blue {
    background: #3498db;
}

.cl-red {
    background: #e74c3c;
}

.child {
    width: 100%;
}

.slide:not(.slick-active) {
    cursor: pointer;
}



/* PAGINA MERCATI   */

.mercati-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* contenitore principale */

.contenitore-principale {
    display: flex;
    flex-direction: row;
    width: 100%;
}

@media(max-width: 768px) {
    .contenitore-principale {
        display: block;
    }
}

.padding-mercati {
    padding-top: 25px;
}

.contenitore-breadcrumb {
    padding: 0 10% 0 10%;
}

.contenitore-breadcrumb-esiti {
    padding: 60px 10% 0 10%;
    background-color: #FBF8F8;
}

.contenitore-breadcrumb-gme {
    margin: 60px 10% 0% 10%;
}

.contenitore-breadcrumb-mercati {
    margin: 60px 5% 0% 15%;
}

.breadcrumb {
    display: inline-block;
    margin-bottom: 75px;
    padding-top: 80px;
}

.breadcrumb-inline {
    display: inline-flex;
    font-size: 12px;
    flex-wrap: wrap;
}

.breadcrumb-flex {
    display: flex;
    flex-direction: column
}

    .breadcrumb-flex::after {
        content: attr(data-text);
        content: attr(data-text) / "";
        height: 0;
        visibility: hidden;
        overflow: hidden;
        user-select: none;
        pointer-events: none;
        font-weight: 600;
    }

.breadcrumb-esiti {
    display: inline-block;
    margin-bottom: 1rem;
}

.active-breadcrumb {
    color: #657B4C !important;
}

.contenuto-principale-mercati {
    padding: 25px 5% 0px 15%;
}

.contenuto-principale-gme {
    padding: 25px 10% 0px 10%;
}

    .contenuto-principale-mercati h2,
    .contenuto-principale-gme h2,
    .contenuto-principale-accesso-ai-mercati h2 {
        font-size: 28px;
        font-weight: bold;
        text-transform: uppercase;
        padding-bottom: 30px;
    }

.contenuto-principale-mercati h2 {
    text-transform: uppercase;
    padding-bottom: 30px;
}

.contenuto-principale-mercati h3,
.contenuto-principale-gme h3,
.contenuto-principale-accesso-ai-mercati h3 {
    font-size: 21px;
    font-weight: 400;
    padding-bottom: 20px;
}

.contenuto-principale-mercati p,
.contenuto-principale-gme p,
.contenuto-principale-accesso-ai-mercati p {
    padding: 0 0 20px;
    font-size: 15px;
    line-height: 30px;
    word-spacing: 0px;
    letter-spacing: 0px;
    text-align: justify;
}

.contenuto-principale-accesso-ai-mercati p {
    padding: 0 10% 20px;
}

.contenuto-principale-accesso-ai-mercati h2 {
    padding: 0 10% 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.contenuto-principale-accesso-ai-mercati h3 {
    padding: 0 10% 10px 10%;
    text-transform: uppercase;
    font-weight: bold;
}

.contenuto-principale-mercati a,
.contenuto-principale-gme a,
.contenuto-principale-contatti a,
.contenuto-principale-accesso-ai-mercati a {
    color: #00783D;
}

    .contenuto-principale-mercati a:hover,
    .contenuto-principale-gme a:hover,
    .contenuto-principale-contatti a:hover,
    .contenuto-principale-accesso-ai-mercati a:hover {
        color: #5d9d66
    }

.contenuto-principale-mercati ol,
.contenuto-principale-mercati ul,
.contenuto-principale-gme ol,
.contenuto-principale-gme ul,
.contenuto-principale-accesso-ai-mercati ol,
.contenuto-principale-accesso-ai-mercati ul {
    padding-left: 10px;
}

    .contenuto-principale-mercati ul li,
    .contenuto-principale-gme ul li,
    .contenuto-principale-accesso-ai-mercati ul li {
        padding-left: 10px;
    }

        .contenuto-principale-mercati ul li::marker,
        .contenuto-principale-gme ul li::marker,
        .contenuto-principale-accesso-ai-mercati ul li::marker {
            content: "\f192";
            padding-right: 20px;
            color: #00783D;
            font-family: FontAwesome;
            font-size: 11px;
        }

.diagramma-albero-elettricità {
    width: 70%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 72px;
}

    .diagramma-albero-elettricità img {
        width: 100%;
    }

/* Sidebar */

.sidebar {
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
}

    .sidebar button {
        padding: 0;
    }

    .sidebar a, .sidebar div {
        padding: 5px 15px; /* 20px 10px;*/
        font-size: 15px;
        font-weight: 500;
        color: #000000;
        text-transform: uppercase; /* Aggiunto */
    }

.panel-no-margin {
    margin-left: -15px;
    margin-right: -15px;
}



    .sidebar button {
        text-transform: uppercase;
    }

    .sidebar > a, .sidebar > div {
        border-bottom: 1px solid #707070;
    }

    .sidebar a:hover, .sidebar div button:hover, .sidebar div a:hover {
        font-weight: 600;
    }

    .sidebar > div a {
        padding: 0;
    }

    .sidebar .panel p {
        display: inline-flex;
        justify-content: center;
        align-items: baseline;
        margin: 0;/* Aggiunto */
    }


.fa-caret-down {
    font-size: 24px;
    padding: 16px 20px;
    border-radius: 50%;
    background-color: #37474C;
    color: #FFFFFF;
    margin-left: 40px;
}

.primo {
    margin-left: 55px;
}

.avvisi-comunicati {
    width: 75%;
    margin: 40px auto 0;
    padding: 20px 32px;
    font-size: 21px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #323232;
    border: none;
    outline: none;
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
}

    .avvisi-comunicati:hover {
        background-color: transparent;
        border: 3px solid #323232;
        color: #323232;
    }


/* Sezione scarica GME app */

.contenitore-app {
    width: 100%;
    display: flex;
    background-color: #0B2933;
    max-height: 340px;
    overflow-x: clip;
}

.colonna-1 {
    flex: 1;
    padding: 5% 0 2% 18%;
}

.contenitore-app span {
    font-size: 21px;
    color: #FFFFFF;
    font-weight: 400;
    margin-bottom: 4px;
}

.contenitore-app h3 {
    font-size: 35px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 56px;
}

.app img {
    padding: 0 8px;
}

.colonna-2 {
    flex: 1;
    position: relative;
}

    .colonna-2 img {
        position: absolute;
        top: -40px; /*aggiunto*/
        width: 700px;
        height: auto;
        bottom: 0;
        max-width: 350px;
    }






/*PAGINA GME  */


/* Hero-GME */

.gme-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/*contenuto GME */
/*.contenuto-principale-gme {
    padding-left: 192px;
}*/

.breadcrumb {
    display: inline-block;
    margin-bottom: 75px;
    background-color: transparent;
}

    .breadcrumb a {
        font-size: 16px;
        color: #000000;
        font-weight: 500;
    }

/*.contenuto-principale-gme h2 {
    font-size: 60px;
    font-weight: bold;*/
/* margin-bottom: 64px; */
/*}

.contenuto-principale-gme h3 {
    font-size: 27px;
    font-weight: 400;
}

.contenuto-principale-gme p {
    padding: 80px 115px 72px 0;
    font-size: 21px;
    line-height: 45px;
    word-spacing: 8px;
    letter-spacing: 2.6px;
}*/

.colonna-immagine {
    flex-basis: 50%;
    /*padding-top: 120px;*/
    overflow: hidden;
}



/*secondo paragrafo gme */

/*.paragrafo-testo {
    display: flex;
    justify-content: center;
    padding: 64px 166px;
    margin: 40px 0 0 0;
}

    .paragrafo-testo p {
        font-size: 21px;*/
/*color: #6D6E71;*/
/*line-height: 45px;
        word-spacing: 8px;
        text-align: left;
        letter-spacing: 2.6px;
    }*/

/* PAGINA ESITI */

#IntestazioneGrafico {
    text-transform: uppercase;
}

.menu-navigazione-mercati {
    background-color: #FBF8F8;
    width: 100%;
    padding: 10px 10% 0 10%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*hero esiti */

.esiti-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.separator-hr {
    border-bottom: 1px solid #C8C8C8;
    width: 100%;
    height: 20px;
}

.separator-margin {
    margin-bottom: 100px;
}

.spaziatura-paragrafo-img {
    padding-bottom: 20vh !important;
}

.hr3 {
    color: #707070;
    height: 1px;
    width: 1090px;
    margin-bottom: 100px;
    margin-top: 20px;
}


/* Sezione iframe grafico */
.cambio-grafico {
    width: 100%;
    padding: 25px 0 200px 0;
    background-color: #FBF8F8;
    position: relative;
    display: flex;
    flex-direction: column;
    /*justify-content: space-around;*/
    align-items: center;
    overflow-x: hidden;
    /* margin-top: 350px;
    height:800px ; */
    /* justify-content: flex-end; */
}

.contenitore-grafico {
    width: 100%;
    background-color: #FBF8F8;
    padding: 1% 5% 5% 5%;
}

    .contenitore-grafico h2 {
        font-size: 35px;
        font-weight: 600;
        padding: 48px 0;
        color: #979797;
    }

.sezione-grafico-interna {
    position: static;
    border: 1px solid #FFFFFF;
    background-color: #FFFFFF;
    min-height: 710px;
    margin: 0;
    box-shadow: 0 3px 6px #000000;
    z-index: 2;
}

.contenitore-intestazione-grafico {
    padding: 50px 5%;
    background-color: #FBF8F8;
}

#download-grafico {
    border: none;
    outline: none;
    padding: 20px 48px;
    border-radius: 5px;
    background-color: #1183AB;
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 48px;
}

    #download-grafico:hover {
        background-color: #75B9C7;
    }

/*btn-slider-grafico sx */

.btn-slider-grafico-sx {
    position: absolute;
    left: 0;
    top: 35%;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    background-color: #00783D;
    border-radius: 50px;
    transition: all 400ms ease-in-out;
    width: 400px;
    padding: 24px 40px;
    transform: translateX(-340px);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.1);
}

    .btn-slider-grafico-sx h4 {
        font-size: 21px;
        font-weight: 500;
        margin-bottom: 0 !important;
    }

    .btn-slider-grafico-sx i {
        color: #FFFFFF;
        font-size: 48px;
        padding-left: 40px;
        margin-right: -16px;
    }

    .btn-slider-grafico-sx:hover {
        transform: translateX(-40px);
        color: rgba(255, 255, 255, 1);
    }

/*btn-slider-grafico dx */

.btn-slider-grafico-dx {
    position: absolute;
    right: 0;
    top: 35%;
    z-index: 5;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 24px 40px;
    background-color: #00783D;
    border-radius: 50px;
    width: 400px;
    padding: 24px 40px;
    transition: all 400ms ease-in-out;
    transform: translateX(340px);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.1);
}

    .btn-slider-grafico-dx h4 {
        font-size: 21px;
        font-weight: 500;
        margin-bottom: 0 !important;
    }

    .btn-slider-grafico-dx i {
        color: #FFFFFF;
        font-size: 48px;
        padding-right: 40px;
        margin-left: -16px;
    }

    .btn-slider-grafico-dx:hover {
        transform: translateX(40px);
        color: rgba(255, 255, 255, 1);
    }

    .btn-slider-grafico-dx a:link {
        color: white;
    }

    .btn-slider-grafico-dx a:hover {
        color: white;
    }

.btn-slider-grafico-sx a:link {
    color: white;
}

.btn-slider-grafico-sx a:hover {
    color: white;
}

.mat-calendar {
    font-family: 'Montserrat', sans-serif !important;
}

.mat-form-field {
    font-family: 'Montserrat', sans-serif !important;
}

.mat-button {
    font-family: 'Montserrat', sans-serif !important;
}

.mat-menu-panel {
    min-height: fit-content !important;
    min-width: fit-content !important;
}

/* PAGINA ACCESSO AI MERCATI */

/*hero accesso ai mercati */

.accesso-mercati-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


/* contenuto accesso ai mercati */

.contenitore-accesso-ai-mercati {
    width: 100%;
    background-color: #FBF8F8;
    padding: 30px 235px;
    padding-bottom: 5px;
}

.sfondo-accesso-ai-mercati {
    background-color: #FBF8F8;
}

.sfondo-esito {
    background-color: #FBF8F8;
}

.contenitore-ricerca-documento {
    display: flex;
    justify-content: center;
}

    .contenitore-ricerca-documento input {
        min-width: 30%;
        height: 50px;
        border: 1px solid #CCCBCB;
        border-radius: 8px;
        padding: 0 32px;
        position: relative;
    }


input:focus {
    border: 2px solid #00783D;
}



.icon-ricerca-documento {
    background-color: #00783D;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    right: 25px;
}

    .icon-ricerca-documento i {
        left: 25%;
        position: relative;
        top: 25%;
    }

        .icon-ricerca-documento i.fa-magnifying-glass::before {
            color: #FFFFFF !important;
            cursor: pointer;
        }


/*cambio Griglia */

.cambio-griglia {
    width: 100%;
    padding: 0px 0 200px 0;
    background-color: #FBF8F8;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    overflow-x: hidden;
}


/* Griglia documenti */


.contenitore-griglia {
    width: 100%;
    background-color: #FBF8F8;
    padding: 50px 10%;
}

    .contenitore-griglia h2 {
        padding: 0 0 50px;
        text-transform: uppercase;
    }

    .contenitore-griglia h3 {
        font-size: 21px;
        font-weight: 600;
        margin-bottom: 50px;
        /*text-align: center;*/
        text-transform: uppercase;
    }

.griglia-doc {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: stretch;
    align-items: stretch;
    column-gap: 2%;
    row-gap: 40px;
}

.documento {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;   /*center*/ /* space-around*/
    width: 280px;   /* 260px - 220px */
    height: 240px;  /* 220px */
    cursor: pointer;
    background-color: #EEEEEE;
    padding: 15px 0;
    /*transition: ease-in-out 200ms;*/
}

    .documento img {
        width: 50%;
        cursor: pointer;
        transition: ease-in-out 200ms;
    }

    .documento p {
        width:100%;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
        color: darkgreen;
        padding: 0 20px;   /*0 24px*/ /* 0 24px 32px 24px;*/
        line-height: 1.8em;
        /*transition: ease-in-out 200ms;*/
    }

.paragrafo-doc-num {
    /*margin-bottom: 5px;*/
    text-align:center !important;
}

.paragrafo-doc-txt {
    height: 100%;
    display: flex;
    align-items: center;
}
.doc-num {
    color: darkgreen;
    font-weight:800;
    font-size: 18px !important;
}

.doc-1 {
    color: #DB0000;
    font-size: 15px;
}

.doc-2 {
    font-size: 15px;
    font-weight: 500;
}

.doc-2-hover {
    font-weight: 300;
}

.documento:hover {
    background-color: #E5E0E0;
}

    .documento:hover img {
        width: 40%;
        margin-top: 10px;
    }




/* Accesso ai Mercati DFT abrogate  */

.lista-documenti-abrogati {
    width: 100%;
    height: 956px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    /*margin-top: 150px;*/
}

    .lista-documenti-abrogati::-webkit-scrollbar {
        background-color: #E8E8E8;
    }

    .lista-documenti-abrogati::-webkit-scrollbar-thumb {
        background: #87C668;
        width: 100%;
        height: 30px;
    }

.documento-abrogato {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid #707070;
}

    .documento-abrogato img {
        width: 5%;
        max-width: 70px;
        cursor: pointer;
    }

    .documento-abrogato h4 {
        font-size: 18px;
    }

    .documento-abrogato p {
        padding-left: 0 !important;
    }

/* Box Filtro  */

.box-filtro {
    position: absolute;
    top: 7%;
    right: 10%;
    display: flex;
    align-items: center;
    /* width: 400px;*/
    /* padding: 32px 48px;*/
    align-items: center;
}

    .box-filtro:after {
        content: '\f078';
        font: normal normal normal 17px/1 FontAwesome;
        color: #00783D;
        right: 30px;
        position: relative;
        pointer-events: none;
    }

    .box-filtro i {
        font-size: 36px;
        padding-right: 40px;
        color: #707070;
    }

    .box-filtro select {
        height: 35px;
        width: 100px;
        -webkit-appearance: none;
        padding-left: 15px;
        border: 1px solid #297b37;
        font-size: 15px;
        border-radius: 10px;
        font-weight: bold;
        color: #333;
    }

    .box-filtro div {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 56px;
        height: 48px;
        background-color: #D9D9D9;
        position: relative;
        right: 8px;
        border-top: 1px solid #707070;
        border-right: 1px solid #707070;
        border-bottom: 1px solid #707070;
    }

    .box-filtro > div .fa-sort-down {
        font-size: 32px;
        color: #707070;
        position: absolute;
        top: -1px;
        left: 8px;
    }

.cursor-pointer {
    cursor: pointer;
}

.accordion-sidebar {
    background-color: rgba(0,0,0, 0);
    /* color: #444; */
    cursor: pointer;
    /* padding: 18px; */
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.fa-caret-down {
    transition: all 200ms linear;
}

.active .fa-caret-down { /*, .accordion:hover .fa-caret-down{*/
    /* background-color: #ccc; */
    background-color: #FFFFFF;
    color: #37474C;
    transform: rotate(180deg) scale(0.75) !important;
    transition: all 200ms linear;
}

.panel {
    padding: 7px 15px !important;
    font-size: 15px !important;
    background-color: rgb(243, 243, 243);
    display: none;
    overflow: hidden;
    font-style: oblique;
    border: none !important;
    margin-bottom: 10px !important;
}

.accordion-sidebar .fa-caret-down {
    transform: scale(0.75);
    margin-left: 2%;
    font-size: 20px;/* 30px */
    padding: 7px 12px;
}

.panel .fa-circle {
    color: black !important;
    margin-right: 10px !important;
    font-size: 10px;
}
.accordion-sidebar .fa-circle {
    margin-right: 20px !important;
}

.sidebar .panel p a {
    border: none !important;
    padding:0 10px;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}

    ::-webkit-scrollbar:vertical {
        width: 15px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 15px;
    }

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 5px;
    /* border: 2px solid #ffffff; */
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #ffffff;
}


.no-padding {
    padding: 0;
}

.Home {
    background: linear-gradient(#CCCBCB 10%, #F3F3F3 10% 70%, #CCCBCB 70% );
}


.language-object span:not(:nth-child(2)):after {
    /*content: "|";*/
    color: #000;
    padding-left: 5px;
}

.text-move {
    animation: marqueeLeft 25s linear infinite;
}

@keyframes marqueeLeft {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

.mercati-breadcrumb {
    font-size: 12px !important;
    color: #000000 !important;
    font-weight: 500 !important;
}

    .mercati-breadcrumb:hover {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

.flex-arrows {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/*#region Logo*/

.sezione-logo {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    width: 30%;
    height: 100%;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    z-index: 100;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo a {
        width: fit-content;
    }

.logomenu {
    width: 14vw;
    max-width: 500px;
    height: auto;
}
/*#endregion*/

/*#region Menu Primario*/
.menu-primario {
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
}

    .menu-primario > nav {
        background-color: #00783D;
        padding: 0px 30px 0 0;
        width: 100%;
        text-align: right;
        height: 9vh;
        justify-content: flex-end;
        align-items: center;
        display: flex;
    }

        .menu-primario > nav > ul {
            display: inline-block;
            margin-right: 30px;
        }

            .menu-primario > nav > ul > li {
                display: inline-block;
                margin: 10px;
            }

                .menu-primario > nav > ul > li > a {
                    color: #FFFFFF;
                    font-size: 17px;
                    font-weight: 600;
                    display: flex;
                    flex-direction: column;
                }


                    .menu-primario > nav > ul > li > a:hover {
                        text-decoration: underline;
                    }

                    .menu-primario > nav > ul > li > a::after {
                        content: attr(data-text);
                        content: attr(data-text) / "";
                        height: 0;
                        visibility: hidden;
                        overflow: hidden;
                        user-select: none;
                        pointer-events: none;
                        font-weight: 600;
                    }

                .menu-primario > nav > ul > li > span {
                    color: #FFFFFF;
                    font-size: 20px;
                    font-weight: 300;
                }


nav .fa-solid {
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
}

.i.fa-magnifying-glass {
    transition: transform .2s;
}

i.fa-magnifying-glass:hover {
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

i.fa-magnifying-glass::before {
    font-size: 22px;
    color: #00783D;
}

.floatingSearchBox {
    position: absolute;
    align-items: center;
    display: grid;
    height: 44px;
    width: 260px;
    background-color: white;
    padding: 0px 10px 0 10px;
    border-radius: 25px;
}

.search-results {
    color: #00783D;
    text-align: right;
    font-weight: 600;
}

    .search-results:hover {
        text-decoration: underline;
        color: #00783D;
        font-weight: 600;
    }

ul.searchSkinObjectPreview {
    top: 170% !important;
    right: -37% !important;
    width: 260px !important;
}

.searchInputContainer a.dnnSearchBoxClearText {
    right: 5% !important;
    top: 10% !important;
    margin: 0 !important;
}

.NormalTextBox {
    border: none;
    outline-color: #00783D;
}

.searchSkinObjectPreview_more {
    color: #00783D;
    text-align: right;
}

    .searchSkinObjectPreview_more:hover {
        color: #00783D;
        font-weight: 600;
    }

@media(max-width: 1300px) {
    nav .fa-solid {
        display: none;
    }

    .menu-primario nav {
        background-color: #00783D;
        width: 100%;
        clip-path: 100%;
        padding: 30px;
        height: 80px;
    }

        .menu-primario nav ul {
            display: none;
        }

    .icons {
        display: block;
    }

    .menu-primario nav {
        clip-path: unset;
    }
}
/*#endregion */

/*#region Menu Secondario*/

.menu-secondario {
    display: flex;
    align-items: center;
    background-color: #CCCBCB;
    height: 50px;
    justify-content: flex-end;
}

    .menu-secondario nav {
        padding-right: 30px;
        display: inline-flex;
        justify-content: flex-end;
        gap: 80px;
        align-items: center;
    }

        .menu-secondario nav ul {
            margin: 0;
        }


            .menu-secondario nav ul li {
                display: inline-block;
                margin: 5px;
                font-size: 15px;
                font-weight: 600;
            }

                .menu-secondario nav ul li a {
                    color: #292929;
                    display: flex;
                    flex-direction: column;
                    font-weight: 600;
                }

                    .menu-secondario nav ul li a:hover {
                        text-decoration: underline;
                    }

                    .menu-secondario nav ul li a::after {
                        content: attr(data-text);
                        content: attr(data-text) / "";
                        height: 0;
                        visibility: hidden;
                        overflow: hidden;
                        user-select: none;
                        pointer-events: none;
                        font-weight: 600;
                    }

@media(max-width: 1300px) {
    .menu-secondario, nav .fa-solid {
        display: none;
    }
}

/*#endregion */

/*#region Menu Responsive*/
.menu-mobile {
    display: none;
}

@media(max-width: 1300px) {
    .icons #menu-btn {
        font-size: 30px;
        color: #fff;
        position: relative;
        z-index: 120;
        cursor: pointer;
    }

    .menu-mobile-active {
        display: block;
        height: 650px;
        padding-top: 100px;
        position: absolute;
        z-index: 110;
        background: #323232e3;
        opacity: 1;
        width: 100%;
        top: 0px;
        left: 0;
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
    }

    .container-menu-mobile {
        display: flex;
        justify-content: space-around;
    }

        .container-menu-mobile ul {
            text-align: center;
        }

            .container-menu-mobile ul li {
                text-align: center;
                font-size: 15px;
                margin-bottom: 25px;
            }

                .container-menu-mobile ul li a {
                    color: white
                }

    .search-mobile {
        display: inline-flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        top: 5vh;
    }

    #menu_search {
        background: transparent;
        border: none;
        border-bottom: 2px solid #ffffff;
        width: 50%;
        padding-right: 20px;
        color: #fff;
        outline: none;
        font-size: 15px;
    }

    #search_icon {
        color: #fff;
        font-size: 25px;
        padding-left: 25px;
    }

    .change-language-mobile {
        display: inline-flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        top: 15vh;
    }

    .language-object {
        text-transform: uppercase;
        color: white !important;
        font-size: 20px;
        display: flex;
        gap: 15px;
    }

        .language-object span {
            padding-left: 5px;
            text-transform: uppercase;
            color: white !important;
            font-size: 20px;
        }
}

@media(max-width: 768px) {
    .menu-mobile-active {
        height: 100vh;
    }

    .container-menu-mobile {
        padding-top: 20vh;
    }
}

/*#endRegion*/

.padding-contenuto-acceso-ai-mercati {
    padding: 20px 0 0 0;
}

.contenuto-principale-disclaimer {
    text-align: justify;
}

div [data-toggle='collapse'] {
    cursor: pointer;
}

.labels {
    color: #757575 !important;
}

a:focus {
    outline: 3px solid !important;
    outline-offset: 4px !important;
}

a:focus-visible {
    outline: 3px solid !important;
    outline-offset: 4px !important;
}
