/* ==========================================================
   MOBILE
   da 0px a 969px
   ========================================================== */

@media only screen and (max-width: 969px) {


/* ==========================================================
   VISIBILITA'
   ========================================================== */

#vedi-ph {
    display: block;
}

.mobile-only {
    display: block !important;
}


/* ==========================================================
   STRUTTURA GENERALE
   ========================================================== */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.content {
    min-height: calc(100vh - 200px);
    z-index: 1;
}

.menu-toggle{
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;

  appearance: none;
  -webkit-appearance: none;

  outline: none;              /* toglie il bordo “strano” */
}

/* Focus accessibile (da tastiera) */
.menu-toggle:focus-visible{
  outline: 3px solid #5A8F00; /* colore accessibile */
  outline-offset: 3px;
}

/* Fix extra per Firefox (bordo interno) */
.menu-toggle::-moz-focus-inner{
  border: 0px none;
}

#fumetto_pos
{
position:absolute;
z-index:40;
right:0px;
top: 90px;
width: 100%;
background-color: #ffffff;
height:100vh;
display: none;
z-index:888;
}

#contenitore1 {
    position: relative;
    z-index: 20;

    width: 100%;

    margin: 0 auto;

    background-color: #ffffff;
}

#contenitore2 {
    position: relative;
    z-index: 20;

    width: 100%;
    max-width: none;

    margin: 0 auto;

    background-color: #ffffff;
}

:is(#pagina, [id^="pagina-"], #pagina-home-hero, #pagina-home-steps, #pagina-home-bottom) {
    position: relative;
    z-index: 20;

    width: 100%;

    margin: 0 auto;
}

#cont {
    position: relative;
    z-index: 20;

    width: 100%;

    margin: 0 auto;

    background-color: #ffffff;
}


/* ==========================================================
   IMMAGINI GENERICHE
   ========================================================== */

img {
    max-width: 100%;
    height: auto;
}

img.logo {
    display: block;

    width: auto;
    max-width: 100%;

    margin: 0 auto;
}

img.logof {
    display: block;

    width: 40%;
    max-width: 180px;

    margin: 0 auto;

    padding-bottom: 15px;
}

img.loghi {
    display: block;
    float: none;

    width: 150px;

    margin: 0 auto;

    padding-top: 130px;
}

img.titolo {
    display: block;

    width: 85%;
    max-width: none;

    margin: 0 auto;

    padding-top: 20px;
}

img.biglietti {
    display: block;

    width: 90%;
    max-width: none;

    margin: 0 auto;

    padding-left: 0;
    padding-bottom: 30px;

    box-sizing: border-box;
}

img.premio1 {
    display: block;

    width: 85%;
    max-width: 500px;

    margin: 0 auto;

    padding-top: 30px;
    padding-bottom: 30px;
}

img.premio2 {
    display: block;

    width: 70%;
    max-width: 400px;

    margin: 0 auto;

    padding-top: 30px;
    padding-bottom: 30px;
}


/* ==========================================================
   HEADER
   ========================================================== */

header {
    position: absolute;
    z-index: 999;

    width: 100%;
    height: 90px;

    background-color: #ffffff;

    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.10);
}

#header-xx {
    position: relative;
    z-index: 20;

    width: 100%;
    height: 90px;
}

#pos_logo {
    position: absolute;
    z-index: 50;

    top: 20px;
    left: 20px;

    width: 120px;
}

#pos_menu {
    position: absolute;
    z-index: 20;

    top: 0px;
    right: 0px;

    width: 120px;
}

.menu-nav {
position: relative;
margin:auto;
width:100%
}

.menu-list{
    flex-direction: column;
    padding-top: 30px;
    align-items: center;      /* centra i "bottoni" */
  }

  .menu-item{
    width: 100%;
    display: flex;
    padding-bottom:20px;
    justify-content: center;  /* centra il contenuto del li */
  }


/* ==========================================================
   FOOTER
   ========================================================== */

footer {
    position: relative;
    z-index: 10;

    width: 100%;

    padding-top: 35px;
    padding-bottom: 35px;

    background-color: #f4f4f4;
}

#footerxxx {
    position: relative;
    z-index: 20;

    width: 100%;
    height: 50px;
}


