@media only screen and (min-width: 1170px) {

#vedi-ph
{
display:none;
}

.mobile-only {
display: none !important;
}


.content {
min-height: calc(100vh - 100px);
z-index:1;
}

img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logof
{
display:block;
margin:auto;
width:195px;
padding-left:30px;
padding-right:20px;
}

img.soc
{
display:block;
margin:auto;
padding-left:5px;
padding-right:5px;
padding-bottom:5px;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:73px;
}


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: 1170px;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:7px;
width:182px;
left:118px;
}

#pos_menu
{
display:none;
}

#home
{
width: 876px;
position:relative;
z-index:20;
min-height:538px;
background-image: url('../images/img-home.png');
background-position:left top;
background-repeat:no-repeat;
float:right;
margin-top:20px;
}

#home2
{
width: 306px;
position:absolute;
z-index:20;
height:510px;
background-image: url('../images/img-home2.png');
background-position:left top;
background-repeat:no-repeat;
margin-top:0px;
left:-65px;
bottom:11px;
}

#lavagna
{
width: 100%;
position:relative;
z-index:20;
height:569px;
background-image: url('../images/lavagna.jpg');
background-position:center top;
background-repeat:no-repeat;
}

.container {
  position: relative;
  width: 100%;
  height: 620px;
}

.red-left {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% + 321px);
  height: 100%;
  background-color: #fe0000;
}

.right-top {
  position: absolute;
  top: 0;
  left: calc(50% + 321px);
  right: 0;
  height: 560px;
  background-color: #ffead7;
}

.right-bottom {
  position: absolute;
  top: 560px;
  left: calc(50% + 321px);
  right: 0;
  height: 60px;
  background-color: #fe0000;
}



#rosso
{
width: 100%;
position:relative;
z-index:20;
background-color: #fe0000; 
padding-top:40px;
padding-bottom:20px;
margin-top:90px;
}


.rigamed
{
width: 1120px;
border-top: 1px solid #ffffff;
margin: 0 auto; 
margin-top:10px;
margin-bottom:15px;
}

#box-priv
{
position:relative;
z-index:20;
width: 860px;
margin:auto;
}

#box-home
{
position:relative;
z-index:20;
width: 420px;
padding-top:315px;
float:right;
}

#box-part1
{
position:relative;
z-index:20;
width: 365px;
height:188px;
background-color: #ffffff;
margin:auto;
border-radius: 40px;
display: flex;
align-items: center;     /* Allinea verticalmente */
justify-content: center; /* Allinea orizzontalmente (opzionale) */
}

#box-part2
{
position:relative;
z-index:20;
width: 189px;
height:188px;
background-color: #023d67;
margin:auto;
border-radius: 40px;
display: flex;
align-items: center;     /* Allinea verticalmente */
justify-content: center; /* Allinea orizzontalmente (opzionale) */
}


#box-tit
{
position:relative;
z-index:20;
width: 860px;
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: 860px;
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: 355px;
background-color: #023d67;
margin:auto;
border-radius: 10px;
float:right;
}

#box-sco
{
position:relative;
z-index:20;
width: 355px;
margin:auto;
float:right;
}

#box-pro
{
position:relative;
z-index:20;
width: 355px;
background-color: #fe0000;
margin:auto;
border-radius: 10px;
float:right;
}



.tabella {display: table;width:100%;position:relative;}
.tabella-soc {display: table;position:relative;}
.tabella-part {display: table;width:578px;position:relative;margin:auto;}

.tabella0 {
display: block;
width: 100%;
max-width: 860px; /* 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: 355px; /* limita la larghezza */
margin: 0 auto;
padding: 0em;
border: none; /* rimuove il bordo del fieldset */
box-sizing: border-box;
}


.tabella-menu {float:right;position:relative;margin-right:242px;}



.riga { display:table-row;}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna-part1 {display: table-cell;vertical-align: middle;height:200px;width:377px;}
.colonna-part2 {display: table-cell;vertical-align: middle;height:200px;width:201px;}

.colonna-soc {display: table-cell;vertical-align: middle;}

.colonna {display: table-cell;vertical-align: middle;}
.colonna50 {display: table-cell;vertical-align: middle;width:50%;}
.colonna-menu {display: table-cell;vertical-align: middle;height:73px;}
.colonna-reg {display: table-cell;vertical-align: top;width:430px;}
.colonna-iban {display: table-cell;vertical-align: top;width:50%;}
.colonna-footer {display: table-cell;vertical-align: middle;height:120px;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}


