/* ---------------------------- */
/* General						*/
/* ---------------------------- */
@font-face {
	font-family: 'BARTHOWHEEL_REGULAR';
	src: url('../../fonts/BARTHOWHEEL_REGULAR.TTF');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'MyriadPro_Regular';
	src: url('../../fonts/MyriadPro_Regular.otf');
	font-weight: normal;
	font-style: normal;
}
body
{
	background-image: url('/images/games/chronoMots/fond-picto4.jpg');
	margin-bottom: 0px;
	overflow-x: hidden;
	font-family: MyriadPro_Regular, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}
h1
{
	text-align: center;
}
p
{
	text-align: justify;
	text-align-last: center;
	font-family: MyriadPro_Regular;
}

/* ---------------------------- */
/* Header						*/
/* ---------------------------- */
#logo
{
	font-family: BARTHOWHEEL_REGULAR;
	color: #8D84C3;
	font-size: calc(2em + 6vw);
	text-shadow: 3px 2px 1px #47399D;
	width: 900px;
	max-width: 100%;
}
#baseline
{
	font-family: BARTHOWHEEL_REGULAR;
	color: #8D84C3;
	font-size: calc(1.2em + 3vw);
	text-align: center;
	-webkit-transform: rotate(-4deg);
	    -ms-transform: rotate(-4deg);
	        transform: rotate(-4deg);
	margin-top: -40px;
}
#sablier
{
	position: absolute;
	top: 300px;
	right: 16%;
	width: 4%;
	-webkit-transform: rotate(15deg);
	    -ms-transform: rotate(15deg);
	        transform: rotate(15deg);
}
#carte-mots-1, #carte-mots-2, #carte-mots-3, #carte-lettre-1, #carte-lettre-2, #carte-lettre-3, #carte-lettre-4
{
	position: absolute;
	border-radius: 0.5vw;
}
#carte-mots-1
{
	top: 90px;
	right: 1%;
	width: 7%;
	-webkit-transform: rotate(5deg);
	    -ms-transform: rotate(5deg);
	        transform: rotate(5deg);
}
#carte-mots-2
{
	top: 555px;
	right: 8%;
	width: 8%;
	-webkit-transform: rotate(-10deg);
	    -ms-transform: rotate(-10deg);
	        transform: rotate(-10deg);
}
#carte-mots-3
{
	top: 588px;
	left: 4%;
	width: 7%;
	-webkit-transform: rotate(6deg);
	    -ms-transform: rotate(6deg);
	        transform: rotate(6deg);
}
#carte-lettre-1
{
	top: 576px;
	left: 12%;
	width: 8%;
	-webkit-transform: rotate(15deg);
	    -ms-transform: rotate(15deg);
	        transform: rotate(15deg);
}
#carte-lettre-2
{
	top: 324px;
	right: 3%;
	width: 7%;
	-webkit-transform: rotate(7deg);
	    -ms-transform: rotate(7deg);
	        transform: rotate(7deg);
}
#carte-lettre-3
{
	top: 10px;
	right: 15%;
	width: 5%;
	-webkit-transform: rotate(-10deg);
	    -ms-transform: rotate(-10deg);
	        transform: rotate(-10deg);
}
#carte-lettre-4
{
	top: 15px;
	left: 6%;
	width: 7%;
	-webkit-transform: rotate(-10deg);
	    -ms-transform: rotate(-10deg);
	        transform: rotate(-10deg);
}
#auteur {
	position: absolute;
	top: 10px;
	left: 10px;
	font-family: BARTHOWHEEL_REGULAR;
	font-size: calc(1em + 0.7vw);
}
#txt_mise_en_place
{
	width: 70%; 
	margin: auto;
}
#video {
	text-align: center;
	margin-top: 10px;
	width: 100%!important;
	min-height: 31vw;
}
#video > * {
	max-width: 100%;
	border: 0;
	width: 55.1vw;
	height: 31vw;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
