body{
    margin:0px;
    font-family: sans-serif;
    --header-height: 25em;
}

body::-webkit-scrollbar {
    display: none;
  }
  
body {
-ms-overflow-style: none; 
scrollbar-width: none;  
}

a {
    text-decoration: none !important;
    color:inherit !important;
}

@font-face {
    font-family: 'Poppins';
    src: url(fonts/Poppins/Poppins-Light.ttf);
}
@font-face{
    font-family: 'Poppins-light';
    src: url(fonts/Poppins/Poppins-ExtraLight.ttf);
}
@font-face{
    font-family: 'Caveat-medium';
    src: url(fonts/Caveat/static/Caveat-Medium.ttf);
}
.head{
    top:0px;
    padding: 5px 15px;
    height: fit-content;
    display:flex;
    background-color: #001b3d;
    color:white;
    opacity:95%;
    font-family: sans-serif;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative !important; 
    z-index: 1000 !important;
}

.header-title{
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    letter-spacing: 0.03em;
    display: unset;
    padding: 20px 10px 0px 10px;
    margin: unset;
    line-height: 40px;
    font-family: 'Poppins';
}

.logo{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    width: 25em;
}

.navbar{
    right: 1vw;
    height: 100%;
    position: relative !important; 
    z-index: 1000 !important;
}

.menu {
    display:flex;
    flex-direction:row;
    list-style-type: none;
    width: fit-content;
    margin:0px;
    margin-top: 0.125em !important;
    margin-bottom: 0.25em !important;
    position: relative !important; 
    z-index: 1000 !important;
    justify-content: center;
    align-items: center;
}

.menu-item{
    margin: 0px 5px;
    padding:0px 10px;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 39px;
    font-family: sans-serif;
    position: relative !important; 
    z-index: 1000 !important;
    width:fit-content;
}
.menu-item:hover{
    background-color: #76c0db;
    text-decoration: underline;
    cursor: pointer;
    color:black;
}

.donazioniBtn{
    background: #0192B7;
    border: 2px solid #FFFFFF;
    border-radius: 14px;
    font-family: 'Acme' sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 2em;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}
.donazioniBtn:hover{
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(2, 1, 12, 0.25);
}

.main-image{  
    width:100%;
    height: var(--header-height);
    object-fit: fill;
    background-size:cover; /*oppure contain?*/
    background-image: url("images/alternativa-arca.png");
}

.blue-section{
    width: 70%;
    height: 100px;
    background-color: rgb(0, 58, 102);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin:30px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    left:10%;
}

.welcome-title{
    font-weight: 400;
    line-height: 10vh;
    font-size: 34pt;
    margin-bottom: 1rem;    
}

.presentazione{
    width: 80%;
}

.main-content{
    margin-top: 40px;
    text-align: center;
    place-items: center;
    margin-left: auto;
    margin-right: auto;
}


.news-title{
    margin-top:10px;
    margin-bottom: 0px;
    padding:0px 10px;
    font-weight: 300;
    font-family: 'Poppins-light';
}

.news-title-container hr{
    width: 300px;
    margin-top:0;
    margin-bottom:15px;
    border: 0.1em solid #c4a07b;
    border-radius: 10px; 
}

.articolo{
    background: #52A3CB;
    border-radius: 69px;   
    height: fit-content;
    width: fit-content;
    align-items: center;
    display: flex;
    flex-direction: column; 
    padding:20px;
    margin: auto;
}

.articolo img{
    width:450px;
    height: 260px;
    object-fit: cover;
    border-radius: 40px 40px 0px 0px;
}

.title{
    background: #CFEAF2;
    border-radius: 0px 0px 40px 40px; 
    width:450px;
    min-height: 150px;
    align-items: left;
    display: flex; 
    flex-direction: column; 
    text-align:left;
}

.title span{
    margin-left: 20px;
}

.title > *:first-child{
    width:90%;
    font-size:18pt;
    margin-top:15px;
    margin-left: 20px;
}
.description{
    font-size:13pt;
    font-weight: 300;
    height: 100px;
}

.link{
    color:#001b3d;
    text-align: right;
    background-color: #ECF7FE;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 20px; 
    align-self: center;
    position: relative;
    top: -1em;   
}


.footer{
    background-image: url("images/wood.jpg");
    background-position: center;
    background-size: cover;
    color:white;
    width: 100%;
    margin-top: 80px;
    justify-content: center;
    position: relative;
    bottom:0px;
    padding: 2em;
}


.contacts:first-child{
    margin:10px 0px;
}

.contacts p{
    margin:5px 0px;
}

