@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;
}

img
{
max-width:100%;
}

img.pre
{
display:block;
margin:auto;
max-width:85vw;
}

img.cap
{
display:block;
max-width:100%;
}

img.text-home
{
display:block;
margin:auto;
width:85vw;
padding-top:60px;
}


header
{
width: 100%;
position:relative;
z-index:999;
height:100px;
background-color: #89388a; 
}


footer
{
width: 100%;
position:relative;
z-index:20;
}

#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:50px;
}


#pagina
{
position:relative;
z-index:20;
width: 100%;
margin:auto;
}


#pos_logo
{
position:absolute;
z-index:50;
bottom:0;
width:100%;
}

#pos_win
{
position:absolute;
z-index:50;
top:-50vw;
left:10%;
width:80%;
}

#home
{
width: 100%;
position:relative;
z-index:20;
background-image: url('../images/img-home.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:cover;
margin-top:20px;
padding-bottom:52vw;
}

#home-int
{
width: 100%;
position:relative;
z-index:20;
background-image: url('../images/img-home.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:cover;
padding-bottom:52vw;
}

#pre
{
width: 100%;
position:relative;
z-index:20;
height:100vh;
background-image: url('../images/img-pre.jpg');
background-position:center center;
background-repeat:no-repeat;
background-size:cover;
}

#loghi
{
width: 100%;
position:relative;
z-index:20;
height:48.6vw;
background-image: url('../images/loghi-ph.png');
background-position:center center;
background-repeat:no-repeat;
background-size:100%;
}



.rigamed
{
width: 94%;
border-top: 1px solid #ffffff;
margin: 0 auto; 
margin-top:40px;
margin-bottom:40px;
}

#box-priv
{
position:relative;
z-index:20;
width: 80%;
margin:auto;
margin-top:25px;
margin-bottom:15px;
}

#box-home1
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
background-color:#f06123;
border-radius: 15px;
padding-top:15px;
padding-bottom:15px;
margin-bottom:50px;
}

#box-home2
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
background-color:#ffffff;
border-radius: 15px;
padding-top:15px;
padding-bottom:15px;
margin-bottom:50px;
}


#box-nowin
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
background-color:#ffffff;
border-radius: 25px;
padding-top:80px;
padding-bottom:80px;
margin-top:70px;
margin-bottom:70px;
}

#box-win
{
position:relative;
z-index:20;
width: 90%;
margin:auto;
background-color:#ffffff;
border-radius: 25px;
padding-top:60px;
padding-bottom:60px;
margin-top:60vw;
margin-bottom:0px;
}



.tabella {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;
}


.tabella-menu {float:right;position:relative;margin-right:175px;}



.riga {
display: table;
width: 100%;
table-layout: fixed;
}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}




.colonna-pre {display: table-cell;vertical-align: middle;height:100vh;}

.colonna {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: 'Graphik-Regular';
background-color: #f06123;
margin-left:auto;
margin-right:auto;
border:0px solid #ffed00;
border-radius: 0px;
font-size: 32px;
text-align: center;
color:#ffffff;
padding-top: 20px;
padding-bottom: 20px;
padding-right:0px;
padding-left:0px;
width:70%;
text-transform: uppercase;
display: block;
}


A.bottone:HOVER { 
background-color: #ffff;
color:#f06123;
cursor: pointer;
}


.bottoneform { 
font-family: 'Graphik-Regular';
background-color: #f06123;
margin-left:auto;
margin-right:auto;
border:0px solid #ffed00;
border-radius: 0px;
font-size: 5.5vw;
text-align: center;
color:#ffffff;
padding-top: 20px;
padding-bottom: 20px;
padding-right:0px;
padding-left:0px;
width:80%;
text-transform: uppercase;
}


.bottoneform:hover { 
background-color: #ffff;
color:#f06123;
cursor: pointer;
}

.boldo {
font-family: 'Graphik-Bold';
}

.boldo1 {
font-family: 'Graphik-Semibold';
}

.boldo2 {
font-family: 'Graphik-Black';
}

.sup-reg {
font-size: 0.6em;         /* più piccolo del testo */
vertical-align: super;    /* posizione in alto */
line-height: 0;           /* evita spazi strani */
margin-left: 2px;         /* un po’ di aria dal testo */
}

.titolo {
font-family: 'Graphik-Medium';
font-size: 7vw;
text-align: center;
text-transform: uppercase;
line-height:1;
padding-top:45px;
margin-bottom:30px;
margin-left:20px;
margin-right:20px;
}

.titolo1 {
font-family: 'Graphik-Medium';
font-size: 9vw;
text-align: center;
text-transform: uppercase;
line-height:1;
padding-top:25px;
margin-bottom:20px;
margin-left:7%;
margin-right:7%;
}

.titolo1 br {
display:none;
}

.corpo_pre {
font-size: 56px;
text-align: center;
color:#ffffff;
line-height:1;
padding-top:0px;
margin-left:15px;
margin-right:15px;
}


