/*=========================================================
 Giocoscuola - Cruciverba 2.0
=========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

body{

    background:#f4f4f4;

    font-family:Arial,Helvetica,sans-serif;

    color:#222;

    padding:20px;

}

/*=========================================================
 CONTENITORE
=========================================================*/

.gc-container{

    max-width:1200px;

    margin:0 auto;

}

/*=========================================================
 TITOLO
=========================================================*/

h1{

    text-align:center;

    color:#005baa;

    margin-bottom:30px;

}

/*=========================================================
 RIGHE E COLONNE
=========================================================*/

.gc-row{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    margin-bottom:20px;

}

.gc-col{

    flex:1;

    min-width:220px;

}

/*=========================================================
 STATISTICHE
=========================================================*/

.stats{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:15px;

    background:#ffffff;

    border:1px solid #d8d8d8;

    border-radius:8px;

    padding:15px;

    margin-bottom:25px;

}

.stats div{

    flex:1;

    min-width:150px;

}

/*=========================================================
 ETICHETTE
=========================================================*/

label{

    display:block;

    font-weight:bold;

    margin-bottom:6px;

}

/*=========================================================
 SELECT
=========================================================*/

.gc-select{

    width:100%;

    height:42px;

    padding:8px;

    border:1px solid #bdbdbd;

    border-radius:6px;

    background:#fff;

    font-size:15px;

}

/*=========================================================
 PULSANTI
=========================================================*/

.gc-button{

    padding:10px 18px;

    border:none;

    border-radius:6px;

    cursor:pointer;

    font-weight:bold;

    transition:.2s;

}

.gc-button:hover{

    opacity:.9;

}


.gc-primary{

    background:#005baa;

    color:#fff;

}

.gc-secondary,
.gc-success{
    display:none;
}

/*
.gc-secondary{

    background:#f28c00;

    color:#fff;

}

.gc-success{

    background:#2f9b47;

    color:#fff;
}

*/


.gc-button-group{

    display:flex;

    gap:10px;

    align-items:flex-end;

    flex-wrap:wrap;

}

/*=========================================================
 BARRA AVANZAMENTO
=========================================================*/

.gc-progress{

    width:100%;

    height:18px;

    background:#ddd;

    border-radius:10px;

    overflow:hidden;

    margin-bottom:25px;

}

.gc-progress-bar{

    width:0;

    height:100%;

    background:#005baa;

    transition:width .3s;

}

/*=========================================================
 CRUCIVERBA
=========================================================*/

.cruciverbaContainer{

    background:#fff;

    border:1px solid #d8d8d8;

    border-radius:8px;

    padding:20px;

    display:flex;

    justify-content:center;

    overflow:auto;

}

/*=========================================================
 TABELLA
=========================================================*/

#crosswordTable{

    border-collapse:collapse;

}

.crossword-cell{

    width:40px;

    height:40px;

    border:2px solid #333;

    position:relative;

    text-align:center;

    vertical-align:middle;

    font-size:18px;

    font-weight:bold;

}

.crossword-cell input{

    width:100%;

    height:100%;

    border:none;

    outline:none;

    text-align:center;

    text-transform:uppercase;

    font-size:18px;

    font-weight:bold;

}
.black-cell{

    background:#ffffff;

    border:none;

}

.numbered-cell::before{

    content:attr(data-number);

    position:absolute;

    top:2px;

    left:2px;

    font-size:10px;

}

/*=========================================================
 SCHEDE
=========================================================*/

.gc-card{

    background:#fff;

    border:1px solid #d8d8d8;

    border-radius:8px;

    overflow:hidden;

}

.gc-card-header{

    background:#005baa;

    color:#fff;

    padding:12px;

    font-weight:bold;

}

.gc-card-body{

    padding:15px;

}

/*=========================================================
 DEFINIZIONI
=========================================================*/

.clue-item{

    list-style:none;

    padding:6px;

    cursor:pointer;

}

.clue-item:hover{

    background:#eef5ff;

}

.clue-item.selected{

    background:#d8ebff;

}

/*=========================================================
 CANVAS
=========================================================*/

.canvas-container{

    display:none;

}


.letteraCorretta{

    color:#1b8f1b !important;

    font-weight:bold;

}