/* ==========================================================
   SFONDO HOME
   ========================================================== */

#sfondo-home {
    position: relative;
    z-index: 20;

    width: 100%;
    min-height: 0;

    background-image: url('../images/sfondo-home-tot.png');
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom:30px;
    
}


/* ==========================================================
   SFONDO BOTTOM
   ========================================================== */

#sfondo-bottom {
    position: relative;
    z-index: 20;

    width: 100%;

    background-image: url('../images/sfondo-bottom.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

    padding-top: 30px;
    padding-bottom: 50px;
}

#sfondo-bottom-page {
    position: absolute;
    z-index: 10;

    width: 100%;

    bottom: 0;

    height: 100%;

    background-image: url('../images/sfondo-bottom.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}


/* ==========================================================
   NOWIN
   ========================================================== */

#nowin {
    position: relative;
    z-index: 20;

    width: 100%;
    height: auto;
    min-height: 600px;

    background-image: url('../images/sfondo-nowin.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom:30px;
}


/* ==========================================================
   WIN
   ========================================================== */

#win {
    position: relative;
    z-index: 20;

    width: 100%;
    min-height: 600px;

    background-image: url('../images/sfondo-win.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}


/* ==========================================================
   FASCIA
   ========================================================== */

.fascia-esterna {
    width: 100%;

    background: #ffffff;
}

.fascia-centrale {
    width: 100%;
    max-width: none;

    margin-left: auto;
    margin-right: auto;

    background-color: #ffffff;
}


/* ==========================================================
   RIGA SEPARATRICE
   ========================================================== */

.rigamed {
    width: 80%;

    border-top: 1px solid #ffed00;

    margin: 30px auto;
}


/* ==========================================================
   BOX REGISTRAZIONE
   ========================================================== */

#box-reg-xx {
    position: relative;
    z-index: 20;

    width: 100%;
    height: 20px;
}

#box-reg {
    position: relative;
    z-index: 20;

    width: 90%;
    max-width: none;

    margin-left: auto;
    margin-right: auto;

    padding: 30px 20px;

    box-sizing: border-box;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.90);

    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);

    box-shadow: 2px 2px 30px 0 rgba(0, 0, 0, 0.10);
}


/* ==========================================================
   PREMI
   TUTTO SU UNA COLONNA
   ========================================================== */

.premi-container {
    display: block;

    width: 90%;
    max-width: none;

    margin: 50px auto 0 auto;
}

