/* -------------------------------------------- */
/* GENERAL										*/
/* -------------------------------------------- */
@font-face {
	font-family: 'OZHANDIN';
	src: url('../../fonts/OZHANDIN.ttf');
	font-weight: normal;
	font-style: normal;
}
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/yogi/fond.jpg);
	background-color: black;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	color: #555;
	text-align: justify;
}
h2 {
	font-family: OZHANDIN;
	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;
	width: 1000px;
	height: 400px;
	max-width: 100%;
	max-height: 45vw;
	margin: auto;
}
#logo
{
	color: white;
	width: 500px;
	max-width: 100%;
	font-size: 5em;
	font-weight: normal;
	position: relative;
	z-index: 3;
}
#menu {
	font-family: OZHANDIN;
	letter-spacing: 1px;
	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: 70%;
	margin: auto;
	font-size: 1.8em;
	background-color: #341e2f;
}
#menu>a {
	background-color: #341e2f;
	display: block;
	width: 100%;
	text-align: center;
	color: white;
	padding: 10px;
	text-decoration: none;
	cursor: pointer;
}
#menu a:hover
{
	background-color: #492A42;
}
#choix_langue {
	background-color: #2B1927;
	position: absolute;
	right: 1%;
	top: 54px;
	font-size: 1em;
	padding: 0;
	display: none;
	z-index: 4;
}
#choix_langue a {
	display: block;
	padding: 10px 30px;
	cursor: pointer;
	color: #FFFFFF;
	border-top: #241521 solid 1px;
}
#choix_langue div:first-child a {
	border-top: none;
}
.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;
}
.layer_logo {
	width: 100%;
	height: 100%;
}
.image_logo {
	position: absolute;
	top: 0%;
}
.drapeau_carre_langue {
	width: 30px;
	height: 20px;
	margin-left: 10px;
}

/* -------------------------------------------- */
/* PAGE											*/
/* -------------------------------------------- */
#main
{
	max-width: 70%;
	width: 1500px;
	margin: auto;
	padding: 1% 0;
	padding-bottom: 270px;
	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;
}
.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;
	height: auto;
}
.case_bd {
	background-color: #dbe2e8;
	-webkit-box-shadow: inset 0px 0px 60px 20px #c2d1d8;
	        box-shadow: inset 0px 0px 60px 20px #c2d1d8;
}
.btn_demo {
	background-color: #cad227;
	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: #ABB221;
	color: white;
}
.btn_demo:active {
	box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.40);
}


