*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Jost", sans-serif;
}
:root{
    --bg:#f2f2f2;
    --bg-color:#fff;
    --text-color:#000;
    --second-color:#a09dab;
    --main-color:#f75023;
    --big-font:5rem;
    --h2-font:3rem;
    --p-font:1.1rem;
    --m-font:1rem;
    --m-l-font:0.9rem;
    --m-m-font:0.7rem;
    --m-s-font:0.6rem;
    --bg-btn:#04B4FA;

    --color-bg-mncen:#EFF3F6;
    --color-pdf:#FF071B;

   /* ************************************** */
    /* Generali                               */
    /* ************************************** */
    --color-5BA4D6:#5BA4D6;
    --color-D1DFEE:#D1DFEE;
    --color-E1E8F2:#E1E8F2;
    --color-3D8BC4:#3D8BC4;
    --txt-grigio-333:#333333;
    --pink:#e84393;
    --color-rgba3D8BC4:rgba(61, 139, 196, 0.77);
    --color-rgba3D8BC4-45:rgba(61, 139, 196, 0.45);
    --color-ffffff:#ffffff;
    --color-FFD200:#FFD200;
    --color-0F2CF6:#0F2CF6;
    --color-459A7A:#459A7A;
    --color-00000:#000000;
    --bg-eee:#eeeeee;
    /* ************************************** */
    /* Colori -  */
    /* ************************************** */
    /* menu toolbar */
    --color-0A2D35:#0A2D35; 
    /* bottoni */
    --color-F9F9F9:#F9F9F9;
    /* cornice applicazione */
    --color-B1E1E9:#B1E1E9;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: 210px;
}
:target{
    /* border-right:1px solid rgba(0, 49, 116, .4);
    border-left: 1px solid rgba(0, 49, 116, .4); */
}
body{
    background-color: var(--bg);
    color: var(--text-color);
}
iframe{
    display: none;
}
 section .content {    
    padding: 0 5% 0 5%;    
    background: var(--bg-color);   
    position: relative;
    /* supporto */
    /* border: 1px solid red; */
}
section .content .contents{    
    min-height: calc(100vh - 200px);
    padding: .7rem 0;    
}
h2 {
        border-bottom: 0;
        color: rgba(0, 0, 0, 0.66);
}
h2 span {
        color: rgba(0, 49, 116, 0.77);
        font-size: 2.5rem;
        font-weight: 700;
}
/* grid */
.w-1{
    grid-column: span 1;
}
.w-2{
    grid-column: span 2;
}
.w-3{
    grid-column: span 3;
}
.w-4{
    grid-column: span 4;
}
.w-5{
    grid-column: span 5;
}
.w-6{
    grid-column: span 6;
}

.h-1{
    grid-row: span 1;
}
.h-2{
    grid-row: span 2;
}
.h-3{
    grid-row: span 3;
}
.h-4{
    grid-row: span 4;
}
.h-5{
    grid-row: span 5;
}
.h-6{
    grid-row: span 6;
}
/* grid fine */
.content-title {
    position: sticky;
        top:90px;
        margin-top: 100px;
        padding: 0.4rem 5%;
        background: rgba(151, 214, 242, 0.92);
        z-index: 888;        
}
.content-title .contents {
        position: relative;
        padding: 0 1rem;
}
/* icone */
.pdf{    
    font-size: var(--fontsize);
}
.breadcruemb{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: .6rem;
    font-size: .8rem;
    font-weight: 500;
    padding: .4rem .6rem;
    color: #767676;
    text-transform: lowercase;
    display: flex;
    align-items: center;
}
.breadcruemb span a{    
    color: var(--bg-color);
    background: var(--bg-btn);
    transition: .3s ease-in-out;
    padding: .3rem .8rem;
    text-transform:lowercase;
}
.breadcruemb span a:hover{    
    transform: scale(1.1);
    background: var(--bg-color);
    color: #000;
    border: 1px solid var(--bg-btn);
    text-transform:uppercase;
}
.generica{
    /* margin-top: 1rem; */
    background: rgba(235, 189, 192, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 310px);
    border-radius: 2rem;
}
.generica .bxs-megaphone{
    font-size: 18rem;
    color: #E33243;
}
.generica span{
    display: block;
    color: #E33243;
    background: rgba(251, 250, 250, 0.4);
    border-radius: 2rem;
    margin-top: 1rem;
    padding: 2rem 5rem;
    font-size: 3.5rem;
}
.altezza{
    margin-top: 150px;
}
/* test */

