@media only screen and (min-width: 30px) and (max-width: 969px) {


input {
    -webkit-appearance: none;
}

select {
    -webkit-appearance: none;
}


#vedi-ds
{
display:none;
}

.desktop-only {
display: none !important;
}

img
{
max-width:100%;
}


.content {
min-height: calc(100vh - 100px);
z-index:1;
}

#fumetto_pos
{
position:absolute;
z-index:888;
right:0px;
top: 26vw;
width: 100%;
background-color: #000000;
padding-bottom:100vw;
display: none;
}


    /* Overlay di sfondo */
    #overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
      z-index: 9999;
    }

    /* Quando attiva */
    #overlay.show {
      opacity: 1;
      pointer-events: all;
    }

    /* Popup bianco */
    #popup {
      background-color: white;
      border-radius: 40px;
      padding: 20px 35px;
      position: relative;
      max-width: 60%;
      max-height: 90%;
      overflow-y: auto;
      opacity: 0;
      transform: scale(0.95);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    #overlay.show #popup {
      opacity: 1;
      transform: scale(1);
    }

    /* Pulsante chiudi */
    #closePopup {
      position: absolute;
      top: 0px;
      right: 20px;
      font-size: 55px;
      font-weight: 300;
      color: #000000;
      background: none;
      border: none;
      cursor: pointer;
    }
    
 

img
{
max-width:100%;
}   

img.logo
{
display:block;
max-width:100%;
}

img.logof
{
display:block;
width:40vw;
padding-top:30px;
padding-bottom:20px;
margin:auto;
}

img.pro
{
display:block;
margin:auto;
width:94%;
}

img.pro1
{
display:block;
margin:auto;
width:74%;
margin-bottom:24px;
}

img.pro2
{
display:block;
margin:auto;
width:74%;
margin-bottom:24px;
}

img.pro3
{
display:block;
width:74%;
margin:auto;
}


img.pre1
{
display:block;
width:74%;
margin:auto;
}

img.pre2
{
display:block;
width:74%;
margin:auto;
}

img.pre3
{
display:block;
width:74%;
margin:auto;
}

img.reg5
{
display:block;
margin:auto;
width:74%;
padding-top:40px;
padding-bottom:60px;
}

img.ico
{
display:block;
margin:auto;
height:30vw;
}

img.icopre
{
display:block;
margin:auto;
height:30vw;
}

header
{
width: 100%;
position:relative;
z-index:999;
background-color: #000000; 
height:26vw;
}


footer
{
width: 100%;
position:relative;
z-index:888;
background-color: #000000; 
padding-bottom:30px;
}

#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:50px;
}

#xxx80
{
width: 100%;
position:relative;
z-index:20;
height:40px;
}


#xxx50
{
width: 100%;
position:relative;
z-index:20;
height:25px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:4vw;
width:40vw;
left:7vw;
}

#pos_menu
{
position:absolute;
z-index:50;
top:7vw;
width:12vw;
right:7vw;
}

.bg {
display:none;
}


#home
{
width: 100%;
position:relative;
z-index:20;
background-image: url('../images/img-home.jpg');
background-position:center bottom;
background-repeat:no-repeat;
background-color: #000000; 
padding-bottom:40px;
margin-bottom:60px;
background-size:100%;
}


#ellisse
{
width: 100%;
position:relative;
z-index:20;
min-height:617px;
background-image: url('../images/ellisse.png');
background-position:center top;
background-repeat:no-repeat;
}


.rigamed
{
width: 750px;
border-top: 1px solid #ffed00;
margin: 0 auto; 
margin-top:40px;
margin-bottom:40px;
}

.rigafot
{
width: 100%;
border-top: 3px solid #faedbb;
margin: 0 auto; 
}




#box-priv
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
}


.tabella {display: table;width:100%;position:relative;}
.tabella00 {display: table;width:100%;position:relative;}

.tabella0 {
display: block;
width: 100%;
max-width: 600px; /* limita la larghezza */
margin: 0 auto;
padding: 0em;
border: none; /* rimuove il bordo del fieldset */
box-sizing: border-box;
}

.tabella000 {
display: block;
width: 100%;
max-width: 600px; /* limita la larghezza */
padding: 0em;
border: none; /* rimuove il bordo del fieldset */
box-sizing: border-box;
}