/* -------------------------------------------- */
/* DEMO											*/
/* -------------------------------------------- */
.tas_carte {
	position: relative;
	width: 73px;
	height: 250px;
}
#demo {
	width: 100%;
	padding-bottom: 500px;
}
#pioche {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 50%;
}
.carte_yogi {
	width: 144px;
	height: 220px;
	max-width: 59vh;
	max-height: 90vh;
	transform: rotateX( 50deg ) rotateZ( -30deg ) translate( -50%, 0% );
	position: absolute;
	left: 50%;
	transition: all 1s;
}
.carte_yogi .front {
	background-image: url(/images/games/yogi/cartes/fr/carte_yogi_0.jpg);
	background-size: 100% 100%;
	border-radius: 5px;
}
.carte_yogi .back {
	background-image: url(/images/games/yogi/dos_carte_yogi.jpg);
	background-size: 100% 100%;
	border-radius: 5px;
}
#carte_demo_15 { top: 15px; }
#carte_demo_14 { top: 14px; }
#carte_demo_13 { top: 13px; }
#carte_demo_12 { top: 12px; }
#carte_demo_11 { top: 11px; }
#carte_demo_10 { top: 10px; }
#carte_demo_9  { top: 9px; }
#carte_demo_8  { top: 8px; }
#carte_demo_7  { top: 7px; }
#carte_demo_6  { top: 6px; }
#carte_demo_5  { top: 5px; }
#carte_demo_4  { top: 4px; }
#carte_demo_3  { top: 3px; }
#carte_demo_2  { top: 2px; }
#carte_demo_1  { top: 1px; }
#carte_demo_0  { top: 0px; }
#yogi_devoiler_carte, #yogi_recommencer_demo {
	border: none;
	background-color: #CBD328;
	font-size: 2em;
	font-weight: bold;
	border-radius: 5px;
	padding: 15px;
	position: relative;
	cursor: pointer;
	margin: auto;
	display: block;
}
#yogi_devoiler_carte:hover, #yogi_recommencer_demo:hover {
	background-color: #D6DD4C;
}
#yogi_devoiler_carte:active, #yogi_recommencer_demo:active {
	box-shadow: 0px 0px 20px #90961a inset;
}
/* -- Gestion des flipcards -- */
.thumb {
	display:block;
	float:left;
}
.thumb-wrapper {
	display:block;
	width:calc(100% - 6px);
	height:calc(100% - 6px);
	border: solid 3px #ddd;
	background-color: #ddd;
	border-radius: 10px;
}
.thumb .back, .thumb .front {
	position:absolute;
	display:block;
	border-radius: 10px;
}
.thumb .back {
	width: calc(100% - 6px);
	height:calc(100% - 6px);
}
.thumb .front {
	width: 100%;
	height:100%;
}
/*
* Without CSS3 Scroll Up Effect
*/
.thumb.scroll {
	overflow: hidden;
}
.thumb.scroll .front {
	bottom:-520px;
}
/*
* CSS 3D Card Flip Effect
*/	
.thumb.flip {
	perspective:800px;
}
.thumb.flip .thumb-wrapper {
	transition: transform 1s;
	transform-style: preserve-3d;			
}

.thumb.flip .front {
	transform: rotateY(-180deg);			   			
}

.thumb.flip .back,
.thumb.flip .front {
	backface-visibility: hidden;
}

.thumb.flip .flipIt {
	transform: rotateY(-180deg);			
}


/* -------------------------------------------- */
/* LE MOT DE L'AUTEUR							*/
/* -------------------------------------------- */
#author {
	padding: 0 50px;
}

/* -------------------------------------------- */
/* EXTENSION									*/
/* -------------------------------------------- */
#logo-yogi-guru {
	display: block;
	width: 300px;
	margin: auto;
}
.spiral-guru {
	background-image: url("/images/games/yogi/spiral-violette.jpg");
	background-size: 100% 100%;
	width: 15px;
	height: 15px;
    display: inline-block;
}
.carte-guru {
	padding: 0 5px;
	width: 110px;
	border-radius: 15px;
}

/* -------------------------------------------- */
/* FOOTER										*/
/* -------------------------------------------- */
footer 
{
	background-image: url(/images/games/yogi/bas-de-page.png);
	width: 100%;
	margin: auto;
	padding-top: 250px;
	position: relative;
	z-index: 1;
	color: white;
	background-size: 110% 110%;
	background-position: 50% 0%;
	margin-top: -250px;
}
.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;
}
@media (max-width: 1000px){
	#main
	{
		padding-bottom: 0px;
	}
	section
	{
		padding-bottom: 1px;
	}
	footer {
		background-color: #341E2F;
		padding-top: 0px;
	}
}

#guru_dispo {
    position: fixed;
    top: 45%;
    left: 0px;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 12%;
    padding: 1%;
}

/* -------------------------------------------- */
/* 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%;
	}
	section
	{
		max-width: 98%;
	}
	footer 
	{
		max-width: 100%;
		margin: 0px;
	}
	#guru_dispo {
		display: none;
	}
	#main
	{
		max-width: 100%;
	}
}
@media only screen and (max-width: 920px) {
	#video > *
	{
		width: 97vw;
		height: 54vw;
	}
	#video
	{
		min-height: 54vw;
	}
}

/* -------------------------------------------- */
/* Smartphone en portrait						*/
/* -------------------------------------------- */
@media (max-width: 479px){
	#yogi_devoiler_carte {
		display: none;
	}
	#pioche {
		width: 100%;
	}
	.carte_yogi {
		max-width: 33vh;
		max-height: 50vh;
	}
}

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