/* -------------------------------------------- */
/* GENERAL										*/
/* -------------------------------------------- */
@font-face {
	font-family: 'GRANDSTANDER';
	src: url('../../fonts/Grandstander-clean.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/kataminoFamily/background.jpg);
	background-color: #FED700;
	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: #f15523;
	text-decoration: none;
}
a:hover
{
	color: #D33D0D;
}


/* -------------------------------------------- */
/* HEADER										*/
/* -------------------------------------------- */
#logo_box {
	text-align: center;
	padding: 30px 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: #f15523;
	flex-wrap: wrap;
}
#menu>a {
	display: block;
	text-align: center;
	color: white;
	padding: 10px;
	text-decoration: none;
	cursor: pointer;
	flex-grow: 1;
}
#menu a:hover
{
	background-color: #FF6330;
}
#choix_langue {
	background-color: #E9430E;
	position: absolute;
	right: 1%;
	bottom: 0;
	transform: translateY(100%);
	font-size: 1em;
	padding: 0;
	display: none;
	z-index: 4;
}
#choix_langue a {
	display: block;
	padding: 10px 30px;
	cursor: pointer;
	color: #FFFFFF;
	border-top: #D33D0D 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;
}

/* -------------------------------------------- */
/* 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-size: 100% 100%;
	margin-top: 50px;
	font-family: GRANDSTANDER;
	padding-bottom: 10px;
    font-size: 1.7em!important;
}
#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;
}
.image_bd * {
	max-width: 100%;
	max-height: 100%;
}
#gagne_ton_papa_pieces {
	width: 90%;
	height: 90%;
}
.difficulte_debutant, .difficulte_facile, .difficulte_moyen, .difficulte_difficile, .difficulte_expert, .difficulte_adulte { font-weight: bold;}
.difficulte_debutant { color : #ffb530;}
.difficulte_facile { color : #36b64b;}
.difficulte_moyen { color : #1e78c2;}
.difficulte_difficile { color : #ff2e17;}
.difficulte_expert { color : #2c2e35;}
.difficulte_adulte { color : #872996;}
#regles_cartes img {
	max-width: 17%;
}
#regles_cartes {
	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;
}
#regle_carte_debutant {
	border: solid #f00 3px;
	border-radius: 9px;
}

/* -------------------------------------------- */
/* SOLUTIONS									*/
/* -------------------------------------------- */
#solutions
{
	text-align: center;
}
#plateau
{
	background-image: url('/images/games/kataminoFamily/gagne-papa-plateau-vide.svg');
	background-size: 100%;
	background-repeat: no-repeat;
	width: 60vw;
	height: 28vw;
	margin: auto;
	position: relative;
	direction: ltr;
	margin-bottom: 10px;
}
.case
{
	border-style: solid;
	border-width: 0.1vw;
	border-color: rgba(0,0,0,0.00)
}
#pieces
{
	border-collapse: collapse;
	position: absolute;
	top: 4vw;
	left: 4.1vw;
	width: 47.8vw;
	height: 20vw;
}
.piece td 
{
	width: 25px;
	height: 25px;
}
.piece table 
{
	border-collapse: collapse;
}
.piece
{
	width: 90px;
	height: 140px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin: 10px;
	outline : none;
	padding: 5px;
	cursor: pointer;
}
.piece:hover
{
	background-color: #eee;
}
.piece:active
{
	background-color: #ddd;
}
.piece:focus
{
	background-color: #eee;
}
#liste_pieces
{
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack:center;
	    -ms-flex-pack:center;
	        justify-content:center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-line-pack: stretch;
	    align-content: stretch;
	direction: ltr;
}
#bouton_resoudre, #bouton_desselectionner
{
	border: none;
	padding: 10px 40px;
	font-size: 1.5em;
	font-weight: bold;
	border-radius: 50px 50px 50px 50px;
	background-color: #6BCEFF;
}
#bouton_resoudre:hover 
{
	background-color: #31A3DB;
	cursor: pointer;
}
#bouton_desselectionner {
	background-color: #CCB6FF;
}
#bouton_desselectionner:hover {
	background-color: #957ECC;
	cursor: pointer;
}
#reglette {
	position: absolute;
	top: 2vw;
	left: 51.9vw;
	width: 4.2vw;
	-webkit-transition: left 1s;
	-o-transition: left 1s;
	transition: left 1s;
}
#erreur_nb_pieces, #erreur_solution {
	color: red;
	margin: 0;
	display: none;
}

/* -------------------------------------------- */
/* FOOTER										*/
/* -------------------------------------------- */
footer 
{
	background-image: url("/images/games/kataminoFamily/bandeau-titre-bleu.png");
	background-size: 105% 120%;
	background-position: 50%;
	background-color: #F15523;
	max-width: 80%;
	width: 1500px;
	margin: auto;
	padding: 1%;
	position: relative;
	z-index: 1;
	color: white;
	margin-bottom: 50px;
	border-bottom-left-radius: 40px;
	border-bottom-right-radius: 40px;
}
.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;
}


.regles_plateau {
	position: absolute;
	top: 10%;
	left: 15%;
	width: 70%;
}

.regles_reglette {
	position: absolute;
	width: 4.9%;
	top: 14.3%;
}

#chargement_solution {
	position: absolute;
	z-index: 2;
	background-color: rgba(240,240,240,0.80);
	padding: 5%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: calc(2em + 2vw);
	border-radius: 10px;
	color: #4FADE1;
	display: none;
}

#puzzles {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.image_puzzle {
	width: 250px;
	height: 150px;
	max-width: 100%;
	margin: 10px;
}

.tobi__slider__slide__content > figure > img {
	height: 85vh;
	width: 85vw;
}

.carte_defi {
	border-radius: 15px;
}

.penta_katamino {
	max-width: 30%;
	max-height: 40%;
}

.title_section_orange {
	background-image: url("/images/games/kataminoFamily/bandeau-titre-orange.png");
	color: #ff4c1b;
}

.title_section_vert {
	background-image: url("/images/games/kataminoFamily/bandeau-titre-vert.png");
	color: #288736;
}

.title_section_turquoise {
	background-image: url("/images/games/kataminoFamily/bandeau-titre-turquoise.png");
	color: #00b3b7;
}

.title_section_bleu {
	background-image: url("/images/games/kataminoFamily/bandeau-titre-bleu.png");
	color: #1e78c2;
}

.title_section_violet {
	background-image: url("/images/games/kataminoFamily/bandeau-titre-violet.png");
	color: #4252ab;
}

.title_section_rouge {
	background-image: url("/images/games/kataminoFamily/bandeau-titre-rouge.png");
	color: #ff2e17;
}

.minimnos_marron {
	background-image: url("/images/games/kataminoFamily/gagne-papa-pieces.svg");
	background-position: 64px 18px;
	background-size: 140px;
	display: inline-block;
	width: 20px;
	height: 20px;
}
.minimnos_orange {
	background-image: url("/images/games/kataminoFamily/gagne-papa-pieces.svg");
	background-position: 46px 26px;
	background-size: 140px;
	display: inline-block;
	width: 15px;
	height: 25px;
}
.minimnos_beige {
	background-image: url("/images/games/kataminoFamily/gagne-papa-pieces.svg");
	background-position: 75px 16px;
	background-size: 140px;
	display: inline-block;
	width: 12px;
	height: 17px;
}
.minimnos_rouge {
	background-color: red;
	border: 1px black solid;
	display: inline-block;
	width: 8px;
	height: 8px;
}

#regle_pdf {
	text-align: center;
	display: block;
	margin: 30px auto 0 auto;
	padding: 10px 0;
	width: 600px;
	max-width: 100%;
	background-image: url("/images/games/kataminoFamily/bandeau-titre-bleu.png");
	background-size: 100% 100%;
	font-family: GRANDSTANDER;
	color: black;
	text-decoration: none;
	font-size: 2em;
}

#changer_papa_maman {
	position: absolute;
	top: 5px;
	left: 5px;
	cursor: pointer;
}
#changer_papa_maman img {
	width: 160px;
}


/* -------------------------------------------- */
/* 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%;
		padding: 0;
	}
	#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;
	}
	#changer_papa_maman {
		display: none;
	}
}

/* -------------------------------------------- */
/* Smartphone en portrait						*/
/* -------------------------------------------- */
@media (max-width: 479px){
	/* SOLUTIONS */
	#bouton_resoudre, #bouton_desselectionner
	{
		padding: 5px 15px;
		margin: 4px 0;
		font-size: 1.1em;
		font-weight: normal;
	}
	.piece td 
	{
		width: 15px;
		height: 15px;
	}
	.piece table 
	{
		border-collapse: collapse;
	}
	.piece
	{
		width: 60px;
		height: 100px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		margin: 5px;
		outline : none;
	}
}

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