.letteraErrata{

    color:#d40000 !important;

    font-weight:bold;

}

/*=========================================================
 RESPONSIVE
=========================================================*/

@media (max-width:900px){

    .gc-row{

        flex-direction:column;

    }

    .gc-button-group{

        flex-direction:column;

        align-items:stretch;

    }

}

/*=========================================================
 STAMPA
=========================================================*/

@media print{

    .gc-button,

    .gc-select{

        display:none;

    }

    body{

        background:#fff;

        padding:0;

    }

    .gc-card{

        border:none;

    }

}


/* =====================================
   MODIFICHE GRAFICA QUIZ 2.0 PIU 
   SIMILE A GIOCOSCUOLA RUOTA 
===================================== */

body{
    margin:0;
    padding:0;
    background:#dfefff;
    font-family:Verdana,Arial,sans-serif;
}

#contenitore{
	width:100%;
	margin:10px auto;
	border-radius:8px;
	box-shadow:0 0 10px rgba(0,0,0,.15);
	padding:15px;
	background-color: white;
	background-image: url(../../imgs/sfondo.png);
}

h1,h2,h3{
    color:#005baa;
    text-align:center;
}

button{
    background:#ff9900;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

button:hover{
    background:#e68400;
}

/* =====================================
   HEADER GIOCOSCUOLA
===================================== */

.header{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-start;
	justify-content:space-between;
	width:100%;

	padding-bottom:10px;
	margin-bottom:15px;
	
}




/* LOGO */

.header > a:first-child{
    flex:0 0 auto;
}

.header > a:first-child img{
	width:300px;
	max-width:100%;
	height:auto;
	display:block;
	margin-right: 200px;
}

/* MENU */

/* ===========================
   MENU GIOCOSCUOLA
=========================== */

#btnMenu{
    display:none;
    background:#f7941d;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:8px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
}

#btnMenu:hover{
    background:#e67e00;
}

#menuGiocoscuola{
    flex:1;
    text-align:right;
    padding-top:20px;
    margin-right:20px;
}

#menuGiocoscuola a{
    display:inline-block;
    padding:8px 12px;
    margin-left:5px;
    color:#005baa;
    text-decoration:none;
    font-weight:bold;
    font-size:20px;
    font-family:"Comic Sans MS";
    transition:.25s;
}

#menuGiocoscuola a:hover{
    background:#005baa;
    color:white;
    border-radius:6px;
}

/* BANNER */

#headerGiocoscuola{
    width:100%;
    margin-top:10px;
    clear:both;
}

#headerGiocoscuola img{
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
    border-radius:8px;
}


/*RUOTA*/
#contenitore .header #gioco {
	text-align: center;
}

#areaGioco{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

#colonnaRuota{
    flex:1;
    min-width:500px;
}

#colonnaQuiz{
    flex:1;
    min-width:400px;
}

/*logo*/
.header img:first-child{
    max-width:380px;
    height:auto;
    display:block;
    margin:0 auto 15px auto;
}

#contenitoregioco {
	text-align: center;
	position: relative;
	height: auto;
	width: 85%;
	left: 5%;
	right: 5%;
	margin-left: 5%;
	margin-right: 5%;
	background-color: #FFFFFF;
}
/*footer*/
#footer {
	text-align: center;
	background-color: #87F773;
	font-size: 14px;
	margin: 1px;
	padding: 1px;
	height: auto;
	width: 100%;
}

#areaGioco{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    width:100%;
}

/*AREA GIOCO*/

#zonaTabellone{
    flex:1;
    text-align:center;
}


#zonaRuota{
    flex:0 0 auto;
}


#ruotaContainer{
    position:relative;
    width:520px;
    margin:0;
}

@media(max-width:900px){

    #areaGioco{
        flex-direction:column;
    }

}
.no-js .header #contenitoregioco #setup .panel a {
		text-decoration: none;
}

.no-js .header #contenitoregioco #setup #panel2 a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 14px;

}
.no-js .header #contenitoregioco #setup #panel2 p {
	
	text-decoration: none;
	font-size: 14px;

}

/* ===========================
   MENU SMARTPHONE
=========================== */

