﻿/* lottomatica blue: #003493 */

body {
    font-family: 'Public Sans', sans-serif !important;
}

a {
    text-decoration: none;
    color: #003493;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
}

h1 {
    font-weight: 100;
    font-size: 2.7rem;
}

    h1.hb {
        color: #003493;
    }

table p a {
    word-break: break-word !important;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.small-link {
    font-size: .9rem;
    font-weight: 100;
}

    .small-link a {
        color: white;
    }

/** HEADER **/
.site-header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    max-height: 64px;
}

    .site-header .site-logo {
        margin: 17px 0px 23px 25px;
    }

        .site-header .site-logo img {
            max-width: 140px;
        }

    .site-header .home-icon {
        position: relative;
        margin: 0px 24px 0px 36px;
    }

        .site-header .home-icon a {
            padding: 22px 5px 17px 5px;
            display: inline-block;
        }

            .site-header .home-icon a i {
                font-size: 1.4rem;
            }

    .site-header .active::after {
        background: #003493;
        height: 4px;
        position: absolute;
        top: calc(100% - 4px);
        left: 0px;
        width: 100%;
        content: "";
    }

    .site-header .page-menu-item {
        position: relative;
        display: flex;
        transition: all .2s ease-out;
    }

        .site-header .page-menu-item a {
            color: black;
            font-size: .9rem;
            padding: 23px 12px 20px 12px;

        }

        .site-header .page-menu-item.active > a {
            color: #003493;
            font-weight: bold;
        }

        .site-header .page-menu-item a:hover {
            color: #003493;
        }

        .site-header .page-menu-item i {
            font-size: .7rem;
            margin-left: 4px;
        }

        .site-header .page-menu-item .page-submenu, .site-header .header-right .lang-selector .page-submenu {
            opacity: 0;
            position: absolute;
            top: 100%;
            min-width: 200px;
            transition: all .2s ease-out;
            pointer-events: none;
        }

            .site-header .page-menu-item .page-submenu a, .site-header .header-right .lang-selector .page-submenu a {
                display: block;
                padding: 7px 15px;
                color: #0a58ca;
                background: rgba(244, 244, 244, 1);
                font-size: .85rem;
            }

    .site-header .with-children:hover {
        background: rgba(244, 244, 244, 1);
    }

        .site-header .with-children:hover a {
            color: #003493;
        }

        .site-header .with-children:hover .page-submenu {
            opacity: 1;
            pointer-events: all;
        }

            .site-header .with-children:hover .page-submenu a:hover {
                background: rgba(234, 234, 234, 1);
            }

    .site-header .header-right {
    }

        .site-header .header-right .lang-selector {
            background: linear-gradient(135deg, rgba(0,53,148,1) 0%, rgba(0,103,190,1) 70%);
            width: 64px;
            height: 64px;
            text-align: center
        }

            .site-header .header-right .lang-selector a p {
                margin: 20px 0px;
                color: white;
            }

                .site-header .header-right .lang-selector a p i {
                    font-size: .8em;
                }

            .site-header .header-right .lang-selector .page-submenu {
                min-width: 0;
                position: unset;
            }

                .site-header .header-right .lang-selector .page-submenu a p {
                    color: #003493 !important;
                    margin: 0;
                }

        .site-header .header-right .page-btn {
            margin: 8px 14px;
            padding: 8px 12px;
        }

        .site-header .header-right .page-btn a i {
            font-size: 1rem !important;
            margin: 0px !important;
        }

        .site-header .header-right .header-search {
            width: auto;
            position: relative;
            display: flex;
            align-items: center;
        }

            .site-header .header-right .header-search i {
                cursor: pointer;
            }

    .site-header.desktop-only .header-right .header-search::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        bottom: 0;
        right: 24px;
        background: white;
        transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .site-header.desktop-only .header-right .header-search.open::after {
        right: 100%;
    }

    .site-header.desktop-only .header-right .header-search input[type=search] {
        transition: all .2s ease-out;
        margin-right: 8px;
        border-radius: 100px;
        border: solid #737373 1px;
        padding: 4px 12px;
        font-size: .9rem;
        max-width: 150px;
    }

/** ! HEADER **/


/** FOOTER **/
#footer {
    width: 100%;
    overflow: hidden;
    font-size: .9rem;
    background: rgb(19, 42,83);
}

    #footer .footer-top {
        background-size: cover !important;
        background-position: center top !important;
    }

        #footer .footer-top > .container {
            color: white;
            padding: 50px 0px;
        }

        #footer .footer-top img {
            max-width: 150px;
            margin: 20px 50px 20px 0px;
        }

        #footer .footer-top .footer-first-row {
            min-height: 70px;
        }

        #footer .footer-top .footer-logos {
            display: flex;
            justify-content: start;
            align-items: center;
        }

        #footer .footer-top h6 {
            margin-top: 18px;
            margin-bottom: 15px;
        }

        #footer .footer-top p, #footer .footer-top a {
            font-weight: 100;
        }

            #footer .footer-top p > i {
                font-size: .8em;
            }

        #footer .footer-top a {
            color: white;
        }

        #footer .footer-top .footer-small-text {
            font-size: .7rem;
            color: rgb(137, 149, 169);
        }

        #footer .footer-top .link-utili {
            display: flex;
            flex-direction: column;
        }

        #footer .footer-top .desktop-only .link-utili .link-utile {
            text-align: end;
            width: 100%;
        }

    #footer .footer-contatti i {
        margin-right: 4px;
    }

    #footer .footer-top .footer-contatti strong i {
        margin-left: 4px;
    }

    #footer .footer-bottom {
        background: #F4F4F4;
    }

        #footer .footer-bottom .footer-logos {
            display: flex;
            justify-content: start;
            align-items: center;
        }

            #footer .footer-bottom .footer-logos img {
                margin-left: -20px;
                max-width: 350px;
            }

        #footer .footer-bottom .footer-links {
            display: flex;
            justify-content: end;
            align-items: center;
        }

            #footer .footer-bottom .footer-links a {
                font-weight: 600;
                color: #5F5F5F;
            }

                #footer .footer-bottom .footer-links a i {
                    font-size: .7em;
                    color: #5F5F5F;
                    margin-left: 5px;
                }

/** ! FOOTER **/


/** ! Cookie banner **/
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    max-width: 700px;
    text-align: center;
    box-shadow: 0px 3px 8px 0px #62626299;
    color: white;
    background: rgb(54 95 171 / 80%);
    z-index: 100;
    border-radius: 8px;
    padding: 16px;
    transition: all .5s ease-out;
    backdrop-filter: blur(3px);
    transform: translate(-50%, 300px);
}

.cookie-banner.open {
    transform: translate(-50%, 0);
}

    .cookie-banner .cookie-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .cookie-banner .cookie-body a {
            color: white;
            text-decoration: underline;
        }

        .cookie-banner .cookie-body button {
            padding: 8px 16px;
            border-radius: 4px;
            background: #003493;
            color: white;
            border-color: white;
            transition: all .2s ease-out;
        }

            .cookie-banner .cookie-body button:hover {
                background: transparent;
            }
/** Cookie banner **/


/** PULSANTI (es. "Scopri di più") **/
.page-btn-block {
    display: flex;
    justify-content: end;
    align-items: center;
}

.page-btn, .page-btn-w {
    border-style: solid;
    border-radius: 100px;
    padding: 10px 22px;
    border-width: thin;
    max-height: 38px;
    display: flex !important;
    align-items: center !important;
    transition: background .2s ease-in-out;
}

    .page-btn a, .page-btn-w a, .page-btn label {
        font-weight: bold !important;
        transition: color .2s ease-out;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .page-btn a i, .page-btn-w a i, .page-btn label i {
            margin: 0 0 0 5px !important;
            font-size: .8em !important;
        }

.page-btn {
    border-color: rgba(0, 52, 147, 1);
    background: rgba(0, 52, 147, 0);
}

    .page-btn a, .page-btn label {
        color: rgba(0, 52, 147, 1) !important;
    }

    .page-btn:hover {
        background: rgba(0, 52, 147, 1);
    }

        .page-btn:hover a, .page-btn:hover a i, .page-btn:hover label, .page-btn:hover label i {
            color: rgba(255, 255, 255, 1) !important;
        }

.page-btn-w {
    border-color: rgba(175, 185, 200, 1);
    background: rgba(255, 255, 255, 0);
}

    .page-btn-w a {
        color: rgba(255, 255, 255, 1) !important;
    }

    .page-btn-w:hover {
        background: rgba(255, 255, 255, 1);
    }

        .page-btn-w:hover a, .page-btn-w:hover a i {
            color: rgba(0, 52, 147, 1) !important;
        }

    .page-btn.disabled, .page-btn-w.disabled {
        background: #EEE;
        border-color: #AAA;
        pointer-events: none;
    }

        .page-btn.disabled a, .page-btn-w.disabled a, .page-btn.disabled label {
            color: #AAA !important;
        }

.page-btn-neg {
    border-color: rgba(0, 52, 147, 0);
    background: rgba(0, 52, 147, 1);
}

    .page-btn-neg:hover {
        border-color: rgba(0, 52, 147, 1);
        background: rgba(0, 52, 147, 0);
    }

    .page-btn-neg a {
        color: rgba(255, 255, 255, 1) !important;
    }

        .page-btn-neg:hover a, .page-btn-neg:hover a i {
            color: rgba(0, 52, 147, 1) !important;
        }

/** ! PULSANTI **/


/** HOMEPAGE **/
.hp-item, .hp-item-first {
    position: relative;
    overflow: hidden;
}

    .hp-item .hp-item-body {
        padding: 100px 0px;
        overflow: hidden;
    }

        .hp-item .hp-item-body > img {
            width: 64px;
            height: 64px;
        }

        .hp-item .hp-item-body h1 {
            color: #003493;
            font-weight: 100;
            margin-top: 30px;
            margin-bottom: 52px;
            max-width: 70%;
        }

        .hp-item .hp-item-body.white h1 {
            max-width: 100%;
        }

        .hp-item .hp-item-body > p {
            max-width: 60%;
            margin-bottom: 50px;
        }

        .hp-item .hp-item-body.white i, .hp-item .hp-item-body.white h1 a, .hp-item .hp-item-body.white p {
            color: #FFF;
        }

        .hp-item .hp-item-body.white p {
            max-width: 100%;
        }

    .hp-item .hp-item-image-right {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: -1;
    }

        .hp-item .hp-item-image-right .col-white {
            background: #FFF;
        }

        .hp-item .hp-item-image-right .col-img {
            background-position: center top !important;
            background-repeat: no-repeat !important;
            background-size: cover !important;
            position: relative;
        }

            .hp-item .hp-item-image-right .col-img::before {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                background: rgba(40, 70, 125, 0.4);
                pointer-events: none;
                z-index: 0;
            }

    .hp-item .hp-item-image-large {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: -1;
    }

        .hp-item .hp-item-image-large .col-img {
            background-size: cover !important;
            background-position: center top !important;
            background-repeat: no-repeat !important;
            position: relative;
        }

            .hp-item .hp-item-image-large .col-img::before {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                background: linear-gradient(90deg, rgba(30, 50, 80, 0.8) 0%, rgba(40, 70, 125, 0.8) 100%);
                pointer-events: none;
                z-index: 0;
            }


/** "Lottomatica" **/
.hp-item-first {
    height: 100vh;
    background-size: cover !important;
    background-position: center !important;
    transition: all .5s ease-out;
}

    .hp-item-first::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(19, 42, 83, 0.85);
        content: "";
        pointer-events: none;
        z-index: 0;
    }

    .hp-item-first > img {
        max-width: 100%;
    }
/** ! "Lottomatica" **/

/** "Il gruppo" **/
.hp-gruppo-items {
    margin-bottom: 30px;
}

    .hp-gruppo-items .page-data-item {
        margin: 8px;
        width: unset;
    }

        .hp-gruppo-items .page-data-item .data-img img {
            width: auto;
        }

.hp-gruppo-subtext {
    margin-top: 30px;
}

    .hp-gruppo-subtext p {
        max-width: 60%;
        color: #888;
        font-size: .7rem;
    }
/** ! "Il gruppo" **/

/** "Attività" **/
.hp-attivita-items {
    display: flex;
    flex-wrap: wrap;
}

    .hp-attivita-items .page-data-item {
        margin: 6px;
    }

.hp-attivita-text {
    padding-left: 100px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.hp-attivita-subtext {
    margin-top: 30px;
    max-width: 60%;
}

    .hp-attivita-subtext p {
        color: #FFF;
        font-size: .7rem;
    }
/** ! "Attività" **/

/* "Sostenibilità" */
.hp-sost-items {
    margin-top: 45px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

    .hp-sost-items .hp-sost-subpage {
        margin: 12px;
        border-radius: 16px;
        position: relative;
        padding: 130px 0 8px 12px;
        background-size: cover !important;
        background-position: center !important;
    }

        .hp-sost-items .hp-sost-subpage::before {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            content: "";
            background: rgba(0, 0, 0, .5);
            z-index: 0;
            border-radius: 16px;
        }

        .hp-sost-items .hp-sost-subpage .subpage-text, .hp-sost-items .hp-sost-subpage a {
            color: white;
        }

        .hp-sost-items .hp-sost-subpage .subpage-text {
            z-index: 1;
            position: relative;
        }

        .hp-sost-items .hp-sost-subpage a i {
            margin-left: 5px;
        }
/** ! "Sostenibilità" **/
/** "Investors" **/
.hp-investors-text {
}

    .hp-investors-text .hp-investors-links {
        display: flex;
        padding-top: 16px;
    }

        .hp-investors-text .hp-investors-links > * {
            margin-top: 16px;
        }
/** ! "Investors" **/
/** ! HOMEPAGE **/
/** PAGINE LIVELLO 1 **/
.page-header {
    height: 75vh;
    position: relative;
    background-size: cover !important;
    background-position: center top !important;
    margin-top: 64px;
}

    .page-header::before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, rgba(30, 50, 80, 0.8) 0%, rgba(40, 70, 125, 0.8) 100%);
        content: "";
        pointer-events: none;
        z-index: 0;
    }

    .page-header .row {
        padding-bottom: 20px;
    }

    .page-header .row, .page-header .container {
        height: 96%;
        z-index: 1;
        position: relative;
    }

    .page-header .text-block {
        color: white;
        font-weight: 200;
    }

        .page-header .text-block .page-icon {
            margin-bottom: 5%;
        }

            .page-header .text-block .page-icon img {
                width: 64px;
            }

        .page-header .text-block .page-breadcrumb {
            margin-bottom: 3%;
        }

            .page-header .text-block .page-breadcrumb a {
                color: white;
            }

        .page-header .text-block .page-title {
            margin-bottom: 7%;
        }

        .page-header .text-block .page-description {
            margin-right: 10%;
        }

            .page-header .text-block .page-description p {
                margin-bottom: 0px;
            }

    .page-header .data-text {
        color: #fff;
        margin-left: 50%;
        padding: 0 2%;
        font-size: .7rem;
    }


    .page-header .header-data {
        display: flex;
        flex-wrap: wrap;
    }

        .page-header .header-data .page-data-item {
            width: 30%;
            margin: 2% 1% 0px 1%;
            backdrop-filter: blur(7px);
            min-height: 110px;
        }

        .page-header .header-data.header-gruppo .page-data-item:nth-child(2) {
            margin-right: 40px;
        }