.tabella-menu {display: table;width:100%;position:relative;padding-top:30px;}



.riga {
display: table;
width: 100%;
table-layout: fixed;
}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna50 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna500 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna25 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna-menu {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna-pre1 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna-pre2 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna-footer1 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna-footer2 {display: table-cell;vertical-align: middle;width:100%;float:left;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}



A.bottone:LINK, A.bottone:VISITED, A.bottone:ACTIVE { 
font-family: "Montserrat", sans-serif;
background-color: #faefcb;
margin-left:auto;
margin-right:auto;
border:1px solid #2b2b2b;
border-radius: 50px;
font-size: 5vw;;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 15px;
padding-bottom: 15px;
width:74%;
display: block;
}


A.bottone:HOVER { 
background-color: #2b2b2b;
color:#fbebb8;
cursor: pointer;
}


A.bottone1:LINK, A.bottone1:VISITED, A.bottone1:ACTIVE { 
font-family: "Montserrat", sans-serif;
background-color: #faefcb;
margin-left:auto;
margin-right:auto;
border:1px solid #faefcb;
border-radius: 50px;
font-size: 5vw;;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 15px;
padding-bottom: 15px;
width:74%;
display: block;
}


A.bottone1:HOVER { 
background-color: #2b2b2b;
color:#faefcb;
cursor: pointer;
}


A.bottone-home:LINK, A.bottone-home:VISITED, A.bottone-home:ACTIVE { 
font-family: "Montserrat", sans-serif;
background-color: #faefcb;
margin-left:auto;
margin-right:auto;
border:1px solid #2b2b2b;
border-radius: 50px;
font-size: 5vw;;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 15px;
padding-bottom: 15px;
width:74%;
display: block;
text-transform: uppercase;
}


A.bottone-home:HOVER { 
background-color: #2b2b2b;
color:#fbebb8;
cursor: pointer;
}


.bottoneform { 
font-family: "Montserrat", sans-serif;
background-color: #faefcb;
margin-left:auto;
margin-right:auto;
border:1px solid #2b2b2b;
border-radius: 50px;
font-size: 5vw;;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 15px;
padding-bottom: 15px;
width:74%;
}


.bottoneform:hover { 
background-color: #2b2b2b;
color:#fbebb8;
cursor: pointer;
}

.boldo {
font-weight: 700;
}

.boldo1 {
font-weight: 800;
}


.titolo {
font-size: 6vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.1;
padding-top:50px;
margin-bottom:15px;
margin-left:7%;
margin-right:7%;
}

.titolo1 {
font-size: 6vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.1;
padding-top:50px;
margin-bottom:60px;
margin-left:7%;
margin-right:7%;
}

.titolo10 {
font-size: 6vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.1;
padding-top:40px;
margin-bottom:60px;
margin-left:7%;
margin-right:7%;
}

.titolo2 {
font-size: 8vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1;
padding-top:50px;
margin-bottom:40px;
color:#fbecb9;
margin-left:7%;
margin-right:7%;
}

.titolo3 {
font-size: 6vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1;
padding-top:50px;
margin-bottom:40px;
color:#fbecb9;
margin-left:7%;
margin-right:7%;
}


.corpo_ass {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
margin-top:10px;
line-height:1.1;
}

.corpo_menu {
font-size: 6vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
padding:14px;;
}




.corpo_prec1 {
font-size: 6vw;
font-weight: 300;
text-align: center;
color:#fbebb8;
line-height:1;
padding-top:55px;
margin-bottom:5px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}

.corpo_prec2 {
font-size: 8vw;
font-weight: 700;
text-align: center;
color:#fbebb8;
line-height:1;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}


.corpo_prec3 {
font-size: 4.5vw;
font-weight: 300;
text-align: center;
color:#fbebb8;
line-height:1;
margin-top:10px;
margin-bottom:50px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}


.corpo_home1 {
font-size: 9vw;
font-weight: 700;
text-align: center;
color:#fbebb8;
line-height:1;
padding-top:45px;
margin-bottom:70px;
margin-left:7%;
margin-right:7%;
}

.corpo_home2 {
font-size: 5vw;;
font-weight: 300;
text-align: center;
line-height:1.2;
padding-top:60px;
margin-bottom:25px;
margin-left:7%;
margin-right:7%;
}

.corpo_home2 br {
display:none;
}

.corpo_home3 {
font-size: 5vw;;
font-weight: 700;
text-align: center;
line-height:1;
margin-bottom:55px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}

.corpo_home4 {
font-size: 5vw;;
font-weight: 300;
text-align: center;
line-height:1;
margin-top:0px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}

.corpo_home5 {
font-size: 5vw;;
font-weight: 700;
text-align: center;
line-height:1;
margin-top:60px;
margin-bottom:30px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}

.corpo_home6 {
font-size: 4.5vw;
font-weight: 300;
text-align: center;
line-height:1.2;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
padding-top:24px;
}


.corpo_home6pre {
font-size: 4.5vw;
font-weight: 300;
text-align: center;
line-height:1.2;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}


.corpo_ico1 {
font-size: 5vw;;
font-weight: 700;
text-align: center;
line-height: 1;
margin-top:30px;
margin-bottom:15px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}

.corpo_ico2 {
font-size: 4vw;
font-weight: 400;
text-align: center;
line-height: 1.2;
margin-bottom:45px;
margin-left:7%;
margin-right:7%;
}

.corpo_ico2 br {
display:none;
}


.corpo_ico1pre {
font-size: 5vw;;
font-weight: 700;
text-align: center;
line-height: 1;
margin-top:30px;
margin-bottom:15px;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
}

.corpo_ico2pre {
font-size: 4vw;
font-weight: 400;
text-align: center;
line-height: 1.2;
margin-bottom:45px;
margin-left:7%;
margin-right:7%;
}

.corpo_ico2pre br {
display:none;
}


.corpo_pre1 {
font-size: 7vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1;
padding-top:0px;
margin-bottom:30px;
color:#fbecb9;
margin-left:7%;
margin-right:7%;
}

.corpo_pre2 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height:1.1;
padding-top:0px;
margin-bottom:30px;
margin-left:7%;
margin-right:7%;
color:#fbecb9;
}