#btnMenu{
    display:none;
    width:58px;
    height:48px;
    background:#f7941d;
    border:none;
    border-radius:8px;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
    padding:10px;
}

#btnMenu span{
    display:block;
    width:28px;
    height:4px;
    background:#fff;
    margin:5px auto;
    border-radius:3px;
    transition:.3s;
}

#btnMenu:hover{
    background:#e67e00;
}

/* =====================================
   MENU SMARTPHONE
===================================== */

@media (max-width:768px){

    .header{
        flex-direction:column;
        align-items:center;
    }

  
		
		#btnMenu{
    display:block;
    width:65px;
	height:55px;
    margin:-60px 15px 15px auto;
	color:#fff !important;
}
		
			

    #menuGiocoscuola{
        display:none;
        width:100%;
        margin:0;
        padding:0;
        text-align:cealignnter;
        animation:menuApertura .3s ease;

    }

   #menuGiocoscuola.aperto{

        display:block;
    }
    #menuGiocoscuola a{
text-align:center;
        display:block;
        margin:0;
        padding:16px;
        border-bottom:1px solid #ddd;
        background:white;
        font-size:22px;

    }

    #menuGiocoscuola a:hover{

        background:#f7941d;
        color:white;

    }
}

@keyframes menuApertura{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*=========================================================
 ISTRUZIONI GIOCO
=========================================================*/

.istruzioniGioco{

    margin:12px 0 18px;

    padding:10px 15px;

    background:#ffffff;

    border:none;

    border-radius:none;

    color:#003399;

    font-size:15px;

    text-align:center;

    font-weight:bold;

}


/*=========================================================
 CONTENITORE
=========================================================*/

#contenitoreGioco{
	width:min(1240px,98%);
	margin:20px auto;
	background-color: #FFFFFF;
}

/*=========================================================
 HEADER
=========================================================*/

header{

    text-align:center;

    margin-bottom:20px;

}

header h1{

    color:#005baa;

    font-size:2.4rem;

}

.sottotitolo{

    margin-top:8px;

    color:#555;

    font-size:1rem;

}

/*=========================================================
 PANNELLO IMPOSTAZIONI
=========================================================*/

#impostazioni{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(220px,1fr));

    gap:15px;

    margin-bottom:20px;

}

.campo{

    display:flex;

    flex-direction:column;

}

.campo label{

    font-weight:bold;

    margin-bottom:5px;

}

select,
input{

    padding:10px;

    border:1px solid #b9c7dd;

    border-radius:8px;

    font-size:1rem;

}

/*=========================================================
 PULSANTI
=========================================================*/

.pulsanti{

    display:flex;

    gap:10px;

    align-items:flex-end;

}

button{

    padding:12px 18px;

    border:none;

    border-radius:8px;

    background:#005baa;

    color:white;

    cursor:pointer;

    font-size:1rem;

    transition:.25s;

}

button:hover{

    background:#0077dd;

}

/*=========================================================
 INFO PARTITA
=========================================================*/

#infoPartita{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:white;

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

    border:1px solid #d7e2ef;

}

/*=========================================================
 MESSAGGI
=========================================================*/

#messaggi{

    background:#fff8dc;

    border:1px solid #f0d78c;

    border-radius:10px;

    padding:15px;

    margin-bottom:20px;

    min-height:55px;

    font-weight:bold;

}

/*=========================================================
 TABELLONE
=========================================================*/

#contenitoreTabellone{

    display:flex;

    justify-content:center;

}

#tabellone{

    display:grid;

    gap:6px;

    background:#005baa;

    padding:12px;

    border-radius:12px;

}

/*=========================================================
 CELLE
=========================================================*/

.cella{

    width:70px;

    height:70px;

    border-radius:50%;

    background:white;

    cursor:pointer;

    transition:.2s;

}

.cella:hover{

    transform:scale(1.05);

}

.rossa{

    background:#d62828;

}

.gialla{

    background:#ffd60a;

}

/*=========================================================
 QUIZ
=========================================================*/

#quiz{

    background:white;

    border-radius:10px;

    padding:20px;

    margin-top:20px;

    border:1px solid #d7e2ef;

}

#quiz h2{

    color:#005baa;

    margin-bottom:15px;

}

