.page {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* NOMBRE DE JOUEURS */
h4 {
    font-size: 2em;
	font-family: 'SparkyType-Billy-Bold', 'Times New Roman', Times, serif;
}
#block_nb_joueurs_reponse {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 300px;
    text-align: center;
    margin: auto;
}
.btn-primary {
    display: block;
    margin: 0 5px 0 auto;
}
.form-control {
    display: inline-block;
    width: auto;
}
.reponse_nom_joueur {
  margin: 5px 0;
}
.reponse_nom_joueur .btn-success {
    width: 80%;
}
.btn-primary, .btn-success {
    background-image: url('/images/games/akropolis/marbre-3.jpg');
    background-size: 100%;
    border: 2px solid #7d7974;
    color: #494744;
    background-color: #c5c1bd;
    filter: brightness(1);
    transition: all 0.2s;
}
.btn-primary:hover, .btn-success:hover {
    background-image: url('/images/games/akropolis/marbre-3.jpg');
    background-size: 100%;
    border: 2px solid #494744;
    color: #20201e;
    filter: brightness(0.9);
}


/* PAGE COULEUR GENERIQUE*/
.page_couleur_calcul {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}
.tuile_section {
    width: 200px;
}
.bloc_txt_hexagone {
    border: white 5px solid;
    border-radius: 65px;
    position: relative;
    padding: 20px 20px 20px 130px;
    width: 450px;
    max-width: calc(100vw - 20px);
}
.rp_desc {
    font-style: italic;
}
.bloc_txt_hexagone h4 {
    margin: 0;
}
.nom_joueur {
    font-family: 'SparkyType-Billy-Bold', 'Times New Roman', Times, serif;
    text-align: center;
    font-size: 2em;
    margin-top: 10px;
}
.tuile_section {
    width: 150px;
    position: absolute;
    left: -50px;
}
.calcul_line {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    font-size: 2.3em;
    font-family: 'SparkyType-Billy-Bold', 'Times New Roman', Times, serif;
}
.etoile, .hexagone, .cube_input {
    background-color: rgba(255,255,255,0.6);
    border: none;
    -webkit-appearance: none;
    margin: 10px;
    -moz-appearance: textfield;
    padding: 10px;
    width: 100px;
    height: 50px;
    text-align: center;
    font-size: 1em;
    font-family: 'SparkyType-Billy-Bold', 'Times New Roman', Times, serif;
}
.etoile, .hexagone {
    background-size: auto 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.etoile {
    background-image: url('/images/games/akropolis/etoile-grise.png');
}
.hexagone {
    background-image: url('/images/games/akropolis/hexagone-gris.png');
}
.result {
    min-width: 70px;
    text-align: center;
    padding-left: 5px;
	font-family: 'SparkyType-Billy-Bold', 'Times New Roman', Times, serif;
}
.calcul_joueurs {
    border: white 5px solid;
    border-radius: 65px;
    position: relative;
    width: 450px;
    max-width: calc(100vw - 20px);
    margin-top: 20px;
}
.bouton_ok_couleur {
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px;
}
@media (max-width: 950px) {
    .bloc_txt_hexagone {
        border-radius: 35px;
        padding: 20px;
        margin-top: 100px;
    }
    .tuile_section, .cube_section {
        left: calc( 50% - 50px);
        top: -70px;
    }
    .tuile_section {
        width: 100px;
    }
    .no-mobile {
        display: none;
    }
}



#page_nb_habitants, #page_nb_marches, #page_nb_casernes, #page_nb_temples, #page_nb_jardins, #page_nb_cube, #page_score_final {
    display: none;
}
/* PAGE HABITANT */
#bloc_txt_habitation, #page_nb_habitants .calcul_joueurs {
    background-color: #95cbdd9e;
}

/* PAGE MARCHE */
#bloc_txt_marches, #page_nb_marches .calcul_joueurs {
    background-color: #ffe0749e;
}

/* PAGE CASERNE */
#bloc_txt_caserne, #page_nb_casernes .calcul_joueurs {
    background-color: #e89f9a9e;
}

/* PAGE TEMPLE */
#bloc_txt_temple, #page_nb_temples .calcul_joueurs {
    background-color: #988bd59e;
}

/* PAGE JARDIN */
#bloc_txt_jardin, #page_nb_jardins .calcul_joueurs {
    background-color: #8ed0919e;
}

