@font-face {
    font-family: Söhne Breit;
    src: url("fonts/572a2d40c1cb6e1049aa231ee432e834.ttf");
     display: swap
}

/* icone google */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url("fonts/fonticongoogle.woff2") format('woff2');
  }


@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}


/* .material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
} */


:root {
    --main-blue: #2f2d9b; 
    --main-blue-85: rgba(47, 45, 155, 0.85); 
    --main-blue-90: #5a59ca; 
    --main-blue-80: #6a68ca;
    --blue-light: #a3a2d7;
    --blue-light-1: #afafd8;
    --blue-light-2: #C3C3E2;
    --blue-light-3: #D7D5EB;
    --blue-light-4: #EBEAF5;
    --blue-light-5: #F0F0F8;
    --blue-light-variant: #BDBCDF;
    --white: #FFFFFF;
    --main-blue-transparent: rgba(47, 45, 155, 0.5);
    --blue-light-transparent: rgba(191, 190, 224, 0.8);
    --white-transparent: rgba(255, 255, 255, 0.5);
    --dark-grey: rgb(50, 50, 50);
    --grey: rgb(200, 200, 200);
    --light-grey: #F5F5F7;
    --ultralight-grey: #FAFAFC;
    --text-color: #1D1D1F;
 
}


/* INITIALIZE */

html {
-moz-box-sizing: border-box;
        box-sizing: border-box;
font-family: sans-serif;
/* 1 */
line-height: 1.4;
/* 3 */
font-size: 1em;
/* 3 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}

/* Remove default margin */
body {
margin: 0;
}

/* Inheriting box-sizing */
*, *:before, *:after {
-moz-box-sizing: inherit;
        box-sizing: inherit;
}

/* HTML5 display defenitions */
/*
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
details,
main,
summary {
display: block;
}

/*
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
vertical-align: baseline;
}

/*
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}

/*
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}

/* Links */

a:active,
a:hover {
outline: 0;
}

/* Text-level semantics */
/*
* Address inconsistent styling of `abbr[title]`.
* 1. Correct styling in Firefox 39 and Opera 12.
* 2. Correct missing styling in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */
}

/* Address inconsistent styling of b and strong. */
b,
strong {
font-weight: inherit;
/* 1 */
}

b,
strong {
font-weight: bolder;
/* 2 */
}

/* Address styling not present in Safari and Chrome. */
dfn {
font-style: italic;
}



/* Address inconsistent and variable font size in all browsers. */
small {
font-size: .8rem;
}

/*
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}

/* Embedded content */
/*
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}

/*
    Grouping content */
/*
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
hr {
-moz-box-sizing: content-box;
        box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */
}
pre {
overflow: auto;
}

code,
kbd,
pre,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
}

/*  Forms */

button,
input,
optgroup,
select,
textarea {
font: inherit;
/* 1 */
margin: 0;
/* 2 */
}

/* Address `overflow` set to `hidden` in IE 8/9/10/11. */
button {
overflow: visible;
}

button,
select {
text-transform: none;
}


button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */
}

button[disabled],
html input[disabled] {
cursor: default;
}

/*
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}

/*
* Restore focus style in Firefox 4+ (unset by a rule above)
*/
button:-moz-focusring,
input:-moz-focusring {
outline: 1px dotted ButtonText;
}

/*
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}

/*
* Address `appearance` set to `searchfield` in Safari and Chrome.
*/
input[type="search"] {
-webkit-appearance: textfield;
}


input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}

/*
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}


legend {
border: 0;
/* 1 */
padding: 0;
/* 2 */
}


textarea {
overflow: auto;
}


optgroup {
font-weight: bold;
}

/* HTML5 Boilerplate optimizations  */

::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}

/*
* A better looking default horizontal rule
*/
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
vertical-align: middle;
}

/*
* Remove default fieldset styles.
*/
fieldset {
border: 0;
margin: 0;
padding: 0;
}

/*
* Allow only vertical resizing of textareas.
*/
textarea {
resize: vertical;
}

*{
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    font-smooth: always;
    h1,h2,h3,h4,h5,h6, .nav-link, .mod-breadcrumbs > li{
        font-family: 'Söhne Breit';

        span{
            font-family: 'Söhne Breit';
        }
        div{
            font-family: 'Söhne Breit';
        }
    }
    h1,h2,h3,h4,h5{
        font-weight: 600;
    }
}

/* Utilities */

 .max-w-fullhd{
    max-width: 1656px;

} 
.purple-hover{
    transition: 0.3s;
}
.purple-hover:hover{
    color: var(--main-blue-90) !important;
}

.min-h-73{
    min-height: 73dvh;

}
.charSpace1{
    letter-spacing: 1px;
}
.charSpace2{
    letter-spacing: 2px;
}
.charSpace2{
    letter-spacing: 2px;
}

.text-dark{
    color: var(--text-color)
}
.text-purple{
    color:var(--main-blue)
}

.gradient-vertical { 
    background: linear-gradient(to bottom, var(--white-transparent), var(--blue-light-transparent));
}
.text-primary{
    color: var(--main-blue) !important;
}

.gradient-horizontal {
    background: linear-gradient(to right, var(--white), var(--blue-light-variant));
}

.btn-purple{
    background-color: var(--main-blue)!important;
    color: white!important;
    transition: 0.3s!important;
}
.btn-purple:hover{
    background-color: var(--main-blue-90)!important;
}
/* NAVBAR */

