@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: #ffffff;
padding-bottom:100vw;
display: none;
border-top: 2px solid #f39200;
}


    /* 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.box3
{
display:block;
width:86%;
margin:auto;
}

img.box2ph
{
display:block;
width:86%;
margin:auto;
margin-top:40px;
}

img.box2
{
display:none;
}

img.ico
{
display:block;
margin:auto;
height:90px;
padding-top:30px;
}

img.ico1
{
display:block;
margin:auto;
height:80px;
padding-top:30px;
}

img.gift
{
display:block;
width:20vw;
padding-top:19px;
margin:auto;
}

img.milaninter
{
display:block;
width:74%;
padding-bottom:30px;
margin:auto;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:26vw;
background-color: #ffffff;
border-bottom: 2px solid #f39200; 
}


footer
{
width: 100%;
position:relative;
z-index:999;
background-color: #ffffff;
border-top: 2px solid #f39200;
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;
}

#verde
{
width: 100%;
position:relative;
z-index:20;
background-color: #1fa150;
}




#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:6.5vw;
width:40vw;
left:4vw;
}

#pos_menu
{
position:absolute;
z-index:50;
top:7vw;
width:12vw;
right:7vw;
}

#home
{
width: 100%;
position:relative;
z-index:20;
height:116.8vw;
background-image: url('../images/img-home-ph.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:100%;
margin:auto;
}

#sfondohome
{
width: 100%;
position:relative;
z-index:20;
margin-bottom:60px;
}


.rigamed
{
width: 750px;
border-top: 1px solid #ffed00;
margin: 0 auto; 
margin-top:40px;
margin-bottom:40px;
}


#box-priv
{
position:relative;
z-index:20;
width: 84%;
margin:auto;
}


.box {
width: 74%; /* oppure la larghezza che preferisci */
border-radius: 20px;
background: linear-gradient(to bottom, #fbbc04, #ef6c00);
margin:auto;
margin-bottom:24px;
padding-bottom:40px;
}

.box1 {
width: 74%;
background: linear-gradient(to top right, #0f8134, #2ecc71);
border-radius: 20px;
margin:auto;
display: flex;
flex-direction: column;
gap: 18px; /* spazio tra immagine e testo */
margin-bottom:24px;
padding-bottom:40px;
}

.testi_box {
display: flex;
flex-direction: column;
}



.tabella {display: table;width:100%;position:relative;}
.tabella00 {display: table;width:100%;position:relative;}
.tabella-premi {display: table;width:100%;position:relative;padding-top:20px;}

.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;}
.colonna-menu {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna50 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna25 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna33 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna-premi1 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna-premi2 {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: "Roboto", sans-serif;
background-color: #f39200;
margin-left:auto;
margin-right:auto;
border:2px solid #f39200;
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: #ffffff;
color:#f39200;
cursor: pointer;
}


.bottoneform { 
font-family: "Roboto", sans-serif;
background-color: #f39200;
margin-left:auto;
margin-right:auto;
border:2px solid #f39200;
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: #ffffff;
color:#f39200;
cursor: pointer;
}

.boldo {
font-weight: 700;
}

.boldo1 {
font-weight: 800;
}


.titolo {
font-size: 7vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.1;
padding-top:50px;
margin-bottom:30px;
margin-left:7%;
margin-right:7%;
}

.titolo1 {
font-size: 8vw;
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%;
}

.corpo_ass {
font-size: 4vw;
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_err {
font-size: 4vw;
font-weight: 700;
text-align: center;
margin-bottom:20px;
text-decoration:underline;
}


.corpo_home1 {
font-size: 5vw;
font-weight: 300;
text-align: center;
line-height:1.1;
padding-top:40px;
padding-bottom:30px;
}


.corpo_box1 {
font-size: 8vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
text-transform: uppercase;
padding-top:30px;
margin-bottom:10px;
}


.corpo_box2 {
font-size: 10vw;
font-weight: 700;
text-align: center;
line-height: 1;
margin-left:7%;
margin-right:7%;
color:#f39200;
text-transform: uppercase;
margin-bottom:10px;
}

.corpo_box3 {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
}


.corpo_box10 {
font-size: 8vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
text-transform: uppercase;
padding-top:30px;
margin-bottom:10px;
}


.corpo_box20 {
font-size: 10vw;
font-weight: 700;
text-align: center;
line-height: 1;
margin-left:7%;
margin-right:7%;
color:#f39200;
text-transform: uppercase;
margin-bottom:10px;
}

.corpo_box30 {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
}

.corpo_ico1 {
font-size: 4.5vw;
font-weight: 500;
text-align: center;
line-height: 1;
margin-top:22px;
margin-bottom:20px;
text-transform: uppercase;
}

.corpo_ico2 {
font-size: 3.5vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-right:10%;
margin-left:10%;
}

.corpo_home2 {
font-size: 4vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
padding-top:30px;
margin-left:7%;
margin-right:7%;
}

.corpo_home3 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
padding-bottom:30px;
margin-left:7%;
margin-right:7%;
}

.corpo_box4 {
font-size: 4vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
padding-top:0px;
}

.corpo_box40 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-right:10%;
margin-left:10%;
}