.vl {
border-left: 2px solid white;
height: 200px;
margin: 0px 20px;
}

  
.dropdown-content a:hover{
background-color: #52A3CB;
}

.home-carousel {
    z-index: 0;
    padding: 0.125em 0px;
}

.cover {
object-fit: cover;
height: 37.5em;
}

.bg-dark{
background-color: rgba(0, 0, 0, 0.45) !important;
padding:10px;
}

.column-border{
border-right: 0.5em solid black;
}

.btn {
    background-color: transparent !important;
    color: inherit !important;
}

.priority, .show {z-index: 9999999999 !important;}

.content {
    width: 90%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.article-title{
    text-align: center;
    margin: 1em 0px;
}

.info p{
    margin-left: 3em;
}

/*POSIZIONI*/
.center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.left{
    display: flex;
    align-items: left;
    justify-content: left;
}

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

.logoimg{
    height: auto;
    width: 300px;
    float: left;
    margin-left:20px;
    transform: translateY(-20%);
}

.horizontal{
    display: flex;
    flex-direction: row;
}

.center{
    align-items: center;
    justify-content: center;
}

.vertical{
    display: flex;
    flex-direction: column;
}


.banner {
    width: 99vw;
    height: 200px;
    object-fit: cover;
}

.little-txt{
    color: #c0bebe;
    font-size: 10pt;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
    width: 80%;
}

.subtitle {
    font-weight: bold;
    text-transform: uppercase;
    margin-top:10px;
    margin-bottom: 5px;
}

.infos {
    padding: 3em;
}

.descrizione {
    font-size: 16pt;
    margin-bottom: 10px;
    width: 50%;
}

.img-secondary{
    width: 350px;
    height: auto;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
    margin-left: -40px;
    margin-right: 45px;
}

.details{
    margin-top:60px;
    margin-right: auto;
    margin-left: auto;  
}

.bg-blue{
    padding: 40px 20px;
    background-color: #00509d;
    color: white;
}

.bg-grey{
    padding: 40px 165px;
    background-color: rgba(213, 213, 213, 0.2);
}

.bg-bluey{
    padding: 40px 20px;
    background-color: #003f88;
    color: white;
}

.combo{
    width: 40%;
    padding-left: 3em;
}

hr {
    width: 75%;
    border-top: 1px solid black;
}

.toggle:hover{
    background-color: #4181a1 !important;
    color:inherit !important;
}

.service-sec{
    padding:20px;
    margin:10px;
    background-color: #52A3CB;
    border-radius: 20px;
}

.service-title{
    padding:10px;
    background-color: #CFEAF2;
    border: 1px solid #52A3CB;
    border-radius: 10px;
    margin:2px 5px;
    font-weight: bold;
    
}

.wide{
    width:100%;
}

.img-third{
    width: 200px;
    height: auto;
    
}

.donate-ban{
    column-gap: 2em;
    padding: 1em;
    width:60%;
    margin-left: auto;
    margin-right: auto;
    margin-top:5em;
    border-radius:25px;
}

.ban-col{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin:1em;
    padding: 1em 1.5em;
}

.principal {
    font-size: 18pt;
    font-weight: bold;
    position:relative;
    margin-left: 1.5em;
    margin-bottom: 0em;
}

.space {
    width:50%;
}

.little-logo-img{
    width:auto;
    height:100px;
    border-radius: 5px;
}

.service-title.active{
    padding:0.75em;
    background-color: #02346e;
    color:white !important;
    border: 1px solid #52A3CB;
    border-radius: 10px;
    margin:2px 5px;
    font-weight: bold;
}

.fix-link{
    border: 1px solid #ECF7FE;
    top:0px;
    margin-top:1rem;
}

.ibanClass{
    font-size:16pt;
    cursor:pointer;
    display: block;
}

.ibanClass:hover{
    color:yellow;
}
.merch-container{
    background-color: #f2f5f7;
    border-radius: 8px;
    padding:2rem;
}

.merch-item{
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
    z-index: 1;
    padding:0.5em;
    margin:2em;
    max-width: 700px;
}

.merch-carousel {
    max-height: 25rem;
    border-radius: 10px;
    margin-bottom: 1em;
    max-width: 25rem;
}

.carousel-dark{
    color:black !important;
}


.text-title {
    font-size: 1.5em;
    font-weight: bold;
    width: fit-content;
}
.text-body {
    color: rgb(134, 134, 134);
    word-break: normal;
    max-width:80%;
}

.merch-prize{
    text-align: left;
    width: fit-content;
}

.merch-info{
    text-align: left;
    color:black;
    padding: 2em;
    border-radius: 25px;
    background-color: #62b4d1b1;
}

.secondary{
    color: #555555;
    font-weight: lighter;
    margin-bottom:0.5em;
    font-size: 16pt;
}

.underline:hover{
    text-decoration: underline !important;
}

.e-grid .e-rowcell.e-templatecell { 
    overflow: visible !important; 
} 
.e-grid .e-gridcontent { 
    overflow: visible !important; 
} 
.e-grid .e-gridcontent .e-content { 
    overflow: visible !important; 
}

.carousel-item-merch{
    z-index: 4;
    width:20rem;
    height: auto;
}

.dropdown {
    transform-style: preserve-3d;
    transform: translate3d(0,0,10px) !important;
 }
 
 .dropdown-menu{
     height: auto !important;
     transform: translate3d(0,0,10px) !important;
 }

 .head .navbar ul.dropdown-menu,
 .head .navbar ul.dropdown-menu {
     z-index: 10000;
 }

 .w-75 {
    width: 75%;
 }

 .info{
    text-align: left;
 }

 .rounded{
    border-radius: 25%;
 }

 .big-img {
    width:95%;
    height: auto;
    border-radius: 20px;

 }

 .article-grey{
    padding: 2rem 2rem !important;
    border-radius: 20px;
    background-color: rgba(213, 213, 213, 0.2);

 }

 .subsection{
    background-color: #f2f2f2;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 1rem;
    max-width: 45%;
    justify-content: center;
    color:black !important;
 }

 .card {
    max-width: 320px;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, .05);
  }

