 :root {
    --plateau-vide: url("images/plateau-vide.png");
    --typo1: Helvetica, sans-serif;
    --typo2: Helvetica, sans-serif;
    --couleurfond: #00477E;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--couleurfond);
    min-height: 100vh;
    display: flex;
    min-height: -webkit-fill-available;
    transition: background-color ease .5s;
    user-select: none;
    height: 90vh;
    min-height: 500px;
}

#attente {
    position: absolute;
    transform: scale(0);
    width: 100%;
    position: absolute;
    /* z-index: -1; */
    overflow: hidden;
    height: 100%;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    transition: all ease .5s;
    opacity: 0;
}

.pioche-active #attente {
    display: none;
}

#attente.active {
    transform: scale(1);
    opacity: 1;
}

#carte,#lance-de {
    display: flex;
    flex-direction: column;
    width: clamp(50px, calc(100vw - 20px), 100%);
    box-sizing: border-box;
    margin: auto;
    font-family: var(--typo1);
    font-size: 1em;
    transform: scale(0);
    transition: all cubic-bezier(0.4, 0, 1, 1) 0.3s,height ease 0s 0.5s;
    z-index: 10;
    height: 100%;
    justify-content: center;
    height: 0;
}

#imgencart {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.encart {
    /* background: #0070B9; */
    padding-top: 20px;
    border-radius: 10px 10px 0 0;
}

.titre {
    display: none;
}

#carte .contenu {
    padding: 10px;
    /* background: #FFF; */
    border-radius: 15px;
}

#carte:not(.individuel) .reponseIndividuel {
    display: none;
}

#carte input[type=radio] {
    display: none;
}

.btns {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

.btns span {
    min-height: 35px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    margin-top: 10px;
    padding: 5px;
    min-height: 60px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    font-size: 1.15em;
    font-weight: bold;
    background: #FFF;
    color: #0a72b6;
}

.question {
    font-size: 1.2em;
}

#carte.collectif .question {
    /*display: none;*/
}

#carte .soustitre {
    font-size: 17px;
    text-align: center;
    color: #FFF;
    margin-top: 10px;
    margin-bottom: 10px;
}

 .btns input.droite:checked+span {
     background: var(--equipedroite);
     color: #FFF;
 }

 .btns input.gauche:checked+span {
     background: var(--equipegauche);
     color: #FFF;
 }


/*

avanceNbJours
avanceNbCases
avanceNbCasesNbPions

*/

button {
    font-family: var(--typo2);
    margin-top: 10px;
    height: 60px;
    background: var(--coul1);
    border: none;
    border-radius: 5px;
    color: #FFF;
    display: block;
    width: 100%;
    font-size: 1.6em;
}

#carte.individuel .btns {
    /* display: none; */
}

.lareponse {
    /* background: #0f2f3e; */
    /* color: #FFF; */
    padding: 10px 0;
    border-top: 1px solid #0f2f3e;
    margin-top: 10px;
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: #153141;
    font-family: var(--typo2);
}

.reponseIndividuel .active .lareponse {
    display: block;
}

button {}

.reponseIndividuel.active .lareponse {
    display: block;
}

.reponseIndividuel.active button {
    display: none;
}

.lasource {
    margin-top: 10px;
    font-style: italic;
    text-align: right;
    display: none;
}

.calendrier .encart {
    /* background: #ce0266; */
}

.calendrier .encart {
    /* background: #ef732f; */
    border-radius: 10px 10px 0 0;
}

.calendrier .btns {
    display: none;
}

.calendrier .question {
    text-align: center;
}

.calendrier .question strong {
    color: #ef732f;
}

.suggestionIndividuel:not(:empty) {
    background: #00808873;
    padding: 10px;
    margin-top: 10px;
}

.lareponse strong {
    color: #ce0266;
}

#carte.active, #lance-de.active {
	-webkit-transform: scale(1);
    transform: scale(1);
    height: 100%;
    transition: all cubic-bezier(0.25, 0.1, 0.33, 1.42) .5s,height ease 0s 0s;
}

#btnpioche {
    font-family: var(--typo2);
    -webkit-apparence: none;
    height: 100px;
    background: #ea6b00;
    border: 10px solid #FFF;
    color: #FFF;
    border: none;
    border-radius: 5px;
    color: #FFF;
    display: block;
    width: 100%;
    max-width: calc(100vw - 100px);
    display: none;
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: animbtnpioche ease 1.5s infinite;
}

