/* -------------------------------------------- */
/* GENERAL										*/
/* -------------------------------------------- */
body
{
	margin: 0;
	font-family: Helvetica, Arial, "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", "sans-serif";
	overflow-x: hidden;
    position: relative;
	background-image: url(/images/games/difference/background.jpg);
	background-color: black;
	background-size: 101%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: 50% 0.3%;
}
h2 {
	text-align: center;
	margin-top: 5px;
	margin-bottom: 20px;
	font-size: 2.5em;
}
a
{
	color: #24626B;
	text-decoration: none;
}
a:hover
{
	color: #1EA5A5;
}


/* -------------------------------------------- */
/* HEADER										*/
/* -------------------------------------------- */
#logo_box {
	text-align: center;
	padding: 50px 0;
}
#logo
{
	color: white;
	width: 500px;
	max-width: 100%;
	font-size: 5em;
	font-weight: normal;
	position: relative;
	z-index: 3;
}
#menu {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 1500px;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	max-width: 80%;
	margin: auto;
	font-size: 1.4em;
	padding: 0 1%;
	background-color: #118690;
}
#menu>a {
	background-color: #118690;
	display: block;
	width: 100%;
	text-align: center;
	color: white;
	padding: 10px;
	text-decoration: none;
	cursor: pointer;
}
#menu a:hover
{
	background-color: #26B0BB;
}
#choix_langue {
	background-color: #0E747D;
	position: absolute;
	right: 1%;
	top: 45px;
	font-size: 1em;
	padding: 0;
	display: none;
	z-index: 4;
}
#choix_langue a {
	display: block;
	padding: 10px 30px;
	cursor: pointer;
	color: #FFFFFF;
	border-top: #0B5A61 solid 1px;
}
#choix_langue div:first-child a {
	border-top: none;
}
.drapeau_carre_langue {
	width: 30px;
	height: 20px;
	margin-left: 10px;
}
.drapeau_cube_langue {
	display: none;
}
#auteur {
	font-family: 'ARIALN', 'HELVETICANEUELTSTD-CN', Helvetica, Gotham, "Helvetica Neue", Arial, sans-serif;
	font-weight: bold;
	position: absolute;
	top: 10px;
	right: 20px;
}
#logo_junior {
	width: 150px;
}
#difference_junior {
	position: absolute;
	top: 5px;
	left: 10px;
}

/* -------------------------------------------- */
/* PAGE											*/
/* -------------------------------------------- */
#main
{
	max-width: 80%;
	width: 1500px;
	margin: auto;
	padding: 1%;
	background-color: rgba(255,255,255,0.9);
	position: relative;
	z-index: 1;
}

