@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;
}


.video-desktop {
display: none;
}

.video-mobile {
display: block;
 }
 
 #fumetto_pos
{
position:absolute;
z-index:40;
right:0px;
top: 0vw;
width: 100%;
background-color: #00a7e1;
height:100vh;
display: none;
}

img
{
max-width:100%;
}


img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logobox
{
display:block;
margin:auto;
width:35%;
padding-bottom:35px;
}

img.sail
{
display:block;
margin:auto;
width:70%;
padding-bottom:35px;
}

img.ret
{
display:block;
margin:auto;
width:8vw;
}

img.ret1
{
display:block;
margin:auto;
width:8vw;
}

img.premio1
{
display:block;
padding-top:45px;
}

img.premio2
{
display:block;
padding-top:45px;
}

img.logof
{
display:block;
margin:auto;
padding-bottom:20px;
width:25%;
}

header
{
width: 100%;
position:absolute;
z-index:999;
height:151px;
background-image: url('../images/top.png');
background-position:center top;
}

#modulo
{
width: 100%;
position:relative;
z-index:20;
display:none;
}


footer
{
width: 100%;
position:relative;
z-index:20;
background-color: #ffffff; 
padding-bottom:30px;
}


#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:100px;
}

#topxxx
{
width: 100%;
position:relative;
z-index:20;
height:200px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}

#azzurro
{
width: 100%;
position:relative;
z-index:20;
background-color: #00a7e1; 
}

#azzurrohome
{
width: 100%;
position:relative;
z-index:20;
background-color: #00a7e1; 
padding-top:80px;
}


#pos_logo
{
position:absolute;
z-index:50;
top:40px;
width:70%;
left:7%;
}

#pos_menu
{
position:absolute;
z-index:60;
width:20vw;
right:0px;
top:20px;
}

#home {
width: 100%;
position: relative;
z-index: 20;
height: 100vh;
min-height: auto;
overflow: hidden;
background-position:center center;
}

#quadro4 {
width: 100%;
position: relative;
z-index: 20;
height: 150vw;
overflow: hidden;
}

.video-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

.video-section {
    display: block;
    width: 100%;
    height: auto;
}

.home-content {
position: absolute;
left: 50%;
bottom: calc(40px + env(safe-area-inset-bottom));
transform: translateX(-50%);
width: 100%;
z-index: 30;
}

#quadro1
{
display:none;
}

#quadro1ph
{
width: 100%;
position:relative;
z-index:20;
height:110vw;
background-image: url('../images/img-home.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:100%;
}

#bottomazzurro
{
width: 100%;
position:relative;
z-index:20;
height:178px;
background-image: url('../images/bottom-azzurro.png');
background-position:center top;
margin-top:-2px;
}


.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: 100%;
margin:auto;
}


.tabella {display: table;width:100%;position:relative;}
.tabella-bot {display: table;width:100%;position:relative;padding-top:60px;padding-bottom:60px;}
.tabella00 {display: table;width:100%;position:relative;}

.tabella0 {
display: block;
width: 100%;
max-width: 100%; /* limita la larghezza */
margin: 0 auto;
padding: 0em;
border: none; /* rimuove il bordo del fieldset */
box-sizing: border-box;
}


.tabella-menu {display: table;width:100%;position:relative;padding-top:40vw;}



.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-ret1 {display: table-cell;vertical-align: middle;width:15%;}
.colonna-ret2 {display: table-cell;vertical-align: middle;width:70%;}
.colonna-menu {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;}

.colonna50 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna500 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna-home1 {display: table-cell;vertical-align: middle;width:15%;}
.colonna-home2 {display: table-cell;vertical-align: middle;width:70%;}

.colonna-tel1 {display: table-cell;vertical-align: middle;width:30%;padding-left:13%;}
.colonna-tel2 {display: table-cell;vertical-align: middle;width:70%;padding-right:13%;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}



