@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;
}

 #fumetto_pos
{
position:absolute;
z-index:40;
right:0px;
top: 90px;
width: 100%;
background-color: #1f1f1f;
height:100vh;
display: none;
}

.content {
min-height: calc(100vh - 140px);
z-index:1;
}

img
{
max-width:100%;
}

img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logof
{
display:block;
margin:auto;
width:40vw;
padding-top:25px;
}

img.karna
{
display:block;
margin:auto;
width:42px;
padding-top:30px;
}

img.karna1
{
display:block;
margin:auto;
width:26px;
padding-top:30px;
padding-bottom:30px;
}

img.foto
{
display:block;
margin:auto;
width:100%;
padding-bottom:13px;
padding-top:25px;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:90px;
background-color: #1f1f1f; 
}


#verdetop
{
width: 100%;
position:relative;
z-index:20;
background-color: #30786b; 
padding-bottom:30px;
}


footer
{
width: 100%;
position:relative;
z-index:20;
padding-bottom:30px;
background-color: #1f1f1f; 
}

#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:50px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:36px;
width:165px;
left:30px;
}


#pos_menu
{
position:absolute;
z-index:60;
width:20vw;
right:0px;
top:5px;
}



.hero {
    width: 100%;
    height: 63.646vw;

    background-image: url('../images/img-home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.rigamed
{
width: 94%;
border-top: 1px solid #000000;
margin: 0 auto; 
margin-top:20px;
margin-bottom:30px;
}

#box-priv
{
position:relative;
z-index:20;
width: 86%;
margin:auto;
}

#box
{
position:relative;
z-index:20;
width: 70%;
background-color: #efedea;
border-bottom:25px solid #ffffff;
padding-bottom:25px;
margin:auto;
}

#box-foto
{
position:relative;
z-index:20;
width: 100%;
background-color: #efedea;
margin:auto;
padding-bottom:30px;
}

#box-reg
{
position:relative;
z-index:20;
width: 100%;
background-color: #ffffff;
padding-bottom:25px;
margin:auto;
}


#registrazione
{
position:relative;
z-index:20;
width: 100%;
background-color: #efedea;
margin:auto;
padding-top:50px;
padding-bottom:55px;
margin-top:70px;
}

#faq
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
padding-top:50px;
padding-bottom:55px;
}


.tabella {display: table;width:100%;position:relative;}
.tabella-box {display: table;width:100%;position:relative;}
.tabella-foto {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;
}


.tabella-menu {display: table;width:100%;position:relative;}


.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;}
.colonna33 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna50 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.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;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}



A.bottone:LINK, A.bottone:VISITED, A.bottone:ACTIVE { 
font-family: "ff-scala-sans-pro", sans-serif;
background-color: #efedea;
margin-left:auto;
margin-right:auto;
border:0px solid #000000;
border-radius: 0px;
font-size: 21px;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 10px;
padding-bottom: 10px;
padding-right:0px;
padding-left:0px;
width:300px;
text-transform: uppercase;
display: block;
}


A.bottone:HOVER { 
background-color: #000000;
color:#efedea;
cursor: pointer;
}


.bottoneform { 
font-family: "ff-scala-sans-pro", sans-serif;
background-color: #ffffff;
margin-left:auto;
margin-right:auto;
border:1px solid #000000;
border-radius: 0px;
font-size: 18px;
font-weight: 700;
text-align: center;
color:#000000;
padding-top: 10px;
padding-bottom: 10px;
padding-right:0px;
padding-left:0px;
width:300px;
text-transform: uppercase;
}


.bottoneform:hover { 
background-color: #000000;
color:#ffffff;
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.2;
padding-top:60px;
margin-bottom:30px;
}


.corpo_menu {
font-family: "ff-scala-sans-pro", sans-serif;
font-size: 5vw;
font-weight: 400;
text-align: center;
padding:14px;
}


.corpo_home1 {
font-size: 10vw;
font-weight: 400;
text-align: center;
color:#ffffff;
line-height:1;
margin-top:24px;
}


.corpo_part1 {
font-size: 7vw;
font-weight: 400;
text-align: center;
line-height: 1.1;
margin-top:50px;
margin-bottom:60px;
}

.corpo_box1 {
font-size: 5vw;
font-weight: 400;
text-align: center;
line-height: 1;
margin-left:15px;
margin-right:15px;
}

.corpo_box2 {
font-style: italic;
font-size: 3.5vw;
font-weight: 400;
text-align: center;
line-height: 1;
margin-left:15px;
margin-right:15px;
margin-top:30px;
}

.corpo_premi1 {
font-size: 10vw;
font-weight: 400;
text-align: center;
line-height: 1;
margin-left:15px;
margin-right:15px;
margin-top:40px;
}