/* header */
header{
    position: fixed;
    width: 100%;
    max-height: 100px;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.82);
    /* opacity: 0.89; */
    border-bottom: 1px solid grey;
    /* background: transparent; */
    padding: 0 5%;
    /* padding: 13px 5% 7px 5%; */
    transition: 0.3s;
    /* border: 1px solid #E33243; */
}
header.bg{
    background: #fff !important;
    opacity: 0.95;
    border-bottom: 1px solid grey;
}
header #toggler{
    display: none;
}
header .bx-menu{
    font-size: 2.5rem;
    color: var(--second-color);
    background: var(--bg-color);
    border-radius: .5rem;
    padding: .3rem .3rem;
    border: 1px solid var(--second-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
    /* transform: translateY(-50%); */
    transition: transform 0.1s linear;
}
header .bx-menu:active{
    transform: scale(0.8);
    /* transform: translateY(-50%) scale(0.8); */
}
header .logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* border: 1px solid #a70281; */
}
header .logo a{
    display: flex;
    align-items: center;
    gap: 0.4rem;    
}
header .logo .logo-img img{
    max-height: 80px;
    height: 100%;
    /* border: 1px solid #32e34f; */
}
header .logo .txt-logo{
    font-size: 1.2rem;
    font-weight: 700;
    color: #003882;
    text-shadow: 0 5px 10px #0004;
    letter-spacing: -0.1rem;
    /* text-align: right; */
    line-height: 1.5rem;
}
header nav{
    display: flex;
    gap: 0.2rem;
    position: relative;
}
header nav a{
    font-size: var(--m-l-font);
    font-weight: 500;
    padding: .6rem .8rem;
    border: 1px solid var(--bg-btn);
    background: var(--bg-btn);
    color: var(--bg-color);
    transition: ease .50s;
    text-transform: uppercase;
    margin: 0 2px;
}
header nav .mn{    
    position: relative;
    display: flex;
    /* flex-flow: row nowrap; */
    align-items: center;
    transition: ease .50s;
    padding:0 0px;
    /* test */
    /* border:#ECB917 1px solid; */
}
header nav .mn > a{    
    width: 100%;
}
header nav .mn .list-mn{
    top: 100%;
    left: 25%;
    position: absolute;    
    background: var(--bg-color);
    padding: 0.6rem;
    max-width: 200px;
    width: 100vw;
    margin-top: 1px;
    border: 1px solid var(--bg-btn);
    border-top: 0;
    box-shadow: 0 20px 45px #00000020;
    transition: ease .50s;
    display: none;
    z-index: 999;   
}
header nav .mn .list-mn .secondo{
    top: -3px;
    left: 100%;
    /* border-top: 0; */
    border-top: 1px solid var(--bg-btn);
    border-left: 0;
}
header nav .mn .list-mn .item{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    /* test */    
    /* border: #E33243 1px solid; */
}
header nav .mn .list-mn .item a{
    font-size: 1rem;
    text-transform: capitalize;
    font-weight: 300;
    /* test */
    /* width: 100%; */
    margin: 0 3px;    
}
header nav .mn:hover > .list-mn {    
    display: block;
}
header nav .mn:hover > a {    
    transform: scale(1.1);
    border: 1px solid var(--bg-btn);
    background: var(--bg-color);
    color: gray;
}
header nav .list-mn a:hover  {    
    transform: scale(1.1);
    border: 1px solid var(--bg-btn);
    background: var(--bg-color);
    color: gray;
}
header .navlist .attivo{
    border: 1px solid var(--bg-btn);
    background: var(--bg-color);
    color: gray;
    /* border-radius: 15px; */
}
/* header .navlist a:hover{ 
    transform: scale(1.1);
    border: 1px solid var(--bg-btn);
    background: var(--bg-color);
    color: gray;
} */
/* header .navlist li:active{ 
    transform: scale(1.08);
} */

