

img{
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

*{
  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;
}

.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;
}


.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: 8px !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;
}

.no-scroll{
  overflow: hidden;
}



@media (max-width: 768px) {

  .mobile-nav.mobile-nav.is-active{
    user-select: none;
    -webkit-user-select: none;
}

.mobile-nav a{
  display: block;
  font-size: 15px; 
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;

}


.line{margin-top: 15px;}

  .mobile-nav.is-active a {
    display: block;
  }

  .mobile-nav {
    width: 100%;
  }

  .mobile-nav.is-active #homeLogo {
    position: sticky;
  }
  .background-page {
    width: 300px !important;
    height: 350px !important;
  }
  .background-page h1 {
    font-size: 22px !important;
  }
  hr {
    width: 15% !important;
  }
  input[type=checkbox] + label {
    left: 115px;
  }
  #login input {
    width: 220px;
    height: 28px;
  }
  #login button {
    width: 130px;
    height: 28px;
  }

  h1 {
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .container {
    margin-top: 10px;
  }
  .background-page {
    padding: 15px;
  }
  input[type=checkbox] + label {
    margin-right: 20px;
  }

}

@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;
}


}





.container{
  display: flex;
  justify-content: center;
  align-items: top;
  height: fit-content;
  background: #ddd;
  margin-top: 20px;
}

.background-page{
  background: white;
  padding: 20px;
  box-shadow: 0 4px 8px black;
  border-radius: 3px 3px 0px 0px;
  max-width: 800px;
  width: fit-content;
  transform: translateY(0);
  height: 350px;
}

.background-page h1{
  font-size: 35px;
}


#login{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

hr{
  border-style: solid;
  color: lightgrey;
  width: 20%;
}

#login input{
  width: 250px;
  height: 30px;
  font-size: 11px;
  margin: 5px;
  padding: 5px;
  outline: none;
  border: 1px solid black;
  border-radius: 3px;
  user-select: all;
  -webkit-user-select: all;
}

#login input::placeholder{
  color: black;
  font-size: 11px;
  opacity: 65%;
}

input[type=checkbox] {
  display:none;

}

input[type=checkbox] + label {
  display: inline-block;	
  position: relative;
  right: -105px;
  top: -28px;
  cursor: pointer;
}

input[type=text] {
  background-color: white;
  float: left;
  width: 400px;
  box-sizing: border-box;
  border: 2px solid black;
  border-radius: 8px;
  background-repeat: no-repeat;
  padding: 15px;
  outline: none;
}

#login button{
  margin-top: 10px;
  width: 150px;
  height: 30px;
  border-radius: 3px;
  background: #3478f5;
  outline: none;
  cursor: pointer;
  border: none;
  color: white;
  pointer-events: all;
}


.p1{
  text-align:center;
  font-weight: 625;
  color: black;
  margin: 10px;
  font-size: 30px;
}

.g-recaptcha{
  margin-top: 10px;
  transform: scale(0.8);
  transform-origin: 0 1;
}

.error {
  opacity: 0.85;
  justify-content: center;
  font-size: 14px;
  display: flex;
  align-items: center;
  background: red;
  padding: 10px;
  border-radius: 5px;
  color: white;
  height: 10px;
  width: 250px;
  margin-bottom: 2%;
}


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;
} 