.box-premio {
    display: block;

    width: 100%;
    max-width: none;

    height: auto;
    min-height: 0;

    margin: 0 0 30px 0;

    padding: 30px 25px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 20px;

    box-shadow: 2px 2px 30px 0 rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.box-premio1 {
    display: block;

    width: 100%;
    max-width: none;

    height: auto;
    min-height: 0;

    margin: 0 0 30px 0;

    padding: 30px 25px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 20px;

    box-shadow: 2px 2px 30px 0 rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* ==========================================================
   PREMIO TITOLO
   ========================================================== */

.premio-titolo {
    display: flex;

    align-items: center;

    gap: 15px;

    padding-top: 0;

    color: #cc0000;

    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
}

.premio-titolo br {
    display: none;
}

.premio-icona {
    height: 55px;

    flex-shrink: 0;
}

.premio-testo {
    margin-top: 20px;

    color: #000000;

    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
}

.premio-testo strong {
    font-weight: 700;
}

.premio-testo br {
    display: none;
}


/* ==========================================================
   TITOLO PARTECIPARE
   ========================================================== */

.titolo-partecipare,
.titolo-partecipa {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 90%;

    margin-left: auto;
    margin-right: auto;

    gap: 15px;
}

.titolo-partecipare {
    margin-top: 50px;
    margin-bottom: 35px;
}

.titolo-partecipa {
    margin-top: 20px;
    margin-bottom: 35px;
}

.testo-partecipare {
    color: #CC0000;

    font-size: 18px;
    font-weight: bold;

    line-height: 1;

    white-space: nowrap;
}

.linea-partecipare {
    display: block;

    width: 15%;
    max-width: 100px;

    height: 2px;

    background-color: #CC0000;
}


/* ==========================================================
   COME FUNZIONA
   TUTTO SU UNA COLONNA
   ========================================================== */

.come-funziona {
    display: block;

    width: 90%;
    max-width: none;

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   STEP
   ========================================================== */

.step-colonna {
    position: relative;

    display: block;

    width: 100%;

    min-height: 0;

    padding: 0 0 60px 0;

    box-sizing: border-box;
}


/* ELIMINO SEPARATORE VERTICALE DESKTOP */

.step-colonna + .step-colonna::before {
    display: none;
}


/* ==========================================================
   NUMERO + ICONA
   ========================================================== */

.step-header {
    display: flex;

    align-items: center;
    justify-content: center;

    height: auto;

    margin-bottom: 20px;
}

.step-numero {
    font-size: 80px;
    line-height: 1;

    font-weight: 700;

    color: #cc0000;

    text-shadow: 4px 4px 0 #c6c6c6;
}

.step-icona {
    display: block;

    width: auto;
    height: 65px;

    margin-left: 15px;

    object-fit: contain;
}


/* ==========================================================
   STEP TITOLO
   ========================================================== */

.step-titolo {
    margin: 0 0 20px 0;

    padding: 0;

    color: #cc0000;

    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;

    text-align: center;
}


/* ==========================================================
   STEP TESTO
   ========================================================== */

.step-testo {
    color: #111111;

    font-size: 18px;
    line-height: 1.25;
    font-weight: 400;

    text-align: center;
}

.step-testo p {
    margin: 0 0 14px 0;
}

.step-testo strong {
    font-weight: 700;
}

.step-testo br {
    display: none;
}

.link-testo {
    color: #111111;

    font-weight: 700;

    text-decoration: underline;
}


/* ==========================================================
   BOTTONI UTENZE
   ========================================================== */

.step-utenze {
    width: 100%;

    margin: 20px 0;
}

.utenza-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 52px;

    margin-bottom: 15px;

    box-sizing: border-box;

    border: 1px solid #cc0000;
    border-radius: 10px;

    background-color: #ffffff;

    color: #cc0000;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;
}

.utenza-btn:hover {
    background-color: #cc0000;

    color: #ffffff;
}


/* ==========================================================
   PULSANTE PARTECIPA
   ========================================================== */

.partecipa-btn {
    position: relative;

    left: auto;
    right: auto;
    bottom: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 52px;

    margin-top: 25px;

    box-sizing: border-box;

    border-radius: 10px;

    background-color: #cc0000;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.partecipa-btn:hover {
    opacity: 0.85;
}


/* ==========================================================
   PULSANTE CONTATTI
   ========================================================== */

.contatti-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 90%;
    max-width: none;

    height: 52px;

    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;

    border: none;
    border-radius: 10px;

    background-color: #cc0000;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.contatti-btn:hover {
    opacity: 0.85;
}


/* ==========================================================
   PULSANTE REGOLAMENTO
   ========================================================== */

.rego-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 90%;
    max-width: 350px;

    height: 52px;

    margin-left: auto;
    margin-right: auto;

    box-sizing: border-box;

    border: none;
    border-radius: 10px;

    background-color: #ffffff;

    color: #cc0000;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.rego-btn:hover {
    opacity: 0.85;
}


/* ==========================================================
   FORM
   ========================================================== */

.tabella {
    display: block;

    width: 100%;

    position: relative;
}


/* FIELDSET */

.tabella0 {
    display: block;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    border: none;

    box-sizing: border-box;
}


/* ==========================================================
   RIGHE
   ========================================================== */

.riga,
.riga1 {
    display: block;

    width: 100%;

    box-sizing: border-box;
}


/* ==========================================================
   COLONNE
   TUTTE AL 100%
   ========================================================== */

.colonna33,
.colonna50,
.colonna {
    display: block;

    width: 100%;

    box-sizing: border-box;
}


/* ==========================================================
   LABEL FORM
   ========================================================== */

.corpo_form {
    display: block;

    width: 100%;

    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5px;

    box-sizing: border-box;

    font-size: 16px;
    font-weight: 400;

    text-align: left;
}

.corpo_form1 {
    display: block;

    width: 100%;

    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5px;

    box-sizing: border-box;

    font-size: 16px;
    font-weight: 400;

    text-align: left;
}