.nav-logo{
    width: 4.5dvw;
    max-width: 80px;
    min-width: 50px;
}
.nav-logo-2{
    width: 5dvw;
    max-width: 100px;
    min-width: 80px;
}
.bg-purple{
    background-color: var(--main-blue);
}
.bg-light-grey{
    background-color: var(--light-grey);
}
.top-header{
    height: 19px;
    width: 100%;
}
.nav-link {
    color: var(--text-color)!important;
    font-size: 1.13em!important;
}
@media only screen  and (min-width: 992px)  and (max-width: 1400px) {
    .nav-link {
        font-size: 1em!important;
    }
}

.nav-cont-list{
    width:100%;
}
@media only screen  and (max-width: 991px) {
    .nav-cont-list{
        background: white;
        height: calc(100dvh - 72px);
        position: absolute;
        top: 72px;
        left: 0;
        z-index: 9999;
    }
    .nav-cont-list > ul{
        background: linear-gradient(to bottom, var(--white-transparent), var(--blue-light));
    }
}


.navbar-toggler{
    border: unset;
}
button:focus:not(:focus-visible) {
    outline: none;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none  ;
}


/* FOOTER */
.footer-bott-line{
    height: 40px;
    padding: 8px;
}
@media only screen  and (max-width: 576px) {
    .footer-bott-line{
        height: auto;
    }
}
.footer-bott-line > a{
    text-decoration: none;
    color: white;
}
.footer-bott-line > span{
    text-decoration: none;
    color: white;
}

.cont-foot-logo{
    display: block;
    text-decoration: none;
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1;
}
.foot-logo{
    -webkit-mix-blend-mode: darken; /* Safari */
    -moz-mix-blend-mode: darken;    /* Firefox */
    -ms-mix-blend-mode: darken;     /* Internet Explorer */
    mix-blend-mode: darken;         /* Standard */
    object-fit: contain;
    object-position: center;
    -o-object-fit: contain;
    -o-object-position: center;
    width: 100%;
    height: 100%;
}

.cont-menu-footer ul{
    display: grid;
    grid-gap: .3rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    border-left: 1px solid var(--main-blue);
}


.cont-menu-footer #contcUsDirCont{
    display: none;
}
.cont-menu-footer #logoCafcna{
    display: none;
}

#cont-social-foot li > svg{
    fill: var(--main-blue);
}

/* DIV COIN MAIN */
.bottom-img-body{
    width: 100%;
    height: 10vh;
    position: relative;
}
.bottom-img-body > img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.bottom-img-body::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--main-blue-transparent);
    top: 0;
    left: 0;
}

.siteBody{
    margin-top: 126px;
}
@media only screen  and (max-width: 991px) {
    .siteBody{
        margin-top: 91px;
    }
}

/* HOME */

.cont-scroll-rel-artc-home{
    margin: 0 0 24px 0;
    width: 100%;

}
.cont-card-Home{
    width: 100%;
}

.card-Home{
    background-color: var(--blue-light-4);
    padding: 0.4rem;
    border-radius: 11px;
    text-decoration: none;
    transition: 0.3s;
    /* box-shadow: 0px 0px 3px var(--grey); */
    height: 400px;
}
.cont-card-Home.gradient > :first-child {
    a{
    background-color: var(--blue-light);
    }
}
.cont-card-Home.gradient > :nth-child(2) {
    a{
        background-color: var(--blue-light-2);
    }
}
.cont-card-Home.gradient > :nth-child(3) {
    a{
        background-color: var(--blue-light-3);
    }
}
.cont-card-Home.gradient > :nth-child(4) {
    a{
        background-color: var(--blue-light-4);
    }
}
.cont-card-Home.gradient > :nth-child(5) {
    a{
        background-color: var(--blue-light-5);
    }
}

.cont-card-Home.gradient > :nth-child(6) {
    a{
        background-color: var(--blue-light-4);
    }
}

.cont-card-Home.gradient > :nth-child(7) {
    a{
        background-color: var(--blue-light-3);
    }
}

.cont-card-Home.gradient > :nth-child(8) {
    a{
        background-color: var(--blue-light-2);
    }
}

.cont-card-Home.gradient > :nth-child(9) {
    a{
        background-color: var(--blue-light-1);
    }
}

.card-Home:hover{
    transform: scale(1.05);
}
@media only screen  and (max-width: 768px) {
    .card-Home:hover{
        transform:unset;
    }
}
.card-Home-cont-img{
    width: 100%;
    position: relative;
    img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        object-position: center;
        border-radius: 11px 11px 100px 11px;
        display: block;
    }

}

.card-Home-cont-img::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, rgba(255,255,255, 0) 60%, var(--main-blue-85) 100%);
    border-radius: 11px 11px 100px 11px;
    bottom: 0;
    left: 0;
}

@media only screen  and (max-width: 1200px) {
    .card-Home-cont-img{
        img {
            aspect-ratio: 5/3;
        }
    }
}
.last-news{
    /* height: auto!important; */
    h5{
        height:26px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;  
        overflow: hidden;
        hyphens: auto;
        }
}

.card-Home-text{
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    hyphens: auto;
}

.cont-card-Home.gradient .card-Home-text{
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    hyphens: auto;
}
.card-Home-cont-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px;
}
.card-Home-cont-icon > span{
    font-size: 92px;
}

.arrow-servizi, .arrow-home{
    .splide__arrow{
        position: static;
        transform: none;
        background: none;
        border-radius: unset;
    }
    .splide__arrow:focus{
        border: unset;
        outline: unset;
    }
    .splide__arrows{
        width: 100%;
        gap: 1rem;
        display: flex;
        align-items: center;
        justify-content: end;
    }
}

@media only screen  and (min-width: 1600px) {
    .arrow-home{
        .splide__arrows{
            display: none!important;
        }
    }

}

