@media only screen and (min-width: 970px) and (max-width: 1169px) {

#vedi-ph
{
display:none;
}

.mobile-only {
display: none !important;
}


.content {
min-height: calc(100vh - 180px);
z-index:1;
}

img
{
max-width:100%;
}

img.logo
{
display:block;
margin:auto;
max-width:100%;
}

img.logof
{
display:block;
margin:auto;
width:125px;
margin-right:30px;
margin-left:20px;
}

img.ico
{
display:block;
margin:auto;
max-width:100%;
}

img.text-home
{
display:block;
margin:auto;
width:571px;
margin-top:50px;
}

header
{
width: 100%;
position:absolute;
z-index:999;
height:120px;
}


footer
{
width: 100%;
position:relative;
z-index:20;
height:180px;
background-color: #f3e8db; 
}


#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:100px;
}

#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:28px;
width:149px;
left:20px;
}

#pos_ico1
{
position:absolute;
z-index:50;
top:-80px;
width:200px;
left:130px;
}



#pos_menu
{
display:none;
}

#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;
}

#home1
{
width: 100%;
position:relative;
z-index:20;
background-image: url('../images/img-home.jpg');
background-position:center top;
background-repeat:no-repeat;
}

#cornice
{
width: 100%;
position:relative;
z-index:20;
height:506px;
background-image: url('../images/cornice-tb.png');
background-position:center top;
background-repeat:no-repeat;
margin-top:-50px;
}

#cornice-nowin
{
width: 100%;
position:relative;
z-index:20;
height:465px;
background-image: url('../images/cornice-nowin-tb.png');
background-position:center top;
background-repeat:no-repeat;
margin-bottom:50px;
}

#cornice-win
{
width: 100%;
position:relative;
z-index:20;
height:661px;
background-image: url('../images/cornice-win-tb.png');
background-position:center top;
background-repeat:no-repeat;
margin-bottom:50px;
}

#cornicexxx
{
width: 100%;
position:relative;
z-index:20;
height:140px;
}

#bannerxxx
{
width: 100%;
position:relative;
z-index:20;
height:162px;
}

.banner {
  width: 642px;
  height: 102px;
  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: 48px;
  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: 740px;
border-top: 3px solid #bb9855;
margin: 0 auto; 
margin-top:15px;
margin-bottom:30px;
}



#box-priv
{
position:relative;
z-index:20;
width: 750px;
margin:auto;
}

#box-ico
{
position:relative;
z-index:20;
width: 455px;
height:306px;
margin:auto;
border: 2px solid #bb9855;
margin-left:5px;
margin-right:5px;
margin-bottom:145px;
}

#box-ico2
{
position:relative;
z-index:20;
width: 455px;
height:306px;
margin:auto;
border: 2px solid #bb9855;
margin-left:5px;
margin-right:5px;
margin-bottom:65px;
}

#box-ico20
{
position:relative;
z-index:20;
width: 455px;
height:306px;
margin:auto;
border: 2px solid #bb9855;
margin-left:5px;
margin-right:5px;
margin-bottom:65px;
}

#box-ico1
{
position:relative;
z-index:20;
width: 429px;
height:280px;
margin:auto;
background-color: #f3e8db; 
margin-top:13px;
}


#box-log1
{
position:relative;
z-index:20;
width: 860px;
margin:auto;
border: 2px solid #bb9855;
margin-bottom:40px;
}

#box-log2
{
position:relative;
z-index:20;
width: 834px;
margin:auto;
background-color: #f3e8db; 
border: solid #ffffff 13px;
}



.tabella {display: table;width:100%;position:relative;}
.tabella00 {display: table;margin:auto;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;
}

.tabella000 {
display: block;
width: 100%;
margin: 0 auto;
padding: 0em;
border: none; /* rimuove il bordo del fieldset */
box-sizing: border-box;
}



.tabella-menu {float:right;position:relative;margin-right:20px;}



.riga { display:table-row;}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna {display: table-cell;vertical-align: middle;}
.colonna-menu {display: table-cell;vertical-align: middle;height:120px;}

.colonna-footer1 {display: table-cell;vertical-align: middle;height:120px;white-space: nowrap; /* Impedisce l'a capo */}
.colonna-footer2 {display: table-cell;vertical-align: middle;height:60px;width:100%;}

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: 24px;
font-weight: 700;
text-align: center;
color:#ffffff;
padding-top: 15px;
padding-bottom: 15px;
width:360px;
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: 24px;
font-weight: 700;
text-align: center;
color:#ffffff;
padding-top: 15px;
padding-bottom: 15px;
width:360px;
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: 36px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.2;
padding-top:150px;
margin-bottom:50px;
color:#bb9855;
}

.titolo1 {
font-size: 36px;
font-weight: 700;
text-align: center;
text-transform: uppercase;
line-height:1.2;
padding-top:50px;
margin-bottom:140px;
}


.corpo_menu {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:70px;
}

.corpo_link {
font-size: 14px;
font-weight: 400;
text-align: left;
padding-top:4px;
margin-left:20px;
}


.corpo_home1 {
font-size: 24px;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
padding-top:70px;
margin-bottom:25px;
}

.corpo_home2 {
font-size: 80px;
font-weight: 700;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
padding-top:0px;
}


