
*
{
 margin:0px;
 padding:0px;
}

html { 
position: relative;
min-height: 100%;
}


body { 
background: #ffffff;
font-family: "avenir-next-lt-pro", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 18px;
text-align: left;
color:#000000;
}

select {
/* for Firefox */
-moz-appearance: none;
/* for Chrome */
-webkit-appearance: none;
}

/* For IE10 */
select::-ms-expand {
display: none;
}

input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}

input:focus{
outline: none;
}

/* Sfondo scuro dietro il popup */
  .popup-overlay {
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
  }

  /* Contenitore del popup */
  .popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    max-width: 90%;
    max-height: 90%;
  }
  
  
@media only screen and (min-width: 30px) and (max-width: 969px) {
  /* Contenitore del popup */
  .popup {
    position: fixed;
    top: 20%; left: 10%;
    transform: translate(-5%, -20%);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    max-width: 100%;
    max-height: 100%;
  }
}

  .popup img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .popup button {
    display: block;
    margin: 10px auto 0;
    padding: 6px 12px;
    border: none;
    background: #000000;
    color: white;
    border-radius: 0px;
    cursor: pointer;
    border: 1px solid #000000;
    
  }
  .popup button:hover {
    background: #ffffff;
    color:#000000;
  }

img.centro
{
display:block;
margin:auto;
}

img.ese {
  display: block;
  margin: auto;
  max-width: 100%;    /* non superare mai la larghezza contenitore */
  max-height: 80vh;   /* non superare mai il 90% dell'altezza finestra */
  height: auto;       /* mantiene le proporzioni */
  width: auto;        /* evita deformazioni */
}


.corpo_err {
font-size: 20px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:20px;
line-height:1;
text-decoration: underline;
padding-top:60px;
}


.err {
font-size: 20px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:20px;
line-height:1;
text-decoration: underline;
}


.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0px none;
}


#capatcha {
margin:auto;
display: block
}

.g-recaptcha{
margin: 15px auto !important;
width: auto !important;
height: auto !important;
text-align: -webkit-center;
text-align: -moz-center;
text-align: -o-center;
text-align: -ms-center;
}

label {
display: block;
margin-bottom: 4px;
font-weight: 400;
}

select {
width: 100%; /* o una larghezza fissa se preferisci */
max-width: 360px;
padding: 5px;
}




A:LINK, A:VISITED, A:ACTIVE {
color: #000000;
text-decoration: none;
}

A:HOVER {
color: #000000;
text-decoration : none;
}

A.fot:LINK, A.fot:VISITED, A.fot:ACTIVE{
color: #000000;
text-decoration: none;
}

A.fot:HOVER{
color: #000000;
text-decoration: none;
}

A.men:LINK, A.men:VISITED, A.men:ACTIVE{
color: #000000;
text-decoration: none;
}


A.men:HOVER {
color: #000000;
text-decoration : none;
font-weight: 700;
}

a.men::before {
display: block;
content: attr(title);
color: #ffed00;
text-decoration : none;
font-weight: 700;
height: 0;
overflow: hidden;
visibility: hidden;
}

A.privlink:LINK, A.privlink:VISITED, A.privlink:ACTIVE, A.privlink:HOVER{
color: #000000;
text-decoration: underline;
}






A.anc { color: inherit; }


img {border:0px none;}

td img {display: block;}