body{
    overflow-x :hidden ;
}
@font-face {

    font-family: "balsamiq";
    src: url("../font/BalsamiqSansRegular.ttf") format("truetype");
}

.text-purple{
    color: #623BEF;
}

/*Message alert*/
.alert-success{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%);
    z-index: 1000;
}

/*modal de l'affichage aide&reglement*/
#boutonAide:hover, .modalAide .modal-title {
    color: #0056b3;
}

#blocBoutonAide{
    display: inline-block;
    width: 50px;
}

#plateauJeu{
    max-width: 400px;
}

.aide{
    margin-top: 2%;
    background-color: #69696908;
    -webkit-box-shadow: 8px 9px 5px 1px rgba(130,130,130,1);
    -moz-box-shadow: 8px 9px 5px 1px rgba(130,130,130,1);
    box-shadow: 8px 9px 5px 1px rgba(130,130,130,1);
    padding: 0px 50px 40px 50px;
}

.modalAide .modal-dialog, .modalAide .modal-content{
    height: 100%;
}

.modalAide .modal-dialog{
    margin: 0;
    max-width: 300px;
}

#boutonAide{
    display: inline;
}

.modalAide.fade:not(.in) .modal-dialog {
    -webkit-transform: translate3d(-0%, 0, 0);
    transform: translate3d(-0%, 0, 0);
}

.modalAide .modal-body a:hover, .aide a:hover, .panel a:hover{
    text-decoration: none;
}

.modalAide .modal-body dt a:visited, .modalAide .modal-body dt a, .panel dt a:visited, .panel dt a{
    color: inherit;
}

.imageSmiley{
    max-width: 50px;
}

.imagePlateau{
    max-width: 20px;
}

.tableauRegle td{
    vertical-align: baseline;
}

.imageBtn{
    max-width: 120px;
}
/*page accueil*/

.boutonLancement {
    flex: 1 1 auto;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: black;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
}

#partieTable .boutonLancement, .table .btn{
    min-width: 51px;
}

.boutonLancement:hover {
    color: white;
    text-shadow: 1px 1px black;
    background-position: right center; /* change the direction of the change here */
    box-shadow: 2px 2px 2px grey;
}

.color-blue{
    background-color: #a1c4fd;
}

.color-red{
    background-color: #f85c6b;
}

.color-reload {/*orange*/
    background-image: linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%);
}

.color-new {/*vert*/
    background-image: linear-gradient(to right, #3bef8c 0%, #60e7e3 51%, #3bef8c 100%);
}

.accueil .btn, #btnLancer .btn{
    font-size: 17px;
    padding: 10px 20px;
    margin: 10px;
    font-weight: 500;
}

.accueil h2 {
    font-size: 2.5rem;
}

.titre {
    padding-top: 25px;
    font-family: "balsamiq", cursive, sans-serif;
}

.tableau fieldset{
    border: 1px groove #ddd !important;
    padding: 0px 100px 25px 100px;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
    box-shadow:  0px 0px 0px 0px #000;
}

.tableau legend{
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}

.tableau label{
    margin-top: 5px;
}

#linkAjouterEquipe, #linkAjouterParticipant{
    color: black;
}

a.linkAnnuler{
    color: #AA3333;
}
/*partie en cours*/
#partieTable {
    border: 1px solid #1111115e;
}

#partieTable tbody tr:hover {
    background-color: #f3f3f3;
}

.boutonLancement i{
    font-size: 25px;
}
/*admin*/
.panel {
    position: fixed;
    width: 250px;
    background-color: #adb5bd;
    height: 100%;
    top: 0px;
}

.panel-body{
    padding-left: 10px;
}

.panel-footer{
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
}

.blockAdmin{
    margin-left: 250px;
}

.myTable_wrapper, .dataTables_filter{
    margin-bottom: 10px;
}

.dataTables_info, .dataTables_paginate{
    margin-top: 10px;
}

.dataTables_wrapper{
    margin-bottom: 10px;
}

#question_theme option:first-child, #question_comp option:first-child, #question_type option:first-child {
    font-style: italic;
    color: darkgrey;
}

.feedback:hover{
    cursor: pointer;
}

.farEye{
    color: lightslategrey;
}
/*responsive*/
@media screen and (max-width: 768px) {
    .logo{
        width: 40%;
    }

    .accueil h2 {
        margin-top: 20px;
    }
}
/*creation de la partie*/
#rechercherVille{
    width: 400px;
}

#listeVilles{
    width: 400px;
    display: inline-block;
    max-height: 150px;
    overflow: auto;
}

#listeVilles div:hover {
    font-weight:bold;
    cursor: pointer;
}

/*choix position et pion*/
#attributionEquipe select {
    width: 200px;
    margin-right: -50px;
}

/*deroulement de la partie*/
.theme .btn:hover{
    color: black;
}

.couleurOrange{
    color: orange;
}

.btn-orange {
    background-color: orange;
    color: white;
}
.btn-orange:hover{
    background-color: darkorange;
}

.theme .btn:disabled {
    color: #353030;
    background-color: lightslategrey;
    border-color: gray;
}

div.btnFinPartie{
    position: fixed;
    bottom: 64px;
    right: 50px;
}
div.btnFinPartie button{
    height: 50px;
    width: 150px;
}

a.linkCorrect{
    color: green;
}

a.linkIncorrect{
    color: #AA3333;
}

img.img_dice{
    width: 200px;
    height: 200px;
}

.tabReponse{
    max-width: 100%;
}

.col1{
    width: 50%;
}

.col2{
    width: 50%;
}

#nParticipant label {
    width: 100%;
}

fieldset.form-group {
    display: none;
}

/*resume de la partie*/

.resume .card{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 60%;
}

.resume .card-header
{
    background-color: rgba(0, 0, 0, 0.01);
}

.recapitulatif .btn-light{
    background-color: rgba(0, 0, 0, 0.2);
    border-color: black;
}

.recapitulatif .btn-light:hover
{
    color: whitesmoke;
    border-color: grey;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0px 2px 5px grey;
}

/*Enleve le doublon de select lorsque le role est administrateur sur la page modifier utilisateur*/
#app_user_registration_roles_1{
    display: none;
}

.table-gestion{
    -webkit-box-shadow: 8px 9px 5px 1px rgba(130,130,130,1);
    -moz-box-shadow: 8px 9px 5px 1px rgba(130,130,130,1);
    box-shadow: 8px 9px 5px 1px rgba(130,130,130,1);
}

.pasSurlignage a:hover {
    text-decoration: none;
    cursor: default;
}

#validEquipe button{
    border: none;
    background-color: white;
}

#validEquipe button:hover {
    text-decoration: underline;
    cursor: pointer;
}

.table tbody, .bordureBottom{
    border-bottom: 1px solid #dee2e6;
}

#validerEquipe {
    font-weight: 500;
    padding: 10px 20px 10px 20px;
}