/* home */
.home{
    min-height: 100vh;      
    width: 100%;
    background: url(../img/background-home-nobile-3.jpg);
    background-position: top;
    background-size: cover; 
    position: relative;
    /* supporto */
    /* border: 1px solid red;   */
}
.home .content{    
    background: transparent !important;
}
.home .contents-info {
    container-type: inline-size;
    container-name: contentsinfo;
}
.home .contents-info {    
    min-height: 100vh;
    height: 100%;
    padding: 10rem 0 2rem 0;    
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* width: 71%; */
    width: min(100%, 900px);
    position: relative;
    gap: .5rem;
    overflow: hidden;
    /* supporto */
    /* border:1px solid #fc0ee8; */
}
.home .item-home{
    max-width: 99%;
    width: 100%;
    background: var(--bg-color);    
    padding-bottom: 1.4rem;
    box-shadow: 10px 5px 5px rgb(0 0 0 / 15%);
    margin-bottom: 1rem;
    border-radius: 1.3rem;
    position: relative;
    /* supporto */
    /* border:1px solid #e4c203; */    
}
.home .contents-info .titolo {  
    font-size: 1.8rem;
    font-weight: 600;  
    color: #fff;
    padding: .4rem 1.2rem;    
    background: #04B4FA; 
    border-top-left-radius: 1.3rem;
    border-top-right-radius: 1.3rem;
    /* position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    border-top-left-radius: 1.3rem;
    border-top-right-radius: 1.3rem; */
    /* border: 1px solid #E33243; */
}
.home .contents-info .item{
    padding: .8rem 1.2rem;
    cursor: pointer;
    border-bottom: 1px solid #DDDDDE;
    transition: .50s ease-in-out;
}
.home .contents-info .item:hover,
.home .contents-info .item:hover h4 {  
    background-color: var(--color-bg-mncen);
    color: #003882;
}
.home .contents-info .item:hover i{        
    transform: scale(1.2);
}
.home .contents-info .item i{        
    padding-right: .6rem;
}
.home .contents-info .item h4{
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* color: rgba(248, 10, 85, 0.7); */
    color: rgba(0, 56, 130, .7);
    transition: .50s ease-in-out;
    text-transform: uppercase;
    /* color: #f75023;
    text-transform: uppercase; */
}
.home .contents-info .item .attivo{    
    color: rgba(0, 56, 130, 1);
    /* color: rgb(248, 10, 85); */
    text-transform: uppercase;
}
.size-l{
    font-size: 1.3rem;
    
}
.flex-l{
    flex-grow: 2;
}
.size-m{
    font-size: 1.2rem;
    padding-right: .2rem;
}