A.bottone:LINK, A.bottone:VISITED, A.bottone:ACTIVE { 
font-family: "Saira Condensed", sans-serif;
background-color: #000000;
margin-left:auto;
margin-right:auto;
border:0px solid #89388a;
border-radius: 30px;
font-size: 6vw;
font-weight: 500;
text-align: center;
color:#ffffff;
padding-top: 4px;
padding-bottom: 4px;
width:80%;
text-transform: uppercase;
display: block;
margin-bottom:20px;
}


A.bottone:HOVER,
A.bottone.attivo { 
background-color: #b13944;
cursor: pointer;
}


.bottoneform { 
font-family: "Saira Condensed", sans-serif;
background-color: #b13944;
margin-left:auto;
margin-right:auto;
border:0px solid #89388a;
border-radius: 10px;
font-size: 6vw;
font-weight: 800;
text-align: center;
color:#ffffff;
padding-top: 4px;
padding-bottom: 6px;
width:74%;
text-transform: uppercase;
display: block;
}


.bottoneform:hover { 
background-color: #000000;
cursor: pointer;
}

.boldo {
font-weight: 700;
}

.boldo1 {
font-weight: 700;
color:#B13944;
}


.titolo {
font-size: 6vw;
font-weight: 400;
text-align: center;
text-transform: uppercase;
color:#B13944;
line-height:1.2;
padding-top:50vw;
margin-bottom:10px;
margin-left:7%;
margin-right:7%;
}


.corpo_menu {
font-size: 6vw;
font-weight: 500;
text-align: center;
text-transform: uppercase;
padding:14px;
}


.corpo_home1 {
font-size: 6vw;
text-align: center;
color:#ffffff;
line-height:1;
}


.corpo_ico1 {
font-family: "Saira Condensed", sans-serif;
font-size: 10vw;
color:#ffffff;
text-align: center;
line-height: 1;
font-weight: 500;
padding-top:35px;
margin-bottom:35px;
}


.corpo_ico2 {
font-family: "Saira Condensed", sans-serif;
font-size: 5.5vw;
color:#ffffff;
text-align: center;
line-height: 1.4;
font-weight: 400;
margin-left:7%;
margin-right:7%;
margin-bottom:35px;
}

.corpo_ico2 br {
display:none;
}
.corpo_ico3 {
font-family: "Saira Condensed", sans-serif;
font-size: 11vw;
color:#ffffff;
text-align: center;
line-height: 1;
font-weight: 400;
padding-bottom:20px;
}

.corpo_ico4 {
font-family: "Saira Condensed", sans-serif;
font-size: 12vw;
color:#ffffff;
text-align: center;
line-height: 1.3;
font-weight: 400;
padding-top:20px;
}

.corpo_pre1 {
font-size: 5vw;
text-align: center;
text-transform: uppercase;
margin-left:10px;
margin-right:10px;
}


.corpo_pre2 {
font-family: "Saira Condensed", sans-serif;
font-size: 8vw;
text-align: center;
text-transform: uppercase;
margin-left:7%;
margin-right:7%;
padding-top:20px;
padding-bottom:10px;
font-weight: 700;
line-height: 1;
}

.corpo_pre3 {
font-family: "Saira Condensed", sans-serif;
font-size: 5vw;
text-align: center;
margin-left:40px;
margin-right:40px;
font-weight: 400;
line-height:1.2;
padding-bottom:20px;
}

.corpo_pre4{
font-family: "Saira Condensed", sans-serif;
font-size: 5vw;
text-align: center;
margin-left:40px;
margin-right:40px;
font-weight: 500;
line-height:1.2;
padding-bottom:50px;
color:#b13944;
text-decoration: underline;
}


.corpo_regi1 {
font-size: 5vw;
text-align: center;
text-transform: uppercase;
margin-left:10px;
margin-right:10px;
line-height:1;
color:#ffffff;
}