#testoDomanda{

    font-size:1.2rem;

    margin-bottom:20px;

}

#rispostaUtente{

    width:100%;

    margin-bottom:15px;

}

/*=========================================================
 UTILITA'
=========================================================*/

.nascosto{

    display:none;

}

/*=========================================================
 RESPONSIVE
=========================================================*/

@media(max-width:900px){

    #infoPartita{

        flex-direction:column;

        gap:10px;

    }

    .pulsanti{

        flex-direction:column;

    }

    .cella{

        width:52px;

        height:52px;

    }

}

@media(max-width:600px){

    header h1{

        font-size:1.8rem;

    }

    .cella{

        width:42px;

        height:42px;

    }

    button{

        width:100%;

    }

}

/* RESPONSIVE */

@media(max-width:900px){


/* =====================================
   Banner smartphone
===================================== */

@media (max-width:768px){

    #headerGiocoscuola img{

        content:url("../../imgs/testatapiccola.png");

        width:100%;
        height:auto;

    }

}

#canvasRuota{

width:350px;
height:350px;

}


#ruotaContainer{

width:360px;

}

.casella{

width:42px;
height:50px;

font-size:28px;

}

}

@media(max-width:600px){

/* Sfondo per smartphone */

header h1{

font-size:28px;

}

#categoriaTitolo{

font-size:24px;

}

#domanda{

font-size:20px;

}

.casella{

width:36px;
height:45px;

font-size:22px;

}

.player{

min-width:140px;

}

}


#classificaFinale{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
    text-align:center;
}

#classificaFinale h1{
    font-size:3rem;
    margin-bottom:30px;
}

.podio{
    font-size:2rem;
    margin:10px;
}

.oro{
    color:gold;
}

.argento{
    color:silver;
}

.bronzo{
    color:#cd7f32;
}


/* ==============================
   PUNTEGGIO PROVVISORIO GIOCATORI
   ============================== */

#punteggiGiocatori {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px auto;
}


#punteggiGiocatori .player {
    width: 160px;
    padding: 8px 12px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    background: #ffffff;
    color: #005baa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

#punteggiGiocatori .player.active {
    border: 3px solid #ffcc00;
    transform: scale(1.05);
}

/* ==============================
   PULSANTE SCHERMO INTERO LIM
   ============================== */

#btnFullscreen {

    background: #005baa;
    color: white;
    font-weight: bold;

}


#btnFullscreen:hover {

    transform: scale(1.05);
    cursor:pointer;

}
/* =====================================
   MODIFICHE GRAFICA QUIZ 2.0 PIU 
   SIMILE A GIOCOSCUOLA RUOTA 
===================================== */

body{
    margin:0;
    padding:0;
    background:#dfefff;
    font-family:Verdana,Arial,sans-serif;
}

#contenitore{
	width:100%;
	margin:10px auto;
	border-radius:8px;
	box-shadow:0 0 10px rgba(0,0,0,.15);
	padding:15px;
	background-color: white;
	background-image: url(../../imgs/sfondo.png);
}

h1,h2,h3{
    color:#005baa;
    text-align:center;
}

button{
    background:#ff9900;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

button:hover{
    background:#e68400;
}

/* =====================================
   HEADER GIOCOSCUOLA
===================================== */

.header{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-start;
	justify-content:space-between;
	width:100%;

	padding-bottom:10px;
	margin-bottom:15px;
	
}




/* LOGO */

.header > a:first-child{
    flex:0 0 auto;
}

.header > a:first-child img{
	width:300px;
	max-width:100%;
	height:auto;
	display:block;
	margin-right: 200px;
}

/* MENU */

/* ===========================
   MENU GIOCOSCUOLA
=========================== */

#btnMenu{
    display:none;
    background:#f7941d;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:8px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
}

#btnMenu:hover{
    background:#e67e00;
}

#menuGiocoscuola{
    flex:1;
    text-align:right;
    padding-top:20px;
    margin-right:20px;
}

#menuGiocoscuola a{
    display:inline-block;
    padding:8px 12px;
    margin-left:5px;
    color:#005baa;
    text-decoration:none;
    font-weight:bold;
    font-size:20px;
    font-family:"Comic Sans MS";
    transition:.25s;
}

