@charset "UTF-8";


html, body {
    font-family: "Titillium Web", Geneva, Tahoma, sans-serif;
}

.evento-data {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bs-primary);
}


.brand-logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .brand-logo-circle .it-brand-logo {
        display: block;
        max-width: 70%;
        max-height: 70%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

/* Desktop */
@media (min-width: 992px) {
    .brand-logo-circle {
        width: 80px;
        height: 80px;
    }

        .brand-logo-circle .it-brand-logo {
            max-width: 70%;
            max-height: 70%;
        }
}



@keyframes onAutoFillStart {
    from {
        /**/
    }

    to {
        /**/
    }
}

@keyframes onAutoFillCancel {
    from {
        /**/
    }

    to {
        /**/
    }
}

input:-webkit-autofill {
    animation-name: onAutoFillStart;
}

input:not(:-webkit-autofill) {
    animation-name: onAutoFillCancel;
}

.bd-menu-docs-toggle {
    line-height: 1;
    color: #19191a;
}

.bd-logo-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: unset;
    margin-bottom: 0;
}

@media (min-width: 576px) {
    .bd-logo-title {
        font-size: 24px;
    }
}

.bd-logo-subtitle {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: unset;
}

@media (min-width: 576px) {
    .bd-logo-subtitle {
        font-size: 1rem;
    }
}

.bd-title {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.bd-lead {
    font-size: 1.125rem;
    font-weight: 300;
}

@media (min-width: 576px) {
    .bd-lead {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }
}

.section-nav {
    padding-left: 0;
    border-left: 1px solid #eee;
}

    .section-nav ul {
        padding-left: 1rem;
    }

        .section-nav ul ul {
            display: none;
        }

.bd-links {
    padding: 0;
}

@media (min-width: 768px) {
    .bd-links {
        display: block !important;
    }

    @supports ((position: -webkit-sticky) or (position: sticky)) {
        .bd-links .bd-links {
            max-height: calc(95vh);
            overflow-y: auto;
        }
    }
}

.bd-highlight {
    background-color: rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.projects-list .module-item {
    display: flex;
    justify-content: space-between;
}

.projects-list .build-date {
    margin-right: 10px;
}

.projects-list .show-documents ul {
    display: none;
}

    .projects-list .show-documents ul.js-open {
        display: block;
    }

.options ul {
    list-style: none;
    padding-left: 0;
}

.btn-grey,
select {
    border: 0;
    cursor: pointer;
    padding: 6px 10px 4px;
    margin: 7px 7px 0 0;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    background: #8CA1AF;
    border-radius: 3px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 1px #465158;
}

    .btn-grey:hover,
    select:hover {
        background-color: #697983;
        box-shadow: 0 1px 0px #465158;
    }

.submit-input-wrapper {
    margin-top: 20px;
}

.search-results {
    margin-top: 40px;
}

#project_edit .project_edit__menu {
    margin-right: 0;
}

#project_edit .project_edit__form {
    padding-left: 16px;
}

    #project_edit .project_edit__form h3,
    #project_edit .project_edit__form h4 {
        margin-top: 16px;
    }

    #project_edit .project_edit__form label {
        font-weight: bold;
        margin-bottom: 0;
    }

    #project_edit .project_edit__form input {
        font-weight: normal;
    }

    #project_edit .project_edit__form label + select {
        margin-left: 10px;
    }

    #project_edit .project_edit__form textarea {
        width: 100%;
    }

    #project_edit .project_edit__form .helptext {
        display: block;
        color: #5c6f82;
        font-size: 16px;
    }

.project-import-sidebar .remote-filters {
    list-style: none;
    padding-left: 0;
}

