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;
}
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;
    background-color:#f1ba0e;
    border-color:#f1ba0e;
}

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

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

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

.flex{ display: flex; justify-content:left; align-items: center;}

/*-----------------------------------------------------------------------------*/
/*--------------------------------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;
}

h1{
    text-align: center;
    font-size:28px;
    margin: 15px 0px;
    color:#fff;
}

.description, .descriptionpc{
    padding: 15px 30px;
    text-align: justify;
    margin-bottom: 0px;
    background:#f1ba0e;
    color:#fff;
    /*margin-bottom: 60px;*/
}

.description a, .descriptionpc a{
    color: #fff;
    text-decoration: underline;
}

.informations{
    display: none;
    padding: 15px 30px;
    text-align: justify;
    background: #2c64b8;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

#info-button{position:absolute;top:13px;right:20px;}
/*.descriptionpc{position:absolute;top:63px;left:0px;}*/

.compteur{height: 200px;position:relative;background:url('./images/compteur-fond.png') top center no-repeat;}

#span_txt{position:absolute;z-index:99;}




#accordiondesc{
    display: none;
}

.no-padding{
    padding: 0;
}

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

.game .titre{
    padding:10px 0px;
    width: 100%;
    text-align:center;
    background-color:rgba(0, 0, 0, 0.5);
    position:absolute;
    top:0;
    z-index: 999;
}

.game .titre img{max-heigt:34px;}

.mecanicien, .mecanicien-2 {position:absolute;bottom:0;}
.mecanicien { width:26%; }
.mecanicien-2{ right: 0; width: 30%; }
/*------------------------------------------------------------------------------*/
/*------------------------------GENERALES---------------------------------------*/
/*------------------------------------------------------------------------------*/

.bleu{
    color: #2c64b8;
}

.background-bleu{
    background: #0288d1;
}
.background-vert{
    background: #26a59a;
}
.background-rouge{
    background: #B21212;
}
.background-violet{
    background: #8714CC;
}

.couleur-bleu{
    color: #0288d1;
}
.couleur-vert{
    color: #26a59a;
}
.couleur-rouge{
    color: #B21212;
}
.couleur-violet{
    color: #8714CC;
}

.margin-left-5{
    margin-left: 5px;
}



/*------------------------------------------------------------------------------*/
/*-----------------------------------JEU----------------------------------------*/
/*------------------------------------------------------------------------------*/

/* A vérifier */

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



/* Secteur */

.secteur{
    margin-bottom: 0;
    border-bottom:6px dashed white;
}

.titre-secteur{
    position:absolute;
    left:200px;
    font-weight: bold;
    margin-left:15px;
    color:#999;
}

.secteur .row{
    position: relative;
}
.secteur .option{
    margin: 0;
}

/* Agence */

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

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

/* Barre de progression */

.barre-de-progres {
    position: relative;
}

.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;
}

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

.barre-de-progres .voiture{
    position:absolute;
    right:0;
    top:15px;
    width:100px;
}

.speedometer{
    width:70px;
    height:70px;
    float: left;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    background:url('./images/speedometer.png');
    background-size:100%;
}

.speedometer-left, .speedometer-right {
    line-height:12px;
    text-align:center;
    margin-top:0px;
    margin-left: 7px;
    width:40px;
    height:40px;
    float: left;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    z-index: 999;
    background:url('./images/speedometer.png');
    background-size:100%;
}

.speedometer-left p, .speedometer-right p {
    font-size: 10px;
}

.speedometer p {line-height: 70px;text-align: center;text-shadow: 1px 1px 2px black;background-color:rgba(0,0,0,0.2);border-radius:35px;}

.speedometer-left p, .speedometer-right p{line-height: 40px;text-align: center;text-shadow: 1px 1px 2px black;background-color:rgba(0,0,0,0.2);border-radius:20px;margin-bottom:5px;}
.speedometer-left span, .speedometer-right span{font-size:10px;color:#999;}

/* Pop-up et formulaire */
#pop-up, #message-avant{
    display: none;
    width: 60%;
    height: auto;
    position: fixed;
    left: 20%;
    top: 15%;
    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;
    z-index: 99;
}
.btn-ajout{
    right:0;
    font-weight: bold;
    margin-right:20px;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 50px;
    position: fixed;
    bottom: 0;
    z-index: 99;
}
#pop-up .ligne_bouton input{
    margin:0 auto;
    width: 150px;
}
#pop-up .ligne_bouton input:hover{
    background:#2c64b8 !important;
}

.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: 100%;
}

#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;
    position: fixed;
}

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

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

.message-erreur{
    display: none;
    color: red;
}