#menuGiocoscuola a:hover{
    background:#005baa;
    color:white;
    border-radius:6px;
}

/* BANNER */

#headerGiocoscuola{
    width:100%;
    margin-top:10px;
    clear:both;
}

#headerGiocoscuola img{
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
    border-radius:8px;
}


/*RUOTA*/
#contenitore .header #gioco {
	text-align: center;
}

#areaGioco{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

#colonnaRuota{
    flex:1;
    min-width:500px;
}

#colonnaQuiz{
    flex:1;
    min-width:400px;
}

/*logo*/
.header img:first-child{
    max-width:380px;
    height:auto;
    display:block;
    margin:0 auto 15px auto;
}

#contenitoregioco {
	text-align: center;
	position: relative;
	height: auto;
	width: 85%;
	left: 5%;
	right: 5%;
	margin-left: 5%;
	margin-right: 5%;
	background-color: #FFFFFF;
}
/*footer*/
#footer {
	text-align: center;
	background-color: #87F773;
	font-size: 14px;
	margin: 1px;
	padding: 1px;
	height: auto;
	width: 100%;
}

#areaGioco{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    width:100%;
}

/*AREA GIOCO*/

#zonaTabellone{
    flex:1;
    text-align:center;
}


#zonaRuota{
    flex:0 0 auto;
}


#ruotaContainer{
    position:relative;
    width:520px;
    margin:0;
}

@media(max-width:900px){

    #areaGioco{
        flex-direction:column;
    }

}
.no-js .header #contenitoregioco #setup .panel a {
		text-decoration: none;
}

.no-js .header #contenitoregioco #setup #panel2 a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 14px;

}
.no-js .header #contenitoregioco #setup #panel2 p {
	
	text-decoration: none;
	font-size: 14px;

}

/* ===========================
   MENU SMARTPHONE
=========================== */

#btnMenu{
    display:none;
    width:58px;
    height:48px;
    background:#f7941d;
    border:none;
    border-radius:8px;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
    padding:10px;
}

#btnMenu span{
    display:block;
    width:28px;
    height:4px;
    background:#fff;
    margin:5px auto;
    border-radius:3px;
    transition:.3s;
}

#btnMenu:hover{
    background:#e67e00;
}

/* =====================================
   MENU SMARTPHONE
===================================== */

@media (max-width:768px){

    .header{
        flex-direction:column;
        align-items:center;
    }

  
		
		#btnMenu{
    display:block;
    width:65px;
	height:55px;
    margin:-60px 15px 15px auto;
	color:#fff !important;
}
		
			

    #menuGiocoscuola{
        display:none;
        width:100%;
        margin:0;
        padding:0;
        text-align:cealignnter;
        animation:menuApertura .3s ease;

    }

   #menuGiocoscuola.aperto{

        display:block;
    }
    #menuGiocoscuola a{
text-align:center;
        display:block;
        margin:0;
        padding:16px;
        border-bottom:1px solid #ddd;
        background:white;
        font-size:22px;

    }

    #menuGiocoscuola a:hover{

        background:#f7941d;
        color:white;

    }
}

@keyframes menuApertura{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*=========================================================
 ISTRUZIONI GIOCO
=========================================================*/

.istruzioniGioco{

    margin:12px 0 18px;

    padding:10px 15px;

    background:#ffffff;

    border:none;

    border-radius:none;

    color:#003399;

    font-size:15px;

    text-align:center;

    font-weight:bold;

}
/* RESPONSIVE */

@media(max-width:900px){


/* =====================================
   Banner smartphone
===================================== */

@media (max-width:768px){

    #headerGiocoscuola img{

        content:url("../../imgs/testatapiccola.png");

        width:100%;
        height:auto;

    }

}

#canvasRuota{

width:350px;
height:350px;

}


#ruotaContainer{

width:360px;

}

.casella{

width:42px;
height:50px;

font-size:28px;

}

}

@media(max-width:600px){

/* Sfondo per smartphone */

header h1{

font-size:28px;

}

#categoriaTitolo{

font-size:24px;

}

#domanda{

font-size:20px;

}

.casella{

width:36px;
height:45px;

font-size:22px;

}

.player{

min-width:140px;

}

}


#classificaFinale{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
    text-align:center;
}