.home .contents-info .media{
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content:start;
}
.home .contents-info .media a{   
    font-size: 2.8rem; 
    color: var(--color-titolo);
    /* transition: transform 0.3s ease; */
    transition: 0.5s ease;
    /* margin-left: 0.8rem; */
}
.home .contents-info .media .instagram{   
    background: linear-gradient(90deg, #ECB917, #E33243, #3E4998);
    background-clip: text;
    color:transparent;
}
.home .contents-info .media .facebook{   
    color: #003882;
}
.home .contents-info .media a:hover{       
    transform: scale(1.1);
}
/* .home .sfondo{
    z-index: 000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  
} */

/* partner */
.partner{
    /* padding-top: 2rem; */
   
    background: #fff;
}
.partner .content{
    min-height:unset;
    padding: 2rem;
    margin: 1rem 0 0 0;
    /* background: #fff; */
}
/* modulistica */

.modulistica .container-documenti, .item-accordion .container-documenti {
        display: grid;
        grid-template-columns: repeat(1, 1fr 100px);
        gap: 0.3rem;
        grid-auto-flow: dense;
}
.modulistica .titolo-doc .mov,
.item-accordion .titolo-doc .mov{
    text-align: center;
}
.modulistica .titolo-doc,
.item-accordion .titolo-doc {
        padding: 1.3rem 0.5rem 0.1rem 0.5rem;
        border-bottom: 1px solid #DDDDDE;
        font-size: 1.1rem;
        font-weight: 500;
        font-weight: bold;
        margin-bottom: .9rem;        
    }

.modulistica .row-doc,
.item-accordion .row-doc {
        font-size: 1.2rem;
        padding: .6rem .5rem;
        border-bottom: 1px solid #DDDDDE;
        cursor: pointer;
        position: relative;        
    }
.item-accordion .row-doc-nbd {
        font-size: 1.2rem;
        padding: .6rem .5rem;        
        cursor: pointer;
        position: relative;        
    }

.modulistica .row-doc:hover,
.item-accordion .row-doc:hover,
.item-accordion .row-doc-nbd:hover {
        /* background-color: #F5F5F6;
        color: var(--color-link); */
        background-color: var(--color-bg-mncen);
        color: var(--color-pdf);
    }

.modulistica .container-documenti .ico,
.item-accordion .container-documenti .ico {
        display: flex;
        align-items: center;
        justify-content: end;
    }
.modulistica .container-documenti .pdf,
.item-accordion .container-documenti .pdf {
        font-size: 2.4rem;
        color: var(--color-pdf)
    }
.item-accordion .dettaglio{
    font-size: .86rem;
    color: #767676;
}

/* sponsor */
.sponsor .content{
    /* margin:1.5rem 0; */    
    /* padding: 2rem 2rem; */
    background: var(--bg-color);
    border-radius: .3rem;
    position: relative;
}
.sponsor .list{
    padding-top: 2rem;
    display: grid;
    /* grid-template-columns: repeat(5,  1fr); */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.3rem;
}
.sponsor .item{
    
    padding: 0.625rem;
    /* aspect-ratio: 1; */
    font-size: 1.5rem;
    background-color: var(--bg-color);
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;    
    /* border:1px solid red; */
}
.sponsor .item .img{
    max-height: 180px;
}
.sponsor .item img{
    width: 100%;
}
.sponsor .item:hover{
    /* background-color: #f8f5f5; */
    border: 0.14rem solid #ccc;
    scale: 1.1;
}
/* footer */
.footer{
    background: #f2f2f2;
    border-top: 1px solid var(--second-color);
}
.footer .content{  
    /* min-height:unset;   */
    /* padding: 1.8rem 0 3.3rem 0; */
    margin: 0;
    padding-top: 2rem;
    background: transparent !important;    
}
.footer .extra-contents{
    padding: 1rem 0 2rem 0;
    display: flex;
    justify-content: space-between;
}
.footer h3, h5{
    padding-left: 0.6rem;
}
.footer h5{
    padding-bottom: 0.3rem;
}
.footer .box .bx{
    font-size: 1.8rem;
}
.footer .box .bxl-whatsapp{
    color: green;
    font-weight: 500;
}
.footer .box .bx-mail-send{
    color: rgb(3, 49, 189);
    font-weight: 500;
}
.footer .box .bx-map{
    color: rgb(235, 9, 9);
    font-weight: 500;
}
.footer .box .bx-mobile-alt{
    color: rgb(235, 9, 152);
    font-weight: 500;
}


.footer .content .box .info{    
    font-size: .8rem;
    font-weight: 700;
    color: var(--second-color);
    padding: .4rem .6rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer .content .box .info:hover{    
    font-size: .8rem;
    color: var(--color);
    background: #ffd700;
    border-radius: 15px;    
}

/* non trovata */
.nontrovata .content .bxs-balloon{
    font-size: 18rem;
    color: #E33243;
}
.nontrovata .ops{
    margin-top: 1rem;
    background: rgba(235, 189, 192, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 280px);
}
/* scroll */
.partner .slider{
    /* width: 100vw; */
    /* border: 1px solid red; */
    height: var(--height);
    /* overflow: hidden; */
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    display: flex;
    justify-content: center;
    /* background-image: linear-gradient(
        to right,
        transparent,
        #000,
        transparent
    ); */
    overflow: hidden;
}
.partner .slider .list{
    display: flex;
    align-items: center;
    width: 100%;
    min-width: calc( var(--width) * var(--quantity) );
    position: relative;
    overflow: hidden;    
}
.partner .slider .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) * (var(--quantity) - var(--position) ) * -1 )!important;
    /* animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1))!important; */
    /* animation-delay: calc((10s/var(--quantity))*(var(--pos) - 1)); */
    display: flex;
    align-items: center;    

    /* test */
    /* border: #E33243 1px solid; */
}
.partner .slider .list .item img{
    width: 100%;
    /* height: 100%; */
    
}
.partner .slider:hover .item{
    animation-play-state: paused!important;
    filter:grayscale(1);
    transition:  0.5s;
}
.partner .slider .item:hover{
    filter:grayscale(0);
    transform: scale(1.1);
}