#prixjouet {
	position: absolute;
	width: 170px;
	top: 280px;
	left: 0;
}
@media only screen and (max-width: 920px) {
	#video > *
	{
		width: 97vw;
		height: 54vw;
	}
	#video
	{
		min-height: 54vw;
	}
	.elmthead
	{
		visibility: hidden;
	}
	#prixjouet {
		position: relative;
		width: 80px;
		top: 0;
		left: calc(50% - 40px);
	}
}

/* ---------------------------- */
/* Nav							*/
/* ---------------------------- */

#btn_menu
{
	background-color: #8A73B4;
	position: fixed;
	top: 5px;
	right: 0px;
	padding: 0.20cm 0.25cm;
	z-index: 9;
	cursor: pointer;
	-webkit-transition: 0.2s all;
	-o-transition: 0.2s all;
	transition: 0.2s all;
	font-size: 1.2cm;
	color: white;
}
#menu
{
	background-color: #8A73B4;
	position: fixed;
	top: 5px;
	right: -270px;
	padding: 15px 0px;
	-webkit-box-shadow: none;
	        box-shadow: none;
	z-index: 10;
	-webkit-transition: 0.2s all;
	-o-transition: 0.2s all;
	transition: 0.2s all;
	width: 270px;
}
#liste_menu
{
	list-style: none;
	padding: 0;
	margin: 0;
}
#liste_menu li
{
	border-bottom: 1px white solid;
}
#liste_menu a
{
	color: white;
	text-decoration: none;
	font-family: BARTHOWHEEL_REGULAR;
	font-size: 1.5em;
	width: 100%;
	display: block;
	padding: 6px 15px;
	background-color: #8A73B4;
}
#liste_menu a:hover
{
	background-color: #715F92;
	padding: 8px 15px;
}

/* ---------------------------- */
/* Page							*/
/* ---------------------------- */

section
{
	max-width: 98%;
	width: 1100px;
	margin: auto;
	padding: 1%;
	background-color: rgba(255,255,255,0.7);
}
.title_section
{
	background-color: #8D84C3;
	font-family: BARTHOWHEEL_REGULAR;
	color: #fff;
	text-shadow: 1px 0 0 black, 0 1px 0 black, 0 -1px 0 black, -1px 0 0 black, 1px 1px 0 black, 1px -1px 0 black, -1px 1px 0 black, -1px -1px 0 black;
}
.small_title
{
	font-family: BARTHOWHEEL_REGULAR;
	color: #8D84C3;
}

/* ------------- */
/* Mise en place */
/* ------------- */

#mise_en_place
{
	text-align: center;
}
.elmt_mise_en_place
{
	position: absolute;
	left: -50vw;
}
#sablier-mise_en_place
{
	top: 5%;
	max-width: 7.2%;
	-webkit-transform: translateX(280%) rotate(-50deg);
	    -ms-transform: translateX(280%) rotate(-50deg);
	        transform: translateX(280%) rotate(-50deg);
	width: 50px;
}
#tas_lettres-mise_en_place
{
	top: 34.1%;
	max-width: 31.6%;
	-webkit-transform: translateX(-162%);
	    -ms-transform: translateX(-162%);
	        transform: translateX(-162%);
}
#lettre_C-mise_en_place
{
	top: 40.5%;
	max-width: 27%;
	-webkit-transform: translateX(-119%);
	    -ms-transform: translateX(-119%);
	        transform: translateX(-119%);
	left: -78%;
}
#lettre_G-mise_en_place
{
	top: 44.3%;
	max-width: 21.6%;
	-webkit-transform: translateX(-61%);
	    -ms-transform: translateX(-61%);
	        transform: translateX(-61%);
	left: -89%;
}
#lettre_D-mise_en_place
{
	top: 44%;
	max-width: 23%;
	-webkit-transform: translateX(6%);
	    -ms-transform: translateX(6%);
	        transform: translateX(6%);
	left: -98%;
}
#lettre_M-mise_en_place
{
	top: 45.5%;
	max-width: 21.6%;
	-webkit-transform: translateX(83%);
	    -ms-transform: translateX(83%);
	        transform: translateX(83%);
	left: -100%;
}
#tas_mots-mise_en_place
{
	top: 68.3%;
	max-width: 35.6%;
	-webkit-transform: translateX(45%);
	    -ms-transform: translateX(45%);
	        transform: translateX(45%);
}
#carte_mot-mise_en_place
{
	border-radius: 1vw;
	top: 14.1%;
	max-width: 15.6%;
	-webkit-transform: translateX(204%);
	    -ms-transform: translateX(204%);
	        transform: translateX(204%);
}
#carte_couleurs
{
	width: 37%;
	position: absolute;left: 50%;
	border-radius: 5%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	    -ms-transform: translateX(-50%) translateY(-50%);
	        transform: translateX(-50%) translateY(-50%);
	top: -100%;
	max-width: 272px;
}
#fleche_couleur
{
	width: 13%;
	position: absolute;
	left: 100%;
	-webkit-transform: translateX(90%) translateY(-180%) rotate(180deg);
	    -ms-transform: translateX(90%) translateY(-180%) rotate(180deg);
	        transform: translateX(90%) translateY(-180%) rotate(180deg);
	top: 50%;
	max-width: 95px;
}
#equipes
{
	position: absolute;
	left: 50%;
	bottom: -100%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	max-width: 100%;
}