/* -------------------------------------------- */
/* REGLES										*/
/* -------------------------------------------- */
#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;
}
.title_section {
	background-color: #349357;
	color: white;
	margin-top: 50px;
}
#introduction, #fin_partie, #test_game {
	text-align: center;
}
.image_bd {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.case_bd {
	background-color: #ccd5d2;
	-webkit-box-shadow: inset 30px -20px 40px 0px #e8f1ee;
	        box-shadow: inset 30px -20px 40px 0px #e8f1ee;
}
#difference_card_castle, #difference_card_cirque, #difference_card_dragon, #difference_card_marais {
	width: 130px;
	border-radius: 10px;
	position: relative;
}
#difference_card_castle {
	left: -5px;
	-webkit-transform: rotate(-8deg);
	    -ms-transform: rotate(-8deg);
	        transform: rotate(-8deg);
}
#difference_card_cirque {
	left: 3px;
	-webkit-transform: rotate(6deg);
	    -ms-transform: rotate(6deg);
	        transform: rotate(6deg);
}
#difference_card_dragon {
	left: 0px;
	-webkit-transform: rotate(-5deg);
	    -ms-transform: rotate(-5deg);
	        transform: rotate(-5deg);
}
#difference_card_marais {
	left: 2px;
	-webkit-transform: rotate(1deg);
	    -ms-transform: rotate(1deg);
	        transform: rotate(1deg);
	border: solid 4px #D93740;
}
#difference_carte_centre {
	border-radius: 20px;
	max-width: 70%;
	max-height: 70%;
}
#difference_cartes_cache, #difference_cartes_visible, #difference_declare_diff, #difference_reponse_fausse, #difference_reponse_vrai {
	max-width: 100%;
	max-height: 100%;
}
.cercle_diff {
	border: 2px white dotted;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	position: absolute;
	overflow: hidden;
}
.croix {
	width: 100%;
	height: 100%;
	position: relative;
}
.croix::before {
	content: '';
	width: 150%;
	height: 2px;
	background-color: red;
	-webkit-transform: rotate(-45deg);
	    -ms-transform: rotate(-45deg);
	        transform: rotate(-45deg);
	position: absolute;
	top: 49%;
	left: -25%;
}
.croix::after {
	content: '';
	width: 150%;
	height: 2px;
	background-color: red;
	-webkit-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	position: absolute;
	top: 44%;
	left: -25%;
}
.btn_demo {
	background-color: #118690;
	color: white;
	display: inline-block;
	margin: auto;
	font-size: 2em;
	text-decoration: none;
	padding: 10px 20px;
	transition: all 0.1s;
}
.btn_demo:hover {
	background-color: #26B0BB;
	color: white;
}
.btn_demo:active {
	box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.40);
}

/* -------------------------------------------- */
/* SOLUTIONS									*/
/* -------------------------------------------- */
.num_difference {
	background-color: #DA3841;
	border-radius: 50%;
	position: absolute;
	width: 2vw;
	height: 2vw;
	text-align: center;
	font-size: 2vw;
	color: white;
}


/* -------------------------------------------- */
/* DEMO											*/
/* -------------------------------------------- */
.carte_jeu {
	border-radius: 30px;
	width: 100%;
}
.carte_demo {
	width: 50%;
	margin: auto;
	position: relative;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.hitbox {
	/*border: dotted #DA3942 2px;*/
	position: absolute;
}
.hitboxclique {
	border: dotted white 2px;
	border-radius: 50%;
	
}
#demo {
	position: relative;
}
#game {
	text-align: center;
}
.carte_joueur {
	position: absolute;
	top: 50%;
	left: 25%; 
}
@media (max-width: 499px){
	.carte_demo {
		width: 100%;
	}
	.carte_joueur {
		left: 0%; 
	}
}


/* -------------------------------------------- */
/* FOOTER										*/
/* -------------------------------------------- */
footer 
{
	background-color: #0c8773;
	max-width: 80%;
	width: 1500px;
	margin: auto;
	padding: 1%;
	position: relative;
	z-index: 1;
	color: white;
	margin-bottom: 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
{
	font-size: 1.1em;
}
footer a
{
	font-weight: bold;
	color: #E5E5E5;
	text-decoration: none;
}
footer a:hover
{
	color: #FFFFFF;
} 
.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;
}
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;
}


#solution_pdf_swamp {
	width: 100%;
	height: 57vw;
}


/* -------------------------------------------- */
/* Tablette en paysage, petit/moyen écran		*/
/* -------------------------------------------- */
@media (max-width: 1280px){
}


/* -------------------------------------------- */
/* Smartphone en paysage, tablette en portrait	*/
/* -------------------------------------------- */
@media (max-width: 959px){
	#menu 
	{
		width: 100%;
		max-width: 100%;
	}
	#main
	{
		max-width: 98%;
	}
	footer 
	{
		max-width: 100%;
		margin: 0px;
	}
}
@media only screen and (max-width: 920px) {
	#video > *
	{
		width: 97vw;
		height: 54vw;
	}
	#video
	{
		min-height: 54vw;
	}
}

/* -------------------------------------------- */
/* Smartphone en portrait						*/
/* -------------------------------------------- */
@media (max-width: 479px){
}

@media (max-width: 330px){
}
