﻿/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side,var(--colore-dettaglio1) 90%,#0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100%/3) 100%;
    animation: l7 1s infinite linear;
}

@keyframes l7 {
    33% {
        background-size: calc(100%/3) 0%,calc(100%/3) 100%,calc(100%/3) 100%
    }

    50% {
        background-size: calc(100%/3) 100%,calc(100%/3) 0%,calc(100%/3) 100%
    }

    66% {
        background-size: calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%
    }
}
.bannerCookiePolicy p, .bannerCookiePolicy a {
    color: var(--colore-sfondo);
}
.logo-footer {
    max-width: 120px;
}
.socialnetwork {
    margin:0px;
}
.socialnetwork a i {
    font-size: 1.1rem;
}
.navbar-laterale {
    position: fixed;
    min-height: 100vh;
    width: 400px;
}
header {
    margin-top: 6rem;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    height: calc(100vh - 10rem);
}
.navbar-footer {
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    color: var(--testi-colore);
}
.navbar-footer div p{
    color: var(--testi-colore);
    margin: 0px;
}
.logo {
    flex-direction: column;
    text-align: center;
    position: relative;
    margin-bottom: 1rem;
}
    .logo .logo-txt, .logo .logo-img {
        position: relative;
        z-index: 1;
    }
    .logo .logo-img {
        max-height: 160px;
    }
    .logo .logo-txt .seconda-riga {
        position: relative;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
.menu {
    background: none;
    padding: 0px;
}
.menu-1livello .nav-item{
    text-align: center;
}
.menu-1livello .nav-item .nav-link{
    text-align: center;
    display: inline-block;
    width: 100%;
}
.menu .nav-link, .menu .dropdown-item a {
    text-transform: uppercase;
    font-family: var(--titoli-font);
}
.menu .btn-menu, .menu-2livello .dropdown-item {
    text-transform: uppercase;
    font-family: var(--titoli-font);
}
.menu .dropend .dropdown-toggle::after {
    position:absolute;
    right: 15px;
    top: 40%;
}
.menu .dropend .dropdown-menu[data-bs-popper] {
    padding: 0px;
}
.container-custom {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    max-width: 1600px;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    display: flex;
}
.main-container {
    margin-left: 400px;
    margin-bottom: 4rem;
}
.top-main {
    position: fixed;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 0.6rem 1rem;
    background: var(--colore-dettaglio1);
}
.bottom-footer {
    position: fixed;
    bottom: 0px;
    padding: 0.6rem 0rem;
    background: var(--colore-dettaglio2);
    width: 100%;
}
    .bottom-footer .testo-copyright {
        margin: 0px;
    }
    .bottom-footer .testo-copyright, .bottom-footer .testo-copyright a {
        color: var(--colore-sfondo);
    }
    .top-main .socialnetwork a {
        color: var(--colore-sfondo);
    }
.cerca-nel-sito {
    background: var(--colore-sfondo);
}
    .cerca-nel-sito .btn-outline-secondary {
        border-color: var(--colore-sfondo);
    }
main {
    margin-top: 400px;
    background: var(--colore-sfondo);
}
.inner-page main {
    margin-top: 100px;
}
    /* Struttura Home*/
.menu-slider {
    margin-left: -15px;
    margin: 1.6rem 0.4rem;
    align-items: center;
    column-gap: 20px;
    justify-content: space-around
}
.menu-slider .box-link{
    text-align: center;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    background: var(--colore-dettaglio1);
}
    .menu-slider .box-link a span{
        color: var(--colore-sfondo);
    }

.riga-2 .box-riga-2.box-immagine {
    position:relative;
    padding-right: 1rem;
}

.box-link{
    display: flex;
    justify-content: center;
    align-items: center
}
.box-link a:hover {
    text-decoration: none;
}
    .box-link i {
        font-size: 2rem;
        margin-right: 1rem;
    }
    .box-link span {
        font-family: var(--testi-font);
        color: var(--titoli-colore);
        font-size: calc(var(--titoli-size) - 0.3rem);
        font-style: var(--titoli-style);
        text-align: center;
    }

.struttura-home h1, .struttura-home h2, .struttura-home h3, .struttura-home .h1, .struttura-home .h2, .struttura-home .h3 {
    border-bottom: 1px solid #dddddd;
}
.menu-home {
    justify-content: space-around;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}
    .menu-home .box-link {
        background: var(--colore-dettaglio1);
        padding: 0.3rem 0.9rem;
    }
        .menu-home .box-link span {
            text-transform: uppercase;
            color: var(--colore-sfondo);
            font-size: calc(var(--titoli-size) - 0.5rem);
        }
.mappe-home {
    padding-left: 0px;
    padding-right: 0px;
}
.mappe-home iframe {
    display: block;
}
.box-news .news-txt > a {
    font-weight: bold;
}
footer.footer {
    display: none;
}

.bg-image-innerpage {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url(/public/immaginipagine/bg-pagina_sigillum.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index:-1;
}
.bg-colore-dettaglio1 p, .bg-colore-dettaglio1 a, .bg-colore-dettaglio1 ul {
    color: var(--colore-sfondo);
}
.bg-colore-dettaglio2 p, .bg-colore-dettaglio2 a, .bg-colore-dettaglio2 ul {
    color: var(--colore-sfondo);
}

.btn-primary-pvo {
    --bs-btn-color: var(--colore-sfondo);
    --bs-btn-bg: var(--colore-dettaglio1);
    --bs-btn-border-color: var(--colore-dettaglio1);
    --bs-btn-hover-color: var(--colore-dettaglio1);
    --bs-btn-hover-bg: var(--colore-sfondo);
    --bs-btn-hover-border-color: var(--colore-dettaglio1);
    --bs-btn-active-color: var(--colore-sfondo);
    --bs-btn-active-bg: var(--colore-dettaglio1);
    --bs-btn-active-border-color: var(--colore-dettaglio1);
}

#CarouselHome {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -1;
}
#CarouselHome .carousel-caption {
    right: auto;
    top: 4.25rem;
    bottom: auto;
    text-align: left;
    z-index: 2;
    padding: 0.7rem 0.8rem;
    left: calc(100vw / 2 - 395px);
    background: var(--colore-base);
}
    #CarouselHome .carousel-caption p.h3 {
        font-family: var(--titoli-font);
        font-size: calc(var(--titoli-size) - 0.4rem);
        color: var(--titoli-colore);
        font-weight: normal;
        font-style: var(--titoli-style);
        text-transform: uppercase;
    }
        #CarouselHome .carousel-caption p.h3 span {
            display: block;
        }
        #CarouselHome .carousel-caption .btn {
            margin-top:10px;
        }

