h1,
h2,
h3,
h4,
h5,
h6,
nav {}

html {
    /*font-size: 18px;*/
}

body {
    font-family: 'Poppins', sans-serif;
}

body:not(.index) #logo>.black,
body.index .hidenav.top #logo>.white,
body.index .hidenav:not(.top) #logo>.black {
    display: block !important;
}

body.index>nav.top {
    background-color: transparent !important;
    box-shadow: none !important;
}

body.index>nav.top .nav-link {
    color: #fff !important;
}

.grecaptcha-badge,
#CookiebotWidget {
    visibility: hidden;
}

/*cookie bot */
CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #000 !important;
}

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize,
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
    border-color: var(--bs-primary) !important;
    color: #000 !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
    border-bottom: 1px solid var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
    color: #000 !important;
}

#CookiebotWidget :focus-visible,
#CookiebotWidget:not(.CookiebotWidget-open) .Cookiebotwidget-logo {
    outline: none !important;
}

/*cookie bot */

a.nav-link:hover {
    color: var(--bs-primary) !important;
}

.text-justify {
    text-align: justify;
}

.fw-600 {
    font-weight: 600;
}

.fw-800 {
    font-weight: 800;
}

.modal {
    /*z-index: 9999999999!important;*/
}

.offcanvas {
    max-width: 80% !important;
}

a,
button {
    outline: 0;
}

.filter-primary {
    filter: invert(46%) sepia(96%) saturate(411%) hue-rotate(147deg) brightness(93%) contrast(99%);
}

.accordion-button.text-white::after {
    filter: brightness(0) invert(1) !important;
}

.bg-pattern {
    background-color: #25326D;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg stroke='%23000000' stroke-width='66.7' stroke-opacity='0.05' %3E%3Ccircle fill='%2325326D' cx='0' cy='0' r='1800'/%3E%3Ccircle fill='%23243069' cx='0' cy='0' r='1700'/%3E%3Ccircle fill='%23222f66' cx='0' cy='0' r='1600'/%3E%3Ccircle fill='%23212d62' cx='0' cy='0' r='1500'/%3E%3Ccircle fill='%23202c5f' cx='0' cy='0' r='1400'/%3E%3Ccircle fill='%231e2a5b' cx='0' cy='0' r='1300'/%3E%3Ccircle fill='%231d2958' cx='0' cy='0' r='1200'/%3E%3Ccircle fill='%231c2754' cx='0' cy='0' r='1100'/%3E%3Ccircle fill='%231b2651' cx='0' cy='0' r='1000'/%3E%3Ccircle fill='%2319244e' cx='0' cy='0' r='900'/%3E%3Ccircle fill='%2318234a' cx='0' cy='0' r='800'/%3E%3Ccircle fill='%23172147' cx='0' cy='0' r='700'/%3E%3Ccircle fill='%23161f43' cx='0' cy='0' r='600'/%3E%3Ccircle fill='%23151e40' cx='0' cy='0' r='500'/%3E%3Ccircle fill='%23141c3d' cx='0' cy='0' r='400'/%3E%3Ccircle fill='%23131b39' cx='0' cy='0' r='300'/%3E%3Ccircle fill='%23121936' cx='0' cy='0' r='200'/%3E%3Ccircle fill='%23111833' cx='0' cy='0' r='100'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.btn-close:focus {
    box-shadow: none !important;
}

.btn1 {
    backdrop-filter: blur(20px);
    border-color: rgb(255 255 255 / 35%);
}

.img {
    background-image: url('../img/default.png');
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-repeat: no-repeat;
}

.hidenav_gap {
    /*padding-top: 132px;*/
}

hr {
    opacity: .1;
}

.home-video {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 35rem;
    width: 100%;
    overflow: hidden;
}

.home-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.home-video .container {
    position: relative;
    z-index: 2;
}

.home-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}


/* hscroll */
.hscroll>*::-webkit-scrollbar-thumb,
.hscroll>*::-webkit-scrollbar,
.hscroll>*::-webkit-scrollbar-track {
    height: 0 !important;
    width: 0 !important;
    display: none !important;
}

.hscroll {
    overflow-y: hidden;
    position: relative;
}

.hscroll>* {
    -webkit-user-select: none;
    display: block;
    overflow-y: hidden;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
}

.hscroll>*>* {
    width: min-content;
    min-width: 100%;

    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hscroll:after {
        content: "";
        background: -webkit-linear-gradient(0deg, rgba(48, 49, 52, 0), #fffff6);
        height: 100%;
        position: absolute;
        pointer-events: none;
        right: 0;
        top: 0;
        width: 24px;
        z-index: 2;
    }

    .hscroll.dark:after {
        background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.5))) !important;
    }
}

/* hscroll */

.row .full-bg {
    /*
    <div class="position-relative">
        <div class="container">
            <div class="row">
                <div class="col-12 col-md-6">Colonna boxata</div>
                <div class="col-12 col-md-6">
                    <div class="full-bg text-end d-md-block"><!--sfondo--></div>
                    <h1>Contenuto boxato</h1>
                </div>
            </div>
        </div>
    </div>

    /* settare le variabili --bs-container (Xpx) e --bs-colperc (Y) su boostrap.css in base ai breakpoint utilizzati.
    --bs-container Ã¨ la max-width in px (px da specificare) del container.
    --bs-colperc Ã¨ la width in percentuale (% da non specificare) della colonna.
    */
    width: calc((((var(--bs-container) + var(--bs-gutter-x)) / 100 * var(--bs-colperc)) - (var(--bs-gutter-x) / 2)) + (100% - var(--bs-container))/2);
    position: absolute;
    height: 100%;
    z-index: -1;
    top: 0;
    display: none;
}

.row>*:last-of-type .full-bg {
    margin-left: calc(-1 * var(--bs-gutter-x)/2);
}

.row>*:first-of-type .full-bg {
    margin-right: calc(-1 * var(--bs-gutter-x)/2);
    left: 0;
}

.ratio-a4 {
    --bs-aspect-ratio: 141.4%;
}

/*SM*/
@media (min-width: 576px) {}

/*MD*/
@media (min-width: 768px) {
    .border-md-end {
        border-right: 1px solid #dee2e6;
    }
}

/*LG*/
@media (min-width: 992px) {}

/*XL*/
@media (min-width: 1200px) {
    .border-xl-end {
        border-right: 1px solid #dee2e6;
    }

    .text-col-xl-2 {
        column-count: 2;
        column-gap: 6rem;
    }
}

/*XXL*/
@media (min-width: 1400px) {}