/* PAGE CUBE */
#bloc_txt_cube, #page_nb_cube .calcul_joueurs {
    background-color: #c2c2c29e;
}
.cube_section {
    width: 90px;
    position: absolute;
    left: -20px;
  }


/* PAGE SCORE FINAL */
#page_score_final {
    position: relative;
    overflow-y: hidden;
}
.tab_final_case_score {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
}
#tab_score_final {
    background-image: url('/images/games/akropolis/marbre-1.jpg');
    background-size: 100%;
    background-repeat: repeat;
    padding: 10px;
}
#line_score_total .result {
    width: 100%;
    padding: 10px 0;
}
.tab_final_line_multiple, .tab_final_line_result {
    display: flex;
    align-items: center;
    justify-content: center;
	font-family: 'SparkyType-Billy-Bold', 'Times New Roman', Times, serif;
}
.tuile_tab_score, .logo_head_tab_score {
    width: 100px;
    padding: 10px;
}
.tuile_tab_score {
    filter: drop-shadow(1px 1px 3px #00000070);
}
.cube_tab_score {
    width: 60px;
}
#tab_score_final {
    border-collapse: collapse;
    text-align: center;
    overflow: hidden;
}
#tab_score_final td, #tab_score_final tr, #tab_score_final th {
    border: solid 2px black;
}
#tab_score_final thead tr th, #tab_score_final {
    border-top: solid 0px transparent;
}
#tab_score_final tbody tr:last-child, #tab_score_final, #tab_score_final tbody tr:last-child td, #tab_score_final tbody tr:last-child th {
    border-bottom: solid 0px transparent;
}
#tab_score_final thead tr  {
    border-bottom: solid 4px black;
    border-top: solid 0px transparent;
    position: relative;
}
#tab_score_final tr, #tab_score_final  {
    border-left: solid 0px transparent;
    border-right: solid 0px transparent;
}
#tab_score_final tbody th, #tab_score_final thead th:first-child {
    border-right: solid 4px black;
    border-left: solid 0px transparent;
    position: relative;
}
#tab_score_final thead tr th, #tab_score_final tbody tr td {
    border-right: solid 0px transparent;
}
#tab_score_final thead tr::after {
    content: "";
    position: absolute;
    height: 12px;
    width: 100%;
    left: 0;
    bottom: -10px;
    background-image: url('/images/games/akropolis/frise-black.png');
    background-size: auto 100%;
    background-color: #efeeee;
}
#tab_score_final::before {
    content: '';
    position: absolute;
    height: 12px;
    width: 741px;
    left: -266px;
    top: 360px;
    background-image: url('/images/games/akropolis/frise-black.png');
    background-size: auto 100%;
    background-color: #efeeee;
    transform: rotate(90deg);
    z-index: 2;
}
#tab_score_final::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 94px;
    top: 69px;
    background-color: #efeeee;
    z-index: 3;
    border: solid 2px #000;
}


@media (max-width: 950px){
    #page_score_final .tuile_tab_score, .logo_head_tab_score {
        width: 90px;
        padding: 6px;
    }
    #page_score_final .cube_tab_score {
        width: 60px;
    }
    #page_score_final .etoile, #page_score_final .hexagone, #page_score_final .cube_input {
        margin: 5px;
        padding: 5px;
        width: 35px;
        height: 35px;
    }
    #page_score_final #tab_score_final::before {
        left: -275px;
    }
    #page_score_final #tab_score_final::after {
        left: 85px;
        top: 60px;
    }
    #page_score_final .nom_joueur {
        font-size: 1em;
    }
    .etoile, .hexagone, .cube_input {
        width: 80px;
    }
}

@media (max-width: 500px){
    #page_score_final .etoile, #page_score_final .hexagone, #page_score_final .cube_input {
        width: 25px;
        height: 25px;
        padding: 0px;
        margin: 3px;
    }
    .result {
        min-width: 0px;
    }
    #page_score_final .tuile_tab_score, .logo_head_tab_score {
        width: 50px;
    }
    #page_score_final .cube_tab_score {
        width: 40px;
    }
    #page_score_final .nom_joueur {
        font-size: 0.6em;
    }
    #page_score_final #tab_score_final::before {
        height: 8px;
        left: -317px;
    }
    #tab_score_final thead tr::after {
        height: 8px;
        bottom: -9px;
    }
    #page_score_final #tab_score_final::after {
        left: 47px;
        top: 36px;
        height: 14px;
        width: 14px;
        border: solid 1px #000;
    }
}