#classificaFinale h1{
    font-size:3rem;
    margin-bottom:30px;
}

.podio{
    font-size:2rem;
    margin:10px;
}

.oro{
    color:gold;
}

.argento{
    color:silver;
}

.bronzo{
    color:#cd7f32;
}


/* ==============================
   PUNTEGGIO PROVVISORIO GIOCATORI
   ============================== */

#punteggiGiocatori {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px auto;
}


#punteggiGiocatori .player {
    width: 160px;
    padding: 8px 12px;
    text-align: center;
    border-radius: 10px;
    font-size: 18px;
    background: #ffffff;
    color: #005baa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

#punteggiGiocatori .player.active {
    border: 3px solid #ffcc00;
    transform: scale(1.05);
}

/* ==============================
   PULSANTE SCHERMO INTERO LIM
   ============================== */

#btnFullscreen {

    background: #005baa;
    color: white;
    font-weight: bold;

}


#btnFullscreen:hover {

    transform: scale(1.05);
    cursor:pointer;

}
/* =====================================
   MODIFICHE GRAFICA QUIZ 2.0 PIU 
   SIMILE A GIOCOSCUOLA RUOTA 
===================================== */

body{
    margin:0;
    padding:0;
    background:#dfefff;
    font-family:Verdana,Arial,sans-serif;
}

#contenitore{
	width:100%;
	margin:10px auto;
	border-radius:8px;
	box-shadow:0 0 10px rgba(0,0,0,.15);
	padding:15px;
	background-color: white;
	background-image: url(../../imgs/sfondo.png);
}

h1,h2,h3{
    color:#005baa;
    text-align:center;
}

button{
    background:#ff9900;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

button:hover{
    background:#e68400;
}

/* =====================================
   HEADER GIOCOSCUOLA
===================================== */

.header{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-start;
	justify-content:space-between;
	width:100%;

	padding-bottom:10px;
	margin-bottom:15px;
	
}




/* LOGO */

.header > a:first-child{
    flex:0 0 auto;
}

.header > a:first-child img{
	width:300px;
	max-width:100%;
	height:auto;
	display:block;
	margin-right: 200px;
}

/* MENU */

/* ===========================
   MENU GIOCOSCUOLA
=========================== */

#btnMenu{
    display:none;
    background:#f7941d;
    color:#fff;
    border:none;
    padding:12px 22px;
    border-radius:8px;
    font-size:20px;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
}

#btnMenu:hover{
    background:#e67e00;
}

#menuGiocoscuola{
    flex:1;
    text-align:right;
    padding-top:20px;
    margin-right:20px;
}

#menuGiocoscuola a{
    display:inline-block;
    padding:8px 12px;
    margin-left:5px;
    color:#005baa;
    text-decoration:none;
    font-weight:bold;
    font-size:20px;
    font-family:"Comic Sans MS";
    transition:.25s;
}

#menuGiocoscuola a:hover{
    background:#005baa;
    color:white;
    border-radius:6px;
}

/* BANNER */

#headerGiocoscuola{
    width:100%;
    margin-top:10px;
    clear:both;
}

#headerGiocoscuola img{
    width:100%;
    max-width:100%;
    height:auto;
    display:block;
    border-radius:8px;
}


/*RUOTA*/
#contenitore .header #gioco {
	text-align: center;
}

#areaGioco{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

#colonnaRuota{
    flex:1;
    min-width:500px;
}

#colonnaQuiz{
    flex:1;
    min-width:400px;
}

/*logo*/
.header img:first-child{
    max-width:380px;
    height:auto;
    display:block;
    margin:0 auto 15px auto;
}

#contenitoregioco {
	text-align: center;
	position: relative;
	height: auto;
	width: 85%;
	left: 5%;
	right: 5%;
	margin-left: 5%;
	margin-right: 5%;
	background-color: #FFFFFF;
}
/*footer*/
#footer {
	text-align: center;
	background-color: #87F773;
	font-size: 14px;
	margin: 1px;
	padding: 1px;
	height: auto;
	width: 100%;
}

#areaGioco{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:40px;
    width:100%;
}

/*AREA GIOCO*/

#zonaTabellone{
    flex:1;
    text-align:center;
}