.corpo_term1 {
font-size: 54vw;
font-weight: 400;
text-align: center;
padding-top: 60px;
padding-bottom:50px;
margin-left:20px;
margin-right:20px;
}


/* ==========================================================
   PARAGRAFI INPUT
   ========================================================== */

.colonna33 p,
.colonna50 p,
.colonna p,
.tabella0 p {
    margin-top: 0;
    margin-bottom: 0;
}


/* ==========================================================
   INPUT
   ========================================================== */

input.forma,
input.formb,
input.formc {
    display: block;

    width: 100%;

    height: 50px;

    margin-top: 4px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;

    padding-left: 15px;
    padding-right: 15px;

    box-sizing: border-box;

    text-align: left;

    border: 1px solid #9d9d9d;
    border-radius: 10px;

    background-color: #ffffff;

    color: #000000;

    font-size: 16px;
}

input.formb-readonly {
    background-color: #eeeeee;
    color: #555555;
    cursor: default;
}


/* ==========================================================
   SELECT
   ========================================================== */

select.part {
    display: block;

    width: 100%;

    height: 50px;

    margin-top: 4px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;

    padding-left: 15px;
    padding-right: 15px;

    box-sizing: border-box;

    border: 1px solid #9d9d9d;
    border-radius: 10px;

    background-color: #ffffff;

    color: #000000;

    font-size: 16px;
    font-weight: 700;

    text-align: left;
}


/* ==========================================================
   CHECKBOX
   ========================================================== */

[type="checkbox"] {
    position: absolute;

    left: -9999px;
}

[type="checkbox"] + label {
    position: relative;

    display: inline-block;

    width: calc(100% - 45px);

    margin-left: 0;
    margin-bottom: 24px;

    padding-left: 45px;
    padding-right: 0;

    box-sizing: content-box;

    cursor: pointer;

    vertical-align: top;

    border-radius: 5px;
}

[type="checkbox"] + label::before {
    content: '';

    position: absolute;

    left: 0;
    top: 0;

    width: 30px;
    height: 30px;

    border: 1px solid #9d9d9d;

    border-radius: 5px;

    background: #ffffff
}

[type="checkbox"] + label::after {
    content: '';

    position: absolute;

    top: 6px;
    left: 6px;

    width: 20px;
    height: 20px;

    background: #9d9d9d;

    border-radius: 5px;

    transition: all 0.2s ease;

    opacity: 0;

    transform: scale(0)
}

[type="checkbox"]:checked + label::after {
    opacity: 1;

    transform: scale(1);
}

label span.corpo33 {
    display: inline-block;

    vertical-align: middle;

    line-height: 1.2;

    padding-left: 0;
}


/* ==========================================================
   TABELLA SQUADRE
   ========================================================== */

.tabella-sq {
    position: relative;

    width: 100%;

    margin: 0 auto 20px auto;

    box-sizing: border-box;
    
}

.colonna-sq {
    display: block;

    float: right;

    width: 50%;

    vertical-align: top;
}


/* ==========================================================
   BOX SQUADRA
   ========================================================== */

.box-sq {
    position: relative;

    width: 90%;
    height: 220px;

    margin: 5% auto;

    border: solid 1px #d9d9d9;

    border-radius: 15px;

    box-sizing: border-box;

    cursor: pointer;

    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.08);
}

img.sq {
    display: block;

    width: 155px;

    margin: 0 auto;

    padding-top: 15px;
}

.corpo_sq {
    font-size: 14px;

    text-align: center;

    margin-top: 5px;
    margin-bottom: 10px;

    line-height: 1.1;

    font-weight: 700;

    text-transform: uppercase;
}


/* ==========================================================
   RADIO SQUADRE
   ========================================================== */

