
body{
	background: #1f5589;;
}


/* display des blocs du header */

.page-header{
	display: none;
}

/*
div{
	border: solid 1px #000;
}
*/

.header_fake img{
	width: 100%;
}

#report_bug_bloc{
	display: none;
}
/* GEN  */

.content_HP{
	/*font-family: 'Roboto', sans-serif;*/
	width: 100%;
	display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(#000 0%,#111139),url(../../images/stories/home2022/image_sat.jpg);
    background-position: bottom, 130% -2%;
    background-repeat: no-repeat;
    background-attachment: fixed, scroll;
    background-size: 100%,90%;
    background-blend-mode: screen;
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.bg_img_sat{
	position: absolute;
	top: 84px;
	right: 0px;
	width: 100%;
	z-index: 0;
}
.content_HP h2,h3,h4{
	color: #FFF;
	font-family: 'Roboto', sans-serif;
	font-style: italic;
}

/* Bloc image Sat  */

.block_top{
	/*max-width: 1320px;*/
	display: flex;
	flex-direction: column;
	justify-content: left;
	/*margin: 100px 0px 100px 70px;*/
	padding: 50px;
	padding-bottom: 10px;
	color: #FFF;
	text-shadow: 1px 1px 5px rgba(0,0,0,0.95);
	
}

/* home_push_subscribe */
/*-----------------------------------*/
.blue_block_wide {
	margin-top: 30px;
	font-weight: 400;
	text-shadow: none;
	border-radius: 30px;
	padding: 15px;
	justify-content: space-between;
	align-items: center;
	font-size: 1em;
	max-width: 540px;
}
.blue_block_wide p{
	margin:0px;
}

#home_push_subscribe{
	margin-top: 70px;
	margin-right: 30px;
	font-size: 1.6em;
	background:rgba(58, 140, 225, .9);
	font-weight: 600;
}

#register_button_in_block_top {
	margin: 0px;
	margin-left: 20px;
	border-radius: 40px;
	font-size: 1em;
	padding: 5px 20px;
}

body.user_is_member #home_push_subscribe{
	display:none;
}


/* code_promo_in_home_page_bloc */
/*-----------------------------------*/
#code_promo_in_home_page_bloc{
	margin-top: 50px;
	margin-left: 50px;
	margin-right: 30px;
	padding: 20px 30px;
	border-radius:30px;
	font-size: 1.1em;
}
#code_promo_in_home_page_bloc.gold{
	background: rgba(254, 215, 89, .9) !important;
}

body.user_is_member #code_promo_in_home_page_bloc{
	display: block !important;
}
body.user_is_premium #code_promo_in_home_page_bloc{
	display: none !important;
}

/* title */
/*-----------------------------------*/
.main_title{
	z-index: 1;
	max-width: 600px;
	font-style: normal;
}
.main_title h1{
	font-size: 2.2em;
	max-width: 600px;
	font-style: normal;
	color: #FFF;
}
.main_title_baseline{
	z-index: 1;
	font-size: 1.5em;
	max-width: 600px;
	font-weight: 200;
	margin-top: 15px;
}


/* titres ------------ bla bla ------------ */
.title2_cont{
	width: 80%;
    display: flex;
    justify-content: center;
    position: relative;
    margin: 20px 0px;
    max-width: 900px;
    color: #d2d9fc;
}
.title2_cont.title2_cont_events{
	width:100%;
}
.best_games .title2_cont{
	color: #FFF;
}
.best_games .bar_around_title{
	/*border-bottom: solid 2px #FFF;*/
	border-bottom: none;
}
.title2_text{
	margin: 20px 0px;  
    font-size: 2em;
    font-style: normal;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.bar_around_title{
	height: 30%;
	min-height: 20px;
    border-bottom: none;
    margin: 20px;
    flex-grow: 1;
}

.big_block_HP{
	max-width: 1450px;
	margin: auto;
}
/* -------------------------------- */
/* Block Nos jeux les + joués */

.best_games{
	z-index: 1;
	position: relative;
	margin: 20px 0px;
	margin: auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 1320px;
}
.block_game_cont{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 20px;
}
.block_game{
	width: 250px;
	margin-bottom: 20px;
	margin: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.block_game img:first-child{
	margin-bottom: 15px;
	border-radius: 70px 15px 8px 8px;
	width: 100%;
}
.block_game :nth-child(2n){
	width: 100%;
}
.best_game_thumb{
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 15px;
	border-radius: 70px 15px 8px 8px;
	width: 250px;
	height: 136px;
	transition: background-size .4s;
}
/* buttons animation */
.block_game:hover :first-child{
	background-size: 110%;
}
/* button bg */
.best_game_thumb_1{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_1.jpg);	
}
.best_game_thumb_2{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_2.jpg);	
}
.best_game_thumb_3{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_3.jpg);	
}
.best_game_thumb_4{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_4.jpg);	
}
.best_game_thumb_5{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_5.jpg);	
}
.best_game_thumb_6{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_6.jpg);	
}
.best_game_thumb_7{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_72.jpg);	
}
.best_game_thumb_8{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_8.jpg);	
}
.best_game_thumb_9{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_9.jpg);	
}
.best_game_thumb_10{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_10.jpg);	
}
.best_game_thumb_11{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_11.jpg);	
}
.best_game_thumb_12{
	background-image: url(../../images/stories/home2022/best_games/best_games_thumb_12.jpg);	
}

/* -------------------------------- */
/* Separateur violet clair */

.separator_velvet{
	width: 400px;
	height: 1px;
	background-color: #d2d8fc;
	margin: auto;
	margin-top: 50px;
	margin-bottom: 50px;
}

/* -------------------------------- */
/* Block Community (nb Users et Réseaux sociaux) */

.separator_HP{
	width: 100px;
}
.block_community{
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #d2d9fc;
	margin-top: 30px;
	width: 100%;
}
.community_cont{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 70%;
	max-width: 700px;
}
.block_nb_users{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 1.3em;
	/*margin: 0px 80px;*/
}
.block_nb_users img{
	width: 200px;
}
.nb_users{
	font-size: 2em;
	font-weight: 700;
	margin-top: 10px;
}
.block_community .bloc_button{
	margin-top: 20px;
}
.btn2{
	margin: auto;
	margin-bottom: 20px;
	padding: 5px 30px;
	border-radius: 40px;
	background-color: #3b8de1;
	color: #FFF;
	text-align: center;
	font-size: 1.3em;
}
.block_social_networks{
	display: flex;
	flex-direction: column;
	align-items: center;
	/*margin: 0px 80px;*/
}
.social_networks_ic{
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
.social_networks_ic img{
	height: 70px;
	object-fit: contain;
	margin: 20px;
}
.social_networks_text{
	text-align: center;
	font-size: 1.3em;
}

/* -------------------------------- */
/* Block Premium bleu clair */

.block_premium{
	margin: auto;
	margin-top: 80px;
	margin-bottom: 10px;

	border-radius: 30px;
	background-color: #3b8de1;
	color: #FFF;
	padding: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 90%;
	max-width: 950px;
}
.block_premium_text{
	flex-grow: 2;
}
.block_premium_btn{
	flex-grow: 1;
	align-items: center;
}
.block_premium_text p:first-child{
	font-weight: 700;
	font-style: italic;
	font-size: 1.8em;
}
.block_premium_text :nth-child(2n){
	font-size: 1.3em;
}
.btn_premium_HP{
	font-weight: 700;
    background-color: #ffd758;
    color: #bc3b20;
    font-size: 1.7em;
    max-width: 317px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 3px 3px 10px rgb(0, 0, 0, 0.4);
}
.btn_premium_HP:hover{
	background-color: #FFF;
}

/* Problem here : the free_preiod user have to see the button... */
/*body.user_is_premium .content_HP .block_premium{
	display: none;
}*/

/* -------------------------------- */
/* Block EVENEMENTS */

.block_events{
	/*display: flex;
	flex-wrap: wrap;
	justify-content: center;*/
/*	color: #d2d9fc;*/
	margin-top: 30px;
}
.block_list_events{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;

}
.block_event{
	background: linear-gradient(325deg, rgba(37,94,184,1) 0%, rgba(37,128,184,1) 100%);/*#d2d9fc;*/
	margin: 15px;
	padding: 15px;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #FFF;
	width: 430px;
}



@media screen and (max-width: 460px) {
	.block_event{
		width: inherit;
	}
}

.event_title{
	font-size: 1.9em;
	font-weight: 700;
	font-style: italic;
	
}
.event_date{
	font-size: 1em;
	font-weight: 300;
	margin: 10px 0px;
}
.event_thumb{
	width: 200px;
	margin: 10px 0px;
}
.event_thumb img{ 
	border-radius: 10px;
	width: 100%; 
}
.event_HOF{
	border-radius: 10px;
	margin: 10px 0px;
	width: 90%;
	overflow: scroll;
	height: 300px;
}
.event_HOF img{
	width: 100%;
}


.block_event.contest_unit table{
	width:350px;
}

.contest_unit .event_title{
	margin-bottom:20px;
}
.contest_unit .event_date{
	text-align: center;
}

.contest_unit table{
	background: rgba(255, 255, 255, 1);
}


/* img_question */
/*-----------------------------------*/
#img_question_bloc_in_home.block_event {
	width: 100%;
	height: auto;
	padding: 30px;
}
#img_question_bloc_in_home #img_question_img_current{
	max-width: 400px;
}

/* -------------------------------- */
/* Block NEWS */
.block_news{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	color: #FFF;
	margin-top: 30px;
}
.block_list_news{
	display: flex;
	flex-wrap: wrap;
	justify-content: center; 
	position: relative;
}
.block_contNews{
	background: #2580b8; /*#e8e9fe;*/
	margin: 15px;
	padding: 15px;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 430px;
	height: 390px;
	z-index: 2;
}

.block_news .readmore{
	color:#FFF;
}
.other_news .readmore{
	color:#FFF;
}

.last_news{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.list_other_news{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
}

.link_between_2_block_contNews{
	/* this one fakes the continuity between the two blocks when they are side by side */
	background: #2580b8; /*#e8e9fe;*/
    position: absolute;
    left: 55;
    width: 80px;
    z-index: 1;
    height: 390px;
    margin: 15px;
}


.last_news img{
	width: 400px;
	height: 200px;
	object-fit: cover;
	margin-bottom: 15px;
	border-radius: 20px;
}
.title_last_news{
	font-size: 1.3em;
	text-transform: uppercase;
	font-weight: 800;
}
.date_news{
	font-weight: 200;
	font-size: 0.8em;
	text-transform: lowercase;
}
.text_last_news{
	font-size: 1em;
}
.button_read_last_news{
	width: 150px;
	padding: 8px;
	color: #FFF;
	border-radius: 10px;
	background-color: #5d41ad;
	margin-right: 0px;
	text-align: center;
	align-self: flex-end;
}

.button_read_last_news:hover{
	background-color: #8f65ca;
}


.other_news{
	display: flex;

}
.other_news img{
	width: 140px;
	height: 98px;
	object-fit: cover;
	margin-bottom: 15px;
	margin-right: 10px;
	border-radius: 10px;
}

.title_other_news{
	font-size: 1em;
	text-transform: uppercase;
}

@media screen and (max-width: 460px) {
	.block_contNews {
		width: 100%;
		height: auto;
	}
	
	.last_news img{
		width: inherit;
	}

	.block_event.contest_unit table{
		width:inherit;
	}

}

/* -------------------------------- */
/* Block CHAMPIONS */

.block_champions{
	margin-top: 40px;
}
.block_list_champions_cont{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.block_list_champions{
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0px 30px;
}
.bloc_champion{
	background-color: #191a5a;
    border-radius: 20px;
    margin: 5px;
    padding-left: 15px;
    display: flex;
    justify-content: left;
    color: #d2d9fc;
    width: 378px;
}
.list_champion_title{
	text-align: center;
	font-size: 1.6em;
	font-weight: 700;
	font-style: italic;
	margin: 20px;
	color: #d2d9fc;
}

.champ_avatar{
	width: 100px;
	height: 100px;
	border-radius: 100%;
	margin: 10px;
}
.champ_avatar img{
	width: 100%;
	border-radius: 100%;
}

.champ_name{
	margin: 8px;
	color: #FFF;
}
.champ_score{
	margin: 8px;
	font-size: 1.6em;
}
.champ_gameThumb{
	margin: 8px;
}
.champ_gameThumb img{
	width: 100%;
	border-radius: 10px;
}

/* -------------------------------- */
/* Block PRESENTATION DES JEUX */

.block_pres_our_games{
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.pres_our_games{
	margin-top: 15px;
	border-radius: 30px;
	background-color: #3b8de1;
	color: #FFF;
	padding: 30px;
	width: 90%;
	max-width: 950px;
}

/* -------------------------------- */
/* Block PARTENAIRES */

.block_partners{
	margin-top: 50px;
	margin-bottom: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: justify;
	font-weight: 500;
	color: #226fc3;
}
.list_partners{
	margin-top: 15px;
	border-radius: 30px;
	border: solid 3px #1b4168;
	padding: 30px;
	width: 90%;
	max-width: 950px;
}


/* sdjc_links */
/*-----------------------------------*/
#sdjc_links{
	margin-top: -30px;
}

/*#########################################
# >>		MEDIA QUERIES
#########################################*/
@media (max-width: 768px) {
	/*xs*/

	.content_HP{
		padding-top: 50px;
		background-position: top, 0px 0px;
		background-size: 100%,150%;
	}

	.block_top{
		padding:0px;
		padding-top:
	}

	#img_question_bloc_in_home #img_question_img_current {
		max-width: 270px;
	}
	.last_news img {
		max-width: 100%;
	}

	.block_game {
		width: 165px;
		margin-bottom: 20px;
		margin: 6px;
	}

	.best_game_thumb {
		margin-bottom: 10px;
		width: 160px;
		height: 86px;
	}
	.block_game :nth-child(2n) {
		width: 107%;
	}

}

@media only screen and (max-width: 768px) and (orientation: landscape){
	/*xs landscape*/



}

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

		margin:auto;
		margin-top: 40px;
	}
	
}

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

@media (min-width: 1200px) {
	/*lg*/
	#home_push_subscribe_container{
		justify-content: flex-start;
		padding-left: 60px;
	}
	#home_push_subscribe{
		margin-top: 30px;
	}
	#code_promo_in_home_page_bloc{
		margin-top: 30px;
		margin-left:0px;
	}


}



@media (min-width: 768px) {
	/* Bigger than iphone */



}