#zonaRuota{
    flex:0 0 auto;
}


#ruotaContainer{
    position:relative;
    width:520px;
    margin:0;
}

@media(max-width:900px){

    #areaGioco{
        flex-direction:column;
    }

}
.no-js .header #contenitoregioco #setup .panel a {
		text-decoration: none;
}

.no-js .header #contenitoregioco #setup #panel2 a {
	color: #FFFFFF;
	text-decoration: none;
	font-size: 14px;

}
.no-js .header #contenitoregioco #setup #panel2 p {
	
	text-decoration: none;
	font-size: 14px;

}

/* ===========================
   MENU SMARTPHONE
=========================== */

#btnMenu{
    display:none;
    width:58px;
    height:48px;
    background:#f7941d;
    border:none;
    border-radius:8px;
    cursor:pointer;
    box-shadow:0 3px 8px rgba(0,0,0,.25);
    padding:10px;
}

#btnMenu span{
    display:block;
    width:28px;
    height:4px;
    background:#fff;
    margin:5px auto;
    border-radius:3px;
    transition:.3s;
}

#btnMenu:hover{
    background:#e67e00;
}

/* =====================================
   MENU SMARTPHONE
===================================== */

@media (max-width:768px){

    .header{
        flex-direction:column;
        align-items:center;
    }

  
		
		#btnMenu{
    display:block;
    width:65px;
	height:55px;
    margin:-60px 15px 15px auto;
	color:#fff !important;
}
		
			

    #menuGiocoscuola{
        display:none;
        width:100%;
        margin:0;
        padding:0;
        text-align:cealignnter;
        animation:menuApertura .3s ease;

    }

   #menuGiocoscuola.aperto{

        display:block;
    }
    #menuGiocoscuola a{
text-align:center;
        display:block;
        margin:0;
        padding:16px;
        border-bottom:1px solid #ddd;
        background:white;
        font-size:22px;

    }

    #menuGiocoscuola a:hover{

        background:#f7941d;
        color:white;

    }
}

@keyframes menuApertura{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*=========================================================
 ISTRUZIONI GIOCO
=========================================================*/

.istruzioniGioco{

    margin:12px 0 18px;

    padding:10px 15px;

    background:#ffffff;

    border:none;

    border-radius:none;

    color:#003399;

    font-size:15px;

    text-align:center;

    font-weight:bold;

}

/*=========================================================
 NUOVO MENU GIOCOSCUOLA
 Aggiungere IN FONDO al CSS esistente
=========================================================*/


/*=========================================================
 PULSANTE MENU MOBILE
=========================================================*/

#btnMenu{

    display:none;

    width:50px;

    height:50px;

    padding:0;

    margin:0;

    border:none;

    border-radius:8px;

    background:#f7941d;

    cursor:pointer;

    box-shadow:0 3px 8px rgba(0,0,0,.25);

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:5px;

}


/* TRE BARRE PERFETTAMENTE CENTRATE */

#btnMenu span{

    display:block;

    width:26px;

    height:4px;

    margin:0;

    padding:0;

    background:#ffffff;

    border-radius:3px;

}


/*=========================================================
 TENDINA DESKTOP
=========================================================*/

.gc-dropdown{

    position:relative;

    display:inline-block;

}


.gc-dropdown-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    padding:8px 12px;

    margin-left:5px;

    border:none;

    background:transparent;

    color:#005baa;

    font-family:"Comic Sans MS", Arial, sans-serif;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

}


.gc-dropdown-btn:hover{

    color:#f7941d;

}


.gc-freccia{

    font-size:12px;

    transition:transform .2s ease;

}


.gc-dropdown.aperto .gc-freccia{

    transform:rotate(180deg);

}


/*=========================================================
 MENU A TENDINA
=========================================================*/

.gc-dropdown-menu{

    display:none;

    position:absolute;

    top:100%;

    left:50%;

    transform:translateX(-50%);

    width:280px;

    padding:8px 0;

    background:#ffffff;

    border-radius:8px;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

    z-index:9999;

}


.gc-dropdown.aperto .gc-dropdown-menu{

    display:block;

}