.corpo_pre1 {
font-size: 4.5vw;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-bottom:25px;
margin-left:7%;
margin-right:7%;
}

.corpo_pre2 {
font-size: 3.8vw;
font-weight: 300;
text-align: left;
line-height: 1.2;
margin-bottom:15px;
margin-left:7%;
margin-right:7%;
}

.corpo_pre3 {
font-size: 4.5vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-bottom:30px;
margin-top:30px;
margin-left:7%;
margin-right:7%;
}

.corpo_pre4 {
font-size: 4.5vw;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-bottom:25px;
padding-top:30px;
margin-left:7%;
margin-right:7%;
}

.corpo_pre5 {
font-size: 3.8vw;
font-weight: 300;
text-align: left;
line-height: 1.2;
margin-bottom:15px;
margin-left:7%;
margin-right:7%;
}


.corpo_priv {
font-size: 3.8vw;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_login1 {
font-size: 4.5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
padding-top:45px;
margin-bottom:5px;
line-height:1;
}

.corpo_login10 {
font-size: 4.5vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:5px;
line-height:1;
}

.corpo_login2 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:30px;
line-height:1;
}

.corpo_login3 {
font-size: 4.5vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:20px;
margin-bottom:5px;
line-height:1;
}

.corpo_login4 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-bottom:30px;
line-height:1;
}

.corpo_login5 {
font-size: 4.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: 3.8vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1;
}

.corpo_form0 {
font-size: 3.8vw;
font-weight: 300;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1;
}

.corpo_form1 {
font-size: 4vw;
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: 3.5vw;
}

.corpo_privo {
font-size: 3.5vw;
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: 3.5vw;
font-weight: 400;
text-align: center;
margin-top:30px;
margin-bottom:25px;
margin-left:0px;
margin-right:0px;
line-height:1.2;
}


.corpo_cod1 {
font-size: 4.5vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-bottom:5px;
}

.corpo_cod1 br {
display:none;
}

.corpo_cod2 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-bottom:40px;
}


.corpo_cod3 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:10px;
margin-bottom:30px;
}

.corpo_cod3 br {
display:none;
}

.corpo_cod4 {
font-size: 6vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:30px;
margin-bottom:5px;
text-transform: uppercase;
}



.corpo_cod5 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:40px;
}

.corpo_cod5 br {
display:none;
}


.corpo_cod6 {
font-size: 4vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:5px;
text-transform: uppercase;
}

.corpo_cod7 {
font-size: 3.8vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:40px;
}


.corpo_gr1 {
font-size: 4.5vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:2px;
}

.corpo_gr2 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:24px;
}

.corpo_gr3 {
font-size: 4vw;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:4px;
}

.corpo_gr4 {
font-size: 4vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:7%;
margin-right:7%;
margin-top:0px;
margin-bottom:70px;
}

.corpo_footer0 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.2;
padding-top:20px;
}



.corpo_footer1 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.2;
}

.corpo_footer2 {
font-size: 4vw;
font-weight: 700;
text-align: center;
margin-top:15px;
margin-left:7%;
margin-right:7%;
line-height:1.6;
text-transform: uppercase;
}



.divi {
display:none;
}



input.forma {
margin-left:13%;
margin-right:12%;
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:12%;
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:12%;
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:12%;
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;
padding-right:20px;
padding-left:0px;
}


.label-premio {
display: block;
width: 90%;
height: 80vw;
background-size: cover;
cursor: pointer;
margin:auto;
}

/* Precaricamento immagini invisibile */
.preload {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  background-image: url('../images/milan-on.png'), url('../images/inter-on.png');
  background-size: cover;
}



/* Immagine di default */
#milan + .label-premio {
  background-image: url('../images/milan.png');
  background-size:100%;
  background-repeat:no-repeat;
}

#inter + .label-premio {
  background-image: url('../images/inter.png');
  background-size:100%;
  background-repeat:no-repeat;
}

/* Immagine "on" quando selezionato */
#milan:checked + .label-premio {
  background-image: url('../images/milan-on.png');
  background-size:100%;
  background-repeat:no-repeat;
}


#inter:checked + .label-premio {
  background-image: url('../images/inter-on.png');
  background-size:100%;
  background-repeat:no-repeat;
}


}