.corpo_premi2 {
font-size: 12vw;
font-weight: 700;
text-align: center;
line-height: 1;
margin-left:15px;
margin-right:15px;
}

.corpo_premi3 {
font-size: 10vw;
font-weight: 400;
text-align: center;
line-height: 1;
margin-left:15px;
margin-right:15px;
margin-bottom:40px;
}


.corpo_foto1 {
font-size: 6vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
padding-top:30px;
margin-bottom:30px;
}

.corpo_foto2 {
font-size: 4.4vw;
font-weight: 400;
text-align: center;
line-height: 1.3;
margin-left:25px;
margin-right:25px;
}


.corpo_faq1 {
cursor: pointer;
position: relative;
font-size: 6vw;
font-weight: 700;
text-align: left;
line-height: 1.1;
margin-left:20px;
margin-right:20px;
margin-bottom:10px;
}

.corpo_faq1::after {
content: "+";
position: absolute;
right: 0;
top: 0;
font-size: 28px;
line-height: 1;
transition: transform 0.3s ease;
}

.corpo_faq1.open::after {
content: "-";
}

.corpo_faq2 {
overflow: hidden;
font-size: 4vw;
font-weight: 400;
text-align: left;
line-height: 1.2;
margin-left:20px;
margin-right:20px;
margin-bottom:15px;
}



.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_reg1 {
font-size: 35px;
font-weight: 400;
text-align: left;
margin-left:30px;
margin-right:30px;
padding-top:20px;
line-height:1.2;
}

.corpo_reg2 {
font-size: 15px;
font-weight: 400;
text-align: left;
margin-left:30px;
margin-right:30px;
margin-bottom:20px;
line-height:1.2;
}

.corpo_reg3 {
font-size: 20px;
font-weight: 400;
text-align: left;
margin-left:30px;
margin-right:30px;
padding-top:0px;
margin-bottom:20px;
line-height:1.2;
}

.corpo_form {
font-family: "ff-scala-sans-pro", sans-serif;
font-size: 15px;
font-weight: 700;
text-align: left;
margin-left:30px;
margin-right:30px;
line-height:1;
}

.corpo_form2 {
font-family: "ff-scala-sans-pro", sans-serif;
font-size: 15px;
font-weight: 700;
text-align: left;
margin-left:30px;
margin-right:30px;
line-height:1;
}

.corpo_form1 {
display:none;
}

.corpo_form3 {
font-family: "ff-scala-sans-pro", sans-serif;
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:30px;
margin-right:30px;
margin-top:-8px;
margin-bottom:20px;
line-height:1;
}

.link-password {
color: #ffed00;
font-weight: bold;
text-decoration: underline;
}


.corpo33 {
font-family: "ff-scala-sans-pro", sans-serif;
font-size: 15px;
}

.corpo_fine1 {
font-size: 5vw;
font-weight: 700;
text-align: center;
padding-top:60px;
margin-left:7%;
margin-right:7%;
line-height:1.2;
}

.corpo_fine2 {
font-size: 5vw;
font-weight: 400;
text-align: center;
padding-bottom:60px;
margin-left:7%;
margin-right:7%;
line-height:1.2;
}


.corpo_copy {
font-family: "ff-scala-sans-pro", sans-serif;
font-size: 2.5vw;
font-weight: 400;
text-align: center;
margin-top:10px;
margin-bottom:20px;
color:#ffffff;
}


.corpo_footer1 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.5;
color:#ffffff;
}




.divi {
display:none;
}



input.forma {
font-family: "ff-scala-sans-pro", sans-serif;
margin-left:7%;
margin-right:7%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 74%;
height: 38px;
border:1px dotted #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius:0px;
color:#1e345f;
}

input.formb {
font-family: "ff-scala-sans-pro", sans-serif;
margin-left:7%;
margin-right:7%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 74%;
height: 38px;
border:1px dotted #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius:0px;
color:#1e345f;
}

input.formc {
font-family: "ff-scala-sans-pro", sans-serif;
margin-left:7%;
margin-right:7%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 74%;
height: 38px;
border:1px dotted #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius:0px;
color:#1e345f;
}

select.prov {
font-family: "ff-scala-sans-pro", sans-serif;
margin-left:7%;
margin-right:7%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 84%;
height: 38px;
border:1px solid #000000; 
background-color: #ffffff;
font-size: 14px;
border-radius:0px;
color:#1e345f;

  /* Freccia custom posizionata 10px dal bordo dx */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e345f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 36px; /* evita che il testo finisca sotto la freccia */
}


/* CHECKBOX */
[type="checkbox"] {
position: absolute;
left: -9999px;
}

[type="checkbox"] + label {
position: relative;
padding-left: 30px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
margin-bottom:10px;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 20px;
height: 20px;
border: 1px solid #000000;
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 12px;
height: 12px;
background: #000000;
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;
}


}