.corpo_priv {
font-family: "Saira Condensed", sans-serif;
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_reg1 {
font-family: "Saira Condensed", sans-serif;
font-size: 6vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:0px;
color:#ffffff;
margin-bottom:25px;
line-height:1;
}

.corpo_reg2 {
font-family: "Saira Condensed", sans-serif;
font-size: 6.5vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:5px;
color:#ffffff;
margin-bottom:23px;
line-height:1;
}

.corpo_reg3 {
font-family: "Saira Condensed", sans-serif;
font-size: 3.5vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:-4px;
color:#ffffff;
margin-bottom:20px;
line-height:1;
}

.corpo_reg30 {
font-family: "Saira Condensed", sans-serif;
font-size: 3.5vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:-4px;
color:#ffffff;
margin-bottom:20px;
line-height:1;
}


.corpo_form {
font-family: "Saira Condensed", sans-serif;
font-size: 4vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
color:#ffffff;
line-height:1;
text-transform: uppercase;
}

.corpo_tel {
font-family: "Saira Condensed", sans-serif;
font-size: 3vw;
}

.corpo_form1 {
font-family: "Saira Condensed", sans-serif;
font-size: 4vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
color:#ffffff;
line-height:1;
text-transform: uppercase;
}

.corpo_form2 {
font-family: "Saira Condensed", sans-serif;
font-size: 4vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
color:#ffffff;
line-height:1;
text-transform: uppercase;
}

.link-password {
color: #ffed00;
font-weight: bold;
text-decoration: underline;
}


.corpo33, .corpo333 {
font-family: "Saira Condensed", sans-serif;
color:#ffffff;
font-size: 3.5vw;
}

.corpo_privo {
font-size: 18px;
font-weight: 400;
text-align: left;
margin-top:30px;
margin-bottom:15px;
margin-left:0px;
margin-right:0px;
line-height:1.1;
}


.corpo_fine1 {
font-size: 12vw;
font-weight: 500;
text-align: center;
color:#ffffff;
line-height:1;
margin-right:10px;
margin-left:10px;
}

.corpo_fine2 {
font-size: 6.5vw;
font-weight: 500;
text-align: center;
color:#ffffff;
line-height:1;
}

.corpo_fine3 {
font-family: "Saira Condensed", sans-serif;
font-size: 5vw;
font-weight: 500;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:60px;
color:#ffffff;
line-height:1;
}

.corpo_fine3 br {
display:none;
}


.corpo_footer1 {
font-family: "Saira Condensed", sans-serif;
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.2;
text-transform: uppercase;
padding-bottom:15px;
}

.corpo_footer2 {
font-family: "Saira Condensed", sans-serif;
font-size: 4.2vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.2;
}

.corpo_footer3 {
font-family: "Saira Condensed", sans-serif;
font-size: 4.2vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.6;
padding-top:15px;
}



.divi {
display:none;
}



input.forma {
margin-left:13%;
margin-right:13%;
margin-top:8px;
margin-bottom:18px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 64%;
height: 40px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

input.formaa {
margin-left:5%;
margin-right:0px;
margin-top:8px;
margin-bottom:18px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 76%;
height: 40px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

select.formaaa {
margin-left:0px;
margin-right:0px;
margin-top:8px;
margin-bottom:18px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 100%;
height: 40px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

input.formb {
margin-left:13%;
margin-right:13%;
margin-top:8px;
margin-bottom:18px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 64%;
height: 40px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

input.formc {
margin-left:13%;
margin-right:13%;
margin-top:8px;
margin-bottom:18px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 64%;
height: 40px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}



/* CHECKBOX */
[type="checkbox"] {
position: absolute;
left: -9999px;
}

[type="checkbox"] + label {
position: relative;
padding-left: 40px;
padding-right: 20px;
cursor: pointer;
display: inline-flex;        /* ?? cambia qui */
align-items: center; 
margin-left:7%;
margin-bottom:20px;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
border: 0px solid #666;
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 21px;
height: 21px;
background: #b13944;
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;
margin-top:7px;
}

label span.corpo333 {
vertical-align: middle;
margin-top:0px;
line-height: 1.2;
}

}