.page-body {
}

    .page-body .page-body-gruppo {
        display: flex;
        justify-content: center;
        margin: 50px 0px;
    }

        .page-body .page-body-gruppo .page-data-item {
            margin: 0 12px;
        }

    .page-body .investors-data-label {
        color: #003493;
        font-size: 2.2rem;
        font-weight: 100;
    }

    .page-body .page-body-investors {
        display: flex;
        justify-content: center;
        margin: 50px 0px;
        flex-wrap: wrap;
        max-width: 700px;
    }

        .page-body .page-body-investors .page-data-item {
            margin: 2% 1% 0px 1%;
        }

    .page-body .page-body-attivita {
        display: flex;
        justify-content: center;
        margin: 80px 0px;
    }

    .page-body .data-text {
        text-align: center;
        margin-bottom: 50px;
        color: #7f7f7f;
        font-size: .7rem;
    }

/* News */
.news-item.selected {
}

    .news-item.selected .news-title {
        color: #003493
    }

    .news-item.selected .news-date {
        color: #737373;
        margin: 24px 0;
    }

    .news-item.selected .news-image {
        max-width: 100%;
        margin-bottom: 40px;
    }

.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .news-container .news-item {
        box-shadow: 0px 3px 7px 1px #9999994f;
        border-radius: 8px;
        overflow: hidden;
        height: 33rem;
        width: 30%;
        margin: 8px;
    }

        .news-container .news-item .news-image {
            height: 35%;
            background-size: cover !important;
            background-position: center !important;
            background-repeat: no-repeat !important;
        }

        .news-container .news-item .news-body .news-title {
            font-weight: bold;
            margin-bottom: 4px;
            color: black;
        }

        .news-container .news-item .news-body .news-date {
            font-size: .8em;
        }

        .news-container .news-item .news-body .news-summary {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }

        .news-container .news-item .news-body .news-more {
            text-align: end;
            font-size: .9em !important;
        }

            .news-container .news-item .news-body .news-more p {
                color: #737373;
                margin: 0;
            }

            .news-container .news-item .news-body a:hover p, .news-container .news-item .news-body .news-more a:hover p {
                color: inherit;
            }

    .news-container .pgnum {
        width: 2.5rem !important;
        height: 2.5rem !important;
        border: solid #F4F4F4 2px;
        line-height: 1.8em;
        background: #FFF !important;
        font-weight: bold;
        font-size: 1.3em;
    }

    .news-container .owl-dot.active .pgnum {
        border: solid #003493 3px;
    }

.news-nav .nav-page {
    display: inline-block;
    border: solid 2px #F0F0F0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    text-align: center;
    line-height: 1.8em;
    font-size: 1.2em;
    cursor: pointer;
    transition: all .1s ease-out;
    font-weight: bold;
}

    .news-nav .nav-page.disabled, .news-nav .nav-page.active {
        cursor: default;
    }

    .news-nav .nav-page.disabled {
        background: #F0F0F0;
        color: #CCC;
    }

    .news-nav .nav-page.active {
        border: solid 3px #003493;
        color: #003493;
    }

    .news-nav .nav-page.dotted {
        border: none;
        cursor: default;
    }

    .news-nav .nav-page:not(.disabled, .active, .dotted):hover {
        background: #003493;
        border-color: #003493;
        color: #FFF;
    }
/* ! News */
/** ! PAGINE LIVELLO 1 **/
.page-data-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0px 3px 8px 0px #9999994f;
    padding: 10px 15px;
    max-width: 200px;
    width: 30%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

    .page-data-item .data-img {
        display: flex;
        justify-content: end;
    }

        .page-data-item .data-img img {
            max-height: 40px;
        }

    .page-data-item .data-value {
        font-size: 1.5em;
        font-weight: bold;
        z-index: 2;
    }

    .page-data-item .data-title {
        font-size: .7rem;
        color: #888;
        /*white-space: nowrap;*/
    }

    .page-data-item.blue-box {
        background: rgba(98, 134, 199, .57);
        box-shadow: 0 0 0 0;
    }

        .page-data-item.blue-box .data-value, .page-data-item.blue-box .data-title {
            color: #FFF;
        }


/* PAGINE LIVELLO 2 - PREVIEW */
.sp-item {
    position: relative;
}

    .sp-item .sp-item-body {
        padding: 100px 0px;
        max-width: 60%;
        margin: auto;
        position: relative;
        z-index: 1;
    }

        .sp-item .sp-item-body h1 {
            color: #003493;
            margin-bottom: 64px;
        }

        .sp-item .sp-item-body p {
            margin-bottom: 42px;
        }

    .sp-item .col-img {
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        position: relative;
    }

        .sp-item .col-img::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(40, 70, 125, 0.4);
            pointer-events: none;
            z-index: 0;
        }

    .sp-item.img-left .col-txt {
        background: #FFF;
    }

    .sp-item.img-right .col-txt {
        background: #F4F4F4;
    }

    .sp-item.img-ext {
        text-align: center;
    }

        .sp-item.img-ext h1, .sp-item.img-ext p {
            color: #FFF !important;
        }

        .sp-item.img-ext h1 {
            margin-bottom: 42px;
        }

        .sp-item.img-ext .col-img::before {
            background: linear-gradient(90deg, rgba(30, 50, 80, 0.8) 0%, rgba(40, 70, 125, 0.8) 100%);
        }

    .sp-item .sp-item-body .subpages {
        margin-top: 24px;
    }

        .sp-item .sp-item-body .subpages p {
            margin-bottom: 0;
            color: #003594;
            font-weight: bold;
        }

        .sp-item .sp-item-body .subpages .page-btn {
            padding: 5px 15px;
            font-size: .9em;
        }

        .sp-item .sp-item-body .subpages hr {
            color: #aaa;
            margin: .7em 0;
        }

    .sp-item .sp-item-body .sp-subpage-link {
    }

        .sp-item .sp-item-body .sp-subpage-link a {
            color: #FFF;
            font-size: .9em;
        }

            .sp-item .sp-item-body .sp-subpage-link a i {
                color: #FFF;
                font-size: .7em;
                margin-left: 8px;
            }
/* ! PAGINE LIVELLO 2 - PREVIEW */

/* PAGINE LIVELLO 2 - CARDS */
.sp-item-card {
    padding: 16px;
    width: 29%;
    max-width: 350px;
    border-radius: 24px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    margin: 0 32px;
}

    .sp-item-card h2, .sp-item-card p {
        color: white !important;
    }

    .sp-item-card img {
        width: 64px;
        height: 64px;
    }

    .sp-item-card h2 {
        margin: 30px 0;
    }

    .sp-item-card p {
        margin-bottom: 32px;
        font-size: .95em;
    }

    .sp-item-card.card-0::before, .sp-item-card.card-1::before, .sp-item-card.card-2::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 0;
        border-radius: 24px;
    }

    .sp-item-card.card-0::before {
        background: linear-gradient(0deg, #195999E6 0%, #3694CBD9 100%);
    }

    .sp-item-card.card-1::before {
        background: linear-gradient(0deg, #12542EE6 0%, #229059E6 100%);
    }

    .sp-item-card.card-2::before {
        background: linear-gradient(0deg, #8E3A1BE6 0%, #C15B28E6 100%);
    }

    .sp-item-card .card-body {
        position: relative;
        z-index: 1;
        width: 90%;
        font-weight: 100;
        display: flex;
        flex-direction: column;
    }

    .sp-item-card.card-1 .page-btn-w:hover a, .sp-item-card.card-1 .page-btn-w:hover i {
        color: rgba(44, 142, 84, 1) !important;
    }

    .sp-item-card.card-2 .page-btn-w:hover a, .sp-item-card.card-2 .page-btn-w:hover i {
        color: rgba(233, 114, 57, 1) !important;
    }
/* ! PAGINE LIVELLO 2 - CARDS */

/* PAGINE LIVELLO 2 - HEADER */
.sp-header {
    height: 75vh;
    position: relative;
    background-size: cover !important;
    background-position: center top !important;
    margin-top: 64px;
}

    .sp-header::before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, rgba(30, 50, 80, 0.8) 0%, rgba(40, 70, 125, 0.8) 100%);
        content: "";
        pointer-events: none;
        z-index: 0;
    }

    .sp-header .row {
        padding-bottom: 30px;
    }

    .sp-header .row, .sp-header .container {
        height: 100%;
        z-index: 1;
        position: relative;
    }

    .sp-header .text-block {
        color: white;
        font-weight: 200;
    }

        .sp-header .text-block .page-icon {
            margin-bottom: 5%;
        }

            .sp-header .text-block .page-icon img {
                width: 64px;
                height: 64px;
            }

        .sp-header .text-block .page-breadcrumb {
            margin-bottom: 3%;
        }

            .sp-header .text-block .page-breadcrumb a {
                color: white;
            }

        .sp-header .text-block .page-title {
            margin-bottom: 7%;
        }

        .sp-header .text-block .page-description {
            margin-right: 10%;
        }

            .sp-header .text-block .page-description p {
                margin-bottom: 0px;
            }

    .sp-header .header-data {
        display: flex;
        flex-wrap: wrap;
    }

        .sp-header .header-data .page-data-item {
            width: 30%;
            margin: 2% 1% 0px 1%;
            backdrop-filter: blur(7px);
        }
/* ! PAGINE LIVELLO 2 - HEADER */

/* PAGINE LIVELLO 2 - BODY */
.sp-body {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

    .sp-body h1 {
        color: #003493;
    }

    /* Corporate DNA */
    .sp-body .attitudini-background {
        height: 240px;
        opacity: 0.1;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    .sp-body .attitudini-title {
        text-align: center;
        color: #003493;
        margin-bottom: 52px;
    }

    .sp-body .attitudini-block {
        display: flex;
        justify-content: space-between;
    }

        .sp-body .attitudini-block .attitudini-item {
            max-width: 120px;
            width: 18%;
            position: relative;
            cursor: pointer;
        }

            .sp-body .attitudini-block .attitudini-item .item-img-w {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                opacity: 1;
                transition: all .2s ease-out;
            }

                .sp-body .attitudini-block .attitudini-item .item-img-w:hover, .sp-body .attitudini-block .attitudini-item.active .item-img-w {
                    opacity: 0;
                }


    .sp-body .attitudini-body {
        margin-top: 52px;
        margin-left: auto;
        margin-right: auto;
        max-width: 50%;
    }

        .sp-body .attitudini-body .title {
            color: #003493;
        }

            .sp-body .attitudini-body .title h2 {
                font-weight: 100;
            }

        .sp-body .attitudini-body .subtitle {
            font-weight: bold;
            font-size: .9em;
        }

        .sp-body .attitudini-body .description {
            font-size: .9em;
        }

.mission-schema {
    background: #f4f4f4;
    text-align: center;
    padding: 40px 0;
}
/* ! Corporate DNA */

/* Sicurezza e Innovazione */
.sicurezza-carousel {
    margin-bottom: 40px;
}

.sicurezza-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .9em;
}

    .sicurezza-item .icon {
        border-style: solid;
        border-color: rgba(255, 255, 255, 25%);
        border-width: 1px;
        border-radius: 100px;
        max-width: 100px;
        padding: 20px;
        max-height: 100px;
        margin-bottom: 24px;
    }

        .sicurezza-item .icon img {
            max-width: 64px;
        }

    .sicurezza-item span {
        color: #FFF;
    }
/* ! Sicurezza e Innovazione */

/* Governance */
.gov-person {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 64px;
    text-align: center;
}

    .gov-person .person-img {
        transition: all .2s ease-out;
    }

        .gov-person .person-img img {
            max-width: 100%;
        }

        .gov-person .person-img.faded {
            opacity: .3;
        }

    .gov-person .person-name, .gov-person .person-role {
        font-weight: bold;
    }

    .gov-person .person-name {
        color: #003493;
        cursor: pointer;
        margin: 16px 0;
    }

    .gov-person .person-role {
    }

    .gov-person .person-description {
        display: none;
    }

.sp-body .gov-text {
    background: #F4F4F4;
    margin-top: 80px;
}

.person-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    transition: all .2s ease-in-out;
    z-index: 99;
}

    .person-popup .overlay {
        background: #132A53;
        opacity: .5;
        width: 100%;
        height: 100%;
    }

    .person-popup .gov-person {
        position: absolute;
        width: 40%;
        height: 50%;
        background: #FFF;
        border-radius: 24px;
        padding: 24px;
    }

        .person-popup .gov-person .popup-close {
            position: absolute;
            top: 0;
            right: 0;
            margin: 0 24px;
            font-size: 2.5em;
            cursor: pointer;
        }

        .person-popup .gov-person .person-img img {
            max-width: 100%;
        }

        .person-popup .gov-person .person-name, .person-popup .gov-person .person-role {
            margin: 4px;
            font-size: 1.1em;
            cursor: default;
        }

        .person-popup .gov-person .person-description {
            display: block;
            overflow-y: scroll;
            margin-top: 24px;
            padding: 0 12px;
        }

.sp-body .docs-categories {
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
}

    .sp-body .docs-categories .cat-item {
        border: 1px solid #003493;
        padding: 12px;
        font-size: .85rem;
        border-radius: 12px;
        font-weight: 600;
        color: #003493;
        transition: all .2s ease-out;
        cursor: pointer;
    }

        .sp-body .docs-categories .cat-item.active {
            color: white;
            background: #003493;
            pointer-events: none;
        }
/* ! Governance */
/* Investors */
.investors-body {
    padding-left: 10rem;
    padding-right: 10rem;
}

    .investors-body h3 {
        font-weight: bold;
        color: #003493;
        margin-bottom: 16px;
    }

    .investors-body .investors-search {
    }

        .investors-body .investors-search .search-field {
            border-radius: 12px;
            height: 50px;
            border: #F4F4F4 solid;
            padding-left: 8px;
            background: #FFF;
            margin-top: 4px;
        }

        .investors-body .investors-search #search {
            width: 50px;
        }

        .investors-body .investors-search .force-hide {
            display: none !important;
        }

    .investors-body .investors-documents {
        margin-top: 40px;
    }

