@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');

*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

body{
    background: #ddd;
}
  
html, body {
    height: 100%;
    overflow-x: hidden;
}


.def{
    z-index: 995;
    white-space: pre-line;
    position:absolute;
    font-size: 12px;
    margin-left: 5px;
    left: 180px;
}



#homeLink{
    position: sticky;
    width: 132px;
    height: 60px;
    margin-right: auto;
    -webkit-user-drag: none; 
    z-index: 102;
}
  .ExitAdmin{
    font-weight: 575;
    display: none;
    color: white !important;
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: red;
    width: 90px;
    height: 35px;
    cursor: pointer;
    justify-content: end;
    margin-left: 10px;
}


#Edit_Btn {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    box-sizing: border-box;
    top: 89% !important;
    right: 4%;
    color: white;
    border: transparent;
    border-radius: 10px;
    background-color:  #3478f5;
    text-decoration:none;
    font-size: 25px;
    width: 50px;
    height: 50px;
    z-index: 25;
    cursor: pointer;
  }
  

.navbar{
    position: sticky;
    z-index: 999;
    padding: 0 10px;
    width: 100%;
    background: #3478f5;
    box-shadow: 0 3px 15px grey;
    user-select: none;
    -webkit-user-select: none;
    justify-content: end;
    align-items: center;
    margin-left: auto;
    display: flex;
}

.navbar a{
    color: white;
    text-decoration: none;
    font-size: 13px !important;
    margin-inline-end: 5px;
    transition: all 0.2s ease;
    pointer-events: all;
}

.line2{
    border-left: 2px solid white;
    z-index: 995;
    height: 30px;
    position: absolute;
    left: 160px;
}


.menu{
    background: transparent;
    font-size: 30px;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    pointer-events: all;
}

.menu i{
    color: white;
    position: relative;
    top: 0;
    margin-right: 25px;
}


.login_link, .other_link{
    display:block;
}


.mobile-nav{
    position: absolute;
    top: 28px;
    right: 100%;
    width: 300px;
    height: 100%;
    overflow-x: hidden !important;
    min-height: 149vh;
    display: block;
    z-index: 100;
    background: #3478f5;
    padding-top: 120px;

}

.navbar .close-btn{
    position: absolute;
    top: 0 !important;
    right: 32px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 101;
    background: transparent;
}

.mobile-nav i{
    margin-inline: 2px;
}

.line{
    width: 99,5%;
    position: relative;
    bottom: 35px;
    border: 1px solid white;
}


.mobile-nav.is-active{
    right: 0;
    user-select: none !important;
    -webkit-user-select: none !important;
    margin: 0;
    height: 100%;
    overflow: hidden !important;

}

