/* Général */

body{
	margin:0px;
	min-width:600px;
	min-height:400px;
}

h1{
    font-size: 3em;
}

/* Non Connecté */

#NonConnecter{
    display:none;
    text-align:center;
    height:100%;
    margin: -32px 0;
    padding:50px;
    background-color: aliceblue;
}

#MenuConnection{
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 20px;
    border-style: solid;
    border-color: rgb(177, 254, 177);
    background-color: rgb(220, 254, 220);
    border-radius: 25px;
}

#MenuConnection input{
    margin: 10px;
    font-size:1.5em;
}

#MenuConnection .textbasic{
    margin:0px;
    font-size:1.5em;
}

#Explication{
    margin-bottom: 50px;
    padding:20px;
    border-style: solid;
    border-color: rgb(177, 181, 254);
    background-color: rgb(204, 204, 255);
    border-radius: 25px;
}

.Explications{
    margin-bottom: 20px;
    font-size:1.5em;
}

#erreurLogin{
    margin: 50px;
    padding: 20px;
    border-style: solid;
    border-color: rgb(254, 147, 147);
    background-color: rgb(254, 220, 220);
    border-radius: 25px;
    display:none;
    color:rgb(38, 0, 0);
    font-size: 1.5em;
}

#MenuEnter{
    padding: 0px;
}

#MenuEnter li{
    display: inline-table;
    vertical-align: middle;
    margin: 0px 10px;
}

#PanRegles{
    padding:20px;
    border-style: solid;
    border-color: rgb(255, 58, 156);
    background-color: rgb(255, 162, 208);
    color: black;
    border-radius: 25px;
}

#Regles{
    display:none;
    text-align: left;
}

#PanRegles p{
    font-size:1.5em;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Config Game */

#ConfigGame{
    display:none;
    text-align:center;
    height: inherit;
    margin: -32px 0;
    padding: 50px;
    background-color: aliceblue;
}

#CadreConfig{
    padding: 20px;
    border-style: solid;
    border-color: rgb(254, 232, 177);
    background-color: rgb(255, 241, 206);
    border-radius: 25px;
}

#CadreConfig input{
    margin : 10px;
    font-size: 1.4em;
}

#cadreReglageTaille{
    display: none;
}

#txtTaille{
    display:inline-block;
    font-size: 1.4em;
}

#erreurConfig{
    margin: 50px;
    padding: 20px;
    border-style: solid;
    border-color: rgb(254, 147, 147);
    background-color: rgb(254, 220, 220);
    border-radius: 25px;
    display:none;
    color:rgb(38, 0, 0);
    font-size: 1.5em;
}

#textListCo{
    margin-top:10px;
    font-size: 1.4em;
}

#listeCo{
    list-style-position: inside;
}

#listeCo li{
    font-size:1.3em;
}

#adminmsg{
    color:Orange;
    font-size:1.5em;
}

#listeCouleur{
    padding: 0px;
}

#listeCouleur li{
    border-radius: 50%;
    height: 30px;
    width: 30px;
    background-color: #bbb;
    display: inline-block;
    box-shadow: 3px 3px 3px black;
    margin-right: 5px;
}

#cadreCouleurDispo{
    display:inline-block;
    padding: 10px;
    border: 1px black solid;
    border-radius: 25px;
    background-color: white;
}

#cadreCouleurDispo .textbasic{
    position: relative;
    top: -24px;
    margin: 0px;
    text-align: left;
    width: max-content;
    font-size: 1.5em;
    margin-bottom: -24px;
}

/* Game */

#Game{
    display:none;
    background-color: aliceblue;
    padding:10px;
}

#GameCadreTop{
    border-color: rgb(85, 170, 245);
    border-style: solid;
    border-radius: 25px;
    margin: 10px;
    padding: 10px;
}

#JoueurActuel{
    display:block;
    font-size:1.1em;
    width:100%;
    text-align: center;
    margin-bottom: 10px;
}

#gameListeCo li{
    font-size: 1.1em;
    list-style-position: inside;
    display: inline;
    margin: 0px 10px 0px 0px;
}

#gameListeCo{
    display: none;
    margin: 0px;
    padding: 10px;
}

#GameCadreListeCo{
    width: 100%;
    text-align: center;
}

#HeadListJoueur{
    font-size: 1.1em;
    text-align: center;
    margin: 0px;
}

#CadreTerrain{
    margin: 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
}

#cadreEndGame{
    display:none;
    color : Green;
    font-weight : bold;
    font-size : 2.5em;
    text-align : center;
    width: 100%;
    margin: 10px 0px 10px;
}

#CadreTerrain div{
    margin-top: -2px;
}

.casedejeu{
    outline: black 1px solid;
}

#EndGame{
    display:none;
    position: fixed;
    width: 88%;
    top: 5%;
    left: 5%;
    padding: 20px;
    border-style: solid;
    border-color: rgb(254, 147, 147);
    background-color: rgb(254, 220, 220);
    border-radius: 25px;
    text-align: center;
    font-weight : bold;
}

/*  Bouton d'aide pop-up */

.help-tip{
    position: relative;
    right: 0px;
    text-align: center;
    margin-left: auto;
    background-color: #BCDBEA;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 26px;
    cursor: default;
}

.help-tip:before{
    content:'?';
    font-weight: bold;
    color:#fff;
}

.help-tip:hover p{
    display:block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;

}

.help-tip p{    /* The tooltip */
    display: none;
    text-align: left;
    background-color: #1E2021;
    padding: 20px;
    width: 400px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -4px;
    color: #FFF;
    font-size: 13px;
    line-height: 1.4;
}

.help-tip p:before{ /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width:0;
    height: 0;
    border:6px solid transparent;
    border-bottom-color:#1E2021;
    right:10px;
    top:-12px;
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width:100%;
    height:40px;
    content:'';
    position: absolute;
    top:-40px;
    left:0;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% { 
        opacity:0; 
        transform: scale(0.6);
    }

    100% {
        opacity:100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}
