@media only screen and (min-width: 970px) and (max-width: 1169px) {

#vedi-ph
{
display:none;
}

.mobile-only {
display: none !important;
}


.content {
min-height: calc(100vh - 152px);
z-index:1;
}

    /* 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: 999;
    }

    /* Quando attiva */
    #overlay.show {
      opacity: 1;
      pointer-events: all;
    }

    /* Popup bianco */
    #popup {
      background-color: white;
      border-radius: 40px;
      padding: 40px 70px;
      position: relative;
      max-width: 90%;
      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:160px;
padding-top:35px;
padding-left:10px;
padding-right:10px;
}

img.box3
{
display:block;
width:94%;
margin:auto;
}

img.box2
{
display:block;
width:94%;
margin:auto;
margin-top:40px;
}

img.box2ph
{
display:none;
}

img.ico
{
display:block;
margin:auto;
height:100px;
padding-top:30px;
}

img.ico1
{
display:block;
margin:auto;
height:90px;
padding-top:40px;
}

img.gift
{
display:block;
width:70px;
height:58px;
padding-top:19px;
padding-left:17px;
}

img.milaninter
{
display:block;
width:94%;
padding-top:0px;
margin:auto;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:110px;
background-color: #ffffff;
border-bottom: 2px solid #f39200; 
}


footer
{
width: 100%;
position:relative;
z-index:999;
height:150px;
background-color: #ffffff;
border-top: 2px solid #f39200;
}

#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:100px;
}

#xxx80
{
width: 100%;
position:relative;
z-index:20;
height:80px;
}


#xxx50
{
width: 100%;
position:relative;
z-index:20;
height:50px;
}

#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:25px;
width:199px;
left:10px;
}

#pos_menu
{
display:none;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:795px;
background-image: url('../images/img-home.png');
background-position:center center;
background-repeat:no-repeat;
background-size:94%;
margin:auto;
}

#sfondohome
{
width: 100%;
position:relative;
z-index:20;
height:822px;
background-image: url('../images/sfondo-home.jpg');
background-position:center top;
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: 740px;
margin:auto;
}


.box {
width: 94%; /* oppure la larghezza che preferisci */
min-height: 386px; /* oppure l'altezza che preferisci */
border-radius: 20px;
background: linear-gradient(to bottom, #fbbc04, #ef6c00);
margin:auto;
}

.box1 {
width: 90%; /* adatta a piacere */
min-height: 140px; /* adatta a piacere */
background: linear-gradient(to top right, #0f8134, #2ecc71);
border-radius: 20px;
margin:auto;
display: flex;
gap: 18px; /* spazio tra immagine e testo */
margin-bottom:50px;
padding-right:15px;
}

.testi_box {
display: flex;
flex-direction: column;
}



.tabella {display: table;width:100%;position:relative;}
.tabella00 {display: table;margin:auto;position:relative;}
.tabella-premi {display: table;width:100%;position:relative;padding-top:80px;}

.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 {float:right;position:relative;margin-right:5px;}



.riga { display:table-row;}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna {display: table-cell;vertical-align: middle;}
.colonna-menu {display: table-cell;vertical-align: middle;height:110px;}

.colonna50 {display: table-cell;vertical-align: top;width:50%;}
.colonna25 {display: table-cell;vertical-align: top;width:25%;}
.colonna33 {display: table-cell;vertical-align: top;width:33%;}

.colonna-premi1 {display: table-cell;vertical-align: middle;width:40%;}
.colonna-premi2 {display: table-cell;vertical-align: middle;width:60%;}

.colonna-footer1 {display: table-cell;vertical-align: top;width:20%;}
.colonna-footer2 {display: table-cell;vertical-align: top;width:80%;}

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: 30px;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 15px;
padding-bottom: 15px;
width:340px;
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: 30px;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 15px;
padding-bottom: 15px;
width:340px;
}


.bottoneform:hover { 
background-color: #ffffff;
color:#f39200;
cursor: pointer;
}

.boldo {
font-weight: 700;
}

.boldo1 {
font-weight: 800;
}


.titolo {
font-size: 36px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.1;
padding-top:80px;
margin-bottom:30px;
}

.titolo1 {
font-size: 46px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.1;
padding-top:90px;
margin-bottom:60px;
}

.corpo_ass {
font-size: 22px;
font-weight: 400;
text-align: center;
margin-top:10px;
line-height:1.1;
}

.corpo_menu {
font-size: 15px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
margin-left:40px;
}

.corpo_err {
font-size: 18px;
font-weight: 700;
text-align: center;
margin-bottom:20px;
text-decoration:underline;
}


.corpo_home1 {
font-size: 36px;
font-weight: 300;
text-align: center;
line-height:1.1;
padding-top:70px;
padding-bottom:30px;
}


.corpo_box1 {
font-size: 40px;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-left:25px;
text-transform: uppercase;
padding-top:60px;
margin-bottom:24px;
}

.corpo_box2 {
font-size: 55px;
font-weight: 700;
text-align: left;
line-height: 1;
margin-left:25px;
color:#f39200;
text-transform: uppercase;
}

.corpo_box3 {
font-size: 25px;
font-weight: 400;
text-align: left;
line-height: 1.1;
margin-left:25px;
margin-right:25px;
}


.corpo_box10 {
font-size: 40px;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-left:25px;
text-transform: uppercase;
padding-top:120px;
margin-bottom:24px;
}

.corpo_box20 {
font-size: 55px;
font-weight: 700;
text-align: left;
line-height: 1;
margin-left:25px;
color:#f39200;
text-transform: uppercase;
}

.corpo_box30 {
font-size: 25px;
font-weight: 400;
text-align: left;
line-height: 1.1;
margin-left:25px;
margin-right:25px;
}

.corpo_ico1 {
font-size: 22px;
font-weight: 500;
text-align: center;
line-height: 1;
margin-top:22px;
margin-bottom:20px;
text-transform: uppercase;
}

.corpo_ico2 {
font-size: 16px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-right:24px;
margin-left:24px;
}

.corpo_home2 {
font-size: 18px;
font-weight: 700;
text-align: center;
line-height: 1.1;
padding-top:50px;
margin-left:15px;
margin-right:15px;
}

.corpo_home3 {
font-size: 18px;
font-weight: 300;
text-align: center;
line-height: 1.1;
padding-bottom:30px;
margin-left:15px;
margin-right:15px;
}

.corpo_box4 {
font-size: 16px;
font-weight: 700;
text-align: left;
line-height: 1.1;
padding-top:25px;
}

.corpo_box40 {
font-size: 16px;
font-weight: 300;
text-align: left;
line-height: 1.1;
}

.corpo_box40 br {
display:none;
}


.corpo_pre1 {
font-size: 22px;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-bottom:25px;
margin-left:15px;
margin-right:15px;
}

.corpo_pre2 {
font-size: 16px;
font-weight: 300;
text-align: left;
line-height: 1.2;
margin-bottom:15px;
margin-left:15px;
margin-right:15px;
}

.corpo_pre3 {
font-size: 22px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-bottom:30px;
margin-top:30px;
margin-left:15px;
margin-right:15px;
}

.corpo_pre4 {
font-size: 22px;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-bottom:25px;
padding-top:100px;
margin-left:15px;
margin-right:15px;
}

.corpo_pre5 {
font-size: 16px;
font-weight: 300;
text-align: left;
line-height: 1.2;
margin-bottom:15px;
margin-left:15px;
margin-right:15px;
}


.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_login1 {
font-size: 22px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
padding-top:45px;
margin-bottom:5px;
line-height:1;
}

.corpo_login10 {
font-size: 22px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:5px;
line-height:1;
}

.corpo_login2 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:30px;
line-height:1;
}