.service-section {
    width:90%;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, .05);
    text-align: left;
    margin-left:auto;
    margin-right: auto;
}

.riga{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.25rem;
}

.riga img{
    width: 400px;
    height: 275px;
    object-fit: cover;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);
}


#about-us-second-p {
    transform: translateY(-28%);
}


#box-sale{
    padding: 1.5rem 2rem;
    gap:2rem;
    width:60%;
}

.selected {
    text-decoration: underline;
  }

  .subsubtitle{
    font-weight: 700;
  }

  #insiemeATe{
    margin-top: 2.75rem;
    height: fit-content;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  #insiemeATe > article {
    padding: 2rem;
    margin: 0.5rem;
  }

  .insiemeATeBtn{
    background: #003f88;
    border: none;
    border-radius: 13px;
    font-family: 'Acme' sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 2em;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    padding: 0.3rem 0.7rem;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.25);

  }

  .scan{
    color: #065387;
    text-transform: lowercase;
    font-size: 10pt;
    font-weight: 600;
    text-align: center;
    margin: -0.5rem 3rem 0.5rem 3rem;
  }

  .volantino{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .volantino-img{
    width: 95%;
    height: auto;
    padding:2rem 0rem;
  }

  /*COLORI*/
  .blue-subtitle{
    color: #065387;
  }

/******SPECIALI**********/
#centroEstivoInfo {
    background-color: #dee5f1;
    padding: 2rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    margin-top: 2rem;
    
}
#centroEstivoInfo  h2{
    font-family: 'Caveat-medium';
    color: #245FA7;
}
#centroEstivoInfo > section{
    margin-bottom: 1.5rem;
}

#centroTitle{
    text-shadow: -5px 0 white, 0 5px white, 5px 0 white, 0 -5px white;
    font-family: 'Caveat-medium';
    color: #245FA7;
    font-size: 65pt;
}
#centroSubTitle{
   -webkit-text-stroke: 2px white;
    color: #245FA7;
    text-transform: uppercase;
}

/*Cinque X Mille Banner*/
#5x1000 {
  position: fixed;
  bottom: 0.5rem;
  right: 2rem; /* o come preferisci */
  z-index: 9999;
}

#5x1000.stopped {
  position: absolute;
}

#xmille {
    position: fixed; 
    border-radius: 2px;
    color: #184c8b;
    font-size: 16pt;
    font-weight: 200;
    text-align: center;
    padding: 1rem 1rem 0.2rem 1rem;
    width: fit-content;
    height: fit-content;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    bottom: 0.5rem;
    font-family: 'Arial', sans-serif;
    background: url("./images/banner-half-cut-opaque.png");
    background-size: cover;
    box-shadow:  2px 2px 15px #020202;
}


#headMille{
    font-size: 15pt;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding: 0rem 1rem;
    margin:0 auto;
    
}

#headMille b{
    color: #003a81;
    font-weight: 900;
    letter-spacing: 0.01rem;
    font-family: 'Arial Black', sans-serif;

}

