
*
{
 margin:0px;
 padding:0px;
}

html { 
position: relative;
min-height: 100%;
}


body { 
background: #f2f3f4;
font-family: "gotham", sans-serif;
font-optical-sizing: auto;
font-size: 18px;
font-weight: 400;
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;
}

img.centro
{
display:block;
margin:auto;
}


/* LINK ALLEGATO */

.link-allegato {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.link-allegato:hover {
    opacity: 0.7;
}


/* SFONDO POPUP */

.popup-allegato {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}


/* CONTENITORE */

.popup-allegato-box {
    position: relative;
    width: 95%;
    max-width: 1100px;
    height: 90vh;
    background: #ffffff;
    border-radius: 10px;
    padding: 45px 15px 65px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


/* PULSANTE CHIUSURA */

.popup-allegato-close {
    position: absolute;
    top: 5px;
    right: 15px;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 38px;
    cursor: pointer;
    z-index: 2;
}


/* CONTENUTO */

#popupAllegatoContenuto {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}


/* IMMAGINI */

#popupAllegatoContenuto img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* PDF */

#popupAllegatoContenuto iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* LINK APERTURA */

.popup-allegato-apri {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
    white-space: nowrap;
}

.popup-allegato-apri:hover {
    opacity: 0.8;
}


/* MOBILE */

@media screen and (max-width: 600px) {

    .popup-allegato {
        padding: 5px;
    }

    .popup-allegato-box {
        width: 100%;
        height: 95vh;
        padding: 45px 8px 65px;
    }

    .popup-allegato-close {
        font-size: 32px;
    }
}


/* SFONDO OSCURATO */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

/* CONTENITORE POPUP */
.popup-box {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: center;

    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
}

/* TITOLO */
.popup-titolo {
    font-size: 28px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
}

/* TESTO */
.popup-testo {
    font-size: 18px;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 30px;
}

/* PULSANTE */
.popup-btn {
    border: none;
    background: #cc0000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px 45px;
    border-radius: 8px;
    cursor: pointer;
}

.popup-btn:hover {
    opacity: 0.85;
}


.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;
color:#d51317;
}


.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;
color:#d51317;
}


.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: 490px;
padding: 0px;
}


A:LINK, A:VISITED, A:ACTIVE {
color: #000000;
text-decoration: none;
}

A:HOVER {
color: #ff0000;
text-decoration : none;
}

A.fot:LINK, A.fot:VISITED, A.fot:ACTIVE{
color: #000000;
font-weight: 700;
text-decoration: none;
}

A.fot:HOVER{
color: #ff0000;
text-decoration: none;
}

A.men:LINK, A.men:VISITED, A.men:ACTIVE{
color: #000000;
text-decoration: none;
}


A.men:HOVER {
color: #ff0000;
text-decoration : none;
}


A.privlink:LINK, A.privlink:VISITED, A.privlink:ACTIVE{
color: #000000;
font-weight: 700;
text-decoration: underline;
}

A.privlink:HOVER{
color: #ff0000;
text-decoration: underline;
}

A.mod:LINK, A.mod:VISITED, A.mod:ACTIVE, A.mod:HOVER{
color: #ffffff;
font-weight: 700;
text-decoration: underline;
}






A.anc { color: inherit; }


img {border:0px none;}

td img {display: block;}