/*  visualizzazione elenco file */
.container-file {
        display: grid;
        grid-template-columns: repeat(1, 1fr 100px);
        gap: 0.3rem;
        grid-auto-flow: dense;
}
.container-titolo .dowload{
    text-align: center;
}
.container-titolo {
        padding: 1.3rem 0.5rem 0.1rem 0.5rem;
        border-bottom: 1px solid #DDDDDE;
        font-size: 1.1rem;
        font-weight: 500;
        font-weight: bold;
        margin-bottom: .9rem;        
    }

.container-row-doc {
        font-size: 1.2rem;
        padding: .6rem .5rem;
        border-bottom: 1px solid #DDDDDE;
        cursor: pointer;
        position: relative;        
    }


.container-row-doc:hover {
        /* background-color: #F5F5F6;
        color: var(--color-link); */
        background-color: var(--color-bg-mncen);
        color: var(--color-pdf);
    }


.container-file .ico {
        display: flex;
        align-items: center;
        justify-content: end;
    }
.container-file .pdf {
        font-size: 2.4rem;
        color: var(--color-pdf)
    }
    .container-file .dettaglio{
    font-size: .86rem;
    color: #767676;
}
/*  visualizzazione elenco file - FINE*/

/* carousel inizio */
.container-carousel{
    /* margin-top: 88px; */
    /* margin: auto 20px;     */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    /* border:1px solid red; */
}
.container-carousel .slider-carousel{
    width: 800px;
    max-width: 100vw;
    /* margin: auto 20px;     */
   
    height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: .8rem;
    /* border: 1px solid rgb(158, 237, 11);
    background: rgba(255, 255, 255, 0.72); */
}
.container-carousel .list-carousel{
    position: absolute;
    top: 0;
    left: 0px;    
    height: 100%;
    display: flex;
    width: max-content;
    /* border: 1px solid green; */
    transition: 1s;
}
.container-carousel .list-carousel .item-carousel{    
    position: relative;
    width: 800px;
    max-width: 100vw;
}
.container-carousel .list-carousel img{    
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container-carousel .item-carousel .descrizione-carousel{    
    position: absolute;
    max-width: 42rem;
    /* bottom: 45px;
    left: 80px; */
    top: 13px;
    right: 15px;
    z-index: 10;
    background-color: #003174;
    /* background-color: var(--color-rgba3D8BC4); */
    border-radius: .4rem;
    padding: .6rem;    
}
.container-carousel .item-carousel .descrizione-carousel h3{
    font-size: 1.3rem;
    color: var(--txt-grigio-333);
}
.container-carousel .item-carousel .descrizione-carousel span{
    font-size: .9rem;
    font-weight: 600;
    color: #FFF;
    /* color: var(--color-D1DFEE); */
    padding: 0.3rem 0;
    line-height: 1.5;
}
.container-carousel .item-carousel .descrizione-carousel p{
    font-size: 1.3rem;
    color: var(--color-ffffff);
    padding: .3rem 0;
    line-height: 1.5;
}
.container-carousel .buttons-carousel{
    position: absolute;
    top: 50%;
    left: 1%;
    width: 98%;
    display: flex;
    justify-content: space-between;
}
.container-carousel .buttons-carousel button{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #fff5;
    color: #fff;
    border:none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}
.container-carousel .buttons-carousel button:active{
    transform: translateY(-50%) scale(0.8);
}
.container-carousel .dots-carousel{
    position: absolute;
    bottom: 10px;
    color: #fff;
    left: 0;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    /* border: 1px solid rgb(237, 9, 138); */
}
.container-carousel .dots-carousel li{
    list-style: none;
    width: 13px;
    height: 13px;
    background-color: var(--color-3D8BC4);
    border: 1px solid var(--color-D1DFEE);
    margin: .2rem;
    border-radius: 20px;
    transition: 1s;
    cursor: pointer;
}
.container-carousel .dots-carousel li.active-carousel{
    width: 24px;
}
/* carousel fine */

/* galleria */
    .content-galleria {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        /* grid-auto-rows: 80px 250px; */
        grid-gap: 10px;
        grid-auto-flow: dense;
    }

    .content-galleria .item-image {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .content-galleria .item-image .image {
        width: var(--wdgal, 100%);
        height: var(--hggal, 100%);        
        overflow: hidden;
    }
    .content-galleria .item-image .imagesta {
        width: var(--wdgal, 100%);
        height: var(--hggal, 100%);        
        overflow: hidden;
    }

    .content-galleria .item-image .image img {
        width: 100%;
        height: 100%;
        /* width: var(--wdgal, 100%);
        height: var(--hggal, 100%);  */
        object-fit: cover;
        object-position: 50% 50%;
        cursor: pointer;
        transition: 0.5s ease-in-out;
    }
    .content-galleria .item-image .imagesta img {
        width: 100%;
        height: 100%;
        /* width: var(--wdgal, 100%);
        height: var(--hggal, 100%);  */
        /* object-fit: cover;
        object-position: 50% 50%;
        cursor: pointer;
        transition: 0.5s ease-in-out; */
    }

    .content-galleria .item-image:hover .image img {
        transform: scale(1.5);
    }
/* galleria fine */

/* Modal inizio */
.modal{
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(.16rem);    
    transition: 0.5s ease-in-out;
}
.modal.active{
    display: flex;
}
.modal-content{
    position: relative;
    max-width: var(--modalwidth, 85%);
    width: 100%;
    max-height: var(--modalheight, 85%);
    height: 100%;    
    border-radius: 1rem;
    box-shadow: .3rem .3rem .5rem rgba(0, 0, 0, 0.5);
    background: #ffff ;
    animation: modalIn 0.5s ease;
}
.modal-content .modal-header,
.modal-content .modal-body{
    position: relative;
    padding: 1rem .5rem .3rem .8rem;    
}
.modal-header .chiudi{
    position: absolute;
    right: 1.5rem;
    top: 12px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s ease;
    transition-property: opacity;
}
.modal-header .chiudi:hover{
    opacity: 1;
}
.modal-header .chiudi i{
    font-size: 2.5rem;
    font-weight: 500;
    border-radius: 50%;
    /* background: rgba(208, 235, 248 , 0.6); */
}
.modal-content .modal-header{
    border-bottom: 1px solid rgba(119, 117, 117, 0.3);
}
/* Modal fine */

/* animazioni */
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left:calc( var(--width) * -1);
    }
}
@keyframes modalIn{
    from{
        transform: scale(0.75);
        opacity: 0;
    }
    to{
        transform: scale(1);
        opacity: 1;
    }
}

