@media only screen and (min-width: 970px) and (max-width: 1127px) {

#vedi-ph
{
display:none;
}

.mobile-only {
display: none !important;
}


.content {
min-height: calc(100vh - 170px);
z-index:1;
}

img
{
max-width:100%;
}


img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logof
{
display:block;
margin-left:35px;
width:180px;
}

img.foglia
{
display:block;
width:25px;
margin-top:4px;
}

img.amazon
{
display:block;
width:383px;
float:right;
margin-right:45px;
}

::placeholder {
color:#0d3893;
font-size: 22px;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:90px;
background-color: #ffffff; 
}


footer
{
width: 100%;
position:relative;
z-index:20;
height:170px;
background-color: #ffffff; 
}

#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:100px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:17px;
width:180px;
right:35px;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:756px;
background-image: url('../images/img-home.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:cover;
margin-bottom:60px;
}


#reg
{
width: 100%;
position:relative;
z-index:20;
min-height:598px;
background-image: url('../images/img-reg.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:cover;
}


.rigamed
{
width:680px;
border-top: 10px solid #009a3c;
margin: 0 auto; 
margin-top:15px;
margin-bottom:30px;
}


.box-home1 {
position: relative;
z-index: 20;
background-color: #133b89;
margin-left: 50px;
border-radius: 20px;
display: inline-block;
padding-left:20px;
padding-right:20px;
padding-bottom:5px;
font-size: 78px;
font-weight: 900;
text-align: center;
text-transform: uppercase;
color:#ffffff;
line-height:1;
}


.box-home2 {
position: relative;
z-index: 20;
background-color: #058f3a;
margin-left: 50px;
border-radius: 20px;
display: inline-block;
padding-left:20px;
padding-right:20px;
padding-bottom:20px;
padding-top:15px;
font-size: 44px;
font-weight: 900;
text-align: center;
text-transform: uppercase;
color:#ffffff;
line-height:1;
}

.box-home2 sup {
font-size: 28px;
vertical-align: super; /* opzionale */
}


.box-blu {
position: relative;
z-index: 20;
background-color: #133b89;
margin: auto;
font-size: 26px;
font-weight: 800;
text-align: center;
text-transform: uppercase;
color: #ffffff;
width: 90%;
height: 59px;
padding-bottom:1px;
display: flex;
align-items: center;   /* centra verticalmente */
justify-content: center; /* centra orizzontalmente (opzionale) */
margin-bottom:25px;
}

.box-verde {
position: relative;
z-index: 20;
background-color: #058f3a;
margin: auto;
font-size: 26px;
font-weight: 800;
text-align: center;
text-transform: uppercase;
color: #ffffff;
width: 90%;
height: 59px;
padding-bottom:1px;
display: flex;
align-items: center;   /* centra verticalmente */
justify-content: center; /* centra orizzontalmente (opzionale) */
margin-bottom:25px;
margin-top:45px;
}

.box-premio {
position: relative;
z-index: 20;
background-color: #009a3c;
width:100%;
padding-top:70px;
padding-bottom:70px;
}


.box-fine {
position: relative;
z-index: 20;
background-color: #133b89;
margin: auto;
width: 100%;
min-height: calc(100vh - 260px);

display: flex;
flex-direction: column;   /* mette gli elementi uno sotto l'altro */
justify-content: center;  /* centra verticalmente */
align-items: center;  /* centra orizzontalmente */
text-align: center;   /* centra il testo */
}



.tabella {display: table;width:90%;position:relative;margin:auto;}
.tabella-premio {display: table;width:100%;position:relative;margin:auto;}

.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;
}


.riga { display:table-row;}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna {display: table-cell;vertical-align: top;}

.colonna1 {display: table-cell;vertical-align: top;width:50px;}
.colonna2 {display: table-cell;vertical-align: top;width:840px;}

.colonna50 {display: table-cell;vertical-align: middle;width:50%;}

.colonna-footer1 {display: table-cell;vertical-align: middle;height:170px;width:50%;}
.colonna-footer2 {display: table-cell;vertical-align: middle;height:170px;width:50%;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}


.bottoneform { 
font-family: "Noto Sans", sans-serif;
background-color: #ffffff;
margin-left:auto;
margin-right:auto;
border:0px solid #ffed00;
border-radius: 50px;
font-size: 34px;
font-weight: 900;
text-align: center;
color:#0c3b8e;
padding-top: 15px;
padding-bottom: 15px;
padding-right:0px;
padding-left:0px;
width:300px;
text-transform: uppercase;
}


.bottoneform:hover { 
background-color: #009a3c;
color:#ffffff;
cursor: pointer;
}

.boldo {
font-weight: 700;
}


.titolo {
font-size: 35px;
font-weight: 700;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
padding-top:20px;
margin-bottom:30px;
}


.corpo_home1 {
font-size: 35px;
font-weight: 700;
text-align: left;
color:#ffffff;
line-height:1;
margin-left:83px;
padding-top:70px;
margin-bottom:12px;
}

.corpo_home2 {
font-size: 30px;
font-weight: 400;
text-align: left;
color:#ffffff;
line-height:1.4;
margin-left:83px;
padding-top:25px;
}

.corpo_home3 {
font-size: 38px;
font-weight: 700;
text-align: left;
color:#ffffff;
line-height:1;
margin-left:83px;
padding-top:240px;
margin-bottom:15px;
}

.corpo_home4 {
font-size: 15px;
font-weight: 500;
text-align: left;
color:#ffffff;
line-height:1;
margin-left:83px;
padding-top:20px;
font-style:italic;
}


.corpo_box1 {
font-size: 25px;
font-weight: 500;
text-align: left;
line-height:1.2;
margin-bottom:20px;
}

.corpo_box2 {
font-size: 20px;
font-weight: 500;
text-align: left;
line-height:1.2;
margin-bottom:20px;
}

.corpo_box3 {
font-size: 16px;
font-weight: 500;
text-align: left;
line-height:1.2;
margin-bottom:60px;
margin-top:10px;
font-style:italic;
}

.corpo_pre1 {
font-size: 35px;
font-weight: 900;
text-align: left;
line-height:1;
margin-bottom:26px;
color:#ffffff;
}


.corpo_pre2 {
font-size: 35px;
font-weight: 700;
text-align: left;
line-height:1.2;
margin-bottom:26px;
color:#ffffff;
}

.corpo_pre2 sup {
font-size: 22px;
vertical-align: super; /* opzionale */
}

.corpo_pre3 {
font-size: 18px;
font-weight: 500;
text-align: left;
line-height:1.2;
color:#ffffff;
font-style:italic;
}



.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_reg1 {
font-size: 39px;
font-weight: 900;
text-align: center;
margin-left:15px;
margin-right:15px;
padding-top:35px;
margin-bottom:50px;
line-height:1;
color:#ffffff;
}



.corpo_form {
display:none;
}


.corpo33, .corpo333 {
font-size: 15px;
color:#ffffff;
}


.corpo_for {
font-size: 12px;
font-weight: 200;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-top:-20px;
margin-bottom:30px;
line-height:1;
color:#ffffff;
}


.corpo_fine1 {
font-size: 50px;
font-weight: 800;
text-align: center;
line-height:1;
color:#ffffff;
}

.corpo_fine2 {
font-size: 25px;
font-weight: 500;
text-align: center;
line-height:1.1;
color:#ffffff;
}



.corpo_logo {
font-size: 15px;
font-weight: 500;
text-align: left;
margin-left:35px;
margin-right:15px;
line-height:1;
margin-top:15px;
}

.corpo_footer1 {
font-size: 15px;
font-weight: 500;
text-align: left;
margin-left:35px;
line-height:1.4;
}

.corpo_footer2 {
font-size: 15px;
font-weight: 700;
text-align: left;
margin-left:35px;
line-height:1.4;
}



input.forma {
margin-left:30px;
margin-right:30px;
margin-top:0px;
margin-bottom:30px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 360px;
height: 38px;
padding-top:2px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 22px;
border-radius: 10px;
color:#0d3893;
}

.inputfile {
position: absolute;
left: -9999px;
}

/* bottone */
.file-label {
display: block;
margin: 0px 30px 30px 30px;
padding: 2px 20px 0 20px;
width: 360px;
height: 38px;
line-height: 34px;
text-align: center;
background-color: #009a3c;
border-radius: 10px;
font-size: 22px;
color: #ffffff;
font-weight: 800;
cursor: pointer;
position: relative;
}

/* icona a destra */
.file-label::after {
content: "";
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
background: url('../images/ico-foto.png') no-repeat center;
background-size: contain;
}

/* stato quando file selezionato */
.inputfile.has-file + .file-label {
background-color: red;
}



/* CHECKBOX */
[type="checkbox"] {
position: absolute;
left: -9999px;
}

[type="checkbox"] + label {
position: relative;
padding-left: 40px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
margin-left:32px;
margin-top:40px;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
border: 0px solid #666;
border-radius: 5%; /* rettangolo con angoli arrotondati */
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 21px;
height: 21px;
background: #009a3c;
border-radius: 5%; /* 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;
}


}