.corpo_pre3 {
font-size: 6vw;
font-weight: 300;
text-align: center;
line-height:1.1;
margin-left:7%;
margin-right:7%;
margin-bottom:20px;
margin-top:20px;
color:#fbecb9;
text-transform: uppercase;
}

.corpo_pre30 {
font-size: 6vw;
font-weight: 300;
text-align: center;
line-height:1.1;
margin-left:7%;
margin-right:7%;
margin-bottom:20px;
margin-top:20px;
color:#fbecb9;
text-transform: uppercase;
}

.corpo_pre300 {
font-size: 6vw;
font-weight: 300;
text-align: center;
line-height:1.1;
margin-left:7%;
margin-right:7%;
margin-bottom:20px;
margin-top:20px;
text-transform: uppercase;
}

.corpo_pre4 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height:1.3;
margin-left:7%;
margin-right:7%;
margin-bottom:15px;
color:#fbecb9;
}

.corpo_pre40 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height:1.3;
margin-left:7%;
margin-right:7%;
margin-bottom:15px;
color:#fbecb9;
}


.corpo_pre400 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height:1.3;
margin-left:7%;
margin-right:7%;
margin-bottom:15px;
}


.corpo_pre5 {
font-size: 7vw;
font-weight: 700;
text-align: center;
line-height:1;
text-transform: uppercase;
padding-top:50px;
margin-bottom:30px;
margin-left:7%;
margin-right:7%;
}

.corpo_pre6 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
}

.corpo_pre7 {
font-size: 6vw;
font-weight: 700;
text-align: center;
line-height:1;
margin-top:6px;
margin-bottom:2px;
line-height:1.2;
}

.corpo_pre8 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height:1;
margin-bottom:50px;
margin-left:7%;
margin-right:7%;
}

.corpo_pre8 br {
display:none;
}


.corpo_priv {
font-size: 3vw;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_login1 {
font-size: 5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
padding-top:45px;
margin-bottom:5px;
line-height:1;
color:#faedbb;
}

.corpo_login10 {
font-size: 5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:5px;
line-height:1;
}

.corpo_login2 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:30px;
line-height:1;
}

.corpo_login3 {
font-size: 5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:20px;
margin-bottom:5px;
line-height:1;
color:#faedbb;
}

.corpo_login4 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:30px;
line-height:1;
color:#faedbb;
}

.corpo_login5 {
font-size: 5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:30px;
padding-top:30px;
line-height:1;;
}