.box-menu ul {
    margin-top: 0.8rem;
}
.box-menu ul li {
    margin-bottom: 0.5rem;
    background: var(--colore-dettaglio1);
    padding: 0.3rem 0.6rem;
}
    .box-menu ul li a {
        color: var(--colore-sfondo);
        text-transform: uppercase;
    }
    .struttura-home .socialnetwork {
        margin: 0.1rem 0px !important;
    }
.box-laterale {
    margin-bottom: 2rem;
}
    .box-laterale h2 {
        font-size: calc(var(--titoli-size) - 0.1rem);
    }
.navbar-toggler {
    display: none;
}
@media (max-width: 992px) {
    .navbar-toggler {
        display: block;
        position: absolute;
        right: 25px;
        z-index: 2;
    }

    #CarouselHome .carousel-caption {
        display: none;
    }

    .top-main .container-custom {
        flex-direction: row;
    }

    .container-custom {
        flex-direction: column;
    }

    .navbar-laterale {
        position: relative;
        width: 100%;
        min-height: auto;
        padding: 1rem;
        margin-top: 5rem;
    }

        .navbar-laterale .navbar-footer {
            display: none;
        }

    .inner-page main {
        margin-top: 30px;
    }

    main {
        margin-top: 30px;
    }

    header {
        height: auto;
        margin: 0px;
    }

    .main-container {
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        flex-direction: row;
        margin-bottom: 0rem;
    }

    .menu .nav-link + button.btn-menu {
        position: absolute;
        right: 0px;
    }

    .menu-verticale .menu-1livello {
        padding: 0px 0.7rem;
    }

    .menu-verticale .btn-menu:not(.dropdown-toggle-split) {
        text-align: center;
    }

    .struttura-home {
        padding-right: 0.75rem;
    }

    .menu-verticale .dropend .dropdown-menu[data-bs-popper] {
        top: 0;
        right: 0;
        position: relative;
        left: 0;
        margin-top: 0;
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    footer.footer {
        display: block;
    }

    .menu-home .col-auto {
        margin-bottom: 1rem;
    }
}
@media (max-width: 764px) {
}
@media (max-width: 600px) {
}