@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;
}

.content {
min-height: calc(100vh - 180px);
z-index:1;
}

#fumetto_pos
{
position:absolute;
z-index:40;
right:0px;
top: 25vw;
width: 100%;
background-color: #f3e8db;
height:100vh;
display: none;
}

img
{
max-width:100%;
}

img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logof
{
display:block;
margin:auto;
width:30vw;
margin:auto;
padding-top:25px;
}

img.ico
{
display:block;
margin:auto;
max-width:100%;
}

img.text-home
{
display:block;
margin:auto;
width:80%;
margin-top:20px;
}

header
{
width: 100%;
position:absolute;
z-index:999;
height:25vw;
}


footer
{
width: 100%;
position:relative;
z-index:20;
background-color: #f3e8db; 
}


#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:50px;
}

#botxxx
{
width: 100%;
position:relative;
z-index:20;
height:40px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:6.5vw;
width:32vw;
left:6.5vw;
}

#pos_ico1
{
position:absolute;
z-index:50;
top:-19vw;
width:43vw;
left:50%;
margin-left:-22vw;
}



#pos_menu
{
position:absolute;
z-index:60;
width:27vw;
right:0;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:1430px;
background-image: url('../images/img-home.jpg');
background-position:center top;
background-repeat:no-repeat;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:100vw;
background-image: url('../images/img-home-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}

#cornice
{
width: 100%;
position:relative;
z-index:20;
height:160vw;
background-image: url('../images/cornice-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}

#cornice-nowin
{
width: 100%;
position:relative;
z-index:20;
height:164vw;
background-image: url('../images/cornice-nowin-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
margin-bottom:10px;
background-size:100%;
}

#cornice-win
{
width: 100%;
position:relative;
z-index:20;
height:214.3vw;
background-image: url('../images/cornice-win-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
margin-bottom:10px;
background-size:100%;
}

#cornicexxx
{
width: 100%;
position:relative;
z-index:20;
height:25vw;
}

#bannerxxx
{
width: 100%;
position:relative;
z-index:20;
height:30vw;
}

.banner {
  width: 86vw;
  height: 14vw;
  margin:auto;

  /* Sfondo sfumato come nell'immagine */
  background: linear-gradient(to right, 
    rgb(135,28,23), 
    rgb(165,29,29), 
    rgb(135,28,23)
  );

  /* Bordo sottile dorato */
  border: 2px solid rgb(187,152,86);

  /* Centrare testo */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Stile testo */
  font-size: 6.5vw;
  font-weight: bold;
  color: white;
  text-align: center;
  text-transform: uppercase;
}



.rigamed
{
width: 750px;
border-top: 1px solid #ffed00;
margin: 0 auto; 
margin-top:40px;
margin-bottom:40px;
}

.rigacor
{
width: 68%;
border-top: 3px solid #bb9855;
margin: 0 auto; 
margin-top:30px;
margin-bottom:30px;
}



#box-priv
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
}

#box-ico
{
position:relative;
z-index:20;
width: 88vw;
margin:auto;
border: 2px solid #bb9855;
margin-bottom:30vw;
}

#box-ico2
{
position:relative;
z-index:20;
width: 88vw;
margin:auto;
border: 2px solid #bb9855;
margin-bottom:30vw;
}

#box-ico20
{
position:relative;
z-index:20;
width: 88vw;
margin:auto;
border: 2px solid #bb9855;
margin-bottom:10vw;
}

#box-ico1
{
position:relative;
z-index:20;
width: 80vw;
margin:auto;
background-color: #f3e8db; 
border: solid 4vw #ffffff;
}


#box-log1
{
position:relative;
z-index:20;
width: 94vw;
margin:auto;
border: 2px solid #bb9855;
margin-bottom:40px;
}

#box-log2
{
position:relative;
z-index:20;
width: 86vw;
margin:auto;
background-color: #f3e8db; 
border: solid #ffffff 4vw;
}



.tabella {display: table;width:100%;position:relative;}
.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;
}

.tabella000 {
display: block;
width: 100%;
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:40px;}



.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;}

.colonna-footer1 {display: table-cell;vertical-align: middle;width:100%;float:left;padding-bottom:25px;}
.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: "Montserrat", sans-serif;
background-color: #492f23;
margin-left:auto;
margin-right:auto;
border:2px solid #bb9855;
border-radius: 50px;
font-size: 5vw;
font-weight: 700;
text-align: center;
color:#ffffff;
padding-top: 15px;
padding-bottom: 15px;
width:74%;
text-transform: uppercase;
display: block;
}


A.bottone:HOVER { 
  background: linear-gradient(to right, 
    rgb(135,28,23), 
    rgb(165,29,29), 
    rgb(135,28,23)
  );
cursor: pointer;
}


.bottoneform { 
font-family: "Montserrat", sans-serif;
background-color: #492f23;
margin-left:auto;
margin-right:auto;
border:2px solid #bb9855;
border-radius: 50px;
font-size: 5vw;
font-weight: 700;
text-align: center;
color:#ffffff;
padding-top: 15px;
padding-bottom: 15px;
width:74%;
text-transform: uppercase;
display: block;
}


.bottoneform:hover { 
  background: linear-gradient(to right, 
    rgb(135,28,23), 
    rgb(165,29,29), 
    rgb(135,28,23)
  );
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:35vw;
margin-bottom:50px;
color:#bb9855;
margin-left:7%;
margin-right:7%;
}

.titolo1 {
font-size: 7vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.2;
padding-top:50px;
margin-bottom:140px;
}


.corpo_menu {
font-size: 6vw;
font-weight: 700;
text-align: center;
padding:14px;
}

.corpo_link {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
padding-top:4px;
}


.corpo_home1 {
font-size: 5vw;
font-weight: 400;
text-align: center;
line-height:1.1;
margin-left:7%;
margin-right:7%;
padding-top:70px;
margin-bottom:25px;
}

.corpo_home1 br{
display:none;
}



.corpo_home2 {
font-size: 15vw;
font-weight: 700;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
padding-top:0px;
}


.corpo_cor1 {
font-size: 7vw;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
padding-top:20vw;
margin-bottom:5px;
color:#bb9855;
text-transform: uppercase;
}

.corpo_cor2 {
font-size: 9vw;
font-weight: 900;
text-align: center;
line-height:1.1;
margin-left:0px;
margin-right:0px;
color:#ffffff;
text-transform: uppercase;
}

.corpo_cor3 {
font-size: 19vw;
font-weight: 900;
text-align: center;
line-height:1;
margin-left:0px;
margin-right:0px;
color:#ffffff;
text-transform: uppercase;
letter-spacing:-5px;
}

.corpo_cor4 {
font-size: 7vw;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:14%;
margin-right:14%;
margin-bottom:5px;
color:#bb9855;
text-transform: uppercase;
}

.corpo_eu {
font-size: 15vw;
}


.corpo_ico1 {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
line-height: 1.1;
padding-top:20vw;
margin-left:20px;
margin-right:20px;
margin-bottom:30px;
}




.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_login1 {
font-size: 5vw;
font-weight: 800;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:30px;
margin-bottom:5px;
line-height:1;

}

.corpo_login2 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.1;
}

.corpo_login3 {
font-size: 4vw;
font-weight: 800;
text-align: center;
margin-left:7%;
margin-right:7%;
margin-top:50px;
margin-bottom:5px;
line-height:1;
text-transform: uppercase;
}

.corpo_form {
font-size: 4vw;
font-weight: 400;
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:1;
}

.link-password {
font-weight: bold;
text-decoration: underline;
}


.corpo33, .corpo333 {
font-size: 4vw;
}

.corpo_privo {
font-size: 4vw;
font-weight: 400;
text-align: left;
margin-top:30px;
margin-bottom:15px;
margin-left:0px;
margin-right:0px;
line-height:1.1;
}


.corpo_sco1 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.1;
margin-bottom:40px;
}

