@font-face {
	font-family: "MyRegular";
	src: url('../police/child.ttf');
	
}

@font-face {
	font-family: 'digital';
	font-style: normal;
	font-weight: bold;
	src: local('DS-DIGI'), url('../police/DS-DIGIB.ttf') format("truetype");
}

@font-face {
	font-family: "handwriting";
	font-style: normal;
	font-weight: normal;
	src: local('Handwritingfont.ttf'), url('../police/Handwritingfont.ttf') format("truetype");
}

body {
	font-size: 2.3vmax;
	color: #FFFFFF;
	background-color: #000000;
	background-repeat: no-repeat;
	background-position: center;
	background:url('../images/background.jpg');
}

b {
	font-size: 3vmax;
}

#warning{
	display: none;
}

#listOfRules{
	display: none;
}

#intro{
	display: none;
}

.largebutton{
	max-width: 50%;
}


.mr-1{
	margin-right: .25rem !important;
}
.mr-2{
	margin-right: .50rem !important;
}

.marge0{
	margin-left:0;
	margin-right: 0;
}

.marge4{
	margin-left:2%;
	margin-right: 2%;
}
.marge50neg{
	margin-bottom: -50px;
}
.w100{
	width: 100%;
}
.h100{
	height: 100%;
	max-height: 100%;
}

.chamrousse-warning{
	background-color: rgba(240, 173, 78, 0.3);
}


/* LOADER AJAX */

#loading{
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	background-color: transparent;
	height: 100%;
	width: 100%;
	z-index: 50000;
}

.loader{
	display: block;
	position: relative;
	max-width: 50%;
	max-height: 50%;
	margin: auto;
	top: 20%;
}


/* FLEXBOX */

.colflex{
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
}

.rowflex{
	display: flex;
	flex-direction: row;
	justify-content: center;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
}

.wrap{
	flex-wrap: wrap;
}

.nowrap{
	flex-wrap: nowrap;
}

/* AFFICHAGE MISSION */
.visuel_mission{
	float: left;
	max-width: 50%;
}

.text-mission{
	text-align: justify;
}


/* BANDE D'INFORMATION POUR LES VALIDATIONS DE MISSION */
#resultat {
	/* position: absolute; */
	/* bottom: 20%; */
	display: none;
	text-align: center;
	width:100%;
	color: white;
	font-size: 3vmax;
	margin-bottom: 10px;
}

.bouton_head {	
	background-image: url("./images/button.png");
	width:100%;	
}

