@media only screen and (min-width: 30px) and (max-width: 969px) {


input {
    -webkit-appearance: none;
}

select {
    -webkit-appearance: none;
}


#vedi-ds
{
display:none;
}

#fumetto_pos
{
position:absolute;
z-index:40;
right:0px;
top: 15vw;
width: 100%;
background-color: #fe0000;
height:100vh;
display: none;
}


.desktop-only {
display: none !important;
}

.content {
min-height: calc(100vh - 100px);
z-index:1;
}

img
{
max-width:100%;
}

img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logof
{
display:block;
margin:auto;
width:40%;
padding-bottom:15px;
}

img.soc
{
display:block;
margin:auto;
padding-left:10px;
padding-right:10px;
padding-bottom:15px;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:15vw;
}


footer
{
width: 100%;
position:relative;
z-index:20;
min-height:100px;
background-color: #013d67; 
padding-top:30px;
padding-bottom:20px;
}

#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:7px;
width:35vw;
left:7%;
}

#pos_menu
{
position:absolute;
z-index:60;
top:1.5vw;
width:12vw;
right:7vw;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:340vw;
background-image: url('../images/home-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}

#home2
{
display:none;
}

#lavagna
{
width: 100%;
position:relative;
z-index:20;
height:57vw;
background-image: url('../images/lavagna.jpg');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}

.container {
position: relative;
width: 100%;
}

.red-left {
position: relative;
width: 100%;
background-color: #fe0000;
padding-bottom:30px;
}

.right-top {
display:none;
}

.right-bottom {
display:none;
}



#rosso
{
width: 100%;
position:relative;
z-index:20;
background-color: #fe0000; 
padding-top:20px;
padding-bottom:20px;
margin-top:50px;
}


.rigamed
{
width: 74%;
border-top: 1px solid #ffffff;
margin: 0 auto; 
margin-top:10px;
margin-bottom:15px;
}

#box-priv
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
}

#box-home
{
display:none;
}

#box-part1
{
position:relative;
z-index:20;
width: 90%;
height:188px;
background-color: #ffffff;
margin:auto;
border-radius: 40px;
display: flex;
align-items: center;     /* Allinea verticalmente */
justify-content: center; /* Allinea orizzontalmente (opzionale) */
margin-bottom:10px;
}

#box-part2
{
position:relative;
z-index:20;
width: 90%;
height:188px;
background-color: #023d67;
margin:auto;
border-radius: 40px;
display: flex;
align-items: center;     /* Allinea verticalmente */
justify-content: center; /* Allinea orizzontalmente (opzionale) */
margin-bottom:10px;
}


#box-tit
{
position:relative;
z-index:20;
width: 94%;
height:50px;
background-color: #023d67;
margin:auto;
border-radius: 10px;
display: flex;
align-items: center;     /* Allinea verticalmente */
justify-content: center; /* Allinea orizzontalmente (opzionale) */
margin-bottom:24px;
}

#box-tit1
{
position:relative;
z-index:20;
width: 94%;
height:50px;
background-color: #fe0000;
margin:auto;
border-radius: 10px;
display: flex;
align-items: center;     /* Allinea verticalmente */
justify-content: center; /* Allinea orizzontalmente (opzionale) */
margin-bottom:24px;
margin-top:24px;
}


#box-iban
{
position:relative;
z-index:20;
width: 94%;
background-color: #023d67;
margin:auto;
border-radius: 10px;
margin-top:60px;
}

#box-sco
{
position:relative;
z-index:20;
width: 94%;
margin:auto;
}

#box-pro
{
position:relative;
z-index:20;
width: 94%;
background-color: #fe0000;
margin:auto;
border-radius: 10px;
}



.tabella {display: table;width:100%;position:relative;}
.tabella-soc {display: table;position:relative;margin:auto;}
.tabella-part {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;
}

.tabella00 {
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:50px;}



.riga {
display: table;
width: 100%;
table-layout: fixed;
}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}

.riga-ph { display:table-row;}