.creation-button{width:auto;position:absolute;left:0;right:0;margin:0 auto;bottom:10%; text-align:center; font-size:2.8em;}
.creation-button .span-btn{border-radius: 10px;padding:10px 20px;}
.span-btn{cursor:pointer;padding:5px 15px;background-color:#f1ba0e;color:#fff;border-radius: 3px;line-height: 50px;}
.span-btn:hover{background-color:#f1ba0e;}
.start-countdown{color:red;position:absolute; top: 39%; left: 0; right:0;font-size:3.8em; margin:0 auto;}
.game h1{line-height: 20px; font-size:20px;}
.t-align-c{text-align:center;}
.bord-route{background:url('./images/bord-route.jpg') repeat;height:13px;}
.background-gradins{background:url('./images/background-gradins.jpg') #fff bottom repeat;}
.end{position:absolute;right:0;top:0;}
.end img{height:84px;}
#toggle_agence{
    width: 50%;
    height: auto;
    position: fixed;
    left: 25%;
    top: 10%;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 0 250px #000;
    padding: 20px;
}
#create_party{
    width: 50%;
    height: 90%;
    position: fixed;
    left: 25%;
    top: 5%;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 0 250px #000;
    padding: 20px;
}
#create_party .nom_agence{ height: 100%; position: relative; }
#create_party .btn.btn-primary{ position: absolute; bottom: 0; }
#create_party .close{
    position: relative;
    z-index: 9;
}
#create_party .flex{
    width: 100%;
    height: 100%;
    position: absolute;
}
#toggle_agence .nom_agence .voiture{ width: 100px; }

#create_party .row{margin-bottom:15px;}

.compteur-texte{position:absolute;bottom:0;}
.number{font-size:40px;display:inline-block;color:#bbb;margin-left:40px;margin-top:20px;border:solid 2px #bbb;border-radius:50px;padding:0px 20px;}
.number-end{font-size:40px;display:inline-block;color:#777;margin-top:20px;border:solid 2px #777;border-radius:50px;padding:0px 20px;}
.two-number{font-size:40px;display:inline-block;color:#bbb;margin-left:40px;margin-top:20px;border:solid 2px #bbb;border-radius:50px;padding:0px 10px;}
.two-number-end{font-size:40px;display:inline-block;color:#777;margin-top:20px;border:solid 2px #777;border-radius:50px;padding:0px 10px;}
.col-speedometer{width:15%;}
.col-progress{width:82%;}
.end-link{color:#212529;}
.end-link:hover{color:#212529;text-decoration: none;}

@media only screen and (max-width: 1024px) {
    .block-count{width:300px;margin:0 auto;}
    .compteur{width:100%;background-size:100%;min-height: 150px;}
    .start-countdown{top:32%;font-size:2.4em;}
    
    .number-end{font-size:20px;display:inline-block;color:#777;margin-top:20px;border:solid 2px #777;border-radius:50px;padding:0px 10px;}
    .two-number-end{font-size:20px;display:inline-block;color:#777;margin-top:20px;border:solid 2px #777;border-radius:50px;padding:0px 5px;}
}

@media only screen and (max-width : 767px) {
    
    .creation-button{font-size:1.8em;}
    
    #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;
    }
}



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

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

body{
    background-color:#d3d3d3;
}

.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;
}

/******** DESIGN SVG *******/

.height-max {height:100%;}


/*----------------------------------------------------------------------------*/
/*------------------------CREATION D'UNE EQUIPE-------------------------------*/
/*----------------------------------------------------------------------------*/

.voiture-depart{
    width: 115px;
    padding: 15px;
    border: 2px solid transparent;
    height: 115px;
    margin-bottom: 30px;
    cursor: pointer;
}

input[type=color]{
    border: none;
    background: transparent;
}

.error_form{
    display: none;
    color: red;
    font-style: italic;
    font-weight: bold;
    margin: 0 5px 15px 0;
    font-size: 13px;
}

/*-----------------------------------------------------------------------------*/
/*-------------------AJOUTS POUR AFFICHER CHOIX AGENCE-------------------------*/
/*-----------------------------------------------------------------------------*/

.choix_agence{
    width: 100%;
    text-align: right;
    padding: 5px 30px 0px;
    position: relative;
    z-index: 9999;
    color: #fff;
    font-size: 12px;
}


/*-----------------------------------------------------------------------------*/
/*-----------------------RESULTATS DE LA COURSE--------------------------------*/
/*-----------------------------------------------------------------------------*/

#resultats{
    position: relative;
    width: 75%;
    left: 12.5%;
    background: rgba(255,255,255,0.7);
    border: 1px solid #ccc;
    z-index: 98;
    box-shadow: 0 0 250px #000;
    padding: 20px;
}

#resultats img{
    max-height: 300px;
    max-width: 100%;
}

#resultats .voiture{
    width: 100px;
    max-height: 80px;
    vertical-align: middle;
}

#resultats .podium{
    max-width: 90%;
    margin: auto;
    text-align:center;
    margin-bottom:50px;
}

#resultats .podium .place:first-child, #resultats .podium .place:last-child{
    vertical-align: bottom;
}

#resultats .podium .place{
    max-width: 30%;
    display: inline-block;
}

#resultats .details img{
    max-width: 75px;
}

#resultats .details .row{
    margin-bottom: 15px;
}

#resultats h2{text-align: center;margin-bottom: 30px;}

#navigation {
    position:absolute;
    z-index:99;
    top:70px;
    left:33%;
    background-color:#f1ba0e;
}

#navigation a {
    color:#fff;
}

#navigation ul{
    margin:0;
    padding:0;
}

#navigation ul li{
    list-style-type: none;
}