/* MENU */
.button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 15px 10px 15px 10px;    
    border-radius: 8px;
    background: #828fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#828fff), to(#273098));
    background: -moz-linear-gradient(top, #828fff, #273098);
    background: linear-gradient(to bottom, #828fff, #273098);
    -webkit-box-shadow: #596dff 0px 0px 40px 0px;
    -moz-box-shadow: #596dff 0px 0px 40px 0px;
    box-shadow: #596dff 0px 0px 40px 0px;
    text-shadow: #171d5a 1px 1px 1px;
    font: normal normal bold 20px arial;
    color: #ffffff;
    text-decoration: none;
	width:100%;
}
.button:hover,
.button:focus {
    
    background: #9cacff;
    background: -webkit-gradient(linear, left top, left bottom, from(#9cacff), to(#2f3ab6));
    background: -moz-linear-gradient(top, #9cacff, #2f3ab6);
    background: linear-gradient(to bottom, #9cacff, #2f3ab6);
    color: #ffffff;
    text-decoration: none;
}
.button:active {
    background: #4e5699;
    background: -webkit-gradient(linear, left top, left bottom, from(#4e5699), to(#273098));
    background: -moz-linear-gradient(top, #4e5699, #273098);
    background: linear-gradient(to bottom, #4e5699, #273098);
}

.fontbutton{
	font-size: 4vmin;
}

.menu{
	padding: 10px 5px 15px 5px;
	margin: 0;
}

/* BOUTON CORPS */
.bouton-corps {
    text-align: center;
    vertical-align: middle;
    /* padding: 15px 10px 15px 10px;     */
    border-radius: 8px;
    background: #828fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#828fff), to(#273098));
    background: -moz-linear-gradient(top, #828fff, #273098);
    background: linear-gradient(to bottom, #828fff, #273098);
    -webkit-box-shadow: #596dff 0px 0px 40px 0px;
    -moz-box-shadow: #596dff 0px 0px 40px 0px;
    box-shadow: #596dff 0px 0px 40px 0px;
    text-shadow: #171d5a 1px 1px 1px;
    /* font: normal normal bold 4vmax arial; */
	font-size: 3vmax;
    color: #ffffff;
    text-decoration: none;
	/* width:100%; */
}
.bouton-corps:hover,
.bouton-corps:focus {
    background: #9cacff;
    background: -webkit-gradient(linear, left top, left bottom, from(#9cacff), to(#2f3ab6));
    background: -moz-linear-gradient(top, #9cacff, #2f3ab6);
    background: linear-gradient(to bottom, #9cacff, #2f3ab6);
    color: #ffffff;
    text-decoration: none;
}
.bouton-corps:active {
    background: #4e5699;
    background: -webkit-gradient(linear, left top, left bottom, from(#4e5699), to(#273098));
    background: -moz-linear-gradient(top, #4e5699, #273098);
    background: linear-gradient(to bottom, #4e5699, #273098);
}
.font-inherit{
	font-size: inherit;
}


/* CARTE DU JEU */

.map{
	width: 100%;
}

.carte-active{
	color: white;
	text-align: center;
    vertical-align: middle;
    /* padding: 15px 10px 15px 10px;     */
    border-radius: 8px;
    background: #82ffd5;
    background: -webkit-gradient(linear, left top, left bottom, from(#82ffd5), to(#379375));
    background: -moz-linear-gradient(top, #82ffd5, #379375);
    background: linear-gradient(to bottom, #82ffd5, #379375);
    -webkit-box-shadow: #006c37 0px 0px 40px 0px;
    -moz-box-shadow: #006c37 0px 0px 40px 0px;
    box-shadow: #006c37 0px 0px 40px 0px;
    text-shadow: #171d5a 1px 1px 1px;
    /* font: normal normal bold 4vmax arial; */
    color: #ffffff;
    text-decoration: none;
	padding-bottom: 5px;
}

.changemap{
	color: white;
	text-align: center;
    vertical-align: middle;
    /* padding: 15px 10px 15px 10px;     */
    border-radius: 8px;
    background: #828fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#828fff), to(#273098));
    background: -moz-linear-gradient(top, #828fff, #273098);
    background: linear-gradient(to bottom, #828fff, #273098);
    -webkit-box-shadow: #596dff 0px 0px 40px 0px;
    -moz-box-shadow: #596dff 0px 0px 40px 0px;
    box-shadow: #596dff 0px 0px 40px 0px;
    text-shadow: #171d5a 1px 1px 1px;
    /* font: normal normal bold 4vmax arial; */
    color: #ffffff;
    text-decoration: none;
	padding-bottom: 5px;
}

.cercle{
	border-radius:100%;
	width: 4%;
	height: 6%;
	text-align:center;
	position: absolute;
	opacity: 0.7;
}

.geant{
	width: 15%;
	height: 22.5%;
}

/* Rond des missions sur la carte */
/* Rouge */
.point_actif{ 
	background:#FF0000;
}
/* Bleu */
.point_fini{
	/* background: #00FF00; */
	background-color: #7DFCFC;
}
.point_focus{
	background-color: #FF0000;
}

/* CORPS - SAISI DES REPONSES */
.answer{
	width: 100%;
}

.solve-div{
	display: flex;
	justify-content: center;
}

.displayclue{
	display: none;
	background-color: rgba(255, 255, 255, 0.25);
	font-size: 3vmax;
}

.link{
	/* display: inline-block;
	vertical-align: middle;
	border-radius: 50%;
	background-color: green; */
	color: cyan;
	width: max-content;
	text-align: center;
	text-decoration: underline;
	font-style: italic;
	font-size: 3vmax;
}

/* COULEUR POUR STIC */
.couleur{
	border-radius: 50%;
	height: 40px;
	width: 40px;
}

.couleur-0{ /* RED */
	background-color:#ea3333;
}
.couleur-1{ /* GREEN */
	background-color: #085108;
}
.couleur-2{ /* BLUE */
	background-color: blue;
}
.couleur-3{ /* YELLOW */
	background-color: #dddd42;
}
.couleur-4{ /* PURPLE */
	background-color: #8E3D99;
}
.couleur-5{ /* WHITE */
	background-color: white;
}
.spancouleur{
	border-radius: 50%;
	height: 40px;
	width: 40px;
	display: inline-block;
}
.text_couleur{
	min-height: 45px;
}

.txt_centre {
	text-align:center;
}


/** DIGICODE */

.digicode {
	border: solid 1px  #566573;
	background-color: grey;
	/* background: linear-gradient(to top right, #757575 16%, #c6c4c4 83%); */
	background: linear-gradient(to bottom right, #747474 0%, #313131 70%);
	margin: auto;
	margin-top: 15px;
	width: 250px;
}

.bouton_digicode{
	/* background: linear-gradient(to top right, #757575 27%, #c6c4c4 56%); */
	background: linear-gradient(to bottom left, #747474 0%, #313131 70%);
	width:50px;
	height: 50px;
	color:#FFF;
	display:block;
	text-decoration:none;
	margin: 10px 0px 3px 10px;
	border-radius:50%;
	border:solid 1px #bdcce3;
	text-align:center;
	/* padding:20px 30px; */
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
	transition: all 0.1s;
	-webkit-box-shadow: 0px 5px 0px #000000; /* #404040*/
	-moz-box-shadow: 0px 5px 0px #000000;
	box-shadow: 0px 5px 0px #000000;
	font-size: 30px;
	text-shadow:0 0 3px #53efed, 0 0 7px #53efed, 0 0 20px #53efed;
	color:#53efed; /* bleu plus flashy 53efed //// Bleu d'origine : 408bff */
}

.bouton_digicode:active{
	border:solid 1px #FFD100;
    -webkit-box-shadow: 0px 2px 0px #000000;
    -moz-box-shadow: 0px 2px 0px #000000;
    box-shadow: 0px 2px 0px #000000;
    position:relative;
    top:7px;
	text-shadow:0 0 2px #FFD100,0 0 30px #FFD100,0px 0px 5px #FFFFFF, 0 0 150px #FFFFFF;
	color:#FFFFFF;
}

.ecran{
	display: block;
	width: 100%;
	height: 40px;
	text-align: center;
	font-family: digital;
	font-size: 18pt;
	border: none;
	background: #222;
	color: #fff;
	text-shadow: 2px 0 rgba(255, 0, 0, 0.9), -2px 0 rgba(0, 0, 255, 0.9);
}

.effet_ecran {
	position: relative;
	top: -80px;
	left: 16px;
	height: 75px;
	width: 215px;
	/* position: absolute; */
	/* top: 95px; */
	/* left: 23px; */
	/* right: 23px; */
	/* height: 75px; */
	background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 33.33333%, rgba(255, 255, 255, 0.4) 33.33333%, rgba(255, 255, 255, 0.4) 66.66666%, rgba(255, 255, 255, 0.6) 66.66666%), linear-gradient(to right, rgba(255, 0, 0, 0.7) 33.33333%, rgba(0, 255, 0, 0.7) 33.33333%, rgba(0, 255, 0, 0.7) 66.66666%, rgba(0, 0, 255, 0.7) 66.66666%);
	background-size: 3px 3px;
	mix-blend-mode: multiply;
	/* display: block; */
}

.marge_digit{
	margin: 0% 15% 0% 15%;
}

.pave_bouton{
	position: relative;
	left: -5px;
	top: -70px;
	margin-bottom: -55px;
}


/* HORLOGE POISSON */
.saisie_horaire{
	z-index: 1000;
	position: relative;
	width: 50px;
}

.aiguille{
	z-index: 100;
	position: absolute;
	top: 0px;
	left: 0px;
}

.horloge{
	border-radius: 50%;
	background-color: white;
	/* display: block; */
	/* width: 102px; */
	/* margin: auto; */
	position: absolute;
	top: 0px;
	left: 0px;
}

.conteneur_horloge{
	position: relative;
	width: 102px;
	height: 102px;
	margin: 0 auto;
}

.readonly{
	background-color: grey;
	border: none;
}


/* PAGE HISTOIRE / RESUME */
.resume-content{
	margin-top:10px;
	margin-bottom: 10px;
}

.resume-img{
	max-width: 27%;
	margin: 0 3% 0 3%;
}

.resume-img-xl{
	max-width: 95%;
}

/* VIBROPHONE */
.vibro-potar{
	position: absolute;
	width:16%;
	top: 82.1%;
	transition: transform 0.4s;
}
.vibro-potar-1{
	left: 19%;
}
.vibro-potar-2{
	left: 62.5%;
}

.vibro-on{
	position: absolute;
	width:16%;
	top: 80.5%;
	left: 65%;
}

.vibro-bouton-jauge{
	display: block;
	position: absolute;
	background-color: rgba(0,0,0,0);
	width: 9%;
	height: 6.5%;
	top: 49%;
}
.vibro-moins{
	left: 12%;
}
.vibro-plus{
	left: 78%;
}

.vibro-aiguille{
	display: block;
	position: absolute;
	background-color: rgba(0, 0, 0, 0);
	top: 44.5%;
	left: 25%;
	width: 50%;
	transform: rotate(-59deg);
	transition: transform 0.3s;
}

.vibro-bouton{
	position: absolute;
	width: 10%;
	top: 61.5%;
}
.vibro-bouton-1{
	left: 19%;
}
.vibro-bouton-2{
	left: 32.5%;
}
.vibro-bouton-3{
	left: 46%;
}
.vibro-bouton-4{
	left: 59.4%;
}
.vibro-bouton-5{
	left: 72.6%;
}