.scroll-prev-art-home{
    display: block;
    color: var(--dark-grey)!important;
    height: fit-content;
    font-size: 16px;
    border: none;
    background: none;
}

.scroll-next-art-home{
    display: block;
    color: var(--dark-grey)!important;
    height: fit-content;
    font-size: 16px;
    border: none;
    background: none;
}

@media only screen  and (max-width: 650px) {
    .scroll-prev-art-home{
        position: absolute;
        left: 0;
        bottom: -232px;
        z-index: 3;
    }
    
    .scroll-next-art-home{
        position: absolute;
        right: 0;
        bottom: -232px;
        z-index: 3;
    }

    .card-Home-cont-icon{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
    }
    .card-Home-cont-icon > span{
        font-size: 68px;
    }

}
.scroll-prev-art-home.disabled, .scroll-next-art-home.disabled{
    opacity: 0.5;
}

.grecaptcha-badge{
    z-index:999!important;
    display: none!important;
}

.more-info{
    border: 1px solid var(--grey);
    transition: 0.3s;
}
.more-info:hover, .more-info:focus{
    border: 1px solid var(--blue-light);
    transition: 0.3s;
    background-color: var(--blue-light);;
}

.more-info-serv{
    border: 1px solid var(--grey);
    transition: 0.3s;
    width: 80px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
.more-info-serv:hover, .more-info-serv:focus{
    border: 1px solid var(--blue-light);
    transition: 0.3s;
    background-color: var(--blue-light);;
}


.cont-card-SubServ{
    margin-top: 32px;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}


.cont-card-SubServ.gradient > :first-child {
    a{
    background-color: var(--blue-light);
    }
}
.cont-card-SubServ.gradient > :nth-child(2) {
    a{
        background-color: var(--blue-light-2);
    }
}
.cont-card-SubServ.gradient > :nth-child(3) {
    a{
        background-color: var(--blue-light-3);
    }
}
.cont-card-SubServ.gradient > :nth-child(4) {
    a{
        background-color: var(--blue-light-4);
    }
}
.cont-card-SubServ.gradient > :nth-child(5) {
    a{
        background-color: var(--blue-light-5);
    }
}

.cont-card-SubServ.gradient > :nth-child(6) {
    a{
        background-color: var(--blue-light-4);
    }
}

.cont-card-SubServ.gradient > :nth-child(7) {
    a{
        background-color: var(--blue-light-3);
    }
}

.cont-card-SubServ.gradient > :nth-child(8) {
    a{
        background-color: var(--blue-light-2);
    }
}

.cont-card-SubServ.gradient > :nth-child(9) {
    a{
        background-color: var(--blue-light-1);
    }
}

@media only screen  and (max-width: 992px) {
    .cont-scroll-rel-artc-home{
        .splide__list{
            padding-left: 12px !important;
        }
    }

    .cont-card-Home {
        display: flex; 
        gap: 20px; 
        padding: 10px;
        scroll-behavior: smooth; 
        /* overflow: hidden; */
    }
    
    .splide-scroll-cust-mob{
        overflow-x: scroll!important;
        /* Stili per Firefox */
        /* scrollbar-width: thin; */
        /* scrollbar-color: var(--blue-light) transparent;  */

    }
    /* Personalizza la scrollbar */
    .splide-scroll-cust-mob::-webkit-scrollbar {
        height: 6px;              
    }
    /* Personalizza il background della scrollbar */
    .splide-scroll-cust-mob::-webkit-scrollbar-track {
        background: transparent;        
        border-radius: 4px;        
    }
    /* Personalizza il thumb (la parte mobile) della scrollbar */
    .splide-scroll-cust-mob::-webkit-scrollbar-thumb {
        background-color: var(--blue-light);    
        border-radius: 4px;       
        border: none; 
    }


    .splide-scroll-cust-mob::-webkit-scrollbar-thumb:hover {
        background-color: var(--main-blue-80);    
    }

    .card-Home{
        width: 300px;
    }
    .last-news{
        width: 300px;
        height: calc(300px * 12 / 10);
    }
    .card-Home.sub-serv{
        width: 100%;
    }
    .scroll-news-home{
        overflow-x: scroll !important;
    }

    /* Personalizza la scrollbar */
    .scroll-news-home::-webkit-scrollbar {
        height: 6px;              
    }
    /* Personalizza il background della scrollbar */
    .scroll-news-home::-webkit-scrollbar-track {
        background: transparent;        
        border-radius: 4px;        
    }
    /* Personalizza il thumb (la parte mobile) della scrollbar */
    .scroll-news-home::-webkit-scrollbar-thumb {
        background-color: var(--blue-light);    
        border-radius: 4px;       
        border: none; 
    }


}

@media only screen  and (max-width: 500px) {
    .card-Home{
        width: 215px;
        height: calc(215px * 14 / 10);
    }
    .last-news{
        width: 215px;
        height: calc(215px * 14 / 10);
    }
    .cont-card-SubServ{
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));

        .card-Home{
            width: unset;
            
        }
    }
}

/* CONTATTI */
.contact-card{
    margin: 0.6rem 0;
    width: 100%;
    aspect-ratio: 4/1;
}
.contact-card  > :nth-child(1){
    color: var(--text-color);
    font-size: 2.7rem;

}

.cont-contact-card > :nth-child(1) {
    background-color: var(--blue-light-2);
}
.cont-contact-card > :nth-child(2) {
    background-color: var(--blue-light-3);
}
.cont-contact-card > :nth-child(3) {
    background-color: var(--blue-light-4);
}