A.men:LINK, A.men:VISITED, A.men:ACTIVE { 
background-color: #ff0000;
margin-left:16px;
margin-right:16px;
border:0px solid #89388a;
border-radius: 10px;
font-size: 14px;
font-weight: 700;
text-align: center;
color:#ffffff;
padding-top: 5px;
padding-bottom: 5px;
padding-left:10px;
padding-right:10px;
text-transform: uppercase;
}


A.men:HOVER { 
background-color: #013d67;
cursor: pointer;
}



A.bottone:LINK, A.bottone:VISITED, A.bottone:ACTIVE { 
font-family: black-han-sans, sans-serif;
background-color: #f8e925;
margin-left:65px;
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:240px;
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: 36px;
font-weight: 400;
text-align: center;
color:#ffffff;
padding-top: 15px;
padding-bottom: 8px;
padding-right:0px;
padding-left:0px;
width:200px;
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: 30px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
line-height:1.2;
padding-top:50px;
margin-bottom:40px;
}


.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: 28px;
font-weight: 700;
text-align: center;
line-height: 1.1;
margin-left:30px;
margin-right:30px;
}

.corpo_rosso1 {
font-size: 30px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
color:#ffffff;
}

.corpo_rosso2 {
font-size: 41px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
color:#ffffff;
margin-bottom:35px;
}


.corpo_rosso3 {
font-size: 15px;
font-weight: 400;
text-align: center;
margin-left:160px;
margin-right:160px;
color:#ffffff;
margin-top:20px;
line-height:1.1;
}

.corpo_reg1 {
font-family: black-han-sans, sans-serif;
font-size: 40px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
padding-top:50px;
margin-bottom:20px;
}

.corpo_reg2 {
font-size: 30px;
font-weight: 400;
text-align: center;
line-height:1.2;
margin-bottom:40px;
margin-left:200px;
margin-right:200px;
}

.corpo_tab1 {
font-size: 27px;
font-weight: 700;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
color:#ffffff;
}

.corpo_iban1 {
font-size: 18px;
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: 18px;
font-weight: 400;
text-align: left;
text-transform: uppercase;
color:#ffffff;
margin-left:30px;
padding-top:20px;
line-height:1.2;
}

.corpo_pro2 {
font-size: 85px;
font-weight: 900;
text-align: left;
text-transform: uppercase;
color:#ffffff;
margin-left:0px;
padding-top:30px;
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: 13px;
font-weight: 400;
text-align: left;
line-height:1;
margin-left:0px;
margin-right:0px;
padding-bottom:10px;
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: 13px;
font-weight: 400;
text-align: right;
margin-left:15px;
margin-right:35px;
line-height:1.4;
color:#ffffff;
}

.corpo_footer2 {
font-size: 11px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
color:#ffffff;
}




input.forma {
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 333px;
height: 35px;
border:1px solid #023d67; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}


input.forma1 {
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 333px;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}




input.formb {
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 333px;
height: 35px;
border:1px solid #023d67; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
float:right;
}

input.formc {
margin-left:13px;
margin-right:13px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 128px;
height: 35px;
border:1px solid #ffffff; 
background-color: #013d67;
font-size: 14px;
border-radius: 0px;
color:#ffffff;
}

input.formd {
margin-left:13px;
margin-right:13px;
margin-top:0px;
margin-bottom:10px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 307px;
height: 35px;
border:1px solid #ffffff; 
background-color: #013d67;
font-size: 14px;
border-radius: 0px;
color:#ffffff;
}


input.formd1 {
margin-left:0px;
margin-right:10px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 180px;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}

input.formd2 {
margin-left:10px;
margin-right:0px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 110px;
height: 35px;
border:1px solid #fe0000; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
}



select.prov {
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 353px;
height: 35px;
border:1px solid #023d67; 
background-color: #ffffff;
font-size: 14px;
border-radius: 0px;
color:#1e345f;
float:right;
}

select.pro {
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:15px;
padding-left:10px;
padding-right:10px;
text-align: left;
width: 353px;
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: 355px;
  height: 44px;
  background-color: #fe0000;
  color: white;
  font-weight: 400;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
  transition: background-color 0.3s ease;
  gap: 10px;
  margin-bottom:15px;
}

.label-custom:hover {
  background-color: #013d67;
}

.label-custom img {
  height: 20px;
  width: auto;
}

/* Stato "file selezionato" */
.label-custom.selected {
  background-color: #8d0000;
}



}