.capitale-sociale {
    margin-top: 40px !important;
    text-align: center;
    padding-top: 32px !important;
    font-weight: bold;
}

.calendario-eventi-soc {
    margin-top: 40px !important;
}

.container > .contatti-form {
    max-width: 800px;
    margin: 0 auto;
}

.contatti-form {
}

    .contatti-form .sp-item.img-right .col-txt {
        background: #FFF;
    }

    .contatti-form .ktc-default-section {
        margin-top: 8px;
    }

        .contatti-form .ktc-default-section label {
            margin-bottom: 4px;
            margin-top: 8px;
        }

        .contatti-form .ktc-default-section .ktc-checkbox {
            display: flex;
            align-items: baseline;
        }

            .contatti-form .ktc-default-section .ktc-checkbox input[type=checkbox] {
                width: auto;
                -webkit-appearance: checkbox;
                -moz-appearance: checkbox;
                margin-right: 8px;
            }

    .contatti-form input[type=submit] {
        display: none;
    }

    .contatti-form .indirizzi {
        /*font-size: .9rem;*/
    }

        .contatti-form .indirizzi i {
            color: #003493;
            width: 20px;
        }

    .contatti-form .field-validation-error {
        color: red;
    }

    .contatti-form form .ktc-default-section:first-child {
        display: flex;
    }

        .contatti-form form .ktc-default-section:first-child .form-field {
            width: 50%;
        }

            .contatti-form form .ktc-default-section:first-child .form-field:first-child {
                margin-right: 8px;
            }

            .contatti-form form .ktc-default-section:first-child .form-field:last-child {
                margin-left: 8px;
            }

.btn-doc-download {
    background: #FFF0;
    border: none;
}

/* Calendario eventi societari */
.sp-body .calendar-row {
    display: flex;
    flex-direction: row;
}

    .calendar-event {
        box-shadow: 0px 3px 8px 0px #9999994f;
        margin: 12px;
        border-radius: 20px;
        padding: 16px;
        /*padding-bottom: 10px;*/
    }

        .calendar-event.first-event {
            width: 40%;
        }

        .calendar-event.second-event {
            flex-grow: 1;
        }

        .calendar-event .event-date {
            text-align: center;
            display: flex;
            flex-direction: column;
            width: 130px;
            height: 100px;
        }

            .calendar-event .event-date .event-month {
                margin: 0px;
                border: 1px solid #d3def0;
                border-radius: 8px 8px 0px 0px;
                padding: 2px 0px;
                line-height: normal;
                color: #003493;
                background-color: #d3def0;
                font-size: .8rem;
            }

            .calendar-event .event-date .event-day {
                height: 100%;
                border: 1px solid #d3def0;
                border-top: 0px;
                margin: 0px;
                border-radius: 0px 0px 8px 8px;
                font-size: 2.2rem;
                font-weight: bold;
                color: #003493;
                display: flex;
                align-items: center;
                justify-content: center;
            }

        .calendar-event .event-description-container {
            display: flex;
            flex-direction: column;
            flex: 1 0 0%;
        }

            .calendar-event .event-description-container .event-title {
                color: #003493;
                font-weight: bold;
                font-size: .95rem;
                margin-bottom: 0px;
            }

            .calendar-event .event-description-container .event-description {
                margin-bottom: 0px;
                font-size: .85rem;
            }

            .calendar-event .event-description-container > div > div > .col:last-child {
                --bs-gutter-x: 0;
            }

        .calendar-event.single-event {
            margin: auto;
            margin-bottom: 3rem;
            padding: 16px;
            border-radius: 16px;
        }

.sp-body .investors-chart {
    max-height: 400px;
    width: 33%;
}


.sp-body .investors-chart-table, .sp-body .investors-chart-table th {
    border-bottom: 1px solid #e1e1e1;
}

.sp-body .investors-chart-table-container {
    margin: 0px 64px;
    flex: 1 0 0%;
}

    .sp-body .investors-chart-table-container .sp-custom-area {
        font-size: 0.8rem;
        max-width: 100%;
    }

.sp-body .investors-chart-table {
    width: 100%;
    text-align: end;
}
    
    .sp-body .investors-chart-table tr {
        height: 52px;
        vertical-align: middle;
    }

    .sp-body .investors-chart-table th {
        color: #003493;
        font-size: 1.4rem;
        height: 52px;
    }

    .sp-body .investors-chart-table p {
        margin: 0 !important;
    }

    .sp-body .investors-chart-table th:first-child, .sp-body .investors-chart-table td:first-child {
        text-align: start;
    }

.sp-body .investors-chart-table-lu {
    width: 100%;
    text-align: end;
    margin: 16px 0px;
    color: #003493;
    font-size: 1.4rem;
}

.sp-body .investors-contatti {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 40px;
}

    .sp-body .investors-contatti .user-card {
        border-radius: 16px;
        box-shadow: 0px 3px 8px 0px #9999994f;
        margin-left: 16px;
    }

        .sp-body .investors-contatti .user-card .user-card-image {
            width: 90px;
            height: 90px;
            padding: 0px;
            border-radius: 16px;
        }

        .sp-body .investors-contatti .user-card .user-card-data {
            display: flex;
            flex-direction: column;
            flex: 1 0 0%;
            justify-content: center;
            margin-left: 8px;
        }

            .sp-body .investors-contatti .user-card .user-card-data .user-card-name {
                font-size: 1.4rem;
                color: #003493;
            }

            .sp-body .investors-contatti .user-card .user-card-data .user-card-email {
                font-size: 0.9rem;
            }

.sp-body .docris-years {
    display: flex;
    flex-direction: row;
    margin-bottom: 8px;
}

    .sp-body .docris-years .year-item {
        font-size: 1.4em;
        font-weight: 200;
        color: black;
        cursor: pointer;
    }

        .sp-body .docris-years .year-item.active {
            color: #003493;
            font-weight: 600;
            cursor: auto;
        }

.sp-body .docris-periods {
}

    .sp-body .docris-periods .period-item {
        margin: 8px;
        box-shadow: 0px 3px 8px 0px #9999994f;
        border-radius: 12px;
    }

        .sp-body .docris-periods .period-item .period-top {
            background: #f4f4f4;
            border-radius: 12px 12px 0px 0px;
            padding: 16px;
            text-align: center;
            font-weight: 100;
            color: #a9a9a9;
        }

            .sp-body .docris-periods .period-item .period-top.active {
                background: #003493;
                color: white;
            }

            .sp-body .docris-periods .period-item .period-top .period-title p {
                font-size: 3rem;
                margin-bottom: .5rem;
            }

            .sp-body .docris-periods .period-item .period-top .period-date p {
                font-size: 1rem;
                margin-bottom: 0px;
            }

        .sp-body .docris-periods .period-item .period-bottom {
            border-radius: 0px 0px 8px 8px;
            padding: 16px;
        }

            .sp-body .docris-periods .period-item .period-bottom .period-doc-item {
                display: flex;
                justify-content: space-between;
                border-bottom: 1px solid #e3e3e3;
                align-items: center;
                height: 40px;
                color: #d0d0d0;
                font-size: .9em;
            }

                .sp-body .docris-periods .period-item .period-bottom .period-doc-item a {
                    color: #a9a9a9;
                }

                .sp-body .docris-periods .period-item .period-bottom .period-doc-item.active {
                    color: inherit;
                }

                    .sp-body .docris-periods .period-item .period-bottom .period-doc-item.active a {
                        color: #003493;
                    }

            .sp-body .docris-periods .period-item .period-bottom .period-doc-item:last-child {
                border-bottom: none;
            }
/* ! Investors */
.sp-body .sp-custom-area {
    max-width: 80%;
    margin: auto;
}

/* Posizioni aperte */
.sp-body .job-item {
    border-radius: 8px;
    padding: 24px 16px;
    box-shadow: 0px 3px 8px 0px #9999994f;
    margin: auto;
}

    .sp-body .job-item .job-title {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .sp-body .job-item .job-data {
        font-size: 1rem;
    }

    .sp-body .job-item.mobile-only {
        padding: 16px;
    }

    .sp-body .job-item .btn-open-form {
        cursor: pointer;
        transition: all .2s ease-out;
    }

    .sp-body .job-item .btn-open-form.open {
        transform: rotate(-180deg);
    }

    .sp-body .job-item .contatti-form {
        max-height: 0px;
        transition: max-height .4s ease-out;
        overflow: hidden;
    }

        .sp-body .job-item .contatti-form.open {
            max-height: 800px;
        }

.error-file-format {
    color: red;
    display: none;
}
/* ! Posizioni aperte */

/* People voices */
.voices-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .voices-container .voice-item {
        box-shadow: 0px 3px 7px 1px #9999994f;
        border-radius: 8px;
        overflow: hidden;
        width: 30%;
        margin: 8px;
    }

        .voices-container .voice-item .voice-image {
            height: 12rem;
            background-size: cover !important;
            background-position: center !important;
            background-repeat: no-repeat !important;
        }

        .voices-container .voice-item .voice-body {
            margin-top: 1px;
        }

            .voices-container .voice-item .voice-body > div:last-child {
                margin-top: 2rem;
                display: flex;
                flex-direction: column;
                flex-grow: 1;
                justify-content: space-between;
            }

            .voices-container .voice-item .voice-body .voice-title {
                font-weight: bold;
                margin-bottom: 4px;
                color: black;
            }

            .voices-container .voice-item .voice-body .voice-date {
                font-size: .8em;
            }

            .voices-container .voice-item .voice-body .voice-summary {
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 6;
                -webkit-box-orient: vertical;
            }

            .voices-container .voice-item .voice-body .voice-more {
                text-align: end;
                font-size: .9em !important;
            }

                .voices-container .voice-item .voice-body .voice-more p {
                    color: #737373;
                    margin: 0;
                }

                .voices-container .voice-item .voice-body a:hover p, .voices-container .voice-item .voice-body .voice-more a:hover p {
                    color: inherit;
                }
/* ! People voices */
/* ! PAGINE LIVELLO 2 - BODY */
/* DOCUMENTI */
.documents-carousel {
    margin-top: 40px;
}

    .documents-carousel .document-item img {
        width: 40%;
        margin: auto;
        border: 2px solid #eee;
        border-radius: 50%;
        padding: 16px;
        cursor: pointer;
    }

    .documents-carousel .document-item .document-title {
        color: #003493;
        text-align: center;
        margin-top: 20px;
        font-weight: bold;
    }

    .documents-carousel .owl-nav, .sg-images .owl-nav {
        width: 110%;
        position: absolute;
        top: 0;
        left: -5%;
        height: 55%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }

.investors-carousel-container {
    width: 50%;
    margin: auto;
}

.investors-pages-carousel {
    margin: 64px 0px;
}

    .investors-pages-carousel .owl-item {
        display: flex!important;
        justify-content: center;
    }

    .investors-pages-carousel .document-item {
        max-width: 200px;
    }

        .investors-pages-carousel .document-item img {
            width: 50%;
            margin: auto;
            border: 2px solid #eee;
            border-radius: 50%;
            padding: 16px;
            cursor: pointer;
        }

        .investors-pages-carousel .document-item .document-title {
            color: #003493;
            text-align: center;
            margin-top: 20px;
            font-weight: bold;
        }

    .investors-pages-carousel .owl-nav, .sg-images .owl-nav {
        width: 110%;
        position: absolute;
        top: 0;
        left: -5%;
        height: 55%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }

.sp-body .analyst-table {
}
    
    .sp-body .analyst-table table {
        width: 100%;
    }

    .sp-body .analyst-table tr {
        border-bottom: 1px solid #e1e1e1;
        height: 64px;
    }

    .sp-body .analyst-table td, .sp-body .analyst-table th {
        width: 33%;
        font-weight: 400;
    }

    .sp-body .analyst-table th {
        font-size: 1.4rem;
        color: #003493;
    }

    .sp-body .analyst-table td, .sp-body .analyst-table a {
        color: #000
    }

/* LOGHI */
.sg-images {
    margin: 80px auto 0 auto;
    max-width: 80%;
}

    .sg-images .sg-image-box {
        background: white;
        border-radius: 8px;
        box-shadow: 0px 3px 8px 0px #9999994f;
        padding: 12px;
        max-width: 200px;
        margin: 8px auto;
    }

        .sg-images .sg-image-box img {
            max-height: 100px;
        }

.sg-images .owl-nav {
    height: 75%;
}

    .documents-carousel .owl-nav button, .sg-images .owl-nav button {
        pointer-events: all;
    }

        .documents-carousel .owl-nav button:hover, .sg-images .owl-nav button:hover {
            background: #FFF !important;
        }

        .documents-carousel .owl-nav button.owl-prev, .sg-images .owl-nav button.owl-prev {
            left: 0;
        }

        .documents-carousel .owl-nav button.owl-next, .sg-images .owl-nav button.owl-next {
            right: 0;
        }

    .investors-pages-carousel .owl-nav button, .sg-images .owl-nav button {
        pointer-events: all;
    }

        .investors-pages-carousel .owl-nav button:hover, .sg-images .owl-nav button:hover {
            background: #FFF !important;
        }

        .investors-pages-carousel .owl-nav button.owl-prev, .sg-images .owl-nav button.owl-prev {
            left: 0;
        }

        .investors-pages-carousel .owl-nav button.owl-next, .sg-images .owl-nav button.owl-next {
            right: 0;
        }
/* ! LOGHI */

.owl-nav button .custom-nav {
    font-size: 1.4em;
    color: #003493;
    padding: 6px 8px;
    border: solid 2px #EEE;
    border-radius: 100px;
}

.owl-nav button:hover .custom-nav {
    color: #003493;
    background: #FFF;
}

.documents-carousel .owl-dots {
    margin-top: 24px;
}

.investors-pages-carousel .owl-dots {
    margin-top: 24px;
}


.sp-body .file-item {
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0px 3px 8px 0px #9999994f;
    margin: auto;
}

    .sp-body .file-item .file-title {
        font-weight: bold;
    }

    .sp-body .file-item .file-date {
        font-size: .8em;
    }

    .sp-body .file-item .file-download {
        max-height: 80px;
    }
/* ! DOCUMENTI */

.registration-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .registration-form form {
        max-width: 700px;
        width: 100%;
    }

    .registration-form .form-field input {
        border-radius: 12px;
        height: 50px;
        border: #F4F4F4 solid;
        padding-left: 8px;
        background: #FFF;
        margin-top: 4px;
    }

    .registration-form .reg-errors {
        color: red;
        font-size: .9rem;
        margin-top: 1rem;
    }










/* MENU MOBILE - magari spostarlo in media query */
.sidebar-menu {
    position: fixed;
    top: 64px;
    bottom: 0;
    right: 100%;
    width: calc(100% - 64px);
    background: #FFF;
    transition: all .25s ease-out;
}

    .sidebar-menu.open {
        right: 64px;
    }

    .sidebar-menu form {
        background: #F4F4F4;
        padding: 0 1rem;
    }

    .sidebar-menu .sidebar-search {
        min-height: 64px;
    }

        .sidebar-menu .sidebar-search input, .sidebar-menu .sidebar-search button {
            background: #F4F4F4;
            border: 0;
        }

        .sidebar-menu .sidebar-search input {
            flex-grow: 1;
        }

    .sidebar-menu hr {
        margin: 0 1.3rem;
        color: #CCC;
    }

    .sidebar-menu .sidebar-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.3rem;
        font-size: .9rem;
    }

        .sidebar-menu .sidebar-item:not(.child) {
            font-weight: bold;
        }

        .sidebar-menu .sidebar-item.last {
            font-weight: bold;
        }

            .sidebar-menu .sidebar-item.last a {
                color: #003493;
                margin-bottom: 1em;
            }

        .sidebar-menu .sidebar-item a {
            color: #000;
        }

        .sidebar-menu .sidebar-item i {
            font-size: .9em;
        }

    .sidebar-menu .sidebar-block .sidebar-item .sidebar-item-arrow {
        /*transition: all .2s linear;*/
        /*transform: rotate(0deg);*/
    }

    .sidebar-menu .sidebar-block.open .sidebar-item .sidebar-item-arrow {
        transform: rotate(-180deg);
    }

    .sidebar-menu .sidebar-block .sidebar-item-children {
        margin-top: 8px;
        display: none;
    }

    .sidebar-menu .sidebar-block.open .sidebar-item-children {
        display: block;
    }

    .sidebar-menu .sidebar-block .sidebar-item-children .sidebar-item {
        font-size: .8rem;
        margin-top: 4px;
    }

    .sidebar-menu .sidebar-block .sidebar-item-children .sidebar-item a {
        color: #888;
        margin-left: 8px;
    }