.pseudo-right-line{
    position: relative;
}
.pseudo-right-line:after{
    content: "";
    position: absolute;
    height: 100%;
    width: 0px;
    top: 0;
    right: 0;
    border-right: 1px solid var(--text-color);
}

.text-contact-1{
    padding-right: 1rem;
    margin-bottom: 0;
}

.text-contact-2{
    padding-left: 1rem;
    margin-bottom: 0;
}

@media only screen  and (max-width: 1250px) and (min-width: 768px) {
    .pseudo-right-line:after{
        display: none;
    }
    .text-contact-1{
        padding-right: 0;
    }
    .text-contact-2{
        padding-left: 0;
        margin-top: 0.5rem;
    }
}
@media only screen  and (max-width: 613px) {
    .pseudo-right-line:after{
        display: none;
    }
    .text-contact-1{
        padding-right: 0;
    }
    .text-contact-2{
        padding-left: 0;
        margin-top: 0.5rem;
    }
}

.mobile-break{
    display: none;
}
@media only screen  and (max-width: 400px) {
    .mobile-break{
        display: inline;
    }
}


.rsform-input-box, .rsform-text-box{
    display: block !important;
    width: 100% !important;
    padding:  18px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--bs-body-color) !important;
    appearance: none;
    background-color: var(--bs-body-bg) !important;
    background-clip: padding-box !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-radius: 11px!important;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
}


button.rsform-submit-button{
    width: 100%;
    background: var(--blue-light);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 12px 24px;
    transition: 0.3s;
    border-radius: 32px;
}
button.rsform-submit-button:hover{
    background-color: var(--main-blue-90);
}
button.rsform-submit-button:hover > span{
    color:white;
}

div.rsform-block-privacy  div.form-check {
    display: flex !important;
    align-items: center;
}

.purple-filter-gradient{
    position: relative;
    overflow: hidden;
}
.purple-filter-gradient::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, rgba(255,255,255, 0) 60%, var(--main-blue-85) 100%);
    bottom: 0;
    left: 0;
}


/* Stile personalizzato per il checkbox */
input[type="checkbox"]#privacy0  {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 20px;
    height: 20px;;
    border-radius: 11px;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    position: relative; /* Aggiunto posizionamento relativo */
}

/* Pseudo-elemento per il segno di spunta */
input[type="checkbox"]#privacy0::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 0.8em;
    height: 0.8em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    background-color: var(--main-blue);
}

/* Stato selezionato */
input[type="checkbox"]#privacy0:checked::before {
    transform: scale(1);
}
input[type="checkbox"]#privacy0:checked {
    border: 1px solid var(--main-blue);
}

@media only screen  and (max-width: 992px) {
    input[type="checkbox"]#privacy0{
        border: 1px solid var(--main-blue-80);
    }
    input[type="checkbox"]#privacy0::before {
        top: 1px;
        left: 1px;
    }
    
}


#privacy0-lbl{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:1em;
    padding: 0;
    font-size: 18px;
    color: var(--text-color)
}
.modal-body{
    input[type="checkbox"]#privacy0  {
        border: 1px solid var(--main-blue-90);
    }
    input[type="checkbox"]#privacy0::before {
        top: 2px;
        left: 2px;
    }
}



/* TEAM */
.line-divider{
    background-color: var(--blue-light-4);
    height: 3px;
    width: 100%;
}
.cont-card-team{
    display: grid;
    grid-gap: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card-team{
    text-decoration: none;
    border-radius: 11px;
    padding: 0;
    transition: 0.3s!important;
    
    .purple-filter-gradient{
        border-radius: 11px;
    }
    img {
        border-radius: 11px;
        object-fit: cover;
        object-position: center;
        width: 100%;
        aspect-ratio: 1;
    }
   h5,p{text-decoration: none;}
}
.card-team:hover{
    transform: scale(1.03)!important;
    box-shadow: 0 0 8px var(--blue-light-2);

    h5,p,div.text-primary{padding: 0 8px; transition: 0.3s;}
    div.text-primary{padding-bottom:8px;}
}

@media only screen  and (min-width: 1200px) {
    .cont-card-team{
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    }
}

@media only screen  and (min-width: 1400px) {
    .cont-card-team{
        grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    }
    /* .card-team > img {
        aspect-ratio: 5/3;
    } */
}
@media only screen  and (max-width: 992px) {
    .card-team:hover{
        transform: unset!important;
        box-shadow: unset;
    
        h5,p,div.text-primary{padding:unset; transition: unset;}
        div.text-primary{padding-bottom:unset;}
    }
}


/* NEWS */

.cont-card-News{
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card-News{
    background-color: var(--blue-light-4);
    padding: 0.6rem;
    border-radius: 11px;
    text-decoration: none;
    transition: 0.3s;
    /* box-shadow: 0px 0px 3px var(--grey); */
}
.card-News:hover{
    transform: scale(1.05);
}
.card-News-cont-img{
    width: 100%;
    position: relative;
}
.card-News-cont-img > img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    border-radius: 11px 11px 100px 11px;
    display: block;
}

.card-News-cont-img::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, rgba(255,255,255, 0) 60%, var(--main-blue-85) 100%);
    border-radius: 11px 11px 100px 11px;
    bottom: 0;
    left: 0;
}

.card-News-text{
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    hyphens: auto;
}




/*PROFILO*/


.flex-container {
    display: flex;
    gap: 10px; 
}


.flex-item{
    flex: 1; 
    padding: 10px;
}

/*CHI SIAMO*/

