@media only screen and (min-width: 30px) and (max-width: 969px) {


#vedi-ds
{
display:none;
}

.desktop-only {
display: none !important;
}


.content {
min-height: calc(100vh - 220px);
z-index:1;
}

img
{
max-width:100%;
}

img.logo
{
display:none;
}

img.claim
{
display:none;
}

img.numbox
{
display:block;
margin:auto;
padding-bottom:15px;
padding-top:15px;
width:10vw;
}

img.logof
{
display:block;
width:40vw;
margin:auto;
padding-top:20px;
}

img.rigavert {
    display: block;
    margin:auto;
}

img.rigafine
{
display:block;
width:100%;
margin:auto;
}

img.lingph
{
padding:10px;
margin:auto;
}


.header1
{
width: 100%;
position:relative;
z-index:999;
height:60px;
}

.header2
{
width: 100%;
position:relative;
z-index:999;
height:120px;
background-color: #FFFFFF; 
}


footer
{
width: 100%;
position:relative;
z-index:20;
background-color: #FFFFFF; 
padding-bottom:30px;
}


#footerxxx
{
width: 100%;
position:relative;
z-index:20;
height:100px;
}

#premixxx
{
width: 100%;
position:relative;
z-index:20;
height:50px;
}

#premixxxx
{
width: 100%;
position:relative;
z-index:20;
height:20px;
}

#finexxx
{
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;
top:23px;
width:180px;
left:10px;
}

#pos_ling
{
display:none;
}

#pos_ling1
{
display:none;
}

#pos_ling_ph
{
position:relative;
margin:auto;
width:50%;
}

#pos_menu
{
position:absolute;
z-index:60;
top:-3vw;
width:18vw;
right:0;
}

#fumetto_pos
{
position:absolute;
z-index:40;
top: 0;
width: 100%;
background-color: #ffffff;
height:100vh;
display: none;
}

#home
{
width: 100%;
position:relative;
z-index:20;
min-height:164vw;
background-image: url('../images/img-home1-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
background-color:#011e3f;
background-size:100%;
}

#premi
{
width: 100%;
}

#sfondo-premi
{
width: 100%;
position:relative;
z-index:20;
}

#sfondo-premi1
{
width: 100%;
position:relative;
z-index:20;
min-height:135.8vw;
background-image: url('../images/img-win-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}

#premio
{
width: 100%;
position:relative;
z-index:20;
height:194vw;
background-image: url('../images/premio-ph.jpg');
background-position:center top;
background-repeat:no-repeat;
background-size:100%;
}

#premiowin
{
width: 100%;
position:relative;
z-index:20;
}

#assistenza
{
width: 100%;
position:relative;
z-index:20;
padding-top:15px;
padding-bottom:15px;
background-color: #ed1c24; 
}


.rigamed
{
width: 650px;
border-top: 1px solid #13a538;
margin: 0 auto; 
margin-top:40px;
margin-bottom:20px;
}


#box-priv
{
position:relative;
z-index:20;
width: 740px;
margin:auto;
}

.tabella {display: table;width:100%;position:relative;}
.tabella00 {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 {display: table;width:100%;position:relative;padding-top:15vw}
.tabella-menu1 {display: table;width:100%;position:relative; padding-top:35vw}
.tabella-box {position:relative;margin:auto;width:100%;padding-top:110vw;}
.tabella-premio {display: table;width:100%;position:relative;}


.riga {
display: table;
width: 100%;
table-layout: fixed;
}

.riga1 {
display: table;
width: 100%;
table-layout: fixed;
}


.colonna {display: table-cell;vertical-align: top;width:100%;float:left;}
.colonna-menu{display: table-cell;vertical-align: top;width:100%;float:left;}
.colonna-menu1 {display: table-cell;vertical-align: top;width:100%;float:left;}

.colonna50 {display: table-cell;vertical-align: top;width:100%;float:left;}


.tabella-box .riga {
    display: grid;
    grid-template-columns: 48% 4% 48%;
    grid-template-rows: auto auto;
    row-gap: 25px;
    align-items: start;
}

.colonna-box1 {
    grid-column: 1;
    grid-row: 1;
}

.colonna-box2 {
    grid-column: 3;
    grid-row: 1;
}

.colonna-box3 {
    grid-column: 1;
    grid-row: 2;
}

.colonna-box4 {
    grid-column: 3;
    grid-row: 2;
}

/* Righe divisorie */
.colonna-box0 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prima riga verticale */
.colonna-box0:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* Riga centrale: nascosta */
.colonna-box0:nth-child(4) {
    display: none;
}

/* Seconda riga verticale */
.colonna-box0:nth-child(6) {
    grid-column: 2;
    grid-row: 2;
}

/* Immagini */
.rigavert {
    display: block;
    max-width: 100%;
    height: auto;
}



.colonna-footer1 {display: table-cell;vertical-align: top;width:100%;float:left;}
.colonna-footer2 {display: table-cell;vertical-align: top;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: 'VAG Rounded';
background-color: #db151c;
margin: 0 auto 30px auto;
border: 0px solid #ffffff;
border-radius: 50px;
font-size: 25px;
font-weight: 700;
line-height:1;
text-align: center;
color: #ffcc00;
width: 480px;
text-transform: uppercase;
display: flex;
align-items: center;
justify-content: center;
display: block;
padding-top:20px;
padding-bottom:20px;
}


A.bottone:HOVER { 
background-color: #12498B;
cursor: pointer;
}


.bottoneform { 
font-family: 'VAG Rounded';
background-color: #db151c;
margin: 0 auto 30px auto;
border: 0px solid #ffffff;
border-radius: 50px;
font-size: 5vw;
font-weight: 700;
line-height:1;
text-align: center;
color: #ffcc00;
height: 70px;
width: 80%;
text-transform: uppercase;
display: flex;
align-items: center;
justify-content: center;
}

.bottoneform1 { 
font-family: 'VAG Rounded';
background-color: #db151c;
margin: 0 auto 30px auto;
border: 0px solid #ffffff;
border-radius: 50px;
font-size: 25px;
font-weight: 700;
line-height:1;
text-align: center;
color: #ffcc00;
height: 50px;
width: 340px;
text-transform: uppercase;
display: flex;
align-items: center;
justify-content: center;
}


.bottoneform:hover, .bottoneform1:hover { 
background-color: #12498B;
cursor: pointer;
}


.boldo {
font-weight: 700;
}

.boldo1 {
font-weight: 800;
}



.titolo {
font-size: 50px;
font-weight: 900;
text-align: center;
text-transform: uppercase;
line-height:1.2;
padding-top:50px;
margin-bottom:30px;
}


.corpo_menu {
font-size: 5vw;
font-weight: 700;
text-align: center;
text-transform: uppercase;
padding:14px;
}


.corpo_home1 {
display:none;
}

.logo-testo {
    display: inline-block;
    height: 23px;
    width: 238px;
    vertical-align: middle;
    margin: 0 5px;
}

.corpo_box1 {
font-size: 4vw;
font-weight: 700;
text-align: center;
line-height:1.2;
margin-left:10px;
margin-right:10px;
margin-bottom:15px;
color:#ffffff;
}

.corpo_box2 {
font-size: 3.5vw;
font-weight: 700;
text-align: center;
line-height:1.1;
margin-left:10px;
margin-right:10px;
margin-top:40px;
padding-bottom:35px;
color:#ffffff;
}


.titolo_registra {
    display: table;
    margin: 0 auto;
    padding: 12px 22px;
    width:80%;

    background-color: #12498B;
    border-radius: 24px;
    font-size: 6vw;
    font-weight: 700;
    line-height: 1.15;

    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    margin-top:50px;
    margin-bottom:30px;
}


.corpo_priv {
font-size: 16px;
font-weight: 400;
text-align: left;
margin-left:20px;
margin-right:20px;
}

.corpo_form1 {
font-size: 16px;
font-weight: 400;
text-align: center;
margin-left:20px;
margin-right:20px;
}

.titolo_premi {
    display: table;
    margin: 0 auto;
    padding: 10px 15px;
    
    width:50%;

    background-color: #ffffff;
    border-radius: 35px;
    border: 3px solid #e2a30c;
    font-size: 4.5vw;
    font-weight: 700;
    line-height: 1.15;

    color: #ed1f27;
    text-align: center;
    text-transform: uppercase;
    margin-bottom:30px;
}

.corpo_login1 {
font-style: normal;
font-size: 20px;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.2;
}

.corpo_login2 {
font-style: normal;
font-size: 16px;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.2;
margin-bottom:20px;
}


.corpo_ass {
font-family: "gotham", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 14px;
font-weight: 400;
text-align: center;
margin-left:20px;
margin-right:20px;
color:#ffffff;
line-height:1.2;
}

.corpo_ass1 {
font-family: "gotham", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 16px;
color:#ffdd00;
font-weight: 700;
}

.corpo_nowin1 {
padding-top:10vw;
font-weight: 900;
font-style: normal;
font-size: 10vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.1;
}

.corpo_nowin2 {
font-weight: 900;
font-style: normal;
font-size: 7vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.1;
}

.corpo_nowin3 {
padding-top:4.5vw;
font-weight: 700;
font-style: normal;
font-size: 22px;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.3;
}

.corpo_nowin3 br {
display:none;
}

.corpo_nowin4 {
padding-top:4vw;
font-weight: 700;
font-style: normal;
font-size: 20px;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1.3;
}

.corpo_nowin4 br {
display:none;
}


.corpo_win1 {
padding-top:10vw;
font-weight: 900;
font-style: normal;
font-size: 7vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1;
color:#ffffff;
}

.corpo_win2 {
font-weight: 900;
font-style: normal;
font-size: 8vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1;
color:#ffdd00;
margin-bottom:-50px;
}

.corpo_win3 {
font-weight: 500;
font-style: normal;
font-size: 3.5vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1;
color:#ffffff;
padding-top:85vw;
}

.corpo_win3 br {
display:none;
}

.corpo_win4 {
font-weight: 700;
font-style: normal;
font-size: 3.5vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1;
color:#ffdd00;
padding-top:10px;
}

.corpo_win5 {
font-weight: 500;
font-style: normal;
font-size: 3vw;
text-align: center;
margin-left:20px;
margin-right:20px;
line-height:1;
color:#ffffff;
padding-top:10px;
padding-bottom:0px;
}


.corpo_footer1 {
font-family: "gotham", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 3vw;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1.4;
color:#000000;
margin-bottom:8px;
}

.corpo_footer2 {
font-family: "gotham", sans-serif;
font-weight: 400;
font-style: normal;
font-size: 3vw;
text-align: center;
margin-left:15px;
margin-right:15px;
line-height:1.4;
color:#000000;
}

.corpo_footer2 br {
display:none;
}

.divi {
padding: 0 3px;
}


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: 40px;
border:0px solid #9f9f9f; 
background-color: #ffffff;
font-size: 18px;
border-radius: 5px;
color:#0e4385;
}

.forma::placeholder {
font-size: 18px;
font-weight: 700;
color: #0e4385;
text-transform: uppercase;
}

input.forma:disabled {
    background-color: #d8dfe5;
    color: #7c8792;
    cursor: not-allowed;
    opacity: 1;
}

input.forma:disabled::placeholder {
    color: #7c8792;
}

select.sesso {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 8px;
    margin-bottom: 24px;

    padding-left: 20px;
    padding-right: 40px;

    text-align: center;
    width: 80%;
    height: 40px;

    border: 0px none;
    background-color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    border-radius: 5px;
    color: #0e4385;

    /* Nasconde la freccia del browser */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Triangolino nero */
    background-image: url(data:image/svg+xml,%3Csvg\ xmlns=\'http://www.w3.org/2000/svg\'\ width=\'12\'\ height=\'8\'\ viewBox=\'0\ 0\ 12\ 8\'%3E%3Cpath\ d=\'M0\ 0\ L12\ 0\ L6\ 8\ Z\'\ fill=\'%23000000\'/%3E%3C/svg%3E);

    background-repeat: no-repeat;
    background-position:  right 18px;
    background-size: 12px 8px;

    cursor: pointer
}


/* CHECKBOX */
[type="checkbox"] {
    position: absolute;
    left: -9999px;
}

[type="checkbox"] + label {
    position: relative;

    display: flex;
    align-items: flex-start;

    padding-left: 40px;
    padding-right: 20px;

    cursor: pointer;
    margin-left: 40px;
    margin-bottom: 25px;
}

[type="checkbox"] + label::before {
    content: '';
    position: absolute;

    left: 0;
    top: 0;

    width: 30px;
    height: 30px;

    border: 0px solid #2e7884;
    border-radius: 5px;
    background: #fff
}

[type="checkbox"] + label::after {
    content: '';
    position: absolute;

    left: 6px;
    top: 5px;

    width: 20px;
    height: 20px;

    background: #0e4385;
    border-radius: 5px;

    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;

    transform: scale(0)
}

[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1);
}

.corpo33 {
    font-family: "gotham", sans-serif;
font-weight: 400;
font-style: normal;
    font-size: 15px;
    color: #000000;
}

label span.corpo33 {
    line-height: 1.2;
    display: inline-block;
    padding-left: 0;
}


/* =========================================================
   PAGINA SCONTRINO - STILI DESKTOP
   ========================================================= */
#dvLoading {
    background: url('images/loader.gif') no-repeat center;
    height: 300px;
    width: 450px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    margin-left: -225px;
    top: 35%;
    display: none;
}



#nero {
    background-color: rgba(255, 255, 255, 0.70);
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 9998;
    display: none;
}

/* Layout documento di acquisto */
<div class="rigavert-box">
    <img src="riga.png" class="rigavert" alt="">
</div>


/* =========================================
   TABLET - fino a 1169px
========================================= */

@media only screen and (max-width: 1169px) {

    .scontrino-wrap {
        max-width: 100%;
        padding: 15px 30px 35px;
    }

    .scontrino-wrap .titolo-sezione {
        font-size: 27px;
        margin: 12px 0 24px;
        padding-top: 15px;
    }

    .scontrino-wrap .titolo-sezione small {
        font-size: 16px;
    }

    .scontrino-wrap .griglia-scontrino {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
        row-gap: 20px;
    }

    .scontrino-wrap input.forma,
    .scontrino-wrap select.sesso {
        width: 100%;
        height: 46px;
        font-size: 17px;
    }

    .scontrino-wrap input.forma::placeholder {
        font-size: 17px;
    }

    .scontrino-wrap .riga-importi {
        gap: 10px;
    }

    .scontrino-wrap .riga-importi input.forma,
    .scontrino-wrap .riga-importi input.forma::placeholder {
        font-size: 15px;
    }

    .scontrino-wrap .file-descrizione {
        font-size: 16px;
        padding: 8px 15px;
    }

    .scontrino-wrap .file-pulsante {
        font-size: 17px;
        padding: 0 20px;
    }

    .scontrino-wrap .invio-scontrino {
        font-size: 22px;
        padding: 17px 40px;
    }
}


/* =========================================
   SMARTPHONE - fino a 767px
========================================= */

@media only screen and (max-width: 767px) {

    .scontrino-wrap {
        width: 100%;
        max-width: 100%;
        padding: 10px 18px 30px;
        box-sizing: border-box;
    }

    /* TITOLI */

    .scontrino-wrap .titolo-sezione {
        font-size: 23px;
        line-height: 1.2;
        text-align: center;
        margin: 15px 0 22px;
        padding-top: 10px;
    }

    .scontrino-wrap .titolo-sezione small {
        display: block;
        font-size: 15px;
        margin-top: 5px;
    }

    /* GRIGLIA A COLONNA SINGOLA */

    .scontrino-wrap .griglia-scontrino {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 18px;
    }

    .scontrino-wrap .campo {
        width: 100%;
        min-width: 0;
    }

    .scontrino-wrap #gruppo-ean2 {
        margin-top: 12px;
    }

    /* CAMPI INPUT E SELECT */

    .scontrino-wrap input.forma,
    .scontrino-wrap select.sesso {
        display: block;
        width: 100%;
        height: 48px;
        margin: 0;
        padding: 0 12px;
        box-sizing: border-box;

        font-size: 16px;
        font-weight: 700;
        text-align: center;

        border-radius: 10px;
    }

    .scontrino-wrap input.forma::placeholder {
        font-size: 15px;
        font-weight: 700;
    }

    .scontrino-wrap select.sesso {
        padding-right: 35px;
        background-position: right 13px center;
        background-size: 12px 9px;
    }

    .scontrino-wrap .nota-campo {
        font-size: 12px;
        line-height: 1.3;
        margin-top: 6px;
    }

    /* IMPORTI */

    .scontrino-wrap .riga-importi {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }

    .scontrino-wrap .riga-importi input.forma {
        width: 100%;
        font-size: 16px;
        padding: 0 6px;
    }

    .scontrino-wrap .riga-importi input.forma::placeholder {
        font-size: 13px;
    }

    /* SEZIONE DOCUMENTO */

    .scontrino-wrap .sezione-documento {
        margin-top: 28px;
    }

    .scontrino-wrap .file-box {
        display: flex;
        width: 100%;
        height: auto;
        min-height: 70px;
        align-items: stretch;
        border-radius: 11px;
        overflow: hidden;
    }

    .scontrino-wrap .file-descrizione {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .scontrino-wrap .file-pulsante {
        flex: 0 0 auto;
        width: 125px;
        min-height: 70px;
        height: auto;
        padding: 8px 10px;

        font-size: 14px;
        line-height: 1.2;
        font-weight: 800;
        text-align: center;
    }

    .scontrino-wrap .file-nome {
        font-size: 12px;
        margin-top: 7px;
        overflow-wrap: anywhere;
    }

    /* PULSANTE INVIO */

    .scontrino-wrap .invio-scontrino {
        display: block;
        width: 100%;
        max-width: 380px;
        margin: 30px auto 0;
        padding: 17px 15px;

        font-size: 20px;
        line-height: 1.2;
        border-radius: 35px;
        box-sizing: border-box;
    }
}


/* =========================================
   SMARTPHONE PICCOLI - fino a 380px
========================================= */

@media only screen and (max-width: 380px) {

    .scontrino-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .scontrino-wrap .titolo-sezione {
        font-size: 21px;
    }

    .scontrino-wrap input.forma::placeholder {
        font-size: 13px;
    }

    .scontrino-wrap .riga-importi {
        gap: 7px;
    }

    .scontrino-wrap .riga-importi input.forma::placeholder {
        font-size: 11px;
    }

    .scontrino-wrap .file-descrizione {
        font-size: 12px;
        padding: 8px 10px;
    }

    .scontrino-wrap .file-pulsante {
        width: 105px;
        font-size: 12px;
        padding: 8px;
    }

    .scontrino-wrap .invio-scontrino {
        font-size: 18px;
    }
    
    
}

/* BOX CARICAMENTO DOCUMENTO */

.scontrino-wrap .file-box {
    display: flex;
    width: 100%;
    min-height: 70px;
    height: auto;
    background-color: #ffffff !important;
    border-radius: 11px;
    overflow: hidden;
    align-items: stretch;
    box-sizing: border-box;
}

/* TESTO E NOME FILE */

.scontrino-wrap .file-box .file-descrizione {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    min-width: 0;
    padding: 10px 12px;
    box-sizing: border-box;

    background-color: #ffffff;
    color: #0e4385;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

/* NASCONDE GLI ELEMENTI CON HIDDEN */

.scontrino-wrap .file-box [hidden] {
    display: none !important;
}

/* PULSANTE SFOGLIA / SCATTA */

.scontrino-wrap .file-box label.file-pulsante {
    display: flex;
    flex: 0 0 125px;
    align-items: center;
    justify-content: center;

    width: 125px;
    min-height: 70px;
    height: auto;
    margin: 0;
    background-color: #00418e !important;
    color: #ffffff !important;

    border: 0px none;
    border-radius: 0;
    box-sizing: border-box;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer; padding-left:10px; padding-right:10px; padding-top:8px; padding-bottom:8px
}

/* SMARTPHONE PICCOLI */

@media only screen and (max-width: 380px) {

    .scontrino-wrap .file-box label.file-pulsante {
        flex-basis: 105px;
        width: 105px;
        font-size: 12px;
    }

    .scontrino-wrap .file-box .file-descrizione {
        font-size: 12px;
        padding: 8px 10px;
    }
}




}