/* ! MENU MOBILE */



@media only screen and (min-width: 1025px) {
    .calendar-event .event-description-container > div {
        margin-bottom: -4px;
        margin-right: -4px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1279px) {
    .site-header .site-logo {
        margin-left: 15px;
    }

    .site-header .home-icon {
        margin: 0 5px 0 20px;
    }

    .site-header .home-icon a {
        padding-bottom: 18px;   
    }

    .site-header .home-icon a i {
        font-size: 1.2rem;
    }

    .site-header .page-menu-item a {
        font-size: .7rem;
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header .page-btn {
        padding: 6px 16px;
    }

    .site-header .header-search input[type=search], .site-header .page-btn a {
        font-size: .8rem;
    }
}



@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    /* Investors - Documenti e Risultati */
    .sp-body .docris-periods .period-item .period-top {
        padding: 8px;
    }

        .sp-body .docris-periods .period-item .period-top .period-title p {
            font-size: 2rem;
        }

    .sp-body .docris-periods .period-item .period-bottom {
        padding: 12px;
    }

        .sp-body .docris-periods .period-item .period-bottom .period-doc-item {
            height: 32px;
            font-size: .9rem;
        }
    /* Investors - Documenti e Risultati */

    /* Investors - Calendario finanziario */
        .calendar-event .event-date {
            width: 120px;
            height: 90px;
        }

        .calendar-event .row > .col {
            padding: 0px 4px;
        }

            .calendar-event .row > .col > .row {
                padding-right: 16px;
                font-size: .9rem;
            }

        .calendar-event .event-description-container .event-title {
            font-size: 1rem;
        }

        .calendar-event .event-description-container .event-description {
            font-size: 0.9rem;
        }

        .calendar-event .page-btn {
            font-size: .8rem;
            padding: 6px 12px;
        }
    /* Investors - Calendario finanziario */

}




@media only screen and (max-width: 1024px) {
    .site-header.desktop-only {
        display: none !important;
    }

    .site-header.mobile-only {
        display: flex !important;
    }

    .site-header .header-right .header-search {
        width: 64px;
        text-align: center;
        display: block;
    }

    .page-data-item .data-img img {
        width: 32px;
        height: 32px;
    }

    .sp-body .attitudini-block .attitudini-item {
        max-width: 100px;
    }

    .cookie-banner {
        max-width: 100%;
        left: 16px;
        transform: translate(-8px, 300px);
    }

        .cookie-banner.open {
            transform: translate(-8px, 0);
        }

    .calendar-event {
        padding: 16px;
        border-radius: 16px;
    }
}





/**   MOBILE   **/

@media only screen and (max-width: 1023px) {
    h1 {
        font-size: 2rem;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .page-btn, .page-btn-w {
        padding: 6px 12px;
        font-size: .9rem;
    }

    /* FOOTER */
    #footer hr {
        margin-top: 1rem;
    }

    #footer .footer-top > .container {
        padding: 16px;
    }

    #footer .footer-top .footer-sede, #footer .footer-top .footer-contatti {
        width: 50%;
    }

        #footer .footer-top .footer-contatti strong {
            align-items: center;
            display: flex;
        }

            #footer .footer-top .footer-contatti strong i {
                font-size: 2.7em;
                margin-left: 16px;
            }

    #footer .footer-top .page-btn-block {
        justify-content: center;
    }

    #footer .footer-top p {
        font-size: .8em;
    }

    #footer .footer-top .footer-logos {
        justify-content: space-between;
    }

    #footer .footer-top img {
        max-width: 80px;
        margin: 0;
    }

    #footer .footer-top .link-utili-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        #footer .footer-top .link-utili-block .link-utili {
            width: 100%;
            justify-content: center;
            flex-direction: row;
        }

            #footer .footer-top .link-utili-block .link-utili .link-utile {
                text-align: center;
                font-size: .9em;
            }

                #footer .footer-top .link-utili-block .link-utili .link-utile a {
                    font-size: .8em;
                    font-weight: 400;
                    text-decoration: underline;
                }

    #footer .footer-bottom .footer-logos {
        justify-content: center;
    }

        #footer .footer-bottom .footer-logos img {
            margin-left: 0;
        }

    #footer .footer-bottom .footer-links {
        justify-content: center;
    }

        #footer .footer-bottom .footer-links a {
            font-size: .9em;
            margin: 24px 0;
        }

    #footer .footer-top .footer-small-text {
        margin-top: 32px;
    }
    /* ! FOOTER */

    .hp-item-first-block {
        overflow: hidden;
    }

    .hp-investors-text .hp-investors-links {
        flex-direction: column;
    }

    .hp-item .hp-item-body {
        margin: 0 4%;
        padding: 52px 0;
    }

        .hp-item .hp-item-body h1 {
            margin-bottom: 24px;
            max-width: 100%;
        }

        .hp-item .hp-item-body > img {
            width: 52px;
            height: 52px
        }

        .hp-item .hp-item-body > p {
            max-width: 100%;
            /*text-align: justify;*/
            margin-bottom: 24px;
        }

    .hp-item .hp-item-image-right {
        position: relative;
    }

    .hp-item .col-img {
        background-position: center top !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        position: relative;
        min-height: 300px;
    }

        .hp-item .col-img::before {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(40, 70, 125, 0.4);
            pointer-events: none;
            z-index: 0;
        }

    .hp-gruppo-items {
        height: 40px;
    }

    .hp-gruppo-subtext {
        z-index: 10;
        position: relative;
        margin: 16px 8%;
    }

        .hp-gruppo-subtext p {
            max-width: 100%;
            color: #FFF;
            font-size: .7rem;
            text-shadow: 1px 1px 10px #000;
        }

    .hp-attivita-text {
        margin-bottom: 24px;
        padding-left: 0;
        width: 96%;
    }

    .hp-attivita-items {
        order: 1;
        margin-top: -52px;
        margin-bottom: 24px;
    }

        .hp-attivita-items .page-data-item, .page-data-item {
            width: 90%;
            max-width: 180px;
            height: 120px;
            margin: 8px;
        }

    .hp-attivita-subtext {
        z-index: 10;
        position: relative;
        margin: 16px 8%;
        max-width: 100%;
    }

        .hp-attivita-subtext p {
            max-width: 100%;
            color: #FFF;
            font-size: .7rem;
            text-shadow: 1px 1px 10px #000;
        }

    .hp-sost-items {
        flex-direction: column;
    }

    .page-data-item .top-row {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .page-data-item .data-img img {
        /*max-height: 24px;*/
        height: 24px;
        width: 24px;
    }

    .page-data-item .data-value {
        font-size: 1.3em;
    }

    .item.blue-box .data-title {
        white-space: unset;
    }

    /* PAGINE LIVELLO 1 */
    .page-header {
        min-height: 75vh;
    }

        .page-header .container {
            height: 75%;
        }

        .page-header .text-block .page-breadcrumb {
            margin-bottom: 7%;
        }

        .page-header .text-block .page-title {
            margin-bottom: 4%;
        }

        .page-header .text-block .page-icon img {
            width: 52px;
            height: 52px;
            margin-top: 40px;
        }

        .page-header .text-block .page-description {
            margin-right: 0;
            /*text-align: justify;*/
            font-size: .9em;
        }

        .page-header .data-text {
            margin-left: auto;
            position: relative;
            bottom: 16px;
        }

    .page-body .mobile-only .page-body-gruppo .owl-item {
        padding: 8px 0;
    }

    .page-body .mobile-only .page-body-investors .owl-item {
        padding: 8px 0;
    }

    .page-body .page-body-attivita {
        flex-direction: column;
        align-items: center;
        margin: 32px 0;
    }

    .page-body .data-text {
        margin-bottom: 32px;
    }

    .page-body .page-body-investors {
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
    }

    .sp-item-card {
        width: 90%;
        margin: 16px 0;
        max-width: none;
    }

        .sp-item-card img {
            width: 52px;
            height: 52px;
        }

    .sicurezza-carousel {
        margin-bottom: 8px;
    }
    /* ! PAGINE LIVELLO 1 */

    /* PAGINE LIVELLO 2 */
    .sp-header {
        height: 50vh;
    }

        .sp-header .text-block .page-title {
            margin-bottom: 0;
        }

        .sp-header .text-block .page-icon img {
            width: 52px;
            height: 52px;
        }

    .sp-item .col-img {
        min-height: 33vh;
    }

    .sp-item .sp-item-body {
        max-width: 100%;
        padding: 3rem;
    }

        .sp-item .sp-item-body p {
            /*text-align: justify;*/
        }

    .sp-body {
        padding-top: 40px;
        padding-bottom: 40px;
    }

        .sp-body .container {
            padding: 1.5rem;
        }

        .sp-body .sp-custom-area {
            max-width: 100%;
        }

    /* Investors */
        .sp-body .docris-periods .period-item .period-bottom .period-doc-item {
            font-size: .8em;
        }

        /* Azionariato */
        .sp-body .investors-chart {
            width: 100%;
            padding-top: 0px;
            padding-bottom: 32px;
        }

        .sp-body .investors-chart canvas {
            margin: auto;
        }

        .sp-body .investors-chart-table-container {
            margin: auto;
        }

        /* Calendario finanziario */
        .sp-body .calendar-row {
            flex-direction: column;
            align-items: center;
        }

    .calendar-event {
        padding: 12px;
        border-radius: 12px;
    }

        .calendar-event.single-event {
            padding: 12px;
            border-radius: 12px;
        }

        .calendar-event .event-description-container .event-title {
            font-size: .9rem;
        }

        .calendar-event .event-description-container .event-description {
            font-size: .8rem;
        }

        .calendar-event .event-date {
            width: 110px;
            height: 80px;
        }

            .calendar-event .event-date .event-day {
                font-size: 1.8rem;
            }

            .calendar-event .event-date .event-month {
                font-size: .65rem;
            }

        .calendar-event.second-event .page-btn {
            font-size: .8rem;
        }


        .calendar-event.first-event {
            width: 100%;
        }

        .calendar-event.second-event {
            flex-grow: 0;
            width: 100%;
        }

    /* Copertura analisti */
    .sp-body .analyst-table td {
        font-size: .8rem;
    }

    .page-body .page-body-investors .page-data-item {
        width: 30%;
        height: 106px;
    }
    /* !--Investors */

    .investors-body {
        padding: 1.5rem !important;
    }

        .investors-body .investors-search .investors-year {
            order: 1;
        }

        .investors-body .investors-search .investors-name {
            order: 2;
        }

    .person-popup .gov-person .popup-close {
        margin: 0 12px;
        font-size: 2em;
    }

    /* Posizioni aperte */
    .job-title {
        font-size: 1rem !important;
        line-height: 1.2rem;
    }

    .job-data {
        font-size: .8rem !important;
        line-height: 1.2rem;
        margin-bottom: 2px;
    }

    .job-item .contatti-form, .job-item .contatti-form input {
        font-size: .8rem !important;
    }
    /* ! Posizioni aperte */
    /* ! PAGINE LIVELLO 2 */

    .documents-carousel .document-item img {
        width: 30%;
    }

    .documents-carousel .document-item .document-title {
        font-size: .9em;
    }

    .investors-carousel-container {
        width: 80%;
        margin: auto;
    }

        .investors-carousel-container .investors-pages-carousel .document-item img {
            width: 50%;
        }

        .investors-carousel-container .investors-pages-carousel .document-item .document-title {
            font-size: .9em;
        }

    .owl-nav button .custom-nav {
        font-size: 1.5em;
    }

    .person-popup .gov-person {
        width: 90%;
    }

        .person-popup .gov-person .person-description {
            font-size: .9em;
        }

    .news-container .news-item {
        width: auto;
    }

    .voices-container .voice-item {
        width: auto;
    }

    .sg-images {
        margin-top: calc(40px + 1.5rem);
    }

    .sp-body .docris-years .year-item {
        font-size: 1.4rem;
    }
}