.cont-mis, .cont-vis{
    width: 100%;
    height: 33dvw;
    min-height: 500px;
    position: relative;
    margin-bottom: 3.2rem;
}
.cont-mis > img{
    border-radius: 11px 11px 20dvw 11px;
}
.cont-vis > img{
    border-radius: 20dvw 11px 11px 11px;
}
.cont-vis > img, .cont-mis > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.cont-vis > .cont-box.vision, .cont-mis > .cont-box.mission{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px;
    display: flex;
    align-items: center;
}

.cont-vis > .cont-box.vision{
    justify-content: end;
}


.box-vis-mis{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    min-width: 340px;
    min-height: 360px ;
    padding: 24px;
    border-radius:11px;
    background: linear-gradient(95deg, var(--blue-light-2),  var(--blue-light));

}


@media only screen  and (max-width: 500px) {
    .cont-vis > .cont-box.vision{
        align-items: end;
        justify-content: end;
        padding: 24px;
    }
    .cont-mis > .cont-box.mission{
        align-items: start;
        justify-content: start;
        padding: 24px;
    }
    .box-vis-mis{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 60%;
        min-width: 220px;
        min-height: 256px ;
        padding: 18px;
        border-radius:11px;
        background: linear-gradient(95deg, var(--blue-light-2),  var(--blue-light));
        
        p{
            font-size: 14px;
        }
        .par-vis{
            hyphens: auto;
        }
    }
}



.text-box-card{
    position: relative;
    background-color:#cecee9; /* Semi-transparent background */
    padding: 20px;
    border-radius: 11px;
    width: 320px;
    height:320px;
    color: #000;
    text-align: left;
    margin-right: 40px;
    margin-top:20px;

    /* margin: 0px 20px 0px 40px; */

}
.material-symbols-outlined{
    font-size:30px;
}
.cards{
    justify-content: center;
}

.row-spec>*{
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-top: var(--bs-gutter-y);
    flex-shrink: 0;
    max-width: 100%;
}

.row-spec{
--bs-gutter-x: 1.5rem;
--bs-gutter-y: 0;
display:flex;
}

.cont-card-aboutus > :first-child .card-aboutus{
    background-color: var(--blue-light);
}
.cont-card-aboutus > :nth-child(2) .card-aboutus{
    background-color: var(--blue-light-2);
}
.cont-card-aboutus > :nth-child(3) .card-aboutus{
    background-color: var(--blue-light-3);
}
.cont-card-aboutus > :nth-child(4) .card-aboutus{
    background-color: var(--blue-light-4);
}

.card-aboutus{
    border-radius: 11px;
    padding: 20px 24px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.card-aboutus > span{
    font-size: 3.6rem;
}
.card-aboutus > p{
    font-size: 0.9em;
    min-height: 136px;
    hyphens: auto;
    margin: 0;
}

/*MODALE*/

.modal{
    --bs-modal-zindex:1032;
}
.modal-backdrop {
    z-index: 1031!important;
}



/* ARTICLE NEWS DETAIL*/
.newsArticle{
    h1{
        font-size: 3rem;
        font-weight: 800;
        color: var(--text-color);
        margin-top: 12px;
    }
    h2{
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--text-color);
        margin-top: 28px;
    }
    h3{
        font-size: 2rem;
        font-weight: 800;
        color: var(--text-color);
        margin-top: 24px;
    }
    
    h4{
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--dark-grey);
        margin-top: 20px;
    }
    h5{
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--main-blue);
        margin-top: 16px;
    }
    h6{
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--main-blue);
        margin-top: 16px;
    }
    
    p, a, ul, ol, li{
        font-size: 1rem;
        font-weight: 400;
        color: var(--text-color);
        text-decoration: none;
        font-family: "Inter", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
    }
    ol{
        list-style-type:decimal;
        margin-top: 20px;
    } 
    ul{
        list-style-type: disc;
        margin-top: 20px;
    } 
    a{
        color: var(--main-blue);
    }
    li{
        margin-top: 12px;
    }
    p{
        margin-bottom: 8px;
        width: 100%;
    }
    
    img{
        display: block;
        max-width: 100%;
        border-radius: 11px;
        margin: 24px auto;
        max-height: 600px;
        height: 50vh;
        width: auto;
    }
}

@media (max-width: 991px) {
    .newsArticle{
        h1{
            font-size: 2.5rem;
        }
        h2{
            font-size: 2rem;
        }
        h3{
            font-size: 1.75rem;
        }
        
        h4{
            font-size: 1.5rem;
        }
        h5{
            font-size: 1.3rem;
        }
        h6{
            font-size: 1.1rem;
        }

        p, a, ul, ol, li{
            font-size: 0.9rem;
        }

        img{
            display: block;
            width: 100%;
            height: auto;
        }
    }
   
}

.cont-intro-img-art-news{
    width: 100%;
    aspect-ratio: 9/4;
    position: relative;
}
.intro-img-article-news{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 11px 11px calc(16dvw + 100px) 11px;
    display: block;
}
.cont-intro-img-art-news::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, rgba(255,255,255, 0) 60%, var(--main-blue-85) 100%);
    border-radius: 11px 11px calc(16dvw + 100px) 11px;
    bottom: 0;
    left: 0;
}
@media (max-width: 7611px) {
    .intro-img-article-news{
        border-radius: 11px 11px calc(18dvw + 50px) 11px;
    }
    .cont-intro-img-art-news::after{
        border-radius: 11px 11px calc(18dvw + 50px) 11px;

    }
}

.subtitle-artnew{
    font-size:1.6rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 16px;
}

.main-title-artnew{
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
}
@media (max-width: 991px) {
    .main-title-artnew{
        font-size: 2rem;
    }
    .subtitle-artnew{
        font-size: 1.4rem;
    }
}
@media (max-width: 576px) {
    .main-title-artnew{
        font-size: 1.7rem;
    }
    .subtitle-artnew{
        font-size: 1.2rem;
    }
}