.results-header {
    display: block;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.module-item.search-result {
    border-right: 1px solid #bfbfbf;
    border-bottom: 0;
}

    .module-item.search-result:nth-of-type(3n) {
        border-right: 0;
    }

    .module-item.search-result hr {
        margin: 0;
        margin-top: 50px;
        width: 50%;
    }

.search-result-publisher {
    text-transform: uppercase;
}

    .search-result-publisher:before {
        font-family: FontAwesome;
        content: "\f15c";
        padding-right: 8px;
        color: #0062ce;
        font-size: 40px;
        line-height: 1.3;
        float: left;
    }

.results-filter select {
    border: 1px solid #E5E5E5;
    background-color: #fff;
    color: #1F62A5;
    text-shadow: none;
    box-shadow: none;
}

.document-list {
    min-height: 240px;
}

.separator-book {
    z-index: 100;
}

    .separator-book svg {
        height: auto;
        width: 100%;
    }

.simplelayout-main-content p,
.simplelayout-main-content ul {
    font-family: "Lora", "Georgia", Serif;
    font-size: 1.1rem;
    color: #656566;
}

.simplelayout-main-text {
    position: relative;
    margin-top: -3rem;
    padding: 1rem;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0 10px 80px 0 rgba(90, 103, 114, 0.1);
}

@media (min-width: 768px) {
    .simplelayout-main-text {
        padding: 4rem;
        margin-top: -6rem;
    }
}

.simplelayout-main-text h1 {
    color: #17324D;
}

*[class*='icon-type']:before {
    color: #00264D;
    content: '';
    font-size: inherit;
    line-height: 0;
    margin-right: 1rem;
    position: relative;
}

.icon-type-document:before {
    content: url("../images/document.svg");
}

.project-builds {
    flex: 1 0 auto;
}

.footer {
    background-color: #00264D;
    color: #FFF;
    padding: 3em 0;
}

@media screen and (min-width: 576px) {
    .footer {
        text-align: left;
    }
}

.footer .social {
    font-size: 1.2em;
    color: #fff;
}

    .footer .social > span {
        margin-right: 1em;
    }

    .footer .social .small-prints {
        font-size: 0;
    }

    .footer .social .icon {
        color: #00264D;
        background-color: #fff;
        padding: 0.2em 0.4em;
        border-radius: 100%;
        font-size: initial;
        margin-right: 0.4em;
    }

@media screen and (max-width: 768px) {
    .footer .social {
        text-align: left !important;
        margin-top: 1em;
    }
}

.footer .agid-logo {
    height: 56px;
    max-width: 100%;
}

.footer .agid-collab {
    margin-top: 1em;
}

.footer .team-logo--icon {
    width: 72px;
}

.footer .team-logo--text {
    font-size: 16px;
    line-height: 18px;
    max-width: 160px;
    text-transform: uppercase;
}

.footer .small-prints {
    color: #00FFF8;
    font-weight: 600;
}

.footer .colophon {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2em;
}

    .footer .colophon .list-inline-item:not(:last-child) {
        margin-right: 1.5em;
    }

.bd-logo-title span {
    font-size: 50%;
    font-size: 0.7rem;
    font-weight: 400;
}

.bg-primary--mid-dark {
    background-color: #004e95;
}

.blue-to-transparent-up {
    background: #0066cc;
    background: linear-gradient(178deg, #0066cc 0%, #0066cc 74.9%, rgba(255, 255, 255, 0) 75%);
}

.blue-to-transparent-down {
    background: #0066cc;
    background: linear-gradient(182deg, #0066cc 0%, #0066cc 74.9%, rgba(255, 255, 255, 0) 75%);
}

.transparent-to-blue-up {
    background: rgba(255, 255, 255, 0);
    background: linear-gradient(-182deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 74.9%, #0066cc 75%);
}

.transparent-to-blue-down {
    background: rgba(255, 255, 255, 0);
    background: linear-gradient(182deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 74.9%, #0066cc 75%);
}

.amministrazione__logo {
    height: 64px;
    width: 64px;
    background-size: 64px auto;
    background-repeat: no-repeat;
    background-position: center center;
}

.amministrazione__nome {
    color: #1C2024;
}

.amministrazione__link {
    letter-spacing: 1px;
}

.document-card {
    overflow: hidden;
    padding-bottom: 4rem;
}

@media screen and (min-width: 768px) {
    .document-card {
        min-height: 20rem;
        height: 20rem;
    }
}

.document-card:after {
    content: ' ';
    box-sizing: border-box;
    height: 2px;
    line-height: 2px;
    position: absolute;
    bottom: 0px;
    width: 6rem;
    border-bottom: 1px solid #D8D8D8;
    opacity: 0.5;
}

@media screen and (min-width: 768px) {
    .document-card:before {
        content: ' ';
        background: #D8D8D8;
        bottom: 0;
        right: 0;
        position: absolute;
        width: 1px;
        top: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .document-card:nth-child(3n):before {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .document-card:nth-child(3n):before {
        display: none;
    }

    .document-card.col-lg-3:nth-child(3n):before {
        display: block;
    }

    .document-card.col-lg-3:nth-child(4n):before {
        display: none;
    }
}

.document-card-header {
    color: #455B71;
    font-size: 0.8rem;
    vertical-align: middle;
    line-height: 0.9rem;
    display: inline-flex;
    align-items: center;
}

    .document-card-header a,
    .document-card-header a:hover {
        color: #455B71;
    }

.document-card-title,
.document-card-description {
    position: relative;
    overflow: hidden;
}

    .document-card-title:after,
    .document-card-description:after {
        content: '';
        text-align: right;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 2rem;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 50%);
    }

    .document-card-description span,
    .document-card-description em {
        background: #bffffd;
        font-weight: 700;
    }

.document-card-title {
    font-size: 18px;
    line-height: 26px;
}

@media screen and (min-width: 768px) {
    .document-card-title {
        height: 104px;
    }

        .document-card-title:after {
            height: 26px;
        }
}

.document-card-description {
    font-family: "Lora", "Georgia", Serif;
    color: #455B71;
    font-size: 14px;
    line-height: 20px;
}

@media screen and (min-width: 768px) {
    .document-card-description {
        height: 140px;
    }

        .document-card-description:after {
            height: 20px;
        }
}

@supports (-webkit-line-clamp: 1) {
    .document-card-title,
    .document-card-description {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        height: auto;
    }

        .document-card-title:after,
        .document-card-description:after {
            display: none;
        }

    .document-card-title {
        -webkit-line-clamp: 4;
    }

    .document-card-description {
        -webkit-line-clamp: 7;
    }
}

.publish .list-group {
    position: -webkit-sticky;
    position: sticky;
    top: 104px;
    z-index: 10;
    display: none;
    height: 125px;
}

    .publish .list-group:after {
        content: '';
        position: absolute;
        z-index: -1;
        -webkit-box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
        box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
        bottom: 0;
        left: 10%;
        right: 10%;
        width: 80%;
        height: 50%;
        border-radius: 100%;
    }

@media screen and (min-width: 992px) {
    .publish .list-group {
        display: flex;
    }
}

.publish .list-group ol {
    background: white;
    padding: 1rem;
    list-style: none;
    counter-reset: count;
    -webkit-box-orient: horizontal;
    flex-direction: row;
    margin-bottom: 0;
}

.publish .list-group .list-group-item {
    font-size: 0;
    border: 0;
    font-size: 0.8rem;
    counter-increment: count;
    padding: 2rem .5rem .5rem;
    text-align: center;
    line-height: 1rem;
    min-height: 5rem;
}

    .publish .list-group .list-group-item:before {
        content: counter(count);
        font-weight: bold;
        height: 1.5rem;
        width: 1.5rem;
        display: inline-block;
        position: absolute;
        left: calc(38%);
        top: .5rem;
    }

.publish .publish-article:after {
    display: inline-block;
    content: '';
    box-sizing: border-box;
    height: 2px;
    line-height: 2px;
    bottom: 0px;
    width: 6rem;
    border-bottom: 1px solid #D8D8D8;
    opacity: 0.5;
}

.publish .publish-article:last-child:after {
    display: none;
}

/* ===============================================
   CUSTOMIZZAZIONI MENU - BOOTSTRAP ITALIA
   =============================================== */

/* Rimuove outline nero su tutti gli elementi */
* {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

    *:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Mantiene outline solo per navigazione da tastiera (accessibilità) */
    *:focus-visible {
        outline: 2px solid #0066cc !important;
        outline-offset: 2px !important;
    }

/* REGOLA GLOBALE: Previene cambio font-weight sui NavLink Blazor */
a[href],
a[href]:link,
a[href]:visited,
a[href]:hover,
a[href]:active,
a[href]:focus,
a[href].active {
    font-weight: inherit !important;
}

/* ===============================================
   MENU DESKTOP
   =============================================== */
@media (min-width: 992px) {
    .it-header-navbar-wrapper .navbar-nav .nav-link,
    .it-header-navbar-wrapper .navbar-nav .nav-link.active,
    .it-header-navbar-wrapper .navbar-nav .nav-link:focus,
    .it-header-navbar-wrapper .navbar-nav .nav-link:hover {
        font-family: "Titillium Web", Geneva, Tahoma, sans-serif !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #fff !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }

        .it-header-navbar-wrapper .navbar-nav .nav-link:hover {
            text-decoration: underline;
        }

        /* Forza font-weight anche sugli span interni */
        .it-header-navbar-wrapper .navbar-nav .nav-link span,
        .it-header-navbar-wrapper .navbar-nav a span {
            font-weight: 600 !important;
        }
}

/* ===============================================
   MENU MOBILE
   =============================================== */

@media (max-width: 991px) {
    /* Menu mobile sopra tutto il contenuto */
    .navbar-collapsable {
        z-index: 999999 !important;
        position: fixed !important;
    }

        .navbar-collapsable .overlay {
            z-index: 999998 !important;
            position: fixed !important;
        }

        /* IMPORTANTE: Nascondi l'overlay quando il menu non è expanded */
        .navbar-collapsable:not(.expanded) .overlay {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        /* Link del menu mobile */
        .navbar-collapsable .navbar-nav .nav-link,
        .navbar-collapsable .navbar-nav .nav-link.active,
        .navbar-collapsable .navbar-nav .nav-link:focus,
        .navbar-collapsable .navbar-nav .nav-link:hover {
            font-family: "Titillium Web", Geneva, Tahoma, sans-serif !important;
            font-weight: 600 !important;
            color: #0066cc !important; /* Azzurro invece di grigio */
            -webkit-font-smoothing: antialiased !important;
            -moz-osx-font-smoothing: grayscale !important;
        }
}

.bg-grey-card {
    background: #ebeef0;
}

/* Hero compatto per pagine interne */
.hero-compact {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

    /* Evita allungamenti interni */
    .hero-compact .it-hero-text-wrapper {
        min-height: auto;
    }

/* bottone carica latro */
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:focus-visible {
    border: 1px solid var(--bs-primary);
    box-shadow: none;
}

.btn-outline-primary:active {
    background-color: rgba(0, 102, 204, 0.05);
}

/* carousel splide */
.splide {
    width: 70%;
    margin: auto;
}

.splide__slide img {
    display: block;
    width: 100%;
    height: auto;
}

.slide-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 6px;
    color: white;
    text-align: left;
}

.slide-overlay-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.slide-overlay-text {
    font-size: 0.9rem;
    line-height: 1.2rem;
}


/*footer*/
.footer {
    color: #fff;
}

    .footer a {
        color: #fff;
        text-decoration: underline;
    }

        .footer a:hover {
            opacity: 0.85;
        }

/* dranwer */
.it-header-wrapper {
    position: relative;
    z-index: 9999;
}

.navbar-collapsable {
    z-index: 10000;
}

/*modal sopra tutto*/
.modal {
    z-index: 11000 !important;
}

.modal-backdrop {
    z-index: 10900 !important;
}

/* ===============================================
   FIX HOME - niente sovrapposizione con slider
   =============================================== */

.home-content {
    margin-top: 3rem;
}

.home-content .simplelayout-main-text {
    margin-top: 0 !important;
    /*box-shadow: none;*/
}

/* Nasconde il logo in modalità mobile */
@media (max-width: 991px) {
    .brand-logo-circle {
        display: none !important;
    }
}

/* ===============================================
   LOGO MENU MOBILE COMPATTO
   =============================================== */

@media (max-width: 991px) {

    .mobile-menu-logo {
        background: #ffffff;
        padding: 1.2rem 1rem 1rem 1rem;
        text-align: center;
        border-bottom: 1px solid #e9ecef;
    }

    .mobile-logo-img {
        max-height: 56px;
        width: auto;
        display: block;
        margin: 0 auto;
    }

    .mobile-logo-title {
        font-family: "Titillium Web", Geneva, Tahoma, sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        line-height: 1.2rem;
        color: #17324D; /* blu istituzionale coerente */
        margin-top: 0.4rem;
    }

    /* Un po’ più compatto su schermi molto piccoli */
    @media (max-width: 360px) {
        .mobile-logo-title {
            font-size: 0.75rem;
            line-height: 1.1rem;
        }
    }
}



/* ===============================================
   BLAZOR ERROR BOUNDARY
   =============================================== */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92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cuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
