@media only screen and (min-width: 970px) and (max-width: 1169px) {

#vedi-ph
{
display:none;
}

.mobile-only {
display: none !important;
}

a.men {
  display: inline-block;   /* fondamentale */
  color: #ffffff;
  text-decoration: none;
  padding: 2px 10px;      /* il tuo spazio interno */
  border-radius: 10px;
  transition: all 0.2s ease;
  margin-left:45px;
  margin-right:15px;
}

/* stati normali */
a.men:link,
a.men:visited,
a.men:active {
  color: #ffffff;
}

/* hover */
a.men:hover {
  background-color: #ffffff; /* rettangolo */
  color: #e30613;            /* testo rosso */
}


.content {
min-height: calc(100vh - 205px);
z-index:1;
}

img
{
max-width:100%;
}

img.per
{
display:block;
margin:auto;
}

img.titoloimg
{
display:block;
margin-left:200px;
padding-top:160px;
padding-bottom:15px;
width:740px;
}

img.cta
{
display:block;
margin:auto;
padding-top:110px;
padding-bottom:0px;
}

img.piu
{
display:block;
margin:auto;
height:45px;
margin-left:15px;
}

img.info
{
display:block;
margin:auto;
height:20px;
padding-bottom:5px;
margin-left:15px;
}

img.info1
{
display:block;
margin:auto;
height:20px;
padding-bottom:5px;
margin-left:15px;
}

img.meccanica
{
display:block;
margin:auto;
width:476px;
padding-top:570px;
padding-bottom:80px;
}

img.pre
{
display:block;
margin-left:40px;
}

img.pre2
{
display:block;
margin-left:40px;
}

img.smart
{
display:block;
margin:auto;
padding-left:40px;
width:250px;
padding-top:0px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6); /* opacità sfondo */
    z-index: 9999;

    justify-content: center;
    align-items: center;
}

.overlay.attivo {
    display: flex;
}

.popup {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    text-align: center;

    max-width: 90%;
    max-height: 90%;
}

.popup img {
    max-width: 100%;
    height: auto;
}

.chiudi {
    margin-top: 15px;
    padding: 8px 15px;
    cursor: pointer;
}

.wrapper-center {
position: fixed; /* oppure absolute se preferisci */
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.container {
width: 1140px;
padding-top:50px;
padding-bottom:50px;
background: #fff;
}

header
{
width: 100%;
position:absolute;
z-index:999;
height:60px;
background-color: #e30613; 
box-shadow: -5px 6px 16px 0 rgba(31, 31, 31, 0.5);
}


footer
{
width: 100%;
position:relative;
z-index:10;
min-height:205px;
}

#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:70px;
}

#footerhome1
{
width: 100%;
position:relative;
z-index:20;
height:80px;
}

#footerhome2
{
width: 100%;
position:relative;
z-index:20;
height:240px;
}

#prexxx
{
width: 100%;
position:relative;
z-index:20;
height:60px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
top:0px;
width:285px;
left:180px;
}

#pos_menu
{
display:none;
}

#pos_pers1
{
position:absolute;
z-index:50;
width:286px;
bottom:-100px;
left:-100px;
}

#pos_pers2
{
position:absolute;
z-index:50;
width:336px;
bottom:-110px;
right:0px;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:100vh;
background-image: url('../images/sfondo-home.jpg');
background-position:center top;
overflow: hidden;
}

#conthome
{
width: 100%;
position:relative;
z-index:20;
min-height:1381px;
background-image: url('../images/img-home.png');
background-position:center top;
background-repeat:no-repeat;
}


#top
{
width: 100%;
position:relative;
z-index:20;
height:210px;
background-image: url('../images/img-top.png');
background-position:right bottom;
background-repeat:no-repeat;
margin-bottom:20px;
background-size:100%;
}

#mezzo
{
width: 100%;
position:relative;
z-index:20;
background-image: url('../images/mezzo.png');
background-position:center top;
background-repeat:repeat-y;
}


#win
{
width: 100%;
position:relative;
z-index:20;
height:603px;
background-image: url('../images/img-win.png');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}


.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: 90%;
margin:auto;
padding-top:20px;
}

#box-red

{
position:relative;
z-index:20;
width: 90%;
margin:auto;
background-color:#e30613;
padding-top:40px;
padding-bottom:60px;
}