/* media */
@media (max-width: 1260px) {   
    /* .container-carousel .slider-carousel{
        width: 720px;
       
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 720px;
    }  
    
    .container-carousel .list-carousel img{    
        
        height: 89%;        
        object-position: 50% 50%;
    } */
    
    .home .contents-info{    
    
        /* width: 81%;  06102026*/
        
        /* supporto */
        /* border:1px solid #fc0ee8; */
    }
   
    
}
@media (max-width: 1120px) {
    /* header .logo .logo-img img{
        max-height: 98px;
        height: 100%;
    }
    header .logo .txt-logo{
        font-size: 1.35rem;        
        line-height: 1.8rem;
    } */
    header .navlist a{
        font-size: var(--m-l-font);        
    }
    .content-title {    
        /* margin-top: 100px;  */
    }
    .home .contents-info{    
    
        /* width: 85%; 06102026 */
        
        /* supporto */
        /* border:1px solid #fc0ee8; */
    }
    
}
@media (max-width: 1040px) {
    header nav{
        gap: 3px;        
    }  
    /* header .logo .logo-img img{
        max-height: 90px;
        height: 100%;
    }
    header .logo .txt-logo{
        font-size: 1.2rem;        
        line-height: 1.5rem;
    } */
    header .navlist a{
        font-size: var(--m-m-font);        
    }
    
    .partner .slider .list{
        width: 90%;
    }
    .content-title {    
        margin-top: 100px; 
    }
    .home .contents-info{        
        /* width: 98%;  06102026 */
    }
}
@media (max-width: 900px) {

   
    .home .content{    
        /* width: 95%;  06102026 */
    }
    header .bx-menu{
        display: block;
    }
    header{
        background: #fff !important;
        opacity: 0.95;
        border-bottom: 1px solid grey;
    }

    header .navlist{
        position: absolute;
        top: 0; 
        right: 0;
        background-color: rgb(251, 250, 250);        
        padding: 7rem 1.5rem 1.5rem 1.5rem; 
        border-bottom-left-radius: 1rem;
        /* border-bottom-right-radius: 1rem; */
        display: none;
        width: 50vw;
        z-index: 1003;
    }
    header #toggler:checked ~ .navlist{
        display: block;
        height: 100vh;
    }
  
    header nav{
        display: flex;        
        flex-direction: column;
    }    
    header .navlist a{
        font-size: 1.1rem;
        width: 100%;
    }
    header nav .mn {
        margin-bottom: .2rem;     
    }
    header nav .mn .list-mn{
        left: -30%;     
    }
    header nav .mn .list-mn .secondo{
        top:99%;
        left: -30%;    
    }

     .home .contents-info{        
        /* width: 100%;  06102026 */
    }

    .container-carousel .slider-carousel{
        width: 720px;
       
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 720px;
    }      
    .container-carousel .list-carousel img{          
        height: 93%;        
        object-position: 50% 50%;
    }
}
@media (max-width:850px){
    .container-carousel .slider-carousel{
        width: 690px;
        height: 415px;
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 690px;
    }      
    .container-carousel .list-carousel img{            
        height: 415px; 
        object-position: 50% 50%;
    }
}
@media (max-width: 800px) {
    /* :root{
        --width:60px;
        --height:60px;
    } */
    .partner .slider .list{        
        min-width: calc( 60px * var(--quantity) );
    }
    .partner .slider .list .item{
        width: 60px;
        height: 60px;        
    }

    .container-carousel .slider-carousel{
        width: 590px;
       height: 350px;
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 590px;
    }      
    .container-carousel .list-carousel img{           
        height: 350px; 
        object-position: 50% 50%;
    }
    .container-carousel .item-carousel .descrizione-carousel{       
        top: 10px;       
        padding: 0rem; 
    }
    .container-carousel .item-carousel .descrizione-carousel h3{
        font-size: .9rem;
        color: var(--txt-grigio-333);
    }
    .container-carousel .item-carousel .descrizione-carousel span{
        font-size: .9rem;
        font-weight: 600;
        padding: 0 0.5rem;
    }
}
@media (max-width:700px){
    .container-carousel .slider-carousel{
        width: 560px;
       height: 350px;
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 560px;
    }  
    
    .container-carousel .list-carousel img{    
        
        height: 350px; 
        object-position: 50% 50%;
    }
    .container-carousel .item-carousel .descrizione-carousel{       
        top: 6px;       
        padding: 0rem;    
        /* top: 8px;       
        padding: .3rem;     */
    }

    .container-carousel .item-carousel .descrizione-carousel h3{
        font-size: .9rem;
        color: var(--txt-grigio-333);
    }
    .container-carousel .item-carousel .descrizione-carousel span{
        font-size: .7rem;
        font-weight: 600;
        color: #FFF;
        /* color: var(--color-D1DFEE); */
        padding: 0 0.5rem;
        /* line-height: 1.1; */
    }

}
@media (max-width:660px){
    .container-carousel .slider-carousel{
        width: 520px;
       height: 320px;
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 520px;
    }  
    
    .container-carousel .list-carousel img{    
        
        height: 320px; 
        object-position: 50% 50%;
    }
}

