html{
    width:100%;
    height:100%;
}

body {
    overflow-x: hidden;
    margin: 0 auto;
}


p {
    font-size: 14px;
    line-height: 21px;
}

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    //font-weight: 700;
}
hr{
    margin-top:5px;
    margin-bottom:10px;
}

.gras{
    font-weight:bold;
}
.white-text {
    color: #fff !important;
}
.margin-auto{
    margin:0 auto;
}


.btn-primary {
    text-transform: uppercase;
    font-weight: 300;
    color: #fff;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    -o-border-radius:3px;
    border-radius:3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: transparent !important;
}

.owl-controls{
    display:none !important;
}

.right{
    text-align:right;
    display:block;
}




/*----------------------------------------------------------------------------------*/
/*-------------------------------- HEADER -----------------------------------------------*/
/*----------------------------------------------------------------------------------*/
.entete{
    background:#fff;
}
.entete .logo{
    text-align:left;
    padding:10px 30px;
    display: inline-block;
}
.entete .nom_agence{
    text-align:right;
    font-weight:700;
    padding:10px 30px;
}

.entete .nom_agence .changer_agence{
    color:#999;
    font-weight:normal;
    font-style:italic;
    font-size:12px;
    margin-bottom: 10px;
    text-align:right;
    border: none;
    background: transparent;
    cursor:pointer;
}
.entete .nom_agence span{
    color:#2c64b8;
}

.entete .lego{
    padding:30px;
}


/*----------------------------------------------------------------------------------*/
/*--------------------------------Jeu-----------------------------------------------*/
/*----------------------------------------------------------------------------------*/

h1{
    text-align: center;
    font-size:28px;
    margin-bottom:5px;
}

.description{
    padding: 15px 30px;
    text-align: justify;
    margin-bottom: 0px;
    background:#2c64b8;
    color:#fff;
}

.game{
    padding: 0;
    height: 1024px;
    padding-top: 10px;
    height:100%;
}

.game .titre{
    width: 100%;
    padding-left:50px;
    text-align:left;
}

.bleu{
    color: #2c64b8;
}

.secteur .row{
    margin-left: 25px;
    position: relative;
}
.secteur .option{
    margin:0;
    margin-left:100px;
    margin-top: -10px;
}

.barre-de-progres {
    width: 95%;
    height: 25px;
    margin: 10px 0;
    position: relative;
    background: #ccc;
    border-radius: 0 20px 20px 0;
}

.pourcentage {
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: #262626;
    font-size: 12px;
    padding: 0;
    text-align: right;
    z-index: 0;
    border-radius: 0 20px 20px 0;
    transition:all 2s;
}

.pourcentage span{
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: right;
    margin-top: 0px;
    display: block;
    margin-right: 100px;
}
.numero{
    float: left;
    margin-top: -14px;
    color: #fff;
    font-size: 24px;
    padding: 10px 20px;
    border-radius: 50px;
    z-index: 999;
    margin-left: -40px;
}

.barre {
    width: 100%;
    height: 100%;
    margin-left: 10px;
    position: relative;
}

.barre-de-progres .infobulle{
    display: none;
    position:absolute;
    margin-top: 35px; 
    color:#fff; 
    background: rgba(44,100,184,0.8); 
    padding: 10px; 
    border-radius:3px; 
    z-index: 100;
}

.barre-de-progres:hover .infobulle{
    display: block;
}

.barre-de-progres:hover .pourcentage{
    transition: all 0.25s;
}

.barre-de-progres .voiture{
    margin-top: -79px;
}
.barre-de-progres .couleur-bleu{
    background: #0288d1;
}
.barre-de-progres .couleur-vert{
    background: #26a59a;
}
.barre-de-progres .couleur-rouge{
    background: #B21212;
}
.barre-de-progres .couleur-violet{
    background: #8714CC;
}

.game .titre{
    text-align: left;
}
.espace_vide{
    display:block;
    height:100px;
    width:100%;
}

/*-----------------------------------------------------------------------------------*/
/*-----------------------------------Chat--------------------------------------------*/
/*-----------------------------------------------------------------------------------*/

.chat{
    background-color: #383838;
    height: 100vh;
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
}

.titre{
    background-color: #fefefe;
    font-size: 32px;
    line-height: 75px;
    font-family: Open-Sans, sans-serif;
    font-weight: bold;
    text-align: left;
    padding:10px;
}