.corpo_sco2 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.1;
margin-bottom:10px;
}

.corpo_sco3 {
font-size: 4vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.1;
margin-top:10px;
color:#c0001f;
text-transform: uppercase;
}

.corpo_sco4 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.1;
margin-bottom:0px;
}


.corpo_nowin1 {
font-size: 8vw;
font-weight: 900;
text-align: center;
line-height:1;
text-transform: uppercase;
padding-top:25vw;
margin-left:17%;
margin-right:17%;
}

.corpo_nowin2 {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
line-height:1.2;
margin-left:17%;
margin-right:17%;
margin-top:35px;
}

.corpo_nowin3 {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
line-height:1.2;
margin-left:17%;
margin-right:17%;
margin-top:25px;
}

.corpo_win1 {
font-size: 8vw;
font-weight: 900;
text-align: center;
line-height:1;
text-transform: uppercase;
padding-top:25vw;
color:#bb9855;
margin-bottom:5px;
}


.corpo_win2 {
font-size: 4.5vw;
font-weight: 800;
text-align: center;
line-height:1.2;
margin-left:17%;
margin-right:17%;
margin-top:0px;
color:#ffffff;
}

.corpo_win3 {
font-size: 4.5vw;
font-weight: 400;
text-align: center;
line-height:1.2;
margin-left:17%;
margin-right:17%;
color:#ffffff;
}

.corpo_win4 {
font-size: 4vw;
font-weight: 800;
text-align: center;
line-height:1.2;
margin-left:15px;
margin-right:15px;
color:#bb9855;
}

.corpo_win5 {
font-size: 4vw;
font-weight: 800;
text-align: center;
line-height:1.2;
color:#ffffff;
margin-left:17%;
margin-right:17%;
}



.corpo_footer1 {
font-size: 4vw;
font-weight: 700;
text-align: center;
margin-right:14%;
margin-left:14%;
line-height:1.1;
text-transform: uppercase;
margin-bottom:15px;
}

.corpo_footer2 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-right:7%;
margin-left:7%;
line-height:1.3;
}

.corpo_footer3 {
font-size: 4vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.6;
text-transform: uppercase;
padding-top:20px;
padding-bottom:30px;
}



.divi {
display:none;
}


input.forma {
margin-left:10%;
margin-right:10%;
margin-top:8px;
margin-bottom:20px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 70%;
height: 58px;
border:2px solid #bb9855;
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

input.formb {
margin-left:10%;
margin-right:10%;
margin-top:8px;
margin-bottom:20px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 70%;
height: 58px;
border:2px solid #bb9855;
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

select.prov {
margin-left:10%;
margin-right:10%;
margin-top:8px;
margin-bottom:20px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 80%;
height: 58px;
border:2px solid #bb9855;
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: 30px;
padding-right: 20px;
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 #bb9855;
border-radius: 50%; /* cerchio per radio */
background: #fff
}

input.radion[type="radio"] + label::after {
content: '';
position: absolute;
top: 7px;
left: 7px;
width: 10px;
height: 10px;
background: #bb9855;
border-radius: 50%;
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: 30px;
padding-right: 20px;
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 #bb9855;
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: #bb9855;
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.6;
padding-right:50px;
padding-left:0px;
}
}