@media (max-width: 600px) {
    .partner .slider .list{        
        min-width: calc( 42px * var(--quantity) );
    }
    .partner .slider .list .item{
        width: 42px;
        height: 42px;        
    }
    .home .content{    
        /* width: 100%;  06102026 */
    }
}
@media (max-width: 500px) {    
    .footer .extra-contents{  
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
     header .navlist{        
        width: 62vw;
    }  
    .home .contents-info .titolo {  
        font-size: 1.4rem;
        font-weight: 600;  
    }    
    .content-title {
        top:65px;
        margin-top: 70px;
        padding: 0rem 2%;  
    }
    .content-title .contents h2{
        font-size: .9rem;
    }
    section .content {    
        padding: 0 2% 0 2%;   
    }
    header .logo .logo-img img{
        max-height: 60px;
        height: 100%;
        /* border: 1px solid #32e34f; */
    }
    header .logo .txt-logo{
        font-size: 1rem;
        font-weight: 600;
        color: #003882;
        text-shadow: 0 5px 10px #0004;
        letter-spacing: -0.07rem;
        /* text-align: right; */
        line-height: 1rem;
    }
    header{
        max-height: 70px;
        height: 100%;        
    }
    header .bx-menu{
        font-size: 2rem;        
        padding: .2rem .3rem;        
    }    
}
@media screen and (max-width:500px) {
        .content-galleria {
            grid-template-columns: repeat(1, 1fr);
        }

        .w-1,
        .w-2,
        .w-3,
        .w-4,
        .w-5,
        .w-6 {
            grid-column: span 1;
        }

    }
@media (max-width:460px){
    .container-carousel .slider-carousel{
        width: 380px;
       height: 230px;
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 380px;
    }  
    
    .container-carousel .list-carousel img{           
        height: 230px; 
        object-position: 50% 50%;
    }
     .home .contents-info{        
        width: 100%;
        padding-top: 6rem;
    }
    .container-carousel .item-carousel .descrizione-carousel{       
        top: 3px;       
        padding: 0rem; 
    }
    .container-carousel .item-carousel .descrizione-carousel h3{
        font-size: .9rem;
        color: var(--txt-grigio-333);
    }
    .container-carousel .item-carousel .descrizione-carousel span{
        font-size: .7rem;
        font-weight: 600;
        padding: 0 0.5rem;
    }

}
@media (max-width:400px){
    .container-carousel .slider-carousel{
        width: 335px;
       height: 210px;
        background: rgba(255, 255, 255, .8);
    }
    .container-carousel .list-carousel .item-carousel{           
        width: 335px;
    }  
    
    .container-carousel .list-carousel img{    
        
        height: 210px; 
        object-position: 50% 50%;
    }
     .home .contents-info{        
        width: 100%;
        padding-top: 6rem;
    }
}
@media (min-width: 1500px) {       
    section .content {    
        padding: 0 10% 0 10%;   
    }
    header{    
        padding: 13px 10% 7px 10%;
    }
    .content-title {        
        padding: 0.4rem 10%;
    }
}
@media (min-width: 1600px) {       
    section .content {    
        padding: 0 12% 0 12%;   
    }
    header{    
        padding: 13px 12% 7px 12%;
    }
    .content-title {        
        padding: 0.4rem 12%;
    }
}
@media (max-width: 420px) {
    /* :root{
        --width:60px;
        --height:60px;
    } */
    .partner {        
        display: none;
    }
}