/* Bulles de texte du chat */

 .bubble-right { 
     width: auto;
     padding: 7px 15px;
     background: #139ee0;
     position: relative; 
     -moz-border-radius: 5px;
     -webkit-border-radius: 5px;
     border-radius: 5px; 
     margin: 15px;
     margin-bottom: 0;
     float: right;
     color: #fff;
     font-size: 14px;
     line-height: 21px;
 } 
 .bubble-right:before {
     content:"";
     position: absolute;
     right: 100%;
     top: 30%;
     width: 0;
     height: 0;
     border-top: 8px solid transparent;
     border-right: 16px solid #139ee0;
     border-bottom: 8px solid transparent; 
 } 
 
  .bubble-left { 
     width: auto;
     padding: 7px 15px;
     background: #139ee0;
     position: relative; 
     -moz-border-radius: 5px;
     -webkit-border-radius: 5px;
     border-radius: 5px; 
     margin: 15px;
     margin-bottom: 0;
     color: #fff;
     font-size: 14px;
     line-height: 21px;
 } 
 .bubble-left:before {
     content:"";
     position: absolute;
     left: 100%;
     top: 30%;
     width: 0;
     height: 0;
     border-top: 8px solid transparent;
     border-left: 16px solid #139ee0;
     border-bottom: 8px solid transparent; 
 } 
 
/* Zone de texte de réponse */
 
#text-box{
    border: 1px solid #fff;
    width: 25%;
    top: 100%;
    left: 75%;
    height: 50px;
    margin: -50px 0 0 0;
    position: fixed;
    padding-left: 15px;
}

/* Secteur */

.secteur{
    margin-left: 30px;
    margin-bottom: 0px;
}

.titre-secteur{
    text-align: center;
    font-weight: bold;
    margin-bottom: -14px;
}

/* Agence */

.agence{
    margin: 15px 30px 15px 30px;
}

.titre-agence{
    text-align: center;
    font-weight: bold;
    width: 100%;
}

/* Pop-up */
#pop-up, #message-avant{
    display: none;
    width: 40%;
    height: auto;
    position: fixed;
    left: 30%;
    top: 25%;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 0 250px #000;
    padding: 20px;
}
#message-avant{
    display: block;
}

.btn-retour{
    margin-left: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 20px;
    display:block;
    border-radius: 50px;
    position: fixed;
    bottom: 0;
}
.btn-ajout{
    right:0;
    font-weight: bold;
    margin-right:20px;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 50px;
    position: fixed;
    bottom: 0;
}
input[type="radio"], input[type="checkbox"] {
    height: 30px;
}
#pop-up .ligne_bouton input{
    margin:0 auto;
    width: 150px;
}
#pop-up .ligne_bouton input:hover{
    background:#2c64b8 !important;
}

@media only screen and (max-width : 767px) {
    #pop-up{
        width: 90%;
        left: 5%;
        top: 10%;
    }
    
    .btn-retour{
        margin-left: 10px;
        margin-bottom: 15px;
        padding: 15px 5px;
        font-size:12px;
    }
    .btn-ajout{
        margin-right:10px;
        margin-bottom: 15px;
        padding: 15px 5px;
        font-size:12px;
    }
}

.close{
    font-weight: bold;
    font-size: 16px;
    float: right;
    margin: 15px;
}

#pop-up .form-group{
    font-weight: bold;
    margin: 15px;
}

#pop-up .form-group .btn-ajout {
    margin-left: 0px;
}

.label-transaction{
    width: 30%;
}

#pop-up h2{
    margin: 15px 15px 30px 15px;
    font-weight: bold;
}

.message{
    color: #444;
    margin: 0 auto;
    font-weight: bold;
    opacity: 0.9;
    padding: 5px;
    text-align: center;
    width: 100%;
    top: 0;
    z-index: 9999;
    left: 0;
    font-size: 14px;
    transition: all 0.5s;
}

#transaction-error{
    background: none repeat scroll 0 0 #f7941d;
}

#success{
    background: none repeat scroll 0 0 #96ca00;
}

.no-click{
    position: fixed;
    z-index: 50000;
    opacity: 0;
}

.no-scroll{
    position: fixed;
    height: 100%;
    width: 100%;
}

body{
    background-image: url('images/background.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position:center;
}

.icone-tuto{
    font-size: 18px;
    opacity: 0.5;
    padding-right: 15px;
    cursor: pointer;
    text-decoration: none !important;
    font-weight: 600;
}

.icone-tuto i{
    font-size: 24px;
}

.icone-tuto:hover{
    opacity: 1;
    transition: all 0.25s;
    color: #00aaff;
}

.yammer{
    margin-top: -3px;
    width: 24px;
    height: 24px;
    display: inline-block;
    opacity: 0.5;
}

.barre-de-progres{
    transition: all 1s;
}