[id] {
    scroll-margin-top: 90px;
}

.pre-section .subtitle,
.pre-section .title {
    color: #292929;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    padding: 20px;
    background-color: #F0F0F0;
    margin-bottom: 0px !important;
}

.pre-section .subtitle {
    font-weight: 500;
    background-color: #FFF;
}

.pre-section .row.tabella {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
}

.pre-section .row.tabella .col-lg-3:not(:last-child) {
    border-right: 1px solid #dcdcdc;
}

.pre-section .row.tabella .col-lg-3:first-child .title {
    border-radius: 10px 0px 0px 0px;
}

.pre-section .row.tabella .col-lg-3:last-child .subtitle,
.pre-section .row.tabella .col-lg-3:first-child .subtitle {
    border-radius: 10px;
}

.pre-section .row.tabella .col-lg-3:last-child .title {
    border-radius: 0px 10px 0px 0px;
}

.switch-lang {
    display: inline-block;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    background-color: #FFFFFF;
    border: 1px solid #00A0DC;
    color: #00A0DC;
    padding: 15px 30px;
    margin-top: 30px;
    transition: all 0.3s ease-in-out;
}

.switch-lang:hover {
    background-color: #00A0DC;
    color: #FFFFFF;
}

.sommario:not(.singola-sezione) .title p {
    border-radius: 8px 8px 0 0;
    background: #00488C;
    color: #FFF;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    padding: 15px 25px;
}

.sommario.singola-sezione .title h2 {
    border-radius: 8px 8px 0 0;
    background: #00488C;
    color: #FFF;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    padding: 15px 25px;
    font-weight: 100;
}

.sommario .item a {
    color: #00488C;
    text-overflow: ellipsis;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    padding: 15px 25px;
    display: block;
}

.sommario .item {
    border-bottom: 1px solid #00488C;
}

ul {
    margin-bottom: 0px;
}

.sommario ul li {
    font-size: 16px;
    line-height: 28px;
    padding-bottom: 10px;
}

.generic .section {
    display: flex;
    align-items: stretch;
    border: 1px solid #1F497D;
    padding: 0;
    border: 1px solid #FFF;
    border-radius: 10px;
    margin: 15px;
}

.generic .section.border-blu {
    border: 2px solid #1F497D;
}

.generic .section.border-light-blu {
    border: 1px solid #1f497d91;
}

.generic .section .first-sect {
    border-radius: 8px 0px 0px 8px;
    text-align: center;
    width: 180px;
}

.generic .section .first-sect.empty {
    width: 10px;
}

.generic .section .last-sect {
    border-radius: 0 10px 10px 0;
}

.generic .section .last-sect p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0;
    padding: 15px 15px;
}

.generic .section .first-sect p {
    font-size: 18px;
    font-weight: 100 !important;
    line-height: 25px;
    margin-bottom: 0;
    white-space: nowrap;
}

.accordion-item {
    border: 0 !important;
    border-bottom: 1px solid #1F497D !important;
}

.accordion-item .accordion-header button {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    font-weight: 700;
    color: #1F497D;
}

.accordion-button:not(.collapsed) {
    background-color: #FFF !important;
    border-bottom: 1px solid #1F497D !important;
    box-shadow: none;
}

hr {
    border-bottom: 1px solid #1F497D !important;
    opacity: 1 !important;
    border-top: 0 !important;
}

.section.border-light-blu .first-sect p {
    font-size: 1em;
    line-height: 24px;
}

.indice .content-text p,
.indice .content-text ul li,
.indice .content-text ol li {
    font-size: 12px;
    line-height: 18px;
    padding-bottom: 5px;
    color: #575757;
}

.indice .content-text ul li::marker,
.indice .content-text ol li::marker {
    color: #1F497D;
    font-weight: bold;
}

.indice .space-blue {
    width: 100px;
    height: 1px;
    margin: 20px 0;
    background-color: #00488C;
}

@media (max-width: 991px) {
    .switch-lang{
        text-align: center;
        display: block;
    }
    [id] {
        scroll-margin-top: 0px !important;
    }

    .generic .section .first-sect p {
        font-size: 14px;
        line-height: 21px;
        white-space: normal !important;
    }

    .generic .section .first-sect {
        width: 150px;
    }

    .sommario ul li {
        font-size: 14px;
        line-height: 21px;
        padding-bottom: 15px;
    }

    .generic .section {
        margin: 10px 0px;
    }

    .sommario:not(.singola-sezione) .title p {
        border-radius: 0;
    }

    .pre-section .row.tabella .col-lg-3:not(:last-child) {
        border-right: none;
    }

    .sommario .item a {
        font-size: 16px;
        line-height: 24px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    p {
        font-size: 14px;
        line-height: 21px;
    }

    .pre-section .title {
        font-size: 16px;
        line-height: 24px;
    }

    .generic .section .last-sect p {
        font-size: 14px;
        line-height: 21px;
    }

    .sommario.singola-sezione .title h2 {
        font-size: 18px;
        line-height: 24px;
        font-weight: 100;
        border-radius: 0;
    }

    article.sommario {
        overflow: hidden;
    }
}