.border-cont-art{
    border-right: 2px solid var(--blue-light-4)
}

.cont-rel-artc{
    width: 100%;
    display:flex;
    flex-wrap: wrap;
    gap: 0.8rem;

}

.rel-artc{
    display: block;
    width: 100%;
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s;
}
.rel-artc:hover{
    transform: scale(1.03);
}
@media only screen  and (max-width: 992px) {
    .rel-artc:hover{
        transform: unset;
    }
}

.scroll-next-art, .scroll-prev-art{
    display: none;
}

@media (max-width: 1199px) {
    .cont-scroll-rel-artc{
        margin: 24px 0;
        width: 100%;
        overflow: hidden;
        overflow-x: hidden;
        position: relative;
        height: 180px;
    }
    .cont-rel-artc{
        position: absolute;
        top: 0;
        left: 0;
        box-sizing: content-box;
        width: fit-content;
        display:flex;
        flex-wrap:nowrap;
    }
    
    .rel-artc{
        width: 300px!important;
        display: block;
    }

    .cont-scroll-rel-artc::before{
        height: 100%;
        width: 10dvw;
        content:"";
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
        z-index: 2;
    }
    .cont-scroll-rel-artc::after{
        height: 100%;
        width: 10dvw;
        content:"";
        position: absolute;
        top: 0;
        right: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        z-index: 2;
    }

    .scroll-prev-art{
        display: block;
        position: absolute;
        color: var(--dark-grey)!important;
        left: 0;
        height: 16px;
        font-size: 16px;
        top: calc(50% - 8px);
        border: none;
        background: none;
        z-index: 3;
    }

    .scroll-next-art{
        display: block;
        position: absolute;
        color: var(--dark-grey)!important;
        right: 0;
        height: 16px;
        font-size: 16px;
        top: calc(50% - 8px);
        border: none;
        background: none;
        z-index: 3;
    }
    .scroll-prev-art.disabled, .scroll-next-art.disabled{
        opacity: 0.5;
    }

}


/* SLIDER */
.cont-cont-scroll{
    width: 100%;
    overflow: hidden;
}
.cont-scroll{
    width: 100%;
    /* overflow: hidden; */
    position: relative;
    height: calc(90dvw / 16 * 7);
    max-height: 840px;
}
.scroller-x{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 16px;
    padding: 0 16px;
    overflow: hidden;
}

.slide{
    width: 90dvw;
    aspect-ratio: 16/7;
    max-width: 1920px;
    position: relative;
}

.slide img{
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
   border-radius: 11px;
}
.slide::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, rgba(0, 0, 0, .2) 60%, var(--main-blue-85) 100%);
    border-radius: 11px;
    bottom: 0;
    left: 0;
}

.slide .cont-text-slide{
    position: absolute;
    max-width: calc(100% - 4rem);
    height: auto;
    bottom:1.8rem;
    left: 1.4rem;
    z-index:6;
}
.cont-text-slide > h5, .cont-text-slide > h1, .cont-text-slide > h2, .cont-text-slide > p{
    text-shadow: 0px 0px 2px rgba(0,0,0, 0.6);
}
.cont-text-slide > h5{
    margin-top: -12px;
    margin-bottom: 0;
}
.btn-slide{
    padding: 4px 36px;
    border: 2px solid white;
    color: var(--text-color);
    background: white;
    transition: 0.2s;
    text-decoration: none;
}
.btn-slide:hover {
    background: var(--blue-light);
    border: 2px solid var(--blue-light);
}
.btn-slide > div{
    font-size: 1.1rem;
}
.btn-slide-tel {
    padding: 4px 36px;
    background: transparent;
    border: 2px solid white;
    transition: 0.2s;
    text-decoration: none;
}
.btn-slide-tel:hover {
    background: var(--blue-light);
    border: 2px solid var(--blue-light);
}
.btn-slide-tel > div > span{
    color: white;
}
.btn-slide-tel:hover > div > span{
    color: var(--text-color);
}

.cont-slide-btn{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.btn-slide-nav{
    background-color: var(--blue-light-4);
    transition: 0.2;
    border: none;
    height: 4px;
    border-radius: 1px;
    width: 20%;
    max-width: 300px;
    min-width: 80px;
}
.sel-btn-slide{
    background-color: var(--blue-light-2);
}

@media (max-width: 992px) {
    .cont-scroll {
        height: calc(90dvw / 4.8 * 3);
        overflow-x: scroll;
    }
    .slide{
        aspect-ratio: 5/3;
    }

    /* Personalizza la scrollbar */
    .cont-scroll::-webkit-scrollbar {
       height: 6px;                /* Larghezza della scrollbar */
    }

    /* Personalizza il background della scrollbar */
    .cont-scroll::-webkit-scrollbar-track {
        background: transparent;        /* Colore del background del track */
        border-radius: 4px;        /* Angoli arrotondati */
    }

    /* Personalizza il thumb (la parte mobile) della scrollbar */
    .cont-scroll::-webkit-scrollbar-thumb {
        background-color: var(--blue-light);     /* Colore del thumb */
        border-radius: 4px;        /* Angoli arrotondati del thumb */
        border: none;  /* Bordo del thumb per separarlo visivamente */
    }

    /* Thumb in hover */
    .cont-scroll::-webkit-scrollbar-thumb:hover {
        background-color: var(--main-blue-80);     /* Cambia colore quando si passa sopra col mouse */
    }
}
@media (max-width: 768px) {
    .cont-scroll {
        height: 93dvw;
    }
    .slide{
        aspect-ratio: 1;
    }
}
@media (max-width: 575px) {
    .cont-scroll {
        height: calc(90dvw / 2.9 * 4);
    }
    .slide{
        aspect-ratio: 3/4;
    }
}


/* BREADCRUMBS */
.mod-breadcrumbs{
    margin-bottom: 0.5rem;
}
@media (max-width: 992px) {
    .mod-breadcrumbs{
        font-size: 0.8rem;
    }
}
@media (max-width: 400px) {
    .mod-breadcrumbs{
        font-size: calc(3.4dvw);
    }
}
/* DETAIL TEAM MEMBER */
.cont-intro-img-art-teamMember{
    aspect-ratio: 1;
    position: relative;
}
.intro-img-article-teamMember{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0 50% 50% 50%;
    display: block;
}
.cont-intro-img-art-teamMember::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(175deg, rgba(255,255,255, 0) 60%, var(--main-blue-85) 100%);
    border-radius: 0 50% 50% 50%;
    bottom: 0;
    left: 0;
}