.contatti-form h1 {
    font-size: 2.4rem;
    margin-bottom: 32px !important;
}
/**  ! MOBILE   **/







@media only screen and (max-width: 767px) {
    .page-header {
        margin-top: 64px;
        min-height: 60vh;
        height: auto;
    }

    .sp-body {
        padding: 0;
    }

    .sp-body .attitudini-body {
        max-width: 80%;
    }

    .sp-item .col-img {
        min-height: 50vh;
    }

    .sp-item .col-txt {
        order: 1;
    }

    .sp-item .sp-item-body {
        max-width: 100%;
        padding: 1.5rem;
    }

    .sp-carousel .container {
        padding: 1.5rem;
    }

    .sg-images {
        margin: 1.5rem auto 0 auto;
        max-width: 100%;
    }

    .person-popup .gov-person .col {
        margin-right: 32px;
    }

    .person-popup .gov-person .person-name, .person-popup .gov-person .person-role {
        font-size: .9em;
    }

    .person-popup .gov-person .person-description {
        font-size: .8em;
    }

    /* Investors - Azionariato */
    .sp-body .investors-chart {
        padding: 16px 0;
    }

    .sp-body .investors-chart canvas {
        max-height: 250px;
    }

    .sp-body .investors-chart-table {
        font-size: .8rem;
    }

        .sp-body .investors-chart-table tr {
            height: 40px;
        }

        .sp-body .investors-chart-table th {
            font-size: 1rem;
        }

    .sp-body .investors-chart-table-lu {
        font-size: 1rem;
    }
    /* Investors - Azionariato */
}



@media only screen and (max-width: 575px) {
    .page-data-item {
        height: 120px;
        padding: 10px 10px 6px 10px;
    }

    .page-data-item .data-value {
        font-size: 1.2em;
    }
}









/***  CSS VECCHIO  ***/





.scroller-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

    .scroller-container .scroll {
        z-index: 1;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
    }

        .scroller-container .scroll .scroll-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: -1;
            opacity: 0;
            min-height: 100%;
            transition-duration: 0.5s;
            transition-timing-function: ease-out;
            background-size: cover;
            background-position: center;
        }

            .scroller-container .scroll .scroll-bg.active {
                opacity: 1;
                z-index: 0;
            }

.scroll-container-background {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70%;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0% 100%);
}

.scroller-container .scroll .scroll-container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scroll-container .row {
    align-items: center;
    height: 100%;
}

    .scroll-container .row .scroll-content-block {
        align-self: stretch;
        padding-left: 40px;
    }

.scroller-container .scroll .scroll-block {
    display: none;
    opacity: 0;
    height: 100%;
    flex-direction: row;
    justify-content: space-between;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

    .scroller-container .scroll .scroll-block .scroll-block-left {
        /* max-width: 32%;*/
        align-self: center;
    }

        .scroller-container .scroll .scroll-block .scroll-block-left a {
            font-weight: bold;
        }

    .scroller-container .scroll .scroll-block .scroll-block-spacer {
        min-width: 31%;
        min-height: 1px;
    }

    .scroller-container .scroll .scroll-block .scroll-block-right {
        min-height: 1px;
        min-width: 100%;
        position: relative;
    }

.scroll-block-verticalbar {
    position: absolute;
    top: 0;
    bottom: 0;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(16px);
    border: 1px solid #fff;
    right: 33px;
    min-width: 45%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 100px 0;
    text-align: center;
}

    .scroll-block-verticalbar > * {
        padding: 18px;
    }


.scroll-cta-links {
    margin: 16px 0;
    text-align: left;
}

    .scroll-cta-links a {
        position: relative;
        color: #333;
        display: inline-block;
        padding: 8px 8px;
        font-weight: normal !important;
        margin: 0 6px;
    }

        .scroll-cta-links a:first-child {
            margin-left: 0;
        }

        .scroll-cta-links a:after {
            content: "";
            background: #013593;
            position: absolute;
            top: 100%;
            height: 3px;
            margin-top: -1.5px;
            border-radius: 4px;
            width: 100%;
            left: 0;
        }

        .scroll-cta-links a:hover {
            color: #013593;
        }




.scroller-container .scroll .scroll-block.active {
    display: flex;
    opacity: 1;
}

.scroller-container .scroll.active {
    opacity: 1;
    z-index: 100;
}






.home-vertical-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: stretch;
}

    .home-vertical-menu .hvm-item {
        text-align: right;
        padding-bottom: 42px;
    }

        .home-vertical-menu .hvm-item .hvm-icon {
            position: relative;
            display: inline-block;
            width: 24px;
            height: 24px;
            text-align: center;
            cursor: pointer;
        }

            .home-vertical-menu .hvm-item .hvm-icon > * {
                opacity: 0;
                transition-duration: 0.1s;
                transition-timing-function: ease-out;
            }

            .home-vertical-menu .hvm-item .hvm-icon svg {
                width: 20px;
            }

            .home-vertical-menu .hvm-item .hvm-icon:before {
                content: "";
                position: absolute;
                border: 3px solid #505050;
                border-radius: 9px;
                width: 18px;
                height: 18px;
                left: 50%;
                top: 50%;
                margin: -9px auto auto -9px;
                transition-duration: 0.1s;
                transition-timing-function: ease-out;
            }

        .home-vertical-menu .hvm-item:last-child .hvm-icon:before {
            border-radius: 2px;
        }


        .home-vertical-menu .hvm-item:first-child .hvm-icon:before {
            display: none;
        }

        .home-vertical-menu .hvm-item:first-child .hvm-icon > * {
            opacity: 1;
        }


        .home-vertical-menu .hvm-item .hvm-icon:after {
            content: "";
            display: block;
            top: 100%;
            left: 50%;
            margin-left: -1.5px;
            margin-top: 8px;
            width: 3px;
            height: 30px;
            background: #888;
            position: absolute;
            border-radius: 2px;
        }

        .home-vertical-menu .hvm-item:last-child {
            padding-bottom: 0;
        }

            .home-vertical-menu .hvm-item:last-child .hvm-icon:after {
                display: none;
            }

        .home-vertical-menu .hvm-item .hvm-label {
            opacity: 0;
            transition-duration: 0.5s;
            transition-timing-function: ease-out;
            text-transform: uppercase;
            margin-right: 12px;
            font-weight: bold;
        }

        .home-vertical-menu .hvm-item.active .hvm-label {
            opacity: 1;
        }

        .home-vertical-menu .hvm-item.active .hvm-icon {
            cursor: default;
        }

        .home-vertical-menu .hvm-item:not(:last-child).active .hvm-icon:before {
            border-color: #003493;
            height: 2px;
            border-width: 2px;
            margin-top: -1px;
            width: 32px;
            margin-left: -16px;
        }

        .home-vertical-menu .hvm-item:last-child.active .hvm-icon:before {
            border-color: #003493;
            background: #003493;
        }

        .home-vertical-menu .hvm-item.active .hvm-icon > * {
            color: #003493;
        }

        .home-vertical-menu .hvm-item:hover .hvm-icon:before {
            border-color: #003493;
        }

        .home-vertical-menu .hvm-item:hover .hvm-icon svg line {
            stroke: #003493 !important;
        }

.news-date-sel {
    text-align: end;
    font-size: 1.2rem;
    font-weight: 100;
}


.hp-latest-news {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(16px);
    border: 1px solid #fff;
    border-radius: 2px;
    padding: 12px 16px;
    width: 450px;
    color: #111;
}

    .hp-latest-news:hover {
        color: #111;
    }

.hp-latest-label {
    font-weight: bold;
    padding: 0 0 4px;
    text-transform: uppercase;
}

.hp-latest-news > .d-flex {
    font-size: 0.9em;
    line-height: 1.2em;
}

.hp-latest-img {
    margin-right: 12px;
    width: 350px;
}

    .hp-latest-img img {
        width: 100%;
    }

.hp-latest-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 0 4px 0;
}

.hp-latest-title {
    /*font-weight:bold; */
}

.hp-latest-description {
}

.hp-latest-cta {
    font-weight: bold;
}

    .hp-latest-cta a {
        color: #212529;
    }

        .hp-latest-cta a:hover {
            color: #003493;
        }



.mouse-scroller {
    position: absolute;
    bottom: 12%;
    text-align: center;
    cursor: pointer;
}

    .mouse-scroller img {
        width: 38px;
        display: block;
        margin: auto;
    }

        .mouse-scroller img:last-child {
            width: 32px;
            position: relative;
            animation: MoveUpDown 5s linear infinite;
        }

@keyframes MoveUpDown {
    0%, 40%, 60%, 100% {
        top: 0;
    }

    50% {
        top: 10px;
    }
}





.fullmenu-searchbar {
}

    .fullmenu-searchbar .input-group-text {
        background: #fff;
        border: none;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
    }

    .fullmenu-searchbar .form-control {
        border: none;
        border-bottom: 1px solid #ddd;
    }

        .fullmenu-searchbar .form-control:focus,
        .fullmenu-searchbar .dropdown-toggle:focus {
            box-shadow: 0 0 0;
        }

    .fullmenu-searchbar .dropdown-toggle {
        background: #fff;
        border: none;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
    }


        .fullmenu-searchbar .dropdown-toggle:hover,
        .fullmenu-searchbar .dropdown-toggle.dropdown-toggle.show {
            color: #333;
            background: #fff;
            border: none;
            border-bottom: 1px solid #ddd;
            border-radius: 0;
        }





.site-fullmenu {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #fff;
    z-index: 10000;
    opacity: 0;
    transform-origin: top right;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
    transform: scale(0);
    overflow: hidden;
}

    .site-fullmenu.active {
        display: block;
        border-radius: 0;
        opacity: 1;
        transform: scale(1);
    }

    .site-fullmenu > .fullmenu-header {
        z-index: 1;
        position: relative;
    }

.fullmenu-bg {
    background: #17479B;
    clip-path: polygon(60% 0%, 100% 0, 100% 100%, 0% 100%);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    width: 35%;
}

.fullmenu-header {
    padding: 20px 20px 20px 56px;
}

.fullmenu-close {
    color: #fff;
    font-size: 2rem;
    opacity: 0.8;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
}

    .fullmenu-close:hover {
        opacity: 1;
        color: #fff;
    }

.fullmenu-container {
    position: relative;
    height: 100%;
}

.fullmenu-content {
    flex-grow: 1;
    position: relative;
    padding: 0 36px;
}

    .fullmenu-content > .row {
        align-items: stretch;
        height: 100%;
    }

.fullmenu-left {
    padding: 24px 32px;
    position: relative;
}

.fullmenu-right {
    color: #fff;
    padding-bottom: 24px;
}

    .fullmenu-right > * {
        height: 100%;
    }