.corpo_login3 {
font-size: 22px;
font-weight: 300;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-top:20px;
margin-bottom:5px;
line-height:1;
}

.corpo_login4 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:30px;
line-height:1;
}

.corpo_login5 {
font-size: 22px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:30px;
padding-top:30px;
line-height:1;;
}

.corpo_form {
font-size: 16px;
font-weight: 300;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1;
}

.corpo_form0 {
font-size: 16px;
font-weight: 300;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1;
}

.corpo_form1 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:18px;
}

.link-password {
font-weight: bold;
text-decoration: underline;
}


.corpo33, .corpo333 {
font-size: 16px;
}

.corpo_privo {
font-size: 16px;
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: 16px;
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: 22px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-bottom:5px;
}

.corpo_cod2 {
font-size: 18px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-bottom:60px;
}


.corpo_cod3 {
font-size: 18px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:10px;
margin-bottom:30px;
}

.corpo_cod4 {
font-size: 36px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:30px;
margin-bottom:5px;
text-transform: uppercase;
}

.corpo_cod5 {
font-size: 18px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:40px;
}


.corpo_cod6 {
font-size: 18px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:5px;
text-transform: uppercase;
}

.corpo_cod7 {
font-size: 16px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:40px;
}


.corpo_gr1 {
font-size: 22px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:2px;
}

.corpo_gr2 {
font-size: 18px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:24px;
}

.corpo_gr3 {
font-size: 18px;
font-weight: 300;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:4px;
}

.corpo_gr4 {
font-size: 18px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:70px;
}

.corpo_footer0 {
font-size: 14px;
font-weight: 400;
text-align: left;
margin-right:15px;
line-height:1.2;
padding-top:30px;
}



.corpo_footer1 {
font-size: 14px;
font-weight: 400;
text-align: left;
margin-right:15px;
line-height:1.2;
}

.corpo_footer2 {
font-size: 14px;
font-weight: 700;
text-align: left;
margin-top:15px;
margin-right:15px;
line-height:1;
text-transform: uppercase;
}


.corpo_footer2 br {
display:none;
}

.divi {
padding: 0 3px;
}



input.forma {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:24px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 320px;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

input.formb {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:24px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 125px;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}


input.formc {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:24px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 750px;
height: 58px;
border:2px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

select.prov {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:24px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 360px;
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: 45px;
padding-right: 0px;
cursor: pointer;
display: inline-block;
vertical-align: top;
}

input.radion[type="radio"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
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: 20px;
height: 20px;
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: 45px;
padding-right: 0px;
cursor: pointer;
display: inline-block;
vertical-align: top;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
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: 20px;
height: 20px;
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: 2;
padding-right:50px;
padding-left:0px;
}


.label-premio {
display: block;
width: 450px;
height: 381px;
background-size: cover;
cursor: pointer;
margin-right:11px;
margin-left:11px;
}

/* 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%;
}

#inter + .label-premio {
  background-image: url('../images/inter.png');
  background-size:100%;
}

/* Immagine "on" quando selezionato */
#milan:checked + .label-premio {
  background-image: url('../images/milan-on.png');
  background-size:100%;
}

#inter:checked + .label-premio {
  background-image: url('../images/inter-on.png');
  background-size:100%;
}


}