
/*#########################################
# 		#home_page
#########################################*/

#home_page{

	--colRed: #ff7259;
	--colGreenLight : #a8e327;

	
	--colPurple : #b286f4;
	--colPurpleLight : #dadafc;
	--colPurpleDark : #221749;

	--colGreenLight : #73a008;
	--colGreenVeryLight : #d8f19d;

	--colSalmondLight : #ffeba5;
}


#home_page .btn-warning{
	background-color: var(--colRed);
}


.btn_home{
	font-family: var(--fontBigF);
}

/*#########################################
# 		Title / header
#########################################*/

section#home_header{
	
	font-family: var(--fontBigF);
	background: #FFF;
	margin-bottom: 0px;
	
}

#home_main_nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 60px;
}

#projects_menu {
	font-family: var(--fontRegF);
	font-weight: 400;
	margin-bottom:0px;
	font-size: 1.2em;
	margin-top:26px;
	margin-left: 30px;
}

#projects_menu li{
	display:inline-block;
	color:#666;
}

#login_form_bloc{
	margin-left: auto;
}

#login_form_bloc #login_popover_button {
	padding: 8px 14px;
}

/*#########################################
# 		baseline + menus
#########################################*/

section#section_header_baseline{
	
	font-family: var(--fontBigF);
	background: url(../../images/main/home_header_bg.png) no-repeat, 
				#5081db;
	background-size : cover;
	background-position: 50% 100%;
	padding-top: 50px;
}

#social_icons {
	position: absolute;
	top: 170px;
	right: 50px;
}
.social_icon .fa-circle{
	color: var(--color3);
}

#header_menu_class_level{
	padding:30px 0;
}
#header_menu_class_level .btn-primary {
	background: #69afea;
	color: #FFF;
	padding: 4px 30px;
	font-family: var(--fontRegF);
}

#header_ssmenu{
	border:solid 1px var(--color3);
	border-left:none;
	border-right:none;
	display:flex;
	justify-content: center;
	padding:10px;
}
#header_ssmenu a{
	color:var(--color3);
	margin: 0px 10px;
}


/* header baseline */
/*-----------------------------------*/
#header_baseline{
	align-items: center;
}

#header_baseline h2{
	color:#FFF !important;
}

#header_baseline p{
	font-family: var(--fontRegF);
	color:#FFF !important;
}

.header_baseline_min_height{
	min-height: 350px;
}


#img_header_container{
	position:relative;
}

#img_big_header{
	position: absolute;
	bottom:-75px;
	left: calc(50% - 260px);
}

#header_baseline_text_sup p{
	text-align: center;
	font-size: 1.2em;
	margin-bottom: -50px;
	margin-top:30px;
	color: #FFF;
	font-family: var(--fontRegF);
}


#titleAndBaseline{
	position: absolute;
	top: 30%;
	left: 7%;
	text-align: center;
	color: var(--colorDark);
	z-index: 10;
	width: 560px;
	height:510px;
	padding: 120px 100px 50px 100px;
	background: url(../../images/home/h1_bg.svg);
	background-size: 100%;
}


/* class_code_form */
/*-----------------------------------*/
#class_code_form_container {
	position: absolute;
	bottom: -20px;
	left: calc(50% - 170px);
	transform:scale(1.2);
}
#class_code_form_container .form_class_code {
	display: flex;
	background: var(--color3);
	padding: 6px 8px 6px 12px;
	color: #FFF;
	font-size: 1em;
}

#class_code_form_container .form_class_code input {
	width: 94px;
	height: 23px;
	color:#666;
}

#class_code_form_container .form_class_code button {
	background: var(--colGreenLight);
	color: var(--color3);
	padding: 1px;
}


/*#########################################
# 		game search
#########################################*/
#game_quick_search_container{
	text-align: right;
	padding: 30px 0;
}
#game_quick_search_container input {
	background: #FFF;
	border: none;
	border-radius: 20px;
	font-family: var(--fontRegF);
	max-width: 300px;
	/*float: right;*/
	float: none;
	margin: auto;
}
#game_quick_search_content_result {
	background: #FFF;
	border-radius: 40px;
	overflow: hidden;
	margin-bottom: 30px;
	border: solid 3px #FFF;
}
#game_quick_search_content_result > ul{
	text-align: center;
}
#game_quick_search_content_result .gameThumb{
	margin:5px;
}
#game_quick_search_content_result li.gameThumbContainer {
	display: inline-block;
	min-width: 30%;
	text-align: center;
	margin-bottom: 35px;
}
#game_quick_search_content_result .gameThumbSquare{
	margin:auto;
}
#game_quick_search_content_result h2:first-child{
	margin-top: 0px;
}
#game_quick_search_content_result #nb_games_container{
	display:none;
}
.game_thumbs_list h2.matiere_header{color:#FFF; padding:5px;}
#nb_games_container{font-family: Blogger_Sans_Bold; padding:30px; text-align: center;}

#section_games_samples .gameListAccordion .matiere_header{
	border-radius: 20px;
}
#section_games_samples h2.matiere_header{
	color:#FFF !important;
}