input.radisq[type="radio"] {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.radio-grafico {
    position: relative;

    display: block;

    width: 20px;
    height: 20px;

    margin-left: auto;
    margin-right: auto;

    border-radius: 100%;

    background: #ffffff;

    border: 1px solid #000000;

    cursor: pointer;
}

.radio-grafico::after {
    content: '';

    position: absolute;

    top: 3px;
    left: 3px;

    width: 14px;
    height: 14px;

    background: #cc0000;

    border-radius: 100%;

    opacity: 0;

    transform: scale(0);

    transition: all 0.2s ease
}

input.radisq[type="radio"]:checked + .radio-grafico::after {
    opacity: 1;

    transform: scale(1);
}

.box-sq:has(input.radisq[type="radio"]:checked) {
    border-color: #cc0000;
}


/* ==========================================================
   BOTTONE GENERICO
   ========================================================== */

A.bottone:LINK,
A.bottone:VISITED,
A.bottone:ACTIVE {
    display: block;

    width: 90%;
    max-width: 360px;

    margin-left: auto;
    margin-right: auto;

    padding-top: 15px;
    padding-bottom: 15px;

    box-sizing: border-box;

    background-color: #89388a;

    border: 2px solid #89388a;

    font-family: "Nunito", sans-serif;

    font-size: 20px;
    font-weight: 800;

    text-align: center;

    color: #ffed00;

    text-transform: uppercase;
}

A.bottone:HOVER {
    background-color: #ffffff;

    color: #89388a;

    cursor: pointer;
}


/* ==========================================================
   TESTI
   ========================================================== */

.boldo {
    font-weight: 700;
}

.boldo1 {
    font-weight: 800;
}

.titolo {
    font-size: 30px;
    font-weight: 700;

    text-align: center;

    color: #cc0000;

    line-height: 1.2;

    padding-top: 35px;

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 25px;
}

.corpo_home1 {
    font-size: 30px;
    font-weight: 800;

    text-align: center;

    color: #cc0000;

    line-height: 1.1;

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 25px;
}

.corpo_reg1 {
    font-size: 30px;
    font-weight: 800;

    text-align: center;

    color: #cc0000;

    line-height: 1.1;

    margin-bottom: 25px;
}

.corpo_reg2 {
    font-size: 16px;
    font-weight: 400;

    text-align: left;

    margin-left: 0;
    margin-right: 0;

    margin-bottom: 25px;
}

.corpo_reg3 {
    font-size: 30px;
    font-weight: 800;

    text-align: center;

    color: #cc0000;

    line-height: 1.1;
    margin-top: 25px;
    margin-bottom: 25px;
}

.corpo_reg3 br {
display:none;
}

.corpo33 {
    font-size: 16px;
    font-weight: 400;

    text-align: left;
}

.corpo_sq1 {
    font-size: 30px;
    font-weight: 800;

    text-align: center;

    color: #cc0000;

    line-height: 1.1;

    margin-top: 25px;
    margin-bottom: 25px;
}


/* ==========================================================
   NOWIN TESTI
   ========================================================== */

.corpo_nowin1 {
    font-size: 48px;
    font-weight: 500;

    text-align: center;

    color: #ffffff;

    margin-left: 20px;
    margin-right: 20px;

    line-height: 1;

    padding-top: 50px;

    margin-bottom: 20px;
}

.corpo_nowin2 {
    font-size: 20px;
    font-weight: 500;

    text-align: center;

    color: #ffffff;

    margin-left: 30px;
    margin-right: 30px;

    line-height: 1.2;

    margin-bottom: 30px;
}

.corpo_nowin2 br {
display:none;
}


/* ==========================================================
   WIN TESTI
   ========================================================== */

.corpo_win1 {
    font-size: 45px;
    font-weight: 800;

    text-align: center;

    color: #cc0000;

    line-height: 1;

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.corpo_win2 {
    font-size: 30px;
    font-weight: 700;

    text-align: center;

    color: #cc0000;

    line-height: 1.15;

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.corpo_win3 {
    font-size: 20px;
    font-weight: 400;

    text-align: center;

    line-height: 1.2;

    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.corpo_win4 {
    font-size: 30px;
    font-weight: 700;

    text-align: center;

    line-height: 1.2;

    margin-left: 20px;
    margin-right: 20px;

    margin-bottom: 10px;
    margin-top: 10px;
}


/* ==========================================================
   FOOTER TESTO
   ========================================================== */

.corpo_footer1 {
    font-size: 14px;
    font-weight: 400;

    text-align: center;

    margin-left: 20px;
    margin-right: 20px;

    margin-top: 10px;
    margin-bottom: 10px;

    line-height: 1.3;
}

.corpo_footer3 br {
    display: none;
}

.divi {
    padding: 0 3px;

    color: #000000;
}


}