.fullmenu-lmenu {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 50vh;
    margin-top: 10vh;
}

    .fullmenu-lmenu a {
        color: #212529;
    }

    .fullmenu-lmenu .fullmenu-lmenu-item {
    }

        .fullmenu-lmenu .fullmenu-lmenu-item a {
            transition-duration: 0.2s;
            transition-timing-function: ease-out;
        }



        .fullmenu-lmenu .fullmenu-lmenu-item > a {
            font-size: 1.9rem;
            text-transform: uppercase;
            position: relative;
            display: inline-block;
            width: auto;
            padding-right: 40px;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item.has-children > a {
            width: 100%;
            padding-right: 0;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item > a:after {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            height: 4px;
            margin-top: -2px;
            background: #003493;
            border-radius: 4px;
            width: 0;
            display: block;
            transition-duration: 0.2s;
            transition-timing-function: ease-out;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item:hover > a:after {
            width: 94%;
        }





        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub {
            display: flex;
            position: absolute;
            left: 33%;
            padding-left: 20px;
            font-size: 1.4rem;
            width: 66%;
            top: 0;
            opacity: 0;
            pointer-events: none;
            transition-duration: 0.2s;
            transition-timing-function: ease-out;
            transition-delay: 0.2s;
            overflow: visible;
            flex-direction: column;
            height: 50vh;
            margin-top: 10vh;
            align-items: stretch;
            justify-content: center;
            z-index: 0;
        }



        .fullmenu-lmenu .fullmenu-lmenu-item:first-child .fullmenu-lmenu-sub {
            justify-content: start;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item:last-child .fullmenu-lmenu-sub {
            justify-content: start;
        }


        .fullmenu-lmenu .fullmenu-lmenu-item:hover .fullmenu-lmenu-sub {
            display: flex;
            opacity: 1;
            pointer-events: initial;
            z-index: 0;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub a {
            display: inline-block;
            margin-bottom: 18px;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub.has-children a {
            width: auto;
        }


        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem {
            position: relative;
            width: 100%;
        }

            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem > a {
                width: auto;
                position: relative;
                padding-right: 40px;
            }

            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem.has-children > a {
                width: 50%;
                padding-right: 0;
            }



            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem > a:after {
                content: "";
                position: absolute;
                top: 100%;
                left: 0;
                height: 4px;
                margin-top: -2px;
                background: #003493;
                border-radius: 4px;
                width: 0;
                display: block;
                transition-duration: 0.2s;
                transition-timing-function: ease-out;
            }

            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem:hover > a:after {
                width: 94%;
            }


            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem .fullmenu-lmenu-subitem-sub {
                display: flex;
                position: absolute;
                left: 50%;
                padding-left: 20px;
                font-size: 1.4rem;
                width: 50%;
                top: 0;
                opacity: 0;
                pointer-events: none;
                transition-duration: 0.2s;
                transition-timing-function: ease-out;
                transition-delay: 0.2s;
                overflow: visible;
                flex-direction: column;
                /* height: 50vh; */
                align-items: start;
                justify-content: start;
                z-index: 0;
                font-size: 1rem;
            }

            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem:hover .fullmenu-lmenu-subitem-sub {
                opacity: 1;
                pointer-events: initial;
                z-index: 1;
            }

            .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem .fullmenu-lmenu-subitem-sub a:hover {
                color: #003493;
            }





.fullmenu-right a {
    color: #fff;
    font-size: 1.5rem;
}

.fullmenu-right .fmr-link {
    display: block;
    margin-bottom: 14px;
}

    .fullmenu-right .fmr-link a {
        opacity: 0.8;
        transition-duration: 0.2s;
        transition-timing-function: ease-out;
    }

        .fullmenu-right .fmr-link a:hover {
            opacity: 1;
        }


    .fullmenu-right .fmr-link.fmr-link-image {
    }

        .fullmenu-right .fmr-link.fmr-link-image a {
            opacity: 1;
        }

        .fullmenu-right .fmr-link.fmr-link-image img {
            /*height: 1.9rem; */
            max-width: 100px;
        }


        .fullmenu-right .fmr-link.fmr-link-image.show-on-mobile:first-child img {
            max-width: 118px;
        }

    .fullmenu-right .fmr-link.fmr-link-icon {
    }

        .fullmenu-right .fmr-link.fmr-link-icon img {
            height: 1.5rem;
            width: 1.5rem;
            padding-left: 12px;
            box-sizing: content-box;
            display: inline-block;
        }

    .fullmenu-right .fmr-link.fmr-link-spacer {
        height: 20px;
    }


    .fullmenu-right .fmr-link.fmr-link .dropdown-menu {
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(16px);
        border: 1px solid #fff;
        border-radius: 2px;
    }

        .fullmenu-right .fmr-link.fmr-link .dropdown-menu .dropdown-item {
            color: #333;
            font-size: 1em;
        }

            .fullmenu-right .fmr-link.fmr-link .dropdown-menu .dropdown-item:hover,
            .fullmenu-right .fmr-link.fmr-link .dropdown-menu .dropdown-item:active {
            }

            .fullmenu-right .fmr-link.fmr-link .dropdown-menu .dropdown-item img {
                margin-right: 12px;
                padding-left: 0;
            }

        .fullmenu-right .fmr-link.fmr-link .dropdown-menu .dropdown-divider {
            border-color: #fff;
        }


/*
<div class="fmr-link fmr-link-image"><a href="#"><img src="img/linkedin.png"/></a></div>
<div class="fmr-link fmr-link-icon"><a href="#">Lavora con noi <img src="img/suitcase.png"/></a></div>
<div class="fmr-link fmr-link-icon"><a href="#">Contatti <img src="img/envelope.png"/></a></div>
<div class="fmr-link fmr-link-icon"><a href="#">Area Riservata <img src="img/user-circle.png"/></a></div>
<div class="fmr-link fmr-link-spacer"></div>
<div class="fmr-link fmr-link-icon"><a href="#">Italiano <img src="img/ita.png"></a></div>
*/












.numbers-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 12px auto;
}

    .numbers-block .number-block {
        text-align: center;
        width: 29%;
        margin: 12px 2%;
    }

        .numbers-block .number-block img {
            height: 70px;
        }

        .numbers-block .number-block .number-big {
            font-size: 32px;
            font-weight: bold;
            line-height: 36px;
        }

        .numbers-block .number-block .number-label {
            line-height: 1.2;
        }


.number-block-internal {
}

    .number-block-internal .number-block {
        margin-bottom: 36px;
        width: 21%;
    }

        .number-block-internal .number-block img {
            height: 112px;
        }










.bignumber {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    margin-bottom: 32px;
}

    .bignumber > * {
        display: inline-block;
    }

    .bignumber .bignumber-icon {
        width: 70px;
        margin-right: 20px;
    }

        .bignumber .bignumber-icon img {
            width: 100%;
        }

    .bignumber .bignumber-label {
        font-weight: bold;
        line-height: 22px;
        flex-grow: 1;
    }

        .bignumber .bignumber-label .largest {
            font-size: 44px;
        }


    .bignumber.bignumber-internal {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        justify-items: center;
    }

        .bignumber.bignumber-internal .bignumber {
            width: 31%;
            border: 1px solid #ddd;
            border-radius: 12px;
            padding: 16px;
            margin: 12px 1%;
            position: relative;
            min-height: 132px;
        }

            .bignumber.bignumber-internal .bignumber .bignumber-icon {
                position: absolute;
                left: 8px;
                top: 8px;
                width: 100px;
            }


            .bignumber.bignumber-internal .bignumber .bignumber-label {
                display: flex;
                flex-direction: column;
                padding-left: 116px;
                height: 100px;
                align-items: start;
                justify-content: center;
                justify-items: center;
            }

                .bignumber.bignumber-internal .bignumber .bignumber-label > *:last-child {
                    font-weight: normal;
                }






/*PAGINE INTERNE*/
.inpage-container {
}

    .inpage-container .inpage-header {
        position: relative;
    }


.inpage-img {
    min-width: 100%;
    min-height: 100%;
    height: 92vh;
    overflow: hidden;
}

    .inpage-img img {
        width: 100%;
    }


.inpage-container .inpage-titleblock {
    background: rgba(0, 52, 147,0.8);
    backdrop-filter: blur(16px);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 36px 18px 18px;
    position: absolute;
    bottom: -50px;
    right: 20%;
}

    .inpage-container .inpage-titleblock h1 {
        font-weight: normal;
    }

    .inpage-container .inpage-titleblock .inpage-tbdescription {
        flex-grow: 1;
        padding-bottom: 90px;
        min-height: 20vh;
    }

    .inpage-container .inpage-titleblock .inpage-breadcrumb {
        color: #ddd;
    }

        .inpage-container .inpage-titleblock .inpage-breadcrumb a {
            color: #fff;
        }

        .inpage-container .inpage-titleblock .inpage-breadcrumb > * {
            white-space: nowrap;
        }


.inpage-container .inpage-content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.inpage-submenu {
}

    .inpage-submenu .submenu-item {
    }

    .inpage-submenu .submenu-item {
        background-size: 50% auto !important;
        background-position: center left !important;
        background-repeat: no-repeat !important;
        border-bottom: 2px solid #fff;
    }


        .inpage-submenu .submenu-item:nth-child(even) {
        }

        .inpage-submenu .submenu-item:nth-child(odd) {
            background: #EBEBEB;
        }

        .inpage-submenu .submenu-item .submenu-img {
            background-size: cover;
            min-height: 360px;
        }

            .inpage-submenu .submenu-item .submenu-img img {
                width: 100%;
            }

        .inpage-submenu .submenu-item .submenu-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: left;
            height: 100%;
            justify-items: stretch;
            align-content: space-around;
            padding: 24px 24px;
        }

            .inpage-submenu .submenu-item .submenu-content > * {
                /*flex-grow: 2;*/
            }

            .inpage-submenu .submenu-item .submenu-content h3 {
                /*flex-grow: 1;*/
            }

        .inpage-submenu .submenu-item.item-img-right {
            background-position: right !important;
            background-size: 50% auto !important;
            background-color: #fff !important;
        }




        .inpage-submenu .submenu-item.item-img-full {
            background-position: top center !important;
            background-size: cover !important;
            background: #fff;
        }

            .inpage-submenu .submenu-item.item-img-full .submenu-content {
                text-align: center;
                align-items: center;
            }

                .inpage-submenu .submenu-item.item-img-full .submenu-content h3 {
                    width: 100%;
                    padding: 12px 0;
                }



.sbr-articles-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: stretch;
    justify-content: center;
    margin-right: 50px;
    height: 100%;
}

    .sbr-articles-block > .row {
        height: auto;
        width: 100%;
    }

    .sbr-articles-block .article-block {
        position: relative;
        transition-duration: 0.3s;
        transition-timing-function: ease-out;
        overflow: hidden;
        height: 165px;
        background-size: cover;
        background-repeat: no-repeat;
        margin-bottom: 20px;
        width: 100%;
        background-position: center;
    }



        .sbr-articles-block .article-block .article-block-content {
            background: rgba(255,2555,255,0.8);
            position: absolute;
            transition-duration: 0.3s;
            transition-timing-function: ease-out;
            top: 100%;
            margin-top: -40px;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .sbr-articles-block .article-block .article-content-title {
            height: 40px;
            font-size: 1.2em;
            font-weight: bold;
            padding: 8px;
        }

        .sbr-articles-block .article-block .article-content-description {
            padding: 0 8px 8px;
            font-size: 0.9em;
        }

        .sbr-articles-block .article-block:hover .article-block-content {
            margin-top: 0;
            top: 0;
        }

        .sbr-articles-block .article-block:hover {
        }



/* PAGINAZIONE */

.PagerControl {
    text-align: center;
}

    .PagerControl .PagerResults {
        display: none;
    }


    .PagerControl .PagerNumberArea {
        font-size: 0;
        color: transparent;
    }

        .PagerControl .PagerNumberArea > * {
            padding: 0 !important;
        }

            .PagerControl .PagerNumberArea > * > * {
                display: inline-block;
                width: 32px;
                height: 32px;
                line-height: 32px;
                border-radius: 16px;
                background: #ccc;
                font-size: 16px;
                color: #333;
                margin: 8px 8px;
                transition-duration: 0.2s;
                transition-timing-function: ease-out;
            }

            .PagerControl .PagerNumberArea > * > span {
            }

            .PagerControl .PagerNumberArea > * > a {
            }

                .PagerControl .PagerNumberArea > * > a:hover {
                    background: #eee;
                    color: #555;
                }

        .PagerControl .PagerNumberArea .UnselectedPrev {
        }

        .PagerControl .PagerNumberArea .SelectedPrev {
        }

        .PagerControl .PagerNumberArea .SelectedPage {
            color: #fff;
            background: #003493;
            width: 42px;
            height: 42px;
            line-height: 42px;
            border-radius: 24px;
            font-size: 16px;
            margin: 0px 8px;
        }

        .PagerControl .PagerNumberArea .UnselectedPage {
        }

        .PagerControl .PagerNumberArea .SelectedNext {
        }

        .PagerControl .PagerNumberArea .UnselectedNext {
        }


        .PagerControl .PagerNumberArea span.UnselectedPrev,
        .PagerControl .PagerNumberArea span.SelectedPrev,
        .PagerControl .PagerNumberArea span.SelectedNext,
        .PagerControl .PagerNumberArea span.UnselectedNext {
            display: none;
        }




/* FILELISTS */

.filelist {
}

.filelist-filters,
.filelist-element {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 24px 36px;
}

.filelist-element {
    margin: 24px 0;
}

.filelist-element-filename {
    font-size: 1rem;
    font-weight: bold;
}

.filelist-element .filelist-detail {
    font-size: 0.9em;
    opacity: 0.9;
}


.filelist-element .filelist-download {
}

    .filelist-element .filelist-download a {
    }

        .filelist-element .filelist-download a img {
            height: 50px;
        }







.btn-outline-white {
    color: #333;
    border-color: #ced4da;
    background-color: #fff;
}

    .btn-outline-white:hover {
        color: #000;
        background-color: #fff;
        border-color: #ced4da;
    }

.inpage-content container .classebloccoditesto img {
    padding-left: 12px;
    padding-right: 12px;
}

/*.page-description {
    margin: 5%;
    font-size: 1.2rem;
}
*/
.selected-news-image {
    float: left;
    width: 50%;
    margin-top: 1%;
    margin-right: 3%;
    margin-bottom: 3%;
}

@media only screen and (max-width: 767px) {
    .selected-news-image {
        width: 100%;
        margin-bottom: 5%;
    }
}

.hp-page-title {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500 !important;
    line-height: 1.2;
    color: #000;
}

    .hp-page-title:hover {
        color: #000;
    }

.big-white-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 46pt;
    /*font-family: arial;*/
    font-weight: bold;
    color: #eee;
}



.scroll-gov-links {
    margin: 16px 0;
    font-size: 0.8rem;
    text-align: left;
    background-color: #eee;
    padding: 20px;
    border-radius: 8px;
}

    .scroll-gov-links a {
        color: #333;
        display: inline-block;
        font-weight: normal !important;
        margin: 0 8px;
    }

        .scroll-gov-links a:first-child {
            margin-left: 0;
        }

        .scroll-gov-links a:hover {
            color: #003493;
        }

    .scroll-gov-links > span {
        border-left: 1px solid #a3a2a2;
        width: 0;
        font-size: 0;
        position: relative;
        top: 1px;
    }



.history-banner > img {
    max-width: 100%;
}


#navbar .navbar-logo.bluelogo {
    display: none;
    flex-grow: 1;
}

    #navbar .navbar-logo.bluelogo img {
        max-width: 140px;
    }

.mobile-view {
    display: none;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: auto;
}

.show-on-mobile {
    display: none !important;
}

.bigtitle-banner {
    position: relative;
    background: #111;
    text-align: center;
}

    .bigtitle-banner > img {
        min-height: 315px;
        max-width: 100%;
    }

    .bigtitle-banner > .bigtitle-text {
        position: absolute;
        top: 50%;
        text-align: center;
        font-size: 46pt;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
        color: #eee;
    }




/* MEDIA QUERY */

@media only screen and (min-width: 788.99px) and (max-width: 1399px) {
    body {
        zoom: 90%;
    }
}

@media only screen and (min-width: 788.99px) and (max-width: 991px) {
    .bignumber.bignumber-internal .bignumber .bignumber-label {
        padding-left: 97px;
    }

    .page-menu.expanded .page-header-old-menu-block > a {
        width: 32%;
    }
}

@media only screen and (min-width: 788.99px) and (max-width: 1200px) {
    .inpage-img img {
        width: auto;
        height: 100%;
    }
}

@media only screen and (min-width: 788.99px) and (max-width: 1197px) {
    .page-menu.expanded .sitidigioco > div {
        display: block
    }
}







.SmallDevice .show-on-mobile {
    display: block !important;
}

.SmallDevice .scroller-container {
    display: none;
}

.SmallDevice .mobile-view {
    display: block;
    padding-bottom: 36px;
}

body {
    /* font-size: 1.2rem !important; */
}


.SmallDevice .page-header-old {
    position: absolute;
    padding: 20px;
}

    .SmallDevice .page-header-old .page-logo {
        text-align: center;
        margin-top: 58px;
        top: 0;
    }




.SmallDevice #navbar {
    left: 8px;
    right: 8px;
    padding: 4px;
}

    .SmallDevice #navbar .show-compact {
        display: none;
    }