#btnpioche.active {
    display: block;
}

@keyframes animbtnpioche {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 10px 10px 0px rgba(7, 33, 35, .75);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 40px 40px 20px rgba(7, 33, 35, .4);
    }
}

#btnFinDeTour {
    position: fixed;
    bottom: 0;
    transition: all ease .2s;
    transform: translate(0px, 100%);
    z-index: 20;
    background: #ef732f;
}

#btnFinDeTour.active {
    transform: translate(0, 0);
}

.btnsDiv {
    display: flex;
    width: 100vw;
    position: fixed;
    justify-content: space-evenly;
    transition: all ease .2s;
    transform: translate(0px, 100%);
    bottom: 0;
}

.btnsDiv.active {
    transform: translate(0px, 0%);
}

.btnsDiv>*:not(:last-child) {
    margin-right: 35px;
}

.btnsDiv>button {
    border: 2px solid #FFF;
}

.btnsVote>button:nth-child(2) {
    background-color: orange;
}

.btnsVraiFaux {
    z-index: 20;
    display: none;
}

.btnsVraiFaux>button:nth-child(2) {
    background-color: green;
}

.btnsVote>button:nth-child(3) {
    background-color: #2157ff;
}

button[disabled=true] {
    background: #b7b7b7 !important;
    color: #828282 !important;
    opacity: .9 !important;
}

#valideVote[disabled] {
    opacity: .3;
}

.btns>label:not(:first-child) {
    /* margin-left: 25px; */
}

.btns>label {
    flex: 3;
}

.individuel .encart {
    /* background: #133459; */
}

#carte.individuel .btns span {
    font-size: 1.5em;
}

#carte.individuel .btns label {
    flex: auto;
    margin-left: 0 !important;
}

.formulaire-intro {
    /* width: 100vw; */
    position: absolute;
    z-index: 1000;
    overflow: hidden;
    height: 100%;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
    background: var(--couleurfond);
    max-height: 570px;
    top: 0;
}

.formulaire-intro-img {
    width: 190px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    z-index: 10;
}

.formulaire-intro-cadre {
    background: #FFF;
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 20px;
    padding-top: 70px;
    font-family: var(--typo1);
    font-size: 1.2em;
    text-align: center;
    color: #0a72b6;
    margin-top: -90px;
    max-width: calc(100vw - 60px);
}

.formulaire-intro-cadre span {
    display: block;
    margin-bottom: 0.5em;
    text-align: left;
    line-height: 1.3em;
    font-size: 1.5em;
}

#formulaire-intro-nom {
    border: none;
    border-bottom: 1px solid #0a72b6;
    max-width: 100%;
    font-size: 1.7em;
    /* display: none; */
    width: 100%;
    box-sizing: border-box;
    color: #012a3f;
    font-family: var(--typo1);
}

button#formulaire-intro-btn {
    background: #EF732F;
    text-transform: uppercase;
}

button#formulaire-intro-btn[disabled] {
    opacity: .3;
}

#attente .formulaire-intro-cadre span {
    text-align: center;
}

#nomjoueur {
    margin-bottom: 0;
}

#nomjoueur:after {
    content: ",";
}

div#carte.individuel .question,
div#carte.collectif .question {
    display: none;
}

#carte .btns span:empty {
    display: none;
}

#nomjoueur {
    text-transform: capitalize;
}

#carte.individuel:not(.votable) #reponse1,
#carte.individuel:not(.votable) #reponse2,
#carte.individuel:not(.votable) #reponse3,
#carte.individuel:not(.votable) #reponse4,
#carte.individuel:not(.votable) button,
#carte.individuel:not(.votable) .contenu {
    border-color: #d8d8d8;
    text-indent: -999950px;
    display: none;
}

html {
    height: -webkit-fill-available;
}

#carte .calendrier .contenu {
    display: none;
}

#carte.calendrier .contenu {
    /* display: none; */
}

.bodycollectif {
    /* background: #0A72B6; */
}

.bodycalendrier {
    background-color: #ef732f;
}

.bodyindividuel {
    background: #143459;
}

.collectif .soustitre,
.individuel .soustitre {
    display: none;
}

#carte.collectif .contenu,
#carte.individuel .contenu {
    background: none;
}

#valideVote {
    background: var(--couleurfond);
}

#carte.individuel .btns input:checked+span {
    background: #0a72b6;
    color: #FFF;
}

#carte.individuel .btns input+span {
    color: #143459;
}