/* -------------------- */
/* Déroulement/fin tour */
/* -------------------- */

#debut_tour, #compter_carte_tour
{
	vertical-align: top;
}
#main_carte, #main_carte_mot
{
	width: 70%;
	max-width: 450px;
	position: absolute;
	left: 50%;
	top: 110%;
	-webkit-transform: translateX(-70%);
	    -ms-transform: translateX(-70%);
	        transform: translateX(-70%);
	z-index: 1
}
#sablier_retourner
{
	max-width: 30%;
	-webkit-transform: rotate(-50deg) translateX(25%) translateY(-55%);
	    -ms-transform: rotate(-50deg) translateX(25%) translateY(-55%);
	        transform: rotate(-50deg) translateX(25%) translateY(-55%);
	position: absolute;
	left: -100%;
	top: 50%;
}
.elmt_tour
{
	position: absolute;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
#indice-meuble
{
	top: 73%;
	left: -100%;
	width: 27%;
}
#indice-cuisine
{
	top: 55%;
	left: -100%;
	width: 26%;
}
#indice-mutiplication
{
	top: 74%;
	left: -100%;
	width: 37%;
}
#reponse-armoire
{
	top: 11.4%;
	left: 110%;
	width: 24%;
}
#reponse-fauteuil
{
	top: 2.5%;
	left: 110%;
	width: 22%;
}
#reponse-table
{
	top: 1%;
	left: 110%;
	width: 40%;
}
.lettre_C-derriere
{
	top: 61.3%;
	left: 32.4%;
	width: 25.4%;
}
.lettre_G-derriere
{
	top: 65%;
	left: 48%;
	width: 22%;
}
.lettre_D-derriere
{
	top: 65%;
	left: 61.7%;
	width: 22.3%;
}
.lettre_M-derriere
{
	top: 66.5%;
	left: 76%;
	width: 21.5%;
}
.lettre_C-tour, .lettre_C-tour_avant 
{
	top: 41%;
	left: 9.8%;
	width: 30.4%;
}
.lettre_C-tour_apres
{
	top: 28%;
	left: 17%;
	width: 28.4%;
}
.lettre_G-tour
{
	top: 45%;
	left: 29%;
	width: 25%;
}
.lettre_D-tour
{
	top: 45%;
	left: 44.7%;
	width: 26.3%;
}
.lettre_M-tour, .lettre_M-tour_avant
{
	top: 47%;
	left: 62%;
	width: 25%;
}
.lettre_M-tour_apres
{
	top: 34%;
	left: 67%;
	width: 23%;
}
#prop_tour, #replacer_carte
{
	vertical-align: top;
}
#sablier_fini
{
	width: 15%;
	vertical-align: middle;
	position: absolute;
	top: -100%;
	left: 10%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
#logo_attention
{
	font-family: BARTHOWHEEL_REGULAR;
	color: #F49D16;
	font-size: calc( 4em + 5vw );
	margin-left: -10px;
	vertical-align: middle;
	position: absolute;
	top: -100%;
	left: 25%;
	-webkit-transform: translateY(-60%);
	    -ms-transform: translateY(-60%);
	        transform: translateY(-60%);
}
#compte_carte
{
	width: 50%;
	vertical-align: middle;
	-webkit-transform: rotate(-150deg) translateY(-50%);
	    -ms-transform: rotate(-150deg) translateY(-50%);
	        transform: rotate(-150deg) translateY(-50%);
	position: absolute;
	top: 50%;
	left: -100%;
}
#nb_carte
{
	font-family: BARTHOWHEEL_REGULAR;
	color: #8D84C3;
	font-size: calc( 2em + 3vw );
	vertical-align: middle;
	position: absolute;
	left: -100%;
	top: 50%;
	-webkit-transform: translateY(-20%);
	    -ms-transform: translateY(-20%);
	        transform: translateY(-20%);
}
#changer_cartes
{
	display: inline-block;
	vertical-align: top;
	position: relative;
	text-align: left;
}
#reponse
{
	text-align: center;
	position: relative;
}
#lettre_C-fin_tour
{
	left: 2%;
}
#lettre_J-fin_tour
{
	left: 110%;
	z-index: 1;
}
#lettre_G-fin_tour
{
	left: 20%;
}
#lettre_D-fin_tour
{
	left: 38%;
}
#lettre_M-fin_tour
{
	left: 56%;
}
#lettre_E-fin_tour
{
	left: 110%;
}
.new_carte
{
	left: 200%;
	-webkit-box-shadow : 0px 0px 0px #fff;
	        box-shadow : 0px 0px 0px #fff;
}
.carte_lettre
{
	border-radius: 10px;
	width: 17%;
	-webkit-transition: all 2s;
	-o-transition: all 2s;
	transition: all 2s;
	position: absolute;
	top : 50%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
}
.old_carte
{
	top: 25%;
	opacity: 1;
	right: unset;
}

/* ---------- */
/* Fin partie */
/* ---------- */

.picto
{
	position: relative;
	-webkit-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
	opacity: 0;
	top: -50px;
	width: 50px;
}
.bareme
{
	background-color: #5B527F;
	font-family: BARTHOWHEEL_REGULAR;
	color: white;
	border-radius: 20px;
	width: 40vw;
	padding: 10px;
	text-align-last: left;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	font-size: 1.2em;
}
.paragraphe_fin
{
	text-align-last: left;
}
@media only screen and (max-width: 920px) {
	.bareme
	{
		width: 100vw;
	}
}

/* ---------- */
/* Outils 	  */
/* ---------- */
#btn_pause
{
	display: none;
}
button
{
	font-family: BARTHOWHEEL_REGULAR;
	border: none;
	background-color: #8D84C3;
	margin: 10px;
	cursor: pointer;
	padding: 8px;
}
button:hover
{
	background-color: #796FB8;
}
button:active
{
	background-color: #6256AC;
}
#chrono 
{
	text-align: center
}
#sablier_container 
{
	width: 30%;
	display: inline-block;
	vertical-align: middle
}
#sable_haut
{
	opacity: 0;
}
rect
{
	fill: #9774B3;
	stroke: #9663BF;
}
#btn_restart, #btn_run, #btn_pause {
	font-size: 3.6em;
	width: 80px;
	height: 80px;
	text-align: center;
}
@media only screen and (max-width: 600px) {
	#sablier_container
	{
		width:50%;
		margin: auto
	}
}


/* ---------- */
/* Démo 	  */
/* ---------- */
#demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}
#zone_demo {
	width: 400px;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	flex-direction: column;
}
#mau_rep, #bon_rep, #vrai_rep {
	transition: all 0.3s;
	position: absolute;
	background-color: white;
	padding: 0px;
	font-size: 0em;
	border: solid 0px;
	border-radius: 50%;
	top: 40%;
}
#bon_rep {
	border-color: #ACD037;
	transform: translateY(-50%) rotate(-10deg);
}
#mau_rep {
	border-color: #5E3B96;
	transform: translateY(-50%) rotate(10deg);
}
#vrai_rep {
	border-color: #A492C5;
	transform: translateY(-50%) rotate(-5deg);
}
#bonne_reponse {
	text-align: center;
    font-weight: bold;
}
#lettres_demo {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	position: relative;
	transform: perspective(600px) rotateX(60deg);
	margin-top: 20px;
}
.carte_lettre_demo {
	margin: 0 5px;
	border-radius: 5px;
	transition: all 0.5s;
	opacity: 1;
	position: relative;
	width: 25%;
	top: 0;
	left: 0;
}
.carte_mot_demo {
	width: 220px;
	border-radius: 10px;
	position: relative;
	transition: all 0.3s;
	left: 0;
}
#zone_indice_demo {
	min-height: 150px;
	display: flex;
	align-items: flex-start;
	position: relative;
}
#indices_demo {
	list-style: none;
	margin: 5px 0 0 20px;
	min-width: 90px;
	min-height: 110px;
	padding: 10px;
	border: 3px solid #8D84C3;
	border-radius: 10px;
	font-weight: bold;
	font-family: BARTHOWHEEL_REGULAR;
	font-size: 1.2em;
}
.mot_p_demo:first-letter { color: #54211D; }
.mot_l_demo:first-letter { color: #56849B; }
.mot_c_demo:first-letter { color: #3599D4; }
.mot_m_demo:first-letter { color: #A45625; }
.mot_s_demo:first-letter { color: #12A770; }
.mot_d_demo:first-letter { color: #27AF97; }
.mot_i_demo:first-letter { color: #8F84C0; }
.mot_r_demo:first-letter { color: #76BEBA; }
.mot_n_demo:first-letter { color: #E94C3D; }
.mot_g_demo:first-letter { color: #F09D16; }
.mot_a_demo:first-letter { color: #673E70; }
.mot_o_demo:first-letter { color: #9EC649; }
.mot_b_demo:first-letter { color: #3F797A; }
.mot_u_demo:first-letter { color: #F8CC02; }
#btn_start_demo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.0em;
	border-radius: 5px;
}
.carte_choisi_demo {
	top: -70px;
}
#message_gagner_demo {
	font-size: 1.3em;
	position: absolute;
	top: 50%;
	display: none;
}
#proposition_joueur {
	border: solid 2px #8D84C3;
	border-radius: 5px;
	padding: 5px;
}

#form_reponse {
	position: relative;
}

/* ---------------------------- */
/* Footer						*/
/* ---------------------------- */
footer 
{
	background-color: #8D84C3;
	max-width: 98%;
	width: 1100px;
	margin: auto;
	padding: 1%;
	position: relative;
	z-index: 1;
	color: white;
	margin-bottom: 50px;
	min-height: 180px;
	text-align: center;
	font-family: BARTHOWHEEL_REGULAR;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
}
.conteneur_cols
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.titre_col_footer
{
	text-align: center;
	border-radius: 20px;
	font-size: 1.5em;
	margin: 12px 0;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
}
footer a
{
	color: white;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.5em;
}
footer a:hover
{
	color: #222;
} 
.mentionslegales {
	text-align: center;
	padding: 20px 0 5px 0;
	color: white;
}
.footer_col 
{
	margin: 20px 0;
	min-width: 209px;
}
#footer_sites, #footer_reseaux, #footer_adresse
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	text-align: center;
}
footer p, footer a {
	margin: 2px 0;
}
.reseaux_footer {
	width: 70px;
}
.reseaux_footer:hover {
	-webkit-box-shadow: 0px 0px 5px white;
	        box-shadow: 0px 0px 5px white;
}
#bouton_point_vente {
	color: white;
	background-color: #adb614;
	border: none;
	margin: 20px 0 0 0;
	padding: 20px 10px;
	font-size: 1.1em;
	cursor: pointer;
	display: block;
}
#bouton_point_vente:hover {
	background-color: #909810;
}