.SmallDevice .navbar-logo.bluelogo {
    display: block !important;
    opacity: 1 !important;
}

/* HP */

.SmallDevice .page-header-old .page-logo {
    display: none;
}

.SmallDevice .mobileblock {
}

    .SmallDevice .mobileblock .mobileblock-image {
        width: 100%;
        height: 290px;
        position: relative;
    }

        .SmallDevice .mobileblock .mobileblock-image:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            clip-path: polygon(90% 0%,100% 0,100% 100%,15% 100%);
            background: rgba(255,255,255,0.6);
            filter: blur(10px);
            z-index: 2;
        }

        .SmallDevice .mobileblock .mobileblock-image > div {
            position: relative;
            top: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            background-size: 100% auto;
            background-position: center top;
            background-repeat: no-repeat;
        }


            .SmallDevice .mobileblock .mobileblock-image > div:before {
                content: "";
                position: absolute;
                z-index: 1;
                background: rgb(255,255,255);
                background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
                height: 60px;
                top: 0;
                left: 0;
                right: 0;
            }

            .SmallDevice .mobileblock .mobileblock-image > div:after {
                content: "";
                position: absolute;
                z-index: 1;
                background: rgb(255,255,255);
                background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
                height: 60px;
                bottom: 0;
                left: 0;
                right: 0;
            }


    .SmallDevice .mobileblock:first-child .mobileblock-image > div:before {
        display: none;
    }

    .SmallDevice .mobileblock .mobileblock-container {
        margin-top: -14px;
        position: relative;
        z-index: 3;
        text-align: center;
        padding: 0 32px 24px;
    }

    .SmallDevice .mobileblock .mobileblock-title {
        font-size: 1.4rem;
        line-height: 1.8rem;
        margin-bottom: 24px;
    }

    .SmallDevice .mobileblock .mobileblock-content {
    }

    .SmallDevice .mobileblock .mobileblock-cta {
    }

        .SmallDevice .mobileblock .mobileblock-cta a {
            color: #003493;
            font-weight: bold;
        }

            .SmallDevice .mobileblock .mobileblock-cta a:hover {
            }

    .SmallDevice .mobileblock .numbers-block .number-block {
        width: 46%;
    }

    .SmallDevice .mobileblock .sbr-articles-block {
        margin: 0 8%;
        z-index: 1;
        position: relative;
    }

    .SmallDevice .mobileblock .scroll-cta-links {
        text-align: center;
    }

        .SmallDevice .mobileblock .scroll-cta-links a {
            padding: 8px 23px;
            margin: 0 15% 12px !important;
            clear: both;
            width: auto;
        }





    .SmallDevice .mobileblock.mobileblock-blue {
        position: relative;
        padding-bottom: 24px;
    }

        .SmallDevice .mobileblock.mobileblock-blue .mobileblock-image {
            position: static;
            height: 64px;
        }

            .SmallDevice .mobileblock.mobileblock-blue .mobileblock-image:after {
                display: none;
            }

            .SmallDevice .mobileblock.mobileblock-blue .mobileblock-image > div {
                background-size: auto 100%;
                background-position: center top;
                background-repeat: no-repeat;
                position: absolute;
            }

                .SmallDevice .mobileblock.mobileblock-blue .mobileblock-image > div:after {
                }

        .SmallDevice .mobileblock.mobileblock-blue .mobileblock-container {
            background: transparent;
            color: #fff;
        }

        .SmallDevice .mobileblock.mobileblock-blue .mobileblock-cta a {
            color: #fff;
        }

.SmallDevice .mobile-view .sbr-block {
    text-align: center;
}

    .SmallDevice .mobile-view .sbr-block img {
        width: 60%;
        margin: 0 auto 12px;
        display: block;
    }

.SmallDevice .mobile-view .hp-mobile-news {
    background: #003493;
    color: #fff;
    padding: 0 32px 24px;
}

    .SmallDevice .mobile-view .hp-mobile-news a {
        color: #fff;
    }




    .SmallDevice .mobile-view .hp-mobile-news .d-flex {
        /* flex-wrap: wrap;  */
    }

    .SmallDevice .mobile-view .hp-mobile-news .hp-latest-label {
        text-align: center;
        padding: 24px 0 12px;
    }

    .SmallDevice .mobile-view .hp-mobile-news .hp-latest-img {
        width: 30% !important;
        min-width: 30%;
        margin-right: 24px;
        /*min-width: 100% */
    }

    .SmallDevice .mobile-view .hp-mobile-news .hp-latest-right {
        /* padding: 24px 0 4px 0;*/
    }

    .SmallDevice .mobile-view .hp-mobile-news .hp-latest-title {
        line-height: 1.1em;
    }

.SmallDevice .scroller-container .scroll .scroll-container {
    padding-bottom: 20px;
}





.SmallDevice .home-vertical-menu-container {
    /* display: none; */
    height: 128px;
}

.SmallDevice .home-vertical-menu {
    display: none !important;
}

.SmallDevice .mouse-scroller {
    display: none !important;
}

.SmallDevice .scroller-container {
    padding-bottom: 20px;
}

.SmallDevice .scroll-container .row {
    flex-direction: column;
    align-items: start;
    justify-content: stretch;
    justify-items: stretch;
}

.SmallDevice .scroller-container .scroll .scroll-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.SmallDevice .scroll-container-background {
    width: 100%;
    clip-path: none;
    background: rgba(255,255,255,0.6)
}

.SmallDevice .scroller-container .scroll .scroll-block .scroll-block-spacer {
    display: none;
}




.SmallDevice .scroll-container .row .scroll-content-block {
    height: auto;
    padding-left: 10%;
    padding-right: 10%;
    /* width: auto; */
    flex-grow: 1;
    flex-shrink: initial;
}


    .SmallDevice .scroll-container .row .scroll-content-block.scb-left {
        /* padding-top: 38%; */
        text-align: center;
        /* vertical-align: middle; */
    }

    .SmallDevice .scroll-container .row .scroll-content-block.scb-right {
        flex-grow: 2;
    }



.SmallDevice .scroller-container .scroll .scroll-block {
    height: auto;
}



.SmallDevice .group-subtext {
    padding-right: 0 !important;
}

.SmallDevice .hp-latest-news {
    /* position: absolute; */
    width: 100%;
    /* align-self: end; */
    /* justify-self: end; */
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
}


.SmallDevice .scroll-block-verticalbar {
    background: none;
    border: none;
    width: auto;
    right: auto;
    left: auto;
    position: relative;
    padding: 0;
    backdrop-filter: blur(0px);
}


/* PAGINE */

.SmallDevice .inpage-img {
    height: auto;
    width: 100%;
}

    .SmallDevice .inpage-img img {
    }

.SmallDevice .inpage-container .inpage-titleblock {
    position: static;
}

    .SmallDevice .inpage-container .inpage-titleblock .inpage-tbdescription {
        /* flex-grow: 1; */
        padding-bottom: 0;
        min-height: auto;
    }


.SmallDevice .numbers-block .number-block {
    width: 46% !important;
}

.SmallDevice .inpage-submenu .submenu-item,
.SmallDevice .inpage-submenu .submenu-item.item-img-right {
    background-size: 100% auto !important;
    background-position: center top !important;
}

    .SmallDevice .inpage-submenu .submenu-item .submenu-img {
        min-height: 206px;
        background-size: cover;
        background-position: center top;
    }

        .SmallDevice .inpage-submenu .submenu-item .submenu-img.order-last {
            order: 0 !important;
        }

    .SmallDevice .inpage-submenu .submenu-item .order-first {
        order: 1 !important;
    }


.SmallDevice .bignumber.bignumber-internal .bignumber {
    width: 92% !important;
}




.SmallDevice .scroll-gov-links {
    flex-wrap: wrap;
}

    .SmallDevice .scroll-gov-links a {
        width: 100%;
        margin: 2px 0;
        white-space: nowrap;
        /* flex-grow: 1; */
    }

    .SmallDevice .scroll-gov-links > span {
        display: none;
    }


.SmallDevice .classebloccoditesto img {
    max-width: 100%;
}


.SmallDevice .inpage-content.container img {
    max-width: 100%;
}


.SmallDevice .gmaps-block {
    max-width: 100%;
    margin-top: 28px;
}


.SmallDevice .filelist-filters .d-flex {
    flex-wrap: wrap;
}

    .SmallDevice .filelist-filters .d-flex > * {
        margin-bottom: 8px;
        width: 100%;
    }

.SmallDevice .filelist-element .filelist-download a img {
    height: 35px;
}

.SmallDevice .filelist-filters, .filelist-element {
    border-radius: 8px;
    padding: 16px 14px;
}

.SmallDevice .filelist-download {
    min-width: 50px;
    text-align: right;
}

.SmallDevice .FormPanel .d-flex {
    flex-wrap: wrap;
}

    .SmallDevice .FormPanel .d-flex > * {
        width: 100%;
        flex-wrap: wrap;
    }

/*.SmallDevice .page-description {
    margin: 0;
}
*/

.SmallDevice .bigtitle-banner > img {
    min-height: 150px;
    opacity: 0.5;
}

.SmallDevice .bigtitle-banner > .bigtitle-text {
    font-size: 38px;
    line-height: 38px;
}


/* menu */
.SmallDevice .fullmenu-left {
    padding: 4px 0px;
}

.SmallDevice .fullmenu-lmenu {
    width: 100%;
    height: auto;
    margin-top: 0;
}

    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub {
        display: flex !important;
        opacity: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        padding: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        font-size: 1rem;
        margin: 0;
        transition-duration: 0.2s;
        transition-property: all;
        transition-timing-function: ease-out;
        z-index: -1;
        pointer-events: none;
        justify-content: center;
        position: fixed;
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(8px);
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        justify-items: center !important;
    }


    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem:hover .fullmenu-lmenu-subitem-sub {
        opacity: 0;
    }

    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem.has-children > a {
        width: 100%;
    }

    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub a {
        margin-bottom: 6px;
        padding-right: 0;
        /* display: block; */
    }

    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item > a {
        font-size: 1.2rem;
    }


    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item:hover .fullmenu-lmenu-sub {
        opacity: 0;
        text-align: center;
        z-index: 0;
    }



.SmallDevice .fullmenu-bg {
    clip-path: polygon(90% 0%,100% 0,100% 100%,15% 100%);
    width: 100%;
}

.SmallDevice .fullmenu-header {
    padding: 20px;
}

.SmallDevice .fullmenu-logo {
    text-align: center;
}

.SmallDevice .fullmenu-searchbar {
    margin-top: 24px;
}

.SmallDevice .fullmenu-close {
    color: #fff;
    font-size: 1rem;
    opacity: .8;
    position: absolute;
    right: 1.4rem;
    top: 1.4rem;
}

.SmallDevice .fullmenu-right a {
    font-size: 1.2rem;
}



.SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item > a:after,
.SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem:hover > a:after {
    display: none;
}

/*.SmallDevice   .fullmenu-container {
overflow:scroll;
} */


.SmallDevice .numbers-block .number-block .number-big {
    font-size: 28px;
    font-weight: bold;
    line-height: 30px;
}

.SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .submenu-mobile-parentlink {
    font-size: 1.5em;
    font-style: italic;
    text-transform: uppercase;
}

    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .submenu-mobile-parentlink a {
        margin-bottom: 0.75em !important;
    }


.SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item.active .fullmenu-lmenu-sub {
    z-index: 1000;
    opacity: 1;
}


.SmallDevice .submenu-mobile-title {
    position: absolute;
    top: 12px;
    left: 24px;
    font-size: 1.5em;
    text-transform: uppercase;
}

    .SmallDevice .submenu-mobile-title a {
    }

        .SmallDevice .submenu-mobile-title a i {
        }

.SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub a {
    margin-bottom: 1.3em;
    font-size: 1.3em;
}








/* .SmallDevice .fullmenu-container {
overflow:scroll;
} */

/*} */ /* media query */






/* MEDIA QUERY xxxx */

@media only screen and (min-width: 788.99px) and (max-width: 1399px) {
    body {
        zoom: 90%;
    }
}

@media only screen and (min-width: 788.99px) and (max-width: 1200px) {
    .inpage-img img {
        width: auto;
        height: 100%;
    }
}


@media only screen and (max-width: 788.98px) {

    .fullmenu-lmenu .fullmenu-lmenu-item {
        margin-bottom: 16px !important;
    }

    .SmallDevice .fullmenu-lmenu .fullmenu-lmenu-item {
        margin-bottom: 16px !important;
    }



    .show-on-mobile {
        display: block !important;
    }

    .scroller-container {
        display: none;
    }

    .mobile-view {
        display: block;
        padding-bottom: 36px;
    }

    body {
        /* font-size: 1.2rem !important; */
    }


    .page-header-old {
        position: absolute;
        padding: 20px;
    }

        .page-header-old .page-logo {
            text-align: center;
            margin-top: 58px;
            top: 0;
        }




    #navbar {
        left: 8px;
        right: 8px;
        padding: 4px;
    }

        #navbar .show-compact {
            display: none;
        }

    .navbar-logo.bluelogo {
        display: block !important;
        opacity: 1 !important;
    }

    /* HP */

    .page-header-old .page-logo {
        display: none;
    }

    .mobileblock {
    }

        .mobileblock .mobileblock-image {
            width: 100%;
            height: 290px;
            position: relative;
        }

            .mobileblock .mobileblock-image:after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 100px;
                clip-path: polygon(0 0, 0% 0, 130% 100%, 0% 100%);
                background: rgba(255,255,255,0.6);
                filter: blur(10px);
                z-index: 2;
            }

            .mobileblock .mobileblock-image > div {
                position: relative;
                top: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
                background-size: 100% auto;
                background-position: center top;
                background-repeat: no-repeat;
            }


                .mobileblock .mobileblock-image > div:before {
                    content: "";
                    position: absolute;
                    z-index: 1;
                    background: rgb(255,255,255);
                    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
                    height: 60px;
                    top: 0;
                    left: 0;
                    right: 0;
                }

                .mobileblock .mobileblock-image > div:after {
                    content: "";
                    position: absolute;
                    z-index: 1;
                    background: rgb(255,255,255);
                    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
                    height: 60px;
                    bottom: 0;
                    left: 0;
                    right: 0;
                }


        .mobileblock:first-child .mobileblock-image > div:before {
            display: none;
        }

        .mobileblock .mobileblock-container {
            margin-top: -14px;
            position: relative;
            z-index: 3;
            text-align: center;
            padding: 0 32px 24px;
        }

        .mobileblock .mobileblock-title {
            font-size: 1.4rem;
            line-height: 1.8rem;
            margin-bottom: 24px;
        }

        .mobileblock .mobileblock-content {
        }

        .mobileblock .mobileblock-cta {
        }

            .mobileblock .mobileblock-cta a {
                color: #003493;
                font-weight: bold;
            }

                .mobileblock .mobileblock-cta a:hover {
                }

        .mobileblock .numbers-block .number-block {
            width: 46%;
        }

        .mobileblock .sbr-articles-block {
            margin: 0 8%;
            z-index: 1;
            position: relative;
        }

        .mobileblock .scroll-cta-links {
            text-align: center;
        }

            .mobileblock .scroll-cta-links a {
                padding: 8px 23px;
                margin: 0 15% 12px !important;
                clear: both;
                width: auto;
            }





        .mobileblock.mobileblock-blue {
            position: relative;
            padding-bottom: 24px;
        }

            .mobileblock.mobileblock-blue .mobileblock-image {
                position: static;
                height: 64px;
            }

                .mobileblock.mobileblock-blue .mobileblock-image:after {
                    display: none;
                }

                .mobileblock.mobileblock-blue .mobileblock-image > div {
                    background-size: auto 100%;
                    background-position: center top;
                    background-repeat: no-repeat;
                    position: absolute;
                }

                    .mobileblock.mobileblock-blue .mobileblock-image > div:after {
                    }

            .mobileblock.mobileblock-blue .mobileblock-container {
                background: transparent;
                color: #fff;
            }

            .mobileblock.mobileblock-blue .mobileblock-cta a {
                color: #fff;
            }

    .mobile-view .sbr-block {
        text-align: center;
    }

        .mobile-view .sbr-block img {
            width: 60%;
            margin: 0 auto 12px;
            display: block;
        }

    .mobile-view .hp-mobile-news {
        background: #003493;
        color: #fff;
        padding: 0 32px 24px;
    }

        .mobile-view .hp-mobile-news a {
            color: #fff;
        }




        .mobile-view .hp-mobile-news .d-flex {
            /* flex-wrap: wrap;  */
        }

        .mobile-view .hp-mobile-news .hp-latest-label {
            text-align: center;
            padding: 24px 0 12px;
        }

        .mobile-view .hp-mobile-news .hp-latest-img {
            width: 30% !important;
            min-width: 30%;
            margin-right: 24px;
            /*min-width: 100% */
        }

        .mobile-view .hp-mobile-news .hp-latest-right {
            /* padding: 24px 0 4px 0;*/
        }

        .mobile-view .hp-mobile-news .hp-latest-title {
            line-height: 1.1em;
        }

    .scroller-container .scroll .scroll-container {
        padding-bottom: 20px;
    }





    .home-vertical-menu-container {
        /* display: none; */
        height: 128px;
    }

    .home-vertical-menu {
        display: none !important;
    }

    .mouse-scroller {
        display: none !important;
    }

    .scroller-container {
        padding-bottom: 20px;
    }

    .scroll-container .row {
        flex-direction: column;
        align-items: start;
        justify-content: stretch;
        justify-items: stretch;
    }

    .scroller-container .scroll .scroll-bg {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


    .scroll-container-background {
        width: 100%;
        clip-path: none;
        background: rgba(255,255,255,0.6)
    }

    .scroller-container .scroll .scroll-block .scroll-block-spacer {
        display: none;
    }




    .scroll-container .row .scroll-content-block {
        height: auto;
        padding-left: 10%;
        padding-right: 10%;
        /* width: auto; */
        flex-grow: 1;
        flex-shrink: initial;
    }


        .scroll-container .row .scroll-content-block.scb-left {
            /* padding-top: 38%; */
            text-align: center;
            /* vertical-align: middle; */
        }

        .scroll-container .row .scroll-content-block.scb-right {
            flex-grow: 2;
        }



    .scroller-container .scroll .scroll-block {
        height: auto;
    }



    .group-subtext {
        padding-right: 0 !important;
    }

    .hp-latest-news {
        /* position: absolute; */
        width: 100%;
        /* align-self: end; */
        /* justify-self: end; */
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
    }


    .scroll-block-verticalbar {
        background: none;
        border: none;
        width: auto;
        right: auto;
        left: auto;
        position: relative;
        padding: 0;
        backdrop-filter: blur(0px);
    }


    /* PAGINE */

    .inpage-img {
        height: auto;
        width: 100%;
    }

        .inpage-img img {
        }

    .inpage-container .inpage-titleblock {
        position: static;
    }

        .inpage-container .inpage-titleblock .inpage-tbdescription {
            /* flex-grow: 1; */
            padding-bottom: 0;
            min-height: auto;
        }


    .numbers-block .number-block {
        width: 46% !important;
    }

    .inpage-submenu .submenu-item,
    .inpage-submenu .submenu-item.item-img-right {
        background-size: 100% auto !important;
        background-position: center top !important;
    }

        .inpage-submenu .submenu-item .submenu-img {
            min-height: 206px;
            background-size: cover;
            background-position: center top;
        }

            .inpage-submenu .submenu-item .submenu-img.order-last {
                order: 0 !important;
            }

        .inpage-submenu .submenu-item .order-first {
            order: 1 !important;
        }


    .bignumber.bignumber-internal .bignumber {
        width: 92% !important;
    }




    .scroll-gov-links {
        flex-wrap: wrap;
    }

        .scroll-gov-links a {
            width: 100%;
            margin: 2px 0;
            white-space: nowrap;
            /* flex-grow: 1; */
        }

        .scroll-gov-links > span {
            display: none;
        }


    .classebloccoditesto img {
        max-width: 100%;
    }


    .inpage-content.container img {
        max-width: 100%;
    }


    .gmaps-block {
        max-width: 100%;
        margin-top: 28px;
    }


    .filelist-filters .d-flex {
        flex-wrap: wrap;
    }

        .filelist-filters .d-flex > * {
            margin-bottom: 8px;
            width: 100%;
        }

    .filelist-element .filelist-download a img {
        height: 35px;
    }

    .filelist-filters, .filelist-element {
        border-radius: 8px;
        padding: 16px 14px;
    }

    .filelist-download {
        min-width: 50px;
        text-align: right;
    }

    .FormPanel .d-flex {
        flex-wrap: wrap;
    }

        .FormPanel .d-flex > * {
            width: 100%;
            flex-wrap: wrap;
        }

    /*    .page-description {
        margin: 0;
    }
*/

    .bigtitle-banner > img {
        min-height: 150px;
        opacity: 0.5;
    }

    .bigtitle-banner > .bigtitle-text {
        font-size: 38px;
        line-height: 38px;
    }


    /* menu */
    .fullmenu-left {
        padding: 4px 0px;
    }

    .fullmenu-lmenu {
        width: 100%;
        height: auto;
        margin-top: 0;
    }

        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub {
            display: flex !important;
            opacity: 0;
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            padding: 0;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            font-size: 1rem;
            margin: 0;
            transition-duration: 0.2s;
            transition-property: all;
            transition-timing-function: ease-out;
            z-index: -1;
            pointer-events: none;
            justify-content: center;
            position: fixed;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(8px);
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            justify-items: center !important;
        }


        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem:hover .fullmenu-lmenu-subitem-sub {
            opacity: 0;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem.has-children > a {
            width: 100%;
        }

        .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub a {
            margin-bottom: 6px;
            padding-right: 0;
            /* display: block; */
        }

        .fullmenu-lmenu .fullmenu-lmenu-item > a {
            font-size: 1.2rem;
        }


        .fullmenu-lmenu .fullmenu-lmenu-item:hover .fullmenu-lmenu-sub {
            opacity: 0;
            text-align: center;
        }




    .fullmenu-bg {
        clip-path: polygon(90% 0%,100% 0,100% 100%,15% 100%);
        width: 100%;
    }

    .fullmenu-header {
        padding: 20px;
    }

    .fullmenu-logo {
        text-align: center;
    }

    .fullmenu-searchbar {
        margin-top: 24px;
    }

    .fullmenu-close {
        color: #fff;
        font-size: 1rem;
        opacity: .8;
        position: absolute;
        right: 1.4rem;
        top: 1.4rem;
    }

    .fullmenu-right a {
        font-size: 1.2rem;
    }



    .fullmenu-lmenu .fullmenu-lmenu-item > a:after,
    .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem:hover > a:after {
        display: none;
    }

    /* .fullmenu-container {
  overflow:scroll;
} */


    .numbers-block .number-block .number-big {
        font-size: 28px;
        font-weight: bold;
        line-height: 30px;
    }

    .fullmenu-lmenu .fullmenu-lmenu-item .submenu-mobile-parentlink {
        font-size: 1.5em;
        font-style: italic;
        text-transform: uppercase;
    }

        .fullmenu-lmenu .fullmenu-lmenu-item .submenu-mobile-parentlink a {
            margin-bottom: 0.75em !important;
        }

    .fullmenu-lmenu .fullmenu-lmenu-item.active .fullmenu-lmenu-sub {
        z-index: 1000;
        opacity: 1;
    }


    .submenu-mobile-title {
        position: absolute;
        top: 12px;
        left: 24px;
        font-size: 1.5em;
        text-transform: uppercase;
    }

        .submenu-mobile-title a {
        }

            .submenu-mobile-title a i {
            }

    .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-sub a {
        margin-bottom: 1.3em;
        font-size: 1.3em;
    }
}
/* media query */















.contenuti-text {
    color: #333;
    font-size: 0.9rem;
}

.hp-footer-links {
    margin-left: -10px;
    margin-top: 50px;
}

    .hp-footer-links a {
        padding: 10px;
        font-size: 0.8rem;
        font-weight: normal !important;
        color: #000;
    }

.cookie-notification {
    padding: 20px 30px;
    position: fixed;
    bottom: 0;
    border-top: 1px solid #ccc;
    box-shadow: 0px 2px 10px #888888;
    z-index: 5;
    margin: 0 30%;
    background: #fff
}

@media only screen and (max-width: 788.98px) {
    .cookie-notification {
        padding: 20px 30px;
        position: fixed;
        bottom: 0;
        border-top: 1px solid #ccc;
        box-shadow: 0px 2px 10px #888888;
        z-index: 5;
        margin: 0 5%;
        background: #fff
    }

    .fullmenu-lmenu .fullmenu-lmenu-item .fullmenu-lmenu-subitem .fullmenu-lmenu-subitem-sub {
        display: none !important;
        z-index: -1 !important;
    }
}