#subTitleMille{
    font-size: 14pt;
    font-weight: 900;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding:0.2rem 1rem 0rem 1rem;
    margin:0 auto;
}

#subSubTitleMille{
    font-size: 12pt;
    font-weight: 900;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding:0rem 1rem 0.2rem 1rem;
    margin:0 auto;
}

#codiceTxt{
    font-size: 10pt;
    font-weight: 900;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding:0.2rem 1rem;
    margin:0 auto;
}

#codice{
    font-size: 18pt;
    font-weight: 900;
    text-align: center;
    width: fit-content;
    height: fit-content;
    padding:0.2rem 1rem;
    margin:0 auto;
    color: black;
    text-decoration: underline;
}


.xMilleContainer{
    width: 100vw;
}

.tickets{
    font-weight: bold;
    font-size: 1.25rem;
    text-decoration: underline !important;
    color:#043775;
    text-align: right;
    width: fit-content;
    padding: 10px 15px;
    border-radius: 20px; 
    align-self: center;
    position: relative;
}
/* Stile per il divisore a forma di pacco regalo */
.divisore-pacco-regalo {
    position: relative;
    width: 100%;
    height: 80px;
    background-color: #f54242; /* Colore del pacco regalo */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  /* Nastro verticale */
  .divisore-pacco-regalo::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 100%;
    background-color: #ffffff; /* Colore del nastro */
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Fiocco */
  .fiocco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: #ffffff; /* Colore del fiocco */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  }
  
  .fiocco::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #f54242; /* Colore centrale del fiocco */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    clip-path: circle(50%);
  }
  

.medium-img{
    width: 50%;
    height: auto;
}
.big-articolo{
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 65%;
    
}

.big-articolo img{
    width:450px;
    height: 260px;
    object-fit: cover;
    border-radius: 40px 0px 0px 40px;
}

.big-articolo > .title{
    background: #CFEAF2;
    border-radius: 0px 40px 40px 0px; 
    width:60%;
    height: 260px;
    align-items: left;
    display: flex; 
    flex-direction: column; 
    text-align:left;
}

.big-articolo .description {
    font-size:13pt;
    font-weight: 300;
    height: 100px;
    margin: 0.25rem;
    width: fit-content;
    height: fit-content;
    padding-left: 1rem;
}
.enhance{
    font-weight: 800;
}

.text-inline{
    margin: 0;
    padding: 0;
    display: inline-block;
}



.sponsor-banner{
    align-self: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px !important;
    width: 90% !important;
    height: auto;
    object-fit: contain !important;
}

/*video di presentazione*/
.video-prop{
    max-width: 75%;
    max-height: auto;
    align-self: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
}


/*Index articles other than main blocks*/
.articles{
    overflow: visible;
    width: 98vw;
    margin-right: auto;
    margin-left: auto;
}

/*media query*/
@media screen and (max-width: 981px) {
    #about-us-second-p {
        transform: translateY(0);
    }

    .donate-ban{
        width: 90%;
    }

    .space {
        width:45%;
    }

    .img-secondary{
        margin: auto 2rem;
    }

    .menu-item {
        font-size: 0.825rem;
        line-height: 1.25rem;
    }

    .dropdown {
        font-size: 0.825rem;
        line-height: 1.25rem;
        display: flex;
    }

    .dropdown .btn {
        font-size: 0.825rem;
        line-height: 1.25rem;
        padding: 0.375rem 0.5rem;
    }

    .grid{
        width:100%;
    }

    .articolo img{
        width: 350px;
        height: 202px;
    }

    .title{
        width: 350px;
    }

    .title > *:first-child{
        font-size: 1rem;
    }

    .description{
        font-size: 0.9rem;
    }

    .donate-ban > .horizontal{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #iban{
        font-size: 1.2rem;
    }

    .ban-col .little-logo-img{
        width:100px;
        height: auto;
    }

    .ban-col {
        width:90%;
    }

    #mainlogo{
        width:30%;
        height: 20%;
    }

    .riga{
        display: flex;
        flex-direction: column;
    }

    #box-sale{
        width:70%;
    }

    .nav-tabs{
        display: flex;
        flex-direction: column;
        gap:2rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .combo{
        width:60%;
    }

    #insiemeATe > article{
        flex-direction: column;
        column-gap: 2rem;
    }
    #insiemeATe > article > section{
        margin: 1rem;
    }

    #centroEstivoInfo{
        display: flex !important;
        flex-direction: column;
    }
    #centroTitle{
        font-size: 32pt;
        text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
    }

    #merchArt{
        flex-direction: column;
    }
  }
  
 