@media (max-width: 575px) {
    .cont-intro-img-art-teamMember{
        aspect-ratio: 10/7;
    }
    .intro-img-article-teamMember, .cont-intro-img-art-teamMember::after{
        border-radius: 11px 11px calc(18dvw + 50px) 11px;
    }
}

.splide__list {
    display: flex!important;
    /* flex-wrap: wrap!important; */
    /* gap: 1rem!important; */
    box-sizing: border-box;

}
.splide__track {
    padding: 6px;
}

@media (max-width: 1200px) {
    .splide__list {
        display: flex!important;
        flex-wrap: nowrap!important;
        gap: 1rem!important;
    }
}


/* LOGIN */

.com-users-login, .com-users-reset, .com-users-remind{
    border-radius: 11px;
    background: linear-gradient(95deg, var(--blue-light-2), var(--blue-light-4));
    padding: 24px;
    width: 50%;
    min-width: 290px;
    max-width: 800px;

    form{
        margin-bottom: 32px;
    }
    label{
        display: flex;
        flex-wrap: wrap;
    }
}

.input-password-toggle,.input-password-toggle:hover{
    background-color:#2F2D9B;
}
.icon-eye, .icon-eye-slash{
    color: white;
}


.btn-login:hover{
    background:#ACABD7;
    border-color: #ACABD7;
}

.form-control-feedback{
    color:red;
    font-size: 0.8em;
    margin-left: 20px;
}

.list-group-item+.list-group-item {
    border-top-width: 1px !important;
} 

.form-check-input:checked[type=checkbox] {
   background-color: #2F2D9B;
}

.btn-reset{
    border: none;
    background-color: unset;
} 

@media (max-width: 576px) {
    .com-users-login{
        width: 90%;
    }
}


/* rimuovi elemnti modiica moduli forntend sito quando sup user loggato */
.jmodedit{
    display: none;
}
#tip-17{
    display: none;
}

/* AREA DOCUMENTALE */

.cont-hero-area-doc{
    h2{
        font-size: calc(1.375rem + 1.5vw);
    }
    h6{
            font-size: calc(1.525rem + 3.3vw);
            font-weight: 300;
            line-height: 1.2;
    }
}
@media only screen  and (max-width: 992px){
    .cont-hero-area-doc{
        h6{
            font-size: calc(1rem + 2.5vw);
        }
        h2,h1{
                font-size: calc(1rem + 1.3vw);
        }
    }
}
.contSearchBar{
    position: relative;
    margin-bottom: 32px;

    .search-icon{
        font-size: 1.5em;
        font-weight: 600;
        color: rgb(140,140,140);
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
    }
}

.btn-reset-secondary{
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(95deg,var(--blue-light-2),var(--blue-light-1)) ;
    color: var(--white);
    border: none;
    transition: 0.3s;
    position: absolute;
    top: 0;
    right: 0;

    span{
        color: var(--white);
    }
}
.btn-reset-secondary:hover{
    background-color: var(--blue-light-4);
}

#searchBarDoc{
    width: 100%;
    background: linear-gradient(95deg, var(--blue-light-3), var(--blue-light-5));
    padding: 12px 24px;
    font-size: 1rem;
    color: var(--text-color);
    border-radius: 24px;
    border: none;
    outline: none;
    height: 48px;
}
#searchBarDoc:focus{
    border: 2px solid var(--blue-light);
}

.cont-actions-doc{
    button{
        border: none;
        padding:8px 24px;
        color: var(--white);
        border-radius: 28px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        span{
            color: var(--white);
        }
    }
    button.active{
        color: var(--main-blue-90);
        border: 1px solid var(--main-blue-90);
    }
}

.cont-actions-doc button:nth-child(1){
    background-color: var(--blue-light);
}
.cont-actions-doc button:nth-child(2){
    background-color: var(--blue-light-1);
}
.cont-actions-doc button:nth-child(3){
    background-color: var(--blue-light-2);
}
.cont-actions-doc button:nth-child(4){
    background-color: var(--blue-light);
}

.cont-Doc{
    display: grid;
    grid-gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
}