.corpo_cor1 {
font-size: 40px;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
padding-top:100px;
color:#bb9855;
text-transform: uppercase;
}

.corpo_cor2 {
font-size: 48px;
font-weight: 900;
text-align: left;
line-height:1;
margin-left:0px;
margin-right:8px;
color:#ffffff;
text-transform: uppercase;
}

.corpo_cor3 {
font-size: 120px;
font-weight: 900;
text-align: left;
line-height:1;
margin-left:8px;
margin-right:0px;
color:#ffffff;
text-transform: uppercase;
letter-spacing:-5px;
}

.corpo_cor4 {
font-size: 40px;
font-weight: 400;
text-align: center;
line-height:1;
margin-left:15px;
margin-right:15px;
color:#bb9855;
text-transform: uppercase;
}

.corpo_eu {
font-size: 80px;
}


.corpo_ico1 {
font-size: 20px;
font-weight: 400;
text-align: center;
line-height: 1.1;
padding-top:120px;
margin-left:30px;
margin-right:30px;
}




.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_login1 {
font-size: 24px;
font-weight: 800;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-top:30px;
margin-bottom:5px;
line-height:1;

}

.corpo_login2 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1;
}

.corpo_login3 {
font-size: 18px;
font-weight: 800;
text-align: center;
margin-left:15px;
margin-right:15px;
margin-top:50px;
margin-bottom:5px;
line-height:1;
text-transform: uppercase;
}

.corpo_form {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1;
}

.corpo_form1 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1;
}

.link-password {
font-weight: bold;
text-decoration: underline;
}


.corpo33, .corpo333 {
font-size: 18px;
}

.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_sco1 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:12%;
margin-right:12%;
line-height:1.1;
margin-bottom:40px;
}

.corpo_sco2 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:40px;
margin-right:40px;
line-height:1.1;
margin-bottom:10px;
}

.corpo_sco3 {
font-size: 18px;
font-weight: 700;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1.1;
margin-top:10px;
color:#c0001f;
text-transform: uppercase;
}

.corpo_sco4 {
font-size: 18px;
font-weight: 400;
text-align: center;
margin-left:12%;
margin-right:12%;
line-height:1.1;
margin-bottom:0px;
}


.corpo_nowin1 {
font-size: 70px;
font-weight: 900;
text-align: center;
line-height:.9;
text-transform: uppercase;
padding-top:120px;
}

.corpo_nowin2 {
font-size: 18px;
font-weight: 400;
text-align: center;
line-height:1.1;
margin-left:14%;
margin-right:14%;
margin-top:35px;
}

.corpo_nowin3 {
font-size: 18px;
font-weight: 400;
text-align: center;
line-height:1.1;
margin-left:14%;
margin-right:14%;
margin-top:20px;
}

.corpo_win1 {
font-size: 70px;
font-weight: 900;
text-align: center;
line-height:.9;
text-transform: uppercase;
padding-top:110px;
color:#bb9855;
}


.corpo_win2 {
font-size: 17px;
font-weight: 800;
text-align: center;
line-height:1.2;
margin-left:14%;
margin-right:14%;
margin-top:0px;
color:#ffffff;
}

.corpo_win3 {
font-size: 17px;
font-weight: 400;
text-align: center;
line-height:1.2;
margin-left:14%;
margin-right:14%;
color:#ffffff;
padding-bottom:10px;
}

.corpo_win4 {
font-size: 22px;
font-weight: 800;
text-align: center;
line-height:1.2;
margin-left:15px;
margin-right:15px;
color:#bb9855;
}

.corpo_win5 {
font-size: 22px;
font-weight: 800;
text-align: center;
line-height:1.2;
margin-left:15px;
margin-right:15px;
color:#ffffff;
}

.corpo_footer1 {
font-size: 16px;
font-weight: 700;
text-align: left;
margin-right:15px;
line-height:1.1;
text-transform: uppercase;
margin-bottom:15px;
}

.corpo_footer2 {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-right:15px;
line-height:1;
}

.corpo_footer2 br {
display:none;
}

.corpo_footer3 {
font-size: 16px;
font-weight: 400;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1;
text-transform: uppercase;
}

.corpo_footer3 br {
display:none;
}

.divi {
padding: 0 5px;
color:#bb9855;
}


input.forma {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:40px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 320px;
height: 58px;
border:2px solid #bb9855;
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

input.formb {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:40px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 125px;
height: 58px;
border:2px solid #bb9855;
background-color: #ffffff;
font-size: 14px;
border-radius: 50px;
color:#1e345f;
}

select.prov {
margin-left:15px;
margin-right:15px;
margin-top:8px;
margin-bottom:40px;
padding-left:20px;
padding-right:20px;
text-align: center;
width: 360px;
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: 60px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
}

input.radion[type="radio"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 40px;
height: 40px;
border: 2px solid #bb9855;
border-radius: 50%; /* cerchio per radio */
background: #fff
}

input.radion[type="radio"] + label::after {
content: '';
position: absolute;
top: 11px;
left: 11px;
width: 21px;
height: 21px;
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: 60px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 40px;
height: 40px;
border: 2px solid #bb9855;
border-radius: 50%; /* rettangolo con angoli arrotondati */
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 11px;
left: 11px;
width: 21px;
height: 21px;
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: 2;
padding-right:50px;
padding-left:0px;
}

}