.corpo_form {
font-size: 3vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1;
}

.corpo_form0 {
font-size: 3vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1;
color:#faedbb;
}

.corpo_form1 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:18px;
}

.link-password {
font-weight: bold;
text-decoration: underline;
}


.corpo33, .corpo333 {
font-size: 3vw;
}

.corpo_privo {
font-size: 3vw;
font-weight: 400;
text-align: left;
margin-top:30px;
margin-bottom:15px;
margin-left:0px;
margin-right:0px;
line-height:1.1;
}

.corpo_privo1 {
font-size: 3vw;
font-weight: 400;
text-align: center;
margin-top:30px;
margin-bottom:25px;
margin-left:0px;
margin-right:0px;
line-height:1.2;
}


.corpo_sco1 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:50px;
margin-bottom:50px;
line-height:1.1;
}


.corpo_sco2 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:30px;
margin-bottom:50px;
line-height:1.1;
}


.corpo_sco3 {
font-size: 3vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:30px;
margin-bottom:50px;
line-height:1.1;
color:#faedbb;
}


.corpo_sco4 {
font-size: 5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:3px;
line-height:1;
text-transform: uppercase;
}

.corpo_sco5 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:50px;
line-height:1.1;
}


.corpo_gr1 {
font-size: 5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:30px;
margin-bottom:0px;
line-height:1.1;
color:#faedbb;
}

.corpo_gr2 {
font-size: 4vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:0px;
line-height:1.1;
color:#faedbb;
}

.corpo_gr3 {
font-size: 4vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:30px;
margin-bottom:70px;
line-height:1.1;
color:#faedbb;
}

.corpo_gr4 {
font-size: 4vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
padding-top:40px;
margin-bottom:0px;
line-height:1.1;
color:#faedbb;
}

.corpo_footer1 {
font-size: 2.5vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.2;
color:#faedbb;
}

.corpo_footer2 {
margin-top:3.5vw;
font-size: 12px;
font-weight: 700;
text-align: center;
line-height:1.6;
color:#ffffff;
text-transform: uppercase;
padding-top:10px;
}




.divi {
display:none;
}


input.forma {
margin-left:13%;
margin-right:11%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 64%;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

input.formb {
margin-left:13%;
margin-right:11%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 64%;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}


input.formc {
margin-left:13%;
margin-right:11%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 64%;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

select.prov {
margin-left:13%;
margin-right:11%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 74%;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}


/* RADIO buttons */
[type="radio"] {
position: absolute;
left: -9999px;
}

input.radion[type="radio"] + label {
position: relative;
padding-left: 35px;
padding-right: 0px;
cursor: pointer;
display: inline-block;
vertical-align: top;
margin-bottom:10px;
}

input.radion[type="radio"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 20px;
height: 20px;
border: 2px solid #000000;
border-radius: 50%; /* rettangolo con angoli arrotondati */
background: #fff
}

input.radion[type="radio"] + label::after {
content: '';
position: absolute;
top: 7px;
left: 7px;
width: 10px;
height: 10px;
background: #000000;
border-radius: 50%; /* quadratino per checkbox */
transition: all 0.2s ease;
opacity: 0;
transform: scale(0)
}

input.radion[type="radio"]:checked + label::after {
opacity: 1;
transform: scale(1);
}

/* CHECKBOX */
[type="checkbox"] {
position: absolute;
left: -9999px;
}

[type="checkbox"] + label {
position: relative;
padding-left: 35px;
padding-right: 0px;
cursor: pointer;
display: inline-block;
vertical-align: top;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 20px;
height: 20px;
border: 2px solid #000000;
border-radius: 50%; /* rettangolo con angoli arrotondati */
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 7px;
left: 7px;
width: 10px;
height: 10px;
background: #000000;
border-radius: 50%; /* quadratino per checkbox */
transition: all 0.2s ease;
opacity: 0;
transform: scale(0)
}

[type="checkbox"]:checked + label::after {
opacity: 1;
transform: scale(1);
}


/* Stile del testo */

label span.corpo33 {
line-height: 1.2;
display: inline-block;
vertical-align: middle;
padding-left:0px;
}

label span.corpo333 {
display: inline-block;
vertical-align: middle;
line-height: 1.2;
padding-right:50px;
padding-left:0px;
}


}