#login {
    background: var(--couleurfond);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 999999999;
    /* opacity: 0; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginimg {
    width: 45vh;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 1vw;
}

.loginligne {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4px;
    justify-content: center;
    width: 75vw;
    font-size: 4vw;
}

.loginlabel {
    font-family: var(--typo1);
    background: var(--equipegauche);
    color: #FFF;
    padding: 0.4em 1em;
    border-radius: 10px 0 0 10px;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    user-select: none;
}

input#pwd {
    font-size: 15px;
    width: 100%;
    border-radius: 0 10px 10px 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    text-transform: uppercase;
    border-radius: 0;
}

.loginbtn {
    font-family: var(--typo1);
    background: #EE732F;
    color: #FFF;
    font-size: 4vw;
    padding: 0.4em 0.5em 0.3em 0.5em;
    border-radius: 10px;
    /* width: 6vw; */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border: none;
    margin: auto;
    margin-top: 0.2em;
    cursor: pointer;
    margin-right: 0;
}
.loginbtn2 {
    background: #597890;
}

.loginbtn:hover {
    background: #002a3f;
}

.calendrier .source {
    display: none;
}


#login .loginligne {
    grid-template-columns: 1fr;
    width: 100%;
}

#login .loginbtn {
    border-radius: 0 0 10px 10px;
    font-size: 15px;
}

#login .loginlabel {
    border-radius: 0;
    font-size: 20px;
    border-radius: 10px 10px 0 0;
}

input#pwd {
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

#login .loginimg {
    width: clamp(100px, 64vw, 400px);
}

#cont {
    width: 310px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 100%;
}

body.jeu-fini #carte,
body.jeu-fini #btnpioche,
body.jeu-fini #attente {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -9999999999999 i !important;
}

#fin {
    width: 100%;
    height: 100%;
    padding: 10px;
    position: fixed;
    z-index: 999999999;
    box-sizing: border-box;
    padding: 10px;
    display: none;
    background: var(--couleurfond);
    text-align: center;
    font-family: var(--typo1);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    flex-direction: column;
    place-content: center;
}

.jeu-fini #fin {
    display: flex;
}

nav#site-navigation {
    display: none;
}

div#wpadminbar {
    display: none;
}

#page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
}

#lance-de {
}

.btns span * {
    display: contents;
}

.icone-de {
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.btn span div p {
}

.petitbtn {
    font-size: .5em;
    display: block !important;
}

 .bg-equipe-droite {
     background: var(--equipedroite) !important;
 }

 .bg-equipe-gauche {
     background: var(--equipegauche) !important;
 }

*::-webkit-scrollbar{
    display: none;
}

 #formulaire-intro-btn {
     font-family: var(--typo1);
     background: #EE732F;
     color: #FFF;
     border-radius: 10px;
     text-align: center;
     display: flex;
     align-items: center;
     justify-content: center;
     text-transform: uppercase;
     border: none;
     cursor: pointer;
     margin: 0.4em 0 auto auto;
     font-size: inherit;
 }

 #login > .loginz {
     width: 100%;
 }

 .formulaire-intro .formulaire-intro-cadre {
     margin-left: 0;
     margin-right: 0;
 }

 .yellow-bg{
     background-color: var(--coul1) !important;
 }

.disparait {
    transform: scale(0);
    transition: all ease .5s;
    height: 0 !important;
    opacity: 0 !important;
}

 .btn-hover-smartphone{
     background-color: var(--couleurfond);
 }

.langues-selecteur ul img {
    width: 20px !important;
    height: auto !important;
}

.langues-selecteur ul {
    justify-content: space-around;
}


/**NEW**/
 #players_list .modal-body{
     display: flex;
     flex-direction: column;
     flex-wrap: nowrap;
     align-content: center;
     justify-content: space-evenly;
     align-items: stretch;
 }

 #players_list .modal-body input{
     visibility: hidden;
 }

#players_list .player_card{
    border: 2px solid white;
    padding: 20px;
    /* box-shadow: 5px 5px 5px #e6e6e6; */
    /* transition:
            border 1s,
            transform 2s; */
    background: #FFF;
    color: var(--couleurfond);
}

#players_list .player_card:hover{
    border: 2px solid #afeaaf;
    border-radius: 5px;
    cursor: pointer;
}

#players_list .player_card input:checked+span{color: #4caf50;}

#players_list .player_card input:checked+span:before {
    content: "✓ ";
    display: inline-block;
}