.corpo_home1 {
font-size: 5vw;
text-align: center;
line-height:1.2;
padding-top:45px;
margin-bottom:50px;
margin-left:7%;
margin-right:7%;
}

.corpo_home1 br {
display:none;
}


.corpo_home2 {
font-family: 'Graphik-Black';
font-size: 7vw;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
}

.corpo_home3 {
font-size: 4.5vw;
text-align: center;
line-height:1.2;
margin-left:7%;
margin-right:7%;
margin-bottom:5px;
}

.corpo_home4 {
color:#f06123;
font-family: 'Graphik-Black';
font-size: 6.5vw;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
}

.corpo_home5 {
font-size: 4.5vw;
text-align: center;
line-height:1.2;
color:#000000;
margin-left:7%;
margin-right:7%;
margin-bottom:5px;
}


.corpo_reg1 {
font-size: 4vw;
text-align: center;
line-height: 1.1;
padding-top:80px;
margin-bottom:45px;
margin-left:7%;
margin-right:7%;
}

.corpo_reg2 {
font-size: 4vw;
text-align: center;
line-height: 1.1;
margin-bottom:60px;
margin-left:7%;
margin-right:7%;
}

.corpo_priv {
font-size: 3.5vw;
font-weight: 400;
text-align: left;
margin-left:7%;
margin-right:7%;
}

.corpo33, .corpo333 {
font-family: 'Graphik-Light';
font-size: 4vw;
}


.corpo_nowin1 {
color:#ff6633;
font-family: 'Graphik-Medium';
font-size: 11vw;
text-align: center;
text-transform: uppercase;
line-height:1;
margin-bottom:10px;
margin-left:7%;
margin-right:7%;
}

.corpo_nowin2 {
color:#ff6633;
font-size: 11vw;
text-align: center;
text-transform: uppercase;
line-height:1;
margin-bottom:0px;
margin-left:7%;
margin-right:7%;
}

.corpo_nowin3 {
font-size: 5vw;
text-align: center;
line-height:1;
margin-bottom:100px;
margin-left:7%;
margin-right:7%;
}


.corpo_nowin4 {
font-family: 'Graphik-Medium';
font-size: 4vw;
text-align: center;
line-height:1;
margin-left:7%;
margin-right:7%;
}

.corpo_nowin5 {
font-size: 4vw;
text-align: center;
line-height:1;
margin-bottom:30px;
margin-left:7%;
margin-right:7%;
}


.corpo_win1 {
color:#ff6633;
font-family: 'Graphik-Medium';
font-size: 8vw;
text-align: center;
text-transform: uppercase;
line-height:1;
padding-top:20px;
margin-left:7%;
margin-right:7%;
}

.corpo_win2 {
color:#ff6633;
font-size: 8vw;
text-align: center;
text-transform: uppercase;
line-height:1;
margin-bottom:0px;
margin-left:7%;
margin-right:7%;

}

.corpo_win3 {
font-size: 4vw;
text-align: center;
line-height:1;
margin-top:30px;
margin-left:7%;
margin-right:7%;
margin-bottom:35px;
}


.corpo_footer1 {
font-family: 'Graphik-Semibold';
font-size: 3.5vw;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1;
text-transform: uppercase;
margin-bottom:20px;
}

.corpo_footer2 {
font-size: 3.5vw;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.2;
margin-bottom:20px;
}

.corpo_footer3 {
font-size: 3.5vw;
text-align: center;
margin-left:7%;
margin-right:7%;
line-height:1.8;
text-transform: uppercase;
padding-bottom:40px;
}



.divi {
display:none;
}


input.forma {
margin-left:10%;
margin-right:10%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 70%;
height: 50px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 4.5vw;
border-radius: 10px;
color:#000000;
font-family: 'Graphik-Light';
}

.forma::placeholder {
font-family: 'Graphik-Light';
font-size: 4.5vw;
color: #000000;
}


select.prov {
margin-left:10%;
margin-right:10%;
margin-top:8px;
margin-bottom:24px;
padding-left:5%;
padding-right:5%;
text-align: center;
width: 80%;
height: 50px;
border:0px solid #006a50; 
background-color: #ffffff;
font-size: 4.5vw;
border-radius: 10px;
color:#000000;
font-family: 'Graphik-Light';
}



/* CHECKBOX */
[type="checkbox"] {
position: absolute;
left: -9999px;
}

[type="checkbox"] + label {
position: relative;
padding-left: 40px;
padding-right: 20px;
cursor: pointer;
display: inline-block;
vertical-align: top;
margin-bottom:25px;
}

[type="checkbox"] + label::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 30px;
height: 30px;
border: 0px solid #666;
background: #fff
}

[type="checkbox"] + label::after {
content: '';
position: absolute;
top: 5px;
left: 5px;
width: 21px;
height: 21px;
background: #443200;
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 {
line-height: 1.2;
display: inline-block;
vertical-align: middle;
padding-left:0px;
}


}