.colonna-part1 {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna-part2 {display: table-cell;vertical-align: middle;width:100%;float:left;}

.colonna-soc {display: table-cell;vertical-align: middle;}

.colonna {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-reg {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna-iban {display: table-cell;vertical-align: middle;width:100%;float:left;}
.colonna-footer {display: table-cell;vertical-align: middle;width:100%;float:left;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}


a.men {
  display: block;               /* permette di usare padding verticale */
  font-family: black-han-sans, sans-serif;
  font-size: 7vw;
  font-weight: 400;
  text-align: center;           /* centra il testo orizzontalmente */
  text-transform: uppercase;
  line-height: 1.2;
  padding: 14px;                /* padding uniforme su tutti i lati */
  color: #ffffff;
  text-decoration: none;        /* opzionale, per rimuovere sottolineatura */
}

a.men:hover {
  cursor: pointer;
}




A.bottone:LINK, A.bottone:VISITED, A.bottone:ACTIVE { 
font-family: black-han-sans, sans-serif;
background-color: #f8e925;
margin-left:13%;
margin-right:13%;
border:0px solid #89388a;
border-radius: 10px;
font-size: 33px;
font-weight: 400;
text-align: center;
color:#e30613;
padding-top: 12px;
padding-bottom: 6px;
width:74%;
text-transform: uppercase;
display: block;
}


A.bottone:HOVER { 
background-color: #ffffff;
cursor: pointer;
}


.bottoneform { 
font-family: black-han-sans, sans-serif;
background-color: #ff0000;
margin-left:auto;
margin-right:auto;
border:0px solid #ffed00;
border-radius: 20px;
font-size: 7vw;
font-weight: 400;
text-align: center;
color:#ffffff;
padding-top: 15px;
padding-bottom: 8px;
padding-right:0px;
padding-left:0px;
width:74%;
text-transform: uppercase;
}


.bottoneform:hover { 
background-color: #013d67;
cursor: pointer;
}

.boldo {
font-weight: 700;
color:#fded00;
}

.boldo1 {
font-weight: 800;
color:#fded00;
}

.boldo2 {
font-weight: 700;
}


.titolo {
font-family: black-han-sans, sans-serif;
font-size: 7vw;
font-weight: 400;
text-align: center;
text-transform: uppercase;
line-height:1.2;
padding-top:50px;
margin-bottom:40px;
margin-left:7%;
margin-right:7%;
}


.corpo_home1 {
font-size: 30px;
font-weight: 400;
text-align: left;
color:#ffffff;
margin-bottom:6px;
}

.corpo_home2 {
font-family: black-han-sans, sans-serif;
font-size: 33px;
font-weight: 400;
text-align: left;
color:#ffffff;
line-height:1.1;
}

.corpo_home3 {
font-size: 17px;
font-weight: 400;
text-align: left;
color:#ffffff;
margin-top:6px;
margin-bottom:40px;
}


.corpo_ico1 {
font-size: 6vw;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:30px;
margin-right:30px;
}

.corpo_rosso1 {
font-size: 4.5vw;
font-weight: 700;
text-align: center;
margin-left:5%;
margin-right:5%;
color:#ffffff;
}

.corpo_rosso2 {
font-size: 7vw;
font-weight: 700;
text-align: center;
margin-left:7%;
margin-right:7%;
color:#ffffff;
margin-bottom:20px;
}


.corpo_rosso3 {
font-size: 3.5vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
color:#ffffff;
margin-top:20px;
line-height:1.1;
}

.corpo_reg1 {
font-family: black-han-sans, sans-serif;
font-size: 7vw;
font-weight: 400;
text-align: center;
text-transform: uppercase;
padding-top:50px;
margin-bottom:20px;
}

.corpo_reg2 {
font-size: 4vw;
font-weight: 400;
text-align: center;
line-height:1.2;
margin-bottom:40px;
margin-left:7%;
margin-right:7%;
}

.corpo_tab1 {
font-size: 5vw;
font-weight: 700;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
color:#ffffff;
}

.corpo_iban1 {
font-size: 5vw;
font-weight: 700;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
padding-top:15px;
padding-bottom:15px;
color:#ffffff;
}

.corpo_iban2 {
font-size: 10px;
font-weight: 400;
text-align: center;
line-height:1.3;
margin-left:30px;
margin-right:30px;
padding-bottom:10px;
color:#ffffff;
}


.corpo_pro1 {
font-family: black-han-sans, sans-serif;
font-size: 5vw;
font-weight: 400;
text-align: center;
text-transform: uppercase;
color:#ffffff;
margin-left:7%;
margin-right:7%;
padding-top:20px;
line-height:1.2;
}

.corpo_pro2 {
font-size: 85px;
font-weight: 900;
text-align: center;
text-transform: uppercase;
color:#ffffff;
margin-left:7%;
margin-right:7%;
padding-top:10px;
line-height:1;
padding-bottom:10px;
}

.corpo_pro3 {
font-size: 10px;
font-weight: 400;
text-align: center;
color:#ffffff;
margin-left:15px;
margin-right:15px;
padding-top:0px;
line-height:1;
padding-bottom:30px;
}

.corpo_upload {
font-size: 3vw;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
padding-bottom:20px;
color:#fe0000;
}



.corpo33, .corpo333 {
font-size: 15px;
color:#fe0000;
}


.corpo_help {
font-size: 13px;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:0px;
margin-right:0px;
padding-top:10px;
color:#fe0000;
}



.corpo_footer1 {
font-size: 3vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.4;
color:#ffffff;
}

.corpo_footer2 {
font-size: 2vw;
font-weight: 400;
text-align: center;
margin-left:7%;
margin-right:7%;
color:#ffffff;
}




input.forma {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #023d67; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}


input.forma1 {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}


input.formb {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #023d67; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

input.formc {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #ffffff; 
background-color: #013d67;
font-size: 14px;
border-radius: 0px;
color:#ffffff;
}

input.formd {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #ffffff; 
background-color: #013d67;
font-size: 14px;
border-radius: 0px;
color:#ffffff;
}


input.formd1 {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

input.formd2 {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 64%;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}



select.prov {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 74%;
height: 35px;
border:1px solid #023d67; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
float:right;
}

select.pro {
margin-left:13%;
margin-right:12%;
margin-top:0px;
margin-bottom:15px;
padding-left:5%;
padding-right:5%;
text-align: left;
width: 74%;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#fe0000;
}


/* 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-top:15px;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 20px;
height: 20px;
border: 1px solid #fe0000;
border-radius: 50%; /* rettangolo con angoli arrotondati */
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 12px;
height: 12px;
background: #fe0000;;
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.3;
display: inline-block;
vertical-align: middle;
padding-left:0px;
}




.inputfile {
  display: none;
}

.label-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74%;
  height: 44px;
  background-color: #fe0000;
  color: white;
  font-weight: 400;
  cursor: pointer;
  border-radius: 10px;
  font-size: 3vw;
  transition: background-color 0.3s ease;
  gap: 10px;
  margin-bottom:15px;
  margin-left:13%;
}

.label-custom:hover {
  background-color: #013d67;
}

.label-custom img {
  height: 20px;
  width: auto;
}

/* Stato "file selezionato" */
.label-custom.selected {
  background-color: #8d0000;
}


}