#box-reg
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
}

#box-dom
{
position:relative;
z-index:20;
width: 530px;
margin:auto;
}

#box-sco1
{
position:relative;
z-index:20;
width: 760px;
margin:auto;
}

#box-sco2
{
position:relative;
z-index:20;
width: 760px;
margin:auto;
}


.menu-nav {
position: relative;
margin:auto;
}

.menu-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center; /* ? questo centra orizzontalmente */
}

.menu-item {
display: flex;
align-items: center;
height: 60px;           /* come .colonna-menu */
}



.tabella {display: table;width:100%;position:relative;}
.tabella00 {display: table;margin:auto;position:relative;}
.tabella000 {display: table;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 {float:right;position:relative;margin-right:175px;}



.riga { display:table-row;}
.riga0 { display:table-row;}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna {display: table-cell;vertical-align: middle;}
.colonna1 {display: table-cell;vertical-align: middle;}
.colonna2 {display: table-cell;vertical-align: middle;}
.colonna3 {display: table-cell;vertical-align: middle;}

.colonna50 {display: table-cell;vertical-align: top;width:50%;}
.colonna500 {display: table-cell;vertical-align: middle;width:50%;}
.colonna501 {display: table-cell;vertical-align: middle;width:50%;}

.colonna-win1 {display: table-cell;vertical-align: top;width:60%;}
.colonna-win2 {display: table-cell;vertical-align: top;width:40%;}

.colonna-pre1 {display: table-cell;vertical-align: middle;width:45%;}
.colonna-pre2 {display: table-cell;vertical-align: middle;width:55%;}

.colonna-pre3 {display: table-cell;vertical-align: middle;width:45%;}
.colonna-pre4 {display: table-cell;vertical-align: middle;width:55%;}


.colonna-menu {display: table-cell;vertical-align: middle;height:100px;}
.colonna-footer {display: table-cell;vertical-align: middle;height:120px;}

table {
border-collapse: separate;
border-spacing: 3px 0; /* 3px orizzontale, 0 verticale */
}


A.bottonehome1:LINK, A.bottonehome1:VISITED, A.bottonehome1:ACTIVE { 
font-family: 'Hello-Headline', sans-serif;
font-style: normal;
background-color: #ffffff;
margin-left:auto;
margin-right:auto;
border:4px solid #ffffff;
border-radius: 20px;
font-size: 50px;
text-align: center;
color:#c22026;
padding-top: 0px;
padding-bottom: 0px;
width:530px;
text-transform: uppercase;
display: block;
}


A.bottonehome1:HOVER { 
background-color: #c22026;
color:#ffffff;
cursor: pointer;
}


A.bottone:LINK, A.bottone:VISITED, A.bottone:ACTIVE { 
font-family: 'Hello-Headline', sans-serif;
font-style: normal;
background-color: #000000;
margin-left:auto;
margin-right:auto;
border:2px solid #000000;
border-radius: 20px;
font-size: 25px;
text-align: center;
color:#ffffff;
padding-top: 10px;
padding-bottom: 10px;
width:280px;
text-transform: uppercase;
display: block;
}


A.bottone:HOVER { 
background-color: #ffffff;
color:#000000;
cursor: pointer;
}


.bottoneform { 
font-family: 'Hello-Headline', sans-serif;
font-style: normal;
background-color: #000000;
margin-left:auto;
margin-right:auto;
border:0px solid #ffffff;
border-radius: 20px;
font-size: 25px;
text-align: center;
color:#ffffff;
padding-top: 10px;
padding-bottom: 10px;
width:280px;
text-transform: uppercase;
display: block;
}


.bottoneform:hover { 
background-color: #ffffff;
color:#000000;
cursor: pointer;
}

.boldo {
font-weight: 700;
}

.boldo1 {
font-weight: 800;
}


.titolo {
font-family: 'Hello-Headline', sans-serif;
font-size: 46px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
color:#ffffff;
line-height:1.2;
margin-bottom:30px;
}

.titolo1 {
font-family: 'Hello-Headline', sans-serif;
font-size: 30px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
line-height:1.2;
margin-bottom:30px;
padding-top:100px;
}

img.acc
{
display:block;
margin:auto;
margin-top:30px;
width:400px;
}

.corpo_menu {
font-family: 'Hello-Headline', sans-serif;
font-size: 24px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
}


.corpo_home1 {
font-family: 'Hello-Headline', sans-serif;
font-size: 140px;
text-align: center;
color:#a8252a;
line-height:.9;
padding-top:110px;
text-transform: uppercase;
}



.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_login1 {
font-family: 'Hello-Headline', sans-serif;
text-transform: uppercase;
font-size: 40px;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:5px;
line-height:1;
color:#ffffff;
}

.corpo_login2 {
font-size: 21px;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:50px;
margin-top:60px;
line-height:1.2;
color:#ffffff;
}

.corpo_reg1 {
font-size: 21px;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:50px;
margin-top:0px;
line-height:1.2;
color:#ffffff;
}



.corpo_form {
display:none;
}

.corpo_form1 {
font-size: 15px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1px;
padding-top:35px;
}

.corpo_form2 {
font-size: 15px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1px;
padding-top:35px;
color:#ffffff;
}

.corpo_form3 {
font-size: 21px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
line-height:1.1px;
margin-bottom:15px;
color:#ffffff;
}

.corpo_form4 {
font-size: 12px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
line-height:1.2px;
color:#ffffff;
margin-bottom:9px;
}

.link-password {
color: #ffffff;
text-decoration: underline;
}


.corpo33, .corpo333 {
font-size: 16px;
color:#ffffff;
}

.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_que1 {
font-size: 21px;
text-align: left;
margin-left:25px;
margin-right:15px;
line-height:1.2;
color:#ffffff;
}

.corpo_priv1 {
font-size: 15px;
text-align: left;
margin-left:25px;
margin-right:0px;
line-height:1.2;
color:#ffffff;
}


.corpo_pop1 {
font-size: 28px;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1.2;
margin-bottom:30px;
}

.corpo_sco1 {
font-size: 21px;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1.2;
margin-top:20px;
margin-bottom:50px;
color:#ffffff;
}

.corpo_sco2 {
font-family: 'Hello-Headline', sans-serif;
text-transform: uppercase;
font-size: 32px;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-bottom:30px;
line-height:1;
color:#ffffff;
}

.corpo_sco3 {
font-size: 19px;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.2;
margin-bottom:30px;
color:#ffffff;
}

.corpo_sco30 {
font-size: 19px;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.2;
margin-bottom:30px;
color:#ffffff;
}

.corpo_info {
font-size: 17px;
text-align: center;
margin-left:10px;
margin-right:10px;
line-height:1.2;
color:#ffffff;
font-weight: 900;
margin-top:0px;
margin-bottom:5px;
}

.corpo_nowin1 {
font-family: 'Hello-Headline', sans-serif;
font-size: 65px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
color:#ffffff;
line-height:1;
margin-bottom:30px;
}

.corpo_nowin2 {
font-size: 21px;
font-weight: 400;
text-align: center;
color:#ffffff;
line-height:1.2;
margin-bottom:50px;
margin-left:170px;
margin-right:170px;
}

.corpo_win1 {
font-family: 'Hello-Headline', sans-serif;
font-size: 60px;
font-weight: 400;
text-align: left;
text-transform: uppercase;
color:#ffffff;
line-height:1;
margin-left:45px;
margin-bottom:40px;
}

.corpo_win2 {
font-size: 18px;
font-weight: 700;
text-align: left;
color:#ffffff;
line-height:1.1;
margin-left:45px;
margin-bottom:20px;
}


.corpo_win3 {
font-size: 18px;
font-weight: 400;
text-align: left;
color:#ffffff;
line-height:1.1;
margin-left:45px;
margin-right:45px;
margin-top:20px;
margin-bottom:50px;
}

.corpo_pre1 {
font-size: 35px;
font-weight: 400;
text-align: center;
color:#ffffff;
line-height:1;
}

.corpo_pre2 {
font-family: 'Hello-Headline', sans-serif;
font-size: 36px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
color:#ffffff;
line-height:1;
margin-bottom:30px;
margin-top:10px;
margin-right:15px;
}

.corpo_pre3 {
font-size: 21px;
font-weight: 400;
text-align: center;
color:#ffffff;
line-height:1.1;
}

.corpo_pre4 {
font-size: 18px;
font-weight: 400;
text-align: center;
color:#ffffff;
line-height:1.1;
margin-left:30px;
margin-right:30px;
}

.corpo_footerhome1 {
font-family: "myriad-pro", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 15px;
text-align: center;
margin-left:100px;
margin-right:100px;
line-height:1.2;
color:#ffffff;
}

.corpo_footerhome2 {
font-family: "myriad-pro", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 15px;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-top:25px;
line-height:1.2;
color:#ffffff;
}


.corpo_footer1 {
font-family: "myriad-pro", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 15px;
text-align: center;
margin-left:100px;
margin-right:100px;
line-height:1.2;
}

.corpo_footer2 {
font-family: "myriad-pro", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 15px;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-top:25px;
line-height:1.2;
}


input.forma {
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:10px;
padding-left:20px;
padding-right:20px;
text-align: left;
width: 260px;
height: 58px;
border:1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color:#000000;
}

.forma::placeholder {
font-size: 20px;
color: #000000;
}

input.formb {
margin-left:15px;
margin-right:15px;
margin-top:0px;
margin-bottom:30px;
padding-left:20px;
padding-right:20px;
text-align: left;
width: 320px;
height: 58px;
border:1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color:#000000;
}

input.formc {
margin-left:20px;
margin-right:20px;
margin-top:8px;
margin-bottom:35px;
padding-left:20px;
padding-right:20px;
text-align: left;
width: 300px;
height: 45px;
border:1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color:#000000;
}



select.prov {
margin-left:20px;
margin-right:20px;
margin-top:10px;
margin-bottom:10px;
padding-left: 20px;
padding-right: 50px; /* un po’ più spazio per la freccia grande */
width: 340px;
height: 45px;
text-align: center;
border: 1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color: #000000;

appearance: none;
-webkit-appearance: none;
-moz-appearance: none;

background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
background-repeat: no-repeat;
background-position: right 10px center;
}

select.prov1 {
margin-left:20px;
margin-right:20px;
margin-top:10px;
margin-bottom:10px;
padding-left: 20px;
padding-right: 50px; /* un po’ più spazio per la freccia grande */
width: 340px;
height: 45px;
text-align: center;
border: 1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color: #000000;

appearance: none;
-webkit-appearance: none;
-moz-appearance: none;

background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
background-repeat: no-repeat;
background-position: right 10px center;
}

select.prov2 {
margin-left:20px;
margin-right:20px;
margin-top:10px;
margin-bottom:30px;
padding-left: 20px;
padding-right: 50px; /* un po’ più spazio per la freccia grande */
width: 480px;
height: 45px;
text-align: left;
border: 1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color: #000000;

appearance: none;
-webkit-appearance: none;
-moz-appearance: none;

background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
background-repeat: no-repeat;
background-position: right 10px center;
}

select.prov3 {
margin-left:20px;
margin-right:20px;
margin-top:10px;
margin-bottom:30px;
padding-left: 20px;
padding-right: 50px; /* un po’ più spazio per la freccia grande */
width: 100px;
height: 45px;
text-align: center;
border: 1px solid #000000; 
background-color: #ffffff;
font-size: 20px;
border-radius: 0px;
color: #000000;

appearance: none;
-webkit-appearance: none;
-moz-appearance: none;

background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
background-repeat: no-repeat;
background-position: right 10px center;
}



/* RADIO buttons */
[type="radio"] {
position: absolute;
left: -9999px;
}

input.radion[type="radio"] + label {
position: relative;
padding-left: 40px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
margin-left:30px;
margin-top:10px;
margin-bottom:10px;
}

input.radion[type="radio"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
border: 1px solid #e30613;
border-radius: 50%; /* cerchio per radio */
background: #fff
}

input.radion[type="radio"] + label::after {
content: '';
position: absolute;
top: 6px;
left: 6px;
width: 21px;
height: 21px;
background: #e30613;
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: 50px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
margin-bottom:20px;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
border: 1px solid #000000;
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 6px;
left: 6px;
width: 21px;
height: 21px;
background: #e30613;
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.1;
display: inline-block;
vertical-align: middle;
padding-left:0px;
}

label span.corpo333 {
display: inline-block;
vertical-align: middle;
line-height: 2;
padding-right:50px;
padding-left:0px;
}


}