.mobile-nav a{
    display: block;
    font-size: 15px !important;
    white-space: nowrap;
    justify-content: start;
    padding-left: 5px;
    margin: 15px;
    margin-left: 10px;
    width: 260px;
    pointer-events: all;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-nav a,h3{
    position: relative;
    bottom: 30px;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-nav a:hover{
    background: #4886f6;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.mobile-nav h3{
    font-size: 20px;
    margin-left: 10px;
    color: white;
}

.CONILogo{
    position: relative;
    display: flex !important;
    align-items: right !important;
    justify-content: right !important;
    width: 110px !important;
    height: 110px !important;
    margin-right: 55px !important;
}


.Cip{
    align-items: right;
    width: 110px !important;
    height: 110px !important;
    margin-right: 55px !important;
}

.upper-ass{
    display: flex !important;
    justify-content: flex-end !important;
}


.navbar img{
    position: sticky;
    width: 132px;
    height: 60px;
    margin-right: auto;
    -webkit-user-drag: none;
    z-index: 102;
}


.title{
    text-align: center;
    margin-bottom: 50px !important;
    font-size: 30px;
    margin-bottom: 10px;
}

.no-scroll{
    overflow: hidden;
}

#homeLogo {
    position: sticky;
    width: 132px;
    height: 60px;
    right: 95%;
    -webkit-user-drag: none;
    z-index: 102;
   }

 .date{ 
    pointer-events: none;
    position: absolute;
    top: 15px;
    margin-top: 15px;
    font-size: 18px;
    right: 25px;
    width: 116px;
    border: none;
    background: transparent;
   
}

   .NPost {
    margin-top:15px;
    position: absolute;
    pointer-events: none;
    white-space: nowrap;
    width: 80px;
    height: 70px;
    font-size: 18px;
    top: 15px;
    color: lightgrey;
    left: 50px;
    z-index: 200;
   }




@media (max-width: 768px) {

    .mobile-nav.mobile-nav.is-active{
        user-select: none;
        -webkit-user-select: none;
    }

    .mobile-nav a{
        display: block;
        overflow: hidden;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .line{margin-top: 15px;}

    .date{ 
        position: absolute;
        top: 15px;
        right: -15px;
        width: 116px;
        font-size: 13px !important;
        border: none;
        background: transparent;
       
    }

    .NPost {
        position: absolute;
        width: 80px;
        height: 70px;
        top: 15px;
        color: lightgrey;
        left: 30px;
        font-size: 13px !important;
        z-index: 200;
       }
       

   .mobile-nav{
    width: 100%;
   }

   .mobile-nav.is-active .homeLogo{
    position: sticky !important;
   }
   .background-page{
    width: 80% !important;
    font-size: 13px;
   }
   .background-page h1{
    font-size: 20px !important;
   }
   .background-page{
    height: fit-content !important;
    flex-direction: column;
   }

}

@media(max-width: 717px){
    .line2{
        border-left: 0;
        z-index: 995;
        border-top: 1px solid white;
        width:  230px;
        position: absolute;
        top: 70px;
        left: 15px;
    }
    
    
    .def {
        top: 75px;
        left: 0;
        white-space: normal; 
        display: flex; 
        flex-direction: column; 
        max-width: 230px;  
        height: 2.1em; 
        line-height: 1.2em; 
        padding-left: 10px; 
      }
      body .def {
        font-size: 9px !important;
      }
}


@media (max-width: 660px){


    .bottom-ass {
        text-align: left; /* Aligns inline content (like images) to the left */
        display: inline-block !important; /* Ensures images are treated as inline-block elements */
        padding-bottom: 125px !important;
        margin-left: 15px !important;

    }
    
    .bottom-ass img {
        width: 150px !important;
        height: 150px !important;
    }
}


@media (max-width: 480px) {

    .CONILogo{display:none !important;}

    .Cip{display:none !important;}

}

@media (max-width: 910px){


    .CONILogo{
        margin-right: 10px !important;
        width: 75px !important;
        height: 75px !important;

    }
    
    .navbar{height: 110px;}
    
    .Cip{
        margin-right: 10px !important;
        width: 75px !important;
        height: 75px !important;
    }
    
    #homeLogo {
        position: sticky;
        width: 132px;
        height: 60px;
        margin-right: auto;
        -webkit-user-drag: none; 
        z-index: 102;
   }


}


@media (max-width:1250px) and (min-width: 100px) {


    .content{
        padding-left: 30px !important;
        padding-right: 30px !important;
       }

    .background-page img{
        width: 80% !important;
        height: 20% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        margin-top: 5px !important;
       }


}

@media (min-width: 770px) {


    .navbar img{
        position: sticky;
        width: 132px;
        height: 60px;
        margin-right: auto;
        -webkit-user-drag: none;
        z-index: 102;
    }
}

.container{
    display: flex;
    justify-content: center;
    align-items: top;
    height: fit-content;
    background: #ddd;
    margin-top: 100px;
    margin-bottom: -120px;
}


.background-page{
    background: white;
    position: relative; 
    padding: 20px;
    box-shadow: 0 4px 8px black;
    border-radius: 3px;
    max-width: 1200px;
    width: 100%;
    height: fit-content;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.background-page h1{
    text-align: center;
    font-size: 25px;
}

.background-page p{
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.background-page span{
    font-size: 25px;
    font-weight: bold;
    color: #3478f5;
}


.divisor{
    display: block;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 50px auto;
    border-radius: 2px;
    border: 1px solid lightgrey;
}

.background-page img{
    display: flex;
    width: auto;
    height: auto;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.background-page #stampa{
    width: 600px;
    margin-left: 100px;
    height: auto;
}

.content{
    display: flex;
    user-select: auto;
    text-align: left;
    margin-top: 55px;
    margin-bottom: 55px;
    white-space: pre-wrap;
    padding-left: 80px;
    padding-right: 80px;
    
}

.content #data{
    font-size: 15px;
    color: black;
    border: none;
    cursor: pointer;
    pointer-events: none;
    background: transparent;
}

#data:focus{
    border: none;
    outline: none;
}

main{
    min-height: 100%;
    margin-bottom: -100px;
}



footer{
    height: fit-content;
    //position: relative;
    background: #3c3d41;
    margin-top: 500px;
    clear:both;
    display: block;
    width: 100% !important;
}


.AnsmesLogo{
    width: 250px !important;
    display: block;
    margin-top: -135px !important;
    justify-content: left;
}


.bottom-ass {
    display: flex;
    justify-content: flex-end;
}

.bottom-ass img {
    display: inline-block !important;
    padding-top: 25px !important;
    width: 150px !important;
    height: 150px !important;
}

#follow{
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: white;
    display: inline-block;
    margin-left: 10px;
    margin-right: -45px;
}

.socials #icon-space{
    color: white;
    position: relative;
    bottom: 2px;
    font-weight: lighter;
}

.socials{
    display: inline-block;
    margin-top: 5px;
    margin-left: 50px;
}

.socials a{
    pointer-events: all;
    
}

#social-icon{
    color: white;
    font-size: 18px;
}

#social-icon:active{
    transform: translate(1.5);
}

.all-news{
    margin-bottom: 5px;
}

.all-news a{
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    text-decoration: none;
    pointer-events: all;
}

.all-news i{
    position: relative;
    right: 5px;
    top: 1.5px;
}

.titoli-associazione h1, h4{
    text-align: start;
    margin-left: 10px;
    color: white;
    display: flex;
    flex-direction: column;
}

.titoli-associazione h1{
    margin-top: 10px;
    margin-bottom: 10px !important;
    font-size: 25px;
}

.titoli-associazione h4{
    font-size: 18px;
    font-weight: 600;
}

.info{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-top: 5px;
}

.info a{
    color: white;
    text-decoration: none;
    cursor: pointer;
    pointer-events: all;
    margin-bottom: 15px;
}

.info a:hover{
    text-decoration: 1px underline;
}

.info span{
    font-weight: bolder;
    text-decoration: none;
}

.privacy{
    margin-left: 10px;
    margin-top: 10px;
}

.privacy a{
    color: white;
    margin-inline: 5px;
    cursor: pointer;
    pointer-events: all;
} 