
*
{
 margin:0px;
 padding:0px;
}

html { 
position: relative;
min-height: 100%;
}


body { 
background: #ffffff;
font-family: "muli", 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;
}

.ico_foto {
    cursor: pointer;
}

.ico_info {
    cursor: pointer;
}

.popup-foto {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.85);

    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

.immagine-popup {
    display: none;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pdf-popup {
    display: none;
    width: 90%;
    height: 90%;
    border: 0px none;
    background: #ffffff
}

.chiudi-foto {
    position: absolute;
    top: 15px;
    right: 25px;

    color: #ffffff;
    font-size: 50px;
    line-height: 50px;
    font-weight: bold;

    cursor: pointer;
    z-index: 100000;
}


.passaggi {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
}

.passaggio-wrap {
    position: relative;
    flex: 0 0 265px;
    width: 270px;
    height: 270px;
}

.passaggio {
    width: 270px;
    height: 270px;

    box-sizing: border-box;

    background-color: #e30613;
    border: 5px solid #ffffff;
    border-radius: 27px 27px 27px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.triangolo {
    position: absolute;
    display: block;

    width: 33px;
    height: 65px;

    object-fit: contain;
    pointer-events: none;
}

.triangolo-1 {
    top: 180px;
    right: -40px;
}

.triangolo-2 {
    top: 20px;
    right: -40px;
}

.triangolo-3 {
    right: 0px;
    bottom: -12px;

    transform: rotate(-135deg);
    transform-origin: center;
}


/* TABLET */
@media screen and (min-width: 970px) and (max-width: 1170px) {

    .passaggi {
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 50px;
    }

    .passaggio-wrap {
        flex: 0 0 230px;
        width: 230px;
        height: 230px;
    }

    .passaggio {
        width: 230px;
        height: 230px;
    }

    .triangolo {
        width: 28px;
        height: 55px;
    }

    .triangolo-1 {
        top: 150px;
        right: -34px;
    }

    .triangolo-2 {
        top: 20px;
        right: -34px;
    }

    .triangolo-3 {
        right: 0;
        bottom: -10px;

        transform: rotate(-135deg);
        transform-origin: center;
    }
}



@media screen and (max-width: 969px) {

    .passaggi {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }

    .passaggio-wrap {
        flex: none;
        width: 70%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .passaggio {
        width: 100%;
        height: 100%;
    }

    /*
    Spazio occupato dalla freccia:
    10px sopra + circa 33px freccia ruotata + 20px sotto
    */
    .passaggio-wrap:nth-child(1),
    .passaggio-wrap:nth-child(2) {
        margin-bottom: 63px;
    }

    .triangolo-1,
    .triangolo-2 {
        top: calc(100% - 6px);
        right: auto;
        left: 50%;

        margin-left: -16.5px;

        transform: rotate(90deg);
        transform-origin: center;
    }

    .triangolo-3 {
        top: auto;
        left: auto;
        right: 0;
        bottom: -12px;

        margin-left: 0;

        transform: rotate(-135deg);
        transform-origin: center;
    }
}

.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: 360px;
padding: 5px;
}




A:LINK, A:VISITED, A:ACTIVE {
color: #000000;
text-decoration: none;
}

A:HOVER {
color: #d51317;
text-decoration : none;
}

A.fot:LINK, A.fot:VISITED, A.fot:ACTIVE{
color: #000000;
font-weight: 700;
text-decoration: none;
}

A.fot:HOVER{
color: #d51317;
text-decoration: none;
}

A.men:LINK, A.men:VISITED, A.men:ACTIVE{
color: #000000;
text-decoration: none;
}


A.men:HOVER {
color: #d51317;
text-decoration : none;
}


A.privlink:LINK, A.privlink:VISITED, A.privlink:ACTIVE{
color: #000000;
font-weight: 700;
text-decoration: underline;
}

A.privlink:HOVER{
color: #d51317;
text-decoration: underline;
}


.link-contatti {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
}

/* Sfondo popup */
.popup-contatti {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);

    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
}

/* Popup aperto */
.popup-contatti.aperto {
    display: flex;
}

/* Box */
.popup-contatti-box {
    width: 100%;
    max-width: 600px;
    position: relative;
    box-sizing: border-box;

    background-color: #ffffff;
    color: #222222;

    padding: 45px 40px 35px 40px;

    border-radius: 15px;

    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
}

/* Titolo */
.popup-contatti-box h2 {
    margin: 0 0 25px 0;
    font-size: 32px;
}

/* Testo */
.popup-contatti-box p {
    margin: 0 0 22px 0;
    font-size: 18px;
    line-height: 1.5;
}

/* Link */
.popup-contatti-box a {
    color: #000000;
    font-weight: bold;
    text-decoration: underline;
}

/* X chiusura */
.popup-contatti-close {
    position: absolute;
    top: 10px;
    right: 15px;

    border: 0px none;
    background: ;

    font-size: 38px;
    line-height: 38px;

    color: #000000;
    cursor: pointer
}

/* Mobile */
@media screen and (max-width: 600px) {

    .popup-contatti-box {
        padding: 40px 20px 25px 20px;
    }

    .popup-contatti-box h2 {
        font-size: 27px;
    }

    .popup-contatti-box p {
        font-size: 16px;
    }
}




A.anc { color: inherit; }


img {border:0px none;}

td img {display: block;}