.gc-dropdown-menu a{

    display:block !important;

    width:100%;

    margin:0 !important;

    padding:10px 15px !important;

    color:#005baa !important;

    background:#ffffff;

    font-family:Arial, Helvetica, sans-serif !important;

    font-size:16px !important;

    font-weight:bold;

    text-align:left;

    text-decoration:none;

    white-space:nowrap;

}


.gc-dropdown-menu a:hover{

    background:#eef5fb;

    color:#f7941d !important;

}


/*=========================================================
 SMARTPHONE
=========================================================*/

@media(max-width:768px){

    /*-----------------------------------------------
      HEADER
    -----------------------------------------------*/

    .header{

        display:flex;

        flex-wrap:nowrap;

        align-items:center;

        justify-content:space-between;

        width:100%;

        padding:10px;

        margin:0;

        position:relative;

    }


    /*-----------------------------------------------
      LOGO
    -----------------------------------------------*/

    .header > a:first-child{

        flex:1 1 auto;

        min-width:0;

    }


    .header > a:first-child img{

        width:auto;

        max-width:100%;

        max-height:65px;

        height:auto;

        margin-right:0;

    }


    /*-----------------------------------------------
      PULSANTE ARANCIONE
    -----------------------------------------------*/

    #btnMenu{

        display:flex;

        flex:0 0 50px;

        margin-left:10px;

        margin-right:5px;

    }


    /*-----------------------------------------------
      MENU MOBILE
    -----------------------------------------------*/

    #menuGiocoscuola{

        display:none;

        position:absolute;

        top:100%;

        left:5px;

        right:5px;

        width:auto;

        margin:0;

        padding:5px;

        background:#ffffff;

        border-radius:8px;

        box-shadow:0 5px 15px rgba(0,0,0,.25);

        z-index:9999;

        text-align:center;

    }


    #menuGiocoscuola.aperto{

        display:block;

    }


    #menuGiocoscuola > a{

        display:block;

        width:100%;

        margin:0;

        padding:12px 10px;

        font-size:18px;

        text-align:center;

    }


    /*-----------------------------------------------
      TENDINA MATERIALI MOBILE
    -----------------------------------------------*/

    .gc-dropdown{

        display:block;

        width:100%;

    }


    .gc-dropdown-btn{

        display:flex;

        width:100%;

        margin:0;

        padding:12px 10px;

        justify-content:center;

        font-size:18px;

    }


    .gc-dropdown-menu{

        position:static;

        transform:none;

        width:100%;

        margin:0;

        padding:0;

        box-shadow:none;

        border-radius:5px;

        background:#f4f8fc;

    }


    .gc-dropdown-menu a{

        padding:10px 8px !important;

        font-size:15px !important;

        text-align:center;

        white-space:normal;

        border-top:1px solid #dddddd;

    }


    /*-----------------------------------------------
      BANNER SMARTPHONE
    -----------------------------------------------*/

    #headerGiocoscuola img{

        content:url("https://www.giocoscuola.it/imgs/testatapiccola.png");

        width:100%;

        height:auto;

    }


    #headerGiocoscuola{

        width:100%;

        margin:10px 0;

    }

}


/* =========================================================
   CORREZIONE MENU MOBILE - VERSIONE STABILE
   ========================================================= */
@media screen and (max-width: 768px) {
    .header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        width: 100% !important;
    }

    #btnMenu {
        display: flex !important;
        flex: 0 0 50px !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 5px 0 10px !important;
        padding: 0 !important;
        background: #f7941d !important;
        border: 0 !important;
        border-radius: 8px !important;
        position: relative !important;
        z-index: 10001 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
    }

    #btnMenu span {
        display: block !important;
        width: 26px !important;
        height: 4px !important;
        background: #fff !important;
        border-radius: 3px !important;
    }

    #menuGiocoscuola {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 5px !important;
        right: 5px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 5px !important;
        background: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,.25) !important;
        z-index: 10000 !important;
        text-align: center !important;
    }

    #menuGiocoscuola.aperto {
        display: block !important;
    }

    #menuGiocoscuola > a,
    #menuGiocoscuola .gc-dropdown-btn {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        text-align: center !important;
        font-size: 18px !important;
    }

    .gc-dropdown {
        display: block !important;
        width: 100% !important;
    }

    .gc-dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
    }
}