.card-doc{
    aspect-ratio: 4/3;
    box-shadow: 0 0 4px var(--grey);
    border-radius: 8px;
    padding: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: end;
    transition: 0.3s;

    .file-type{
        position: absolute;
        top: 0;
        left: 0;
        width: 80px;
        height: 52px;
        background: linear-gradient(80deg, var(--main-blue-80), var(--blue-light));
        border-radius: 0 0 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        
        span{
            font-size: 2rem;
            color: var(--white);
        }
    }

    .cont-icons{
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px 12px 0 0;
        gap: 10px;

        a{
            span{
                font-size: 24px;
            }
        }
        
    }   

    .cont-text{
        

        h5{
            margin-bottom: 8px;
            height: 48px;
            width: 100%;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;  
            overflow: hidden;
            hyphens: auto;
            font-size: 16px;
            line-height: 22px;
            color: var(--dark-grey);

        }

        .cont-tags{
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            align-items: end;
            height: 44px;
            overflow: hidden;
            span{
                color: var(--white);
                background-color: var(--blue-light);
                height: 18px;
                padding: 1px 10px;
                border-radius: 9px;
                font-size: 11px;
                text-transform: uppercase;
            }
        }
    }
}
.card-doc:hover{
    transform: scale(1.04);
}


@media only screen  and (max-width: 992px){
    .cont-side-filtri{
        position: fixed;
        top: 0;
        left: -100dvw;
        height: 100dvh;
        width: 100dvw;
        z-index: 1033;
        display: none;
    }
    .cont-filtri{
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        background: white;
        padding: 3rem 0.5rem 1rem 1rem;
        position: relative;
        left: -100dvw;
        z-index: 1034;
        height: 100dvh;
        width: 50%;
        min-width: 300px;
        transition: 0.3s ease-in-out; 

        .btn-purple{
            position: absolute;
            top:1rem;
            right:1rem;
            font-size: 0.9rem;
            padding: 4px 12px;
        }
        .overflow-y-scroll-filtri{
            padding-right: 0.5rem;
        }

        /* Personalizza la scrollbar */
        .overflow-y-scroll-filtri::-webkit-scrollbar {
            width: 6px;                /* Larghezza della scrollbar */
        }

        /* Personalizza il background della scrollbar */
        .overflow-y-scroll-filtri::-webkit-scrollbar-track {
            background: transparent;        /* Colore del background del track */
            border-radius: 4px;        /* Angoli arrotondati */
        }

        /* Personalizza il thumb (la parte mobile) della scrollbar */
        .overflow-y-scroll-filtri::-webkit-scrollbar-thumb {
            background-color: var(--blue-light);     /* Colore del thumb */
            border-radius: 4px;        /* Angoli arrotondati del thumb */
            border: none;  /* Bordo del thumb per separarlo visivamente */
        }

        /* Thumb in hover */
        .overflow-y-scroll-filtri::-webkit-scrollbar-thumb:hover {
            background-color: #555;     /* Cambia colore quando si passa sopra col mouse */
        }
    }
    
    .cont-side-filtri::before{
        content: "";
        position: absolute;
        top: 0;

        height: 100dvh;
        width: 100dvw;
        z-index: 1031;
        background: radial-gradient(rgba(163, 162, 215, 0.3), rgba(195, 195, 226, 0.3));
        backdrop-filter: blur(10px);  /* Sfuoca lo sfondo dietro l'elemento */
        -webkit-backdrop-filter: blur(10px); /* Per compatibilità con Safari */
        opacity: 0;
        transition: 0.3s ease-in-out; 
    }

    .cont-side-filtri.open{
        left: 0;
        display: block!important;
    }
    .cont-filtri.open{
        left: 0;
    }
    .cont-side-filtri.open::before{
        opacity: 1;
       
    }

    .contSearchBar{
        position: relative;
        margin-bottom: 32px;
    
        .search-icon{
            left: 12px;
        }
    }
    #searchBarDoc{
       
        padding: 12px 48px 12px 42px;
    }

    .cont-actions-doc{
        justify-content: space-between;
        button{
            width: calc(33% - (0.7rem / 3));
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
    .overflow-y-scroll-filtri{
        overflow-y: scroll;
        height: calc(100dvh - 88px);
    }
   
}
@media only screen  and (max-width: 575px){
    .card-doc{
        width: 100%;
        height: 200px;
        aspect-ratio: unset;
    }
}

.wrapper-filtri{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
}

.btn-filtri{
    width: 100%;
    height: 48px;
    text-align: center;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    border-radius: 24px;
    margin-bottom: 32px;
    transition: 0.3s;
    opacity: 1;
    background: linear-gradient(95deg, var(--main-blue-80), var(--blue-light-2));
}


.btn-tag{
    background-color: var(--grey);
    height: 28px;
    padding: 2px 14px;
    border-radius: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    border: none;
    
    span{
        font-size: 13px;
        color: var(--white);
    }
}

.btn-tag.active{
    background-color: var(--blue-light); 
    span{
        color: var(--white);
    }
}

.cont-date-input{
    width: calc(50% - 0.25rem);
    min-width: 176px;

}

@media only screen  and (max-width: 1600px) and (min-width: 992px) {
    .cont-date-input{
        width: 100%;
    }
}

@media only screen  and (max-width: 656px){
    .cont-date-input{
        width: 100%;
    }
    .cont-actions-doc button:nth-child(2),  .cont-actions-doc button:nth-child(3){
        width: calc(50% - 0.25rem);
    }
    .cont-actions-doc button:nth-child(4){
       width: 100%;
       margin-top: 8px;
       background: linear-gradient(95deg, var(--main-blue-80), var(--blue-light-2));
    }
}

.date-input{
    width: 100%;
    height: 48px;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
    border-radius: 24px;
    margin-bottom: 14px;
    transition: 0.3s;
    opacity: 1;
    background: linear-gradient(95deg, var(--blue-light-3), var(--blue-light-5));
}

.cont-type-file{
    display: grid;
    grid-gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 20px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--grey);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: var(--white);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: var(--blue-light);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px var(--blue-light);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  @media only screen  and (max-width: 992px){
    .cont-type-file{
        grid-gap: 4px;
    }
}