.fake_btn {
	background: #FFF;
	color: #000;
	border-radius: 20px;
	position: absolute;
	top: 83px;
	left: 55px;
	padding: 6px 20px;
	box-shadow: 0px 1px 5px rgb(0 0 0 / 20%);
	font-size: 1.2em;
	cursor: pointer;
}

/*#########################################
# 		Games_menu
#########################################*/
.game_thumbs_list .matiere_bloc{
	background: #FFF !important;
}
#games_list_container .container{
	margin:0px;
	padding: 0px;
}
.matiere_header .vp_badge{
	display: none;
}
.carousel_title{
	margin-top:15px;
}

.game_thumbs_list .matiere_bloc {
	background: #FFF !important;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.sous_matiere_name{
	flex-basis: 100%;
}

/*#########################################
# 		Home body
#########################################*/



body #home_body{
	font-family: var(--fontRegF);
}


/* Buttons */
/*-----------------------------------*/
#home_body .btn_big{
	font-size:1.5em;
}



/* Home main */
/*-----------------------------------*/

#home_body h1{
	font-size: 3em;
}

#home_body h2{
	font-size: 2em !important;
	margin-bottom: 20px;
}

.baseline{
	font-size: 1.5em;
	font-family: var(--fontLightF);
	font-weight: var(--fontLightW);
	margin:20px 0;
}


/*#########################################
# 		Features
#########################################*/
section#features {
	margin-top: 100px;
}

#features_flex {
	flex-wrap: wrap;
	justify-content: center;
	
}

.icFeature{
	font-size: 7em;
	color: var(--color1);
}

.txtFeature {
	margin: 10px 0 10px 0;
	font-weight: 100;
	font-size: 1em;
	line-height: 1.3em;
}

.blocFeature {
	padding: 25px;
	border-radius: 50%;
	margin: 40px;
	width: 250px;
	height: 250px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	box-shadow: 5px 5px 15px rgba(0, 80, 100,.08); 
	
	background: #FFF;
	border: dashed 2px #DDD;
	text-align: center;
}


.blocFeature .btn-primary{
	background: var(--colYellow);
	color:var(--colRed);
}

.blocFeature .btn_home {
	width: 170px;
	font-size: 1.2em;
}

#blocFeature_1 .txtFeature{
	margin-top: 5px;
}


/*#########################################
# 		game_samples
#########################################*/
section#section_games_samples {
	padding: 100px 0px;
	background: url(../../images/home/nuage1.png) no-repeat, url(../../images/home/nuage1.png) no-repeat, var(--colPurpleLight);
	background-position: 12px -31px, 99% 105%;
	background-size: 142px, 220px;
}
#section_games_samples h2{
	color:var(--colPurpleDark);
}
#section_games_samples p{
	color:var(--colPurpleDark);
}

#section_games_samples .thumb img{
	width:150px;
	height: 90px;
}

#class_level_menu{
	background: #FFF;
	padding:5px;
	border-radius: 20px;
	margin: 30px;
}

#class_level_menu .btn-primary{
	background: var(--colPurple);
	color:#FFF;
	padding:4px 30px;
}
#class_level_menu .btn-primary.sel, #class_level_menu .btn-primary:hover{
	background: var(--colYellow);
	color:var(--colRed);
}

#games_samples_container{
	background: #FFF;
	border-radius: 20px;
	padding:20px;
}

#games_samples_container ul li{
	margin:-10px;
	cursor: pointer;
}


#games_samples_container .gameThumbSquare {
	transform: scale(0.8);
	transform-origin: center;
}

/*##########################################
# 		COMMUNITY
#########################################*/
section#section_community{
	padding:10px 0 30px 0;
}
#section_community h2, #section_community p{
	color:var(--colPurpleDark);
	margin-bottom:80px;
}

.community_item .img_rounded{
	border-radius: 50%;
	border:dashed 1px #CCC;
	height: 120px;
	width: 120px;
	margin:auto;
	overflow: hidden;
}
.community_item img{
	width:100px;
	margin-top:10px;
}
.community_item .num{
	margin-top:15px;
	font-family: var(--fontBigF);
}
.community_item .text{
	color: var(--colGreenLight);
}



/*#########################################
# 		TESTIMONIALS
#########################################*/
section#section_testimonial{

	background: url(../../images/home/nuage1.png) no-repeat, url(../../images/home/nuage1.png) no-repeat, #b9dbf6;
	background-position: 12px -31px, 99% 105%;
	background-size: 142px, 220px;

	padding: 70px 0;
}
#testimonial_list{
	display:flex;
	justify-content: center;
	flex-wrap: wrap;
}
#section_testimonial .testimonial_item {
	max-width: 400px;
	padding-top: 60px;
	margin:10px;
}

#section_testimonial .testimonial_item:nth-child(even){
    margin-top:50px;
}
.testimonial_item .content{
    background: #FFF;
    border-radius: 40px;
    color:var(--col-text1);
    font-family: var(--fontLightF);
    font-size:1.3em;
    padding:20px;
}
.bubble{
    position: relative;
}
.bubble:before,
.bubble:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
}
/*.testimonial_item .content:before {
    left: 30px;
    bottom: -50px;
    border: 25px solid;
    border-color: #333 transparent transparent #333;
}*/

.testimonial_item .content:after {
    left: 38px;
    bottom: -30px;
    border: 15px solid;
    border-color: #fff transparent transparent #fff;
}


.testimonial_item .author {
    font-family: var(--fontBigF);
    margin-left: 20px;
    margin-top: 40px;
    font-size:1.2em;
}
.testimonial_item .job {
    font-family: var(--fontLightF);
    margin-left: 20px;
}

/*
section#section-testimonials h2{
	color:var(--colPurpleDark);
	margin-bottom: 0px;
}


.blocTestimony{
	position: relative;
	width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
blockquote{
	padding : 8px;
	border-left: none;
}
blockquote .bubble{
	background: #FFF;
	border-radius: 20px;
	padding:20px;
}
.quote{
	font-size: 200px;
}
.quoteIn{
	position: absolute;
	top: 0;
	left: 0;
}
.quoteOut{
	position: absolute;
	bottom: 0;
	right: 0;
}*/

/*#########################################
# 		SECTION INFO
#########################################*/
section#section_info{

}


#section_info h2{
	color:var(--colPurpleDark);
	margin-bottom:50px;
}

#section_info img{
	max-width: 100%;
}

#section_info .dashed{
	border-radius: 30px;
	border:dashed 1px #CCC;
}

#section_info p.p1{
	margin-top: 80px;
}

#section_info p.p2{
	margin-top:100px;
}

#section_info p.p3{
	margin-top:10px;
}


/*#########################################
# 		PRESS
#########################################*/
section#section_press{

	background: url(../../images/home/nuage1.png) no-repeat, var(--colSalmondLight);
	background-position: 12px -31px;
	background-size: 142px;

	padding: 70px 0px;

	margin-bottom:0px;
}


#section_press h2{
	color:var(--colPurpleDark);
	margin-bottom:50px;
}

#section_press img{

	/*-webkit-filter: grayscale(100%) brightness(200%); 
	 filter: grayscale(100%) brightness(200%);*/

}


/*#########################################
# 		NEWSLETTER
#########################################*/
section#section_nl{
	background: var(--color1);
	padding: 70px 0px;
	margin-bottom: 0px;
}

#section_nl h2 {
	color: #FFF;
	margin-bottom: 30px;
}

#section_nl #newsletter_bloc_notice {
	text-align: center;
	color: #FFF;
	margin-bottom: 40px;
}

#section_nl form{
	width: 50%;
	margin: auto;
}



/*#########################################
# 		MEDIA QUERIES
#########################################*/
/* xs */
@media (max-width: 768px) {
	
	.text_center_sm{
		text-align: center;
	}

	/* Top bar */
	/*-----------------------------------*/
	#login_form_bloc {
		position: absolute;
		top: 46px;
		right: 10px;
	}
	#projects_menu {
		font-family: var(--fontRegF);
		font-weight: 400;
		margin-bottom: 0px;
		margin-top: -22px;
	}

	#header_baseline_text_sup p {
		margin-bottom: 0px;
		margin-top: 70px;
	}

	#social_icons {
		
		right: 123px;
	}

	#class_code_form_container {
		bottom: -40px;
		transform:scale(1);
		left: calc(50% - 160px);
	}

	/* header_menu_class_level + search */
	/*-----------------------------------*/
	#header_menu_class_level {
		padding: 40px 0 0;
		text-align: center;
	}
	#header_menu_class_level .btn-primary {
		margin-bottom: 10px;
	}
	#game_quick_search_container {
		text-align: center;
		padding: 0px;
		margin-bottom:20px;
	}
	#game_quick_search_container input {
		max-width: initial; 
		float: none; 
	}

	.header_baseline_min_height {
		min-height: 250px;
	}

	#header_baseline p {
		margin-top: 23px;
	}

	#img_header_container {
		min-height: 380px;
	}

	#section_testimonial .testimonial_item:nth-child(even){
	    margin-top:10px;
	}
}

/* sm */
@media (min-width: 768px) and (max-width: 992px) {

	.text_center_sm{
		text-align: center;
	}
	
	#btn_play_in_baseline {
		bottom: 30px;
	}

	#header_baseline_text_sup p {
		margin-bottom: -90px;
		margin-top: 80px;
	}

	#header_baseline p {
		text-align: center;
	}
}

/* md */
@media (min-width: 992px) and (max-width: 1200px) {
	

	
}

/* lg */
@media (min-width: 1200px) {
	

}