@charset "utf-8";
/* CSS Document */

body, table{
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}
* {
	margin: 0;
	padding: 0;
}
div{
	box-sizing: border-box;
	display: block;
}
.displayNone{
	display: none !important;
}
.smooth{
	transition-property: opacity;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-o-transition-property: opacity;
	-ms-transition-property: opacity;
	
	transition-duration: 0.5s;
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
}
.off{
	opacity: 0 !important;
	pointer-events: none;
}

@font-face {
	font-family: ComingSoon;
	src: url('../fonts/ComingSoon.ttf');
}
@font-face {
	font-family: Trocchi-Regular;
	src: url('../fonts/Trocchi-Regular.ttf');
}

h1{
	
}
.clear{
	clear: both;
	height: 0px;
	line-height: 0px;
}

/****** MAIN ****/
#main-container{
	max-width: 900px;
	width: 100%;
	margin: 0px auto 0px auto;
	border: solid 1px #cccccc;
}
#main-content{
	margin: 0px 0px 0px 0px;
	width: 100%;
}

/******* HEADER ******/
#header{
	width: 100%;
	background-image: url('../img/header_bg.png');
	min-height: 100px;
	width: 100%;
	background-size: 100% auto;
	background-repeat: no-repeat;
	cursor: pointer;
}
#header-text{
	font-size: 16px;
	padding: 180px 10% 20px 35%;
}

/******** HOME **********/
#home{
	text-align: center;
	width: 100%;
}
#home h1{
	font-family: 'Trocchi-Regular';
	color: #f24b00;
	margin: 0px 20px 0px 20px;
}
#cover-book-img{
	margin: 10px 60px 20px 40px; 
}
.home-texts{
	font-size: 16px;
	margin: 25px 50px 30px 10px
}
#start-quiz-btn-container{
	margin: 100px 0px 20px 0px;
}
#start-quiz_btn{
	cursor: pointer;
	background-color: #ffcc00;
	padding: 10px 10px 10px 10px;
	font-family: 'ComingSoon';
	font-size: 18px;
	font-weight: bold;
	width: 200px;
	text-align: center;
}

/******** QUIZ **********/
#quiz{
	display: none;
	text-align: left;
	width: 100%;
	padding: 0 5% 0 5%;
	margin-bottom: 30px;
}
#quiz-question-progression{
	font-family:'ComingSoon';
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
}

#question{
	width: 100%;
	background-size: cover;
	/*min-height: 480px;*/
}
#question-content{
	float: right;
	/*min-height: 468px;*/
	max-width: 550px;
	background-color: rgba(255,255,255,0.9);
	padding: 10px 10px 20px 10px;
	margin: 6px;
}
#question-title{
	font-family: 'Trocchi-Regular';
	font-weight: normal;
	color: #f26722;
	font-size: 23px;
	margin-bottom: 14px;
}
#question-answers{
	margin-bottom: 20px;
	display: table;
	min-height: 210px;
	width: 100%;
}
#question-answers li{
	list-style: none;
	text-indent: 0px;
	display: table-row;
	width: 100%;
	padding: 10px 0px 10px 0px;
	cursor: pointer;`
	background-color: rgba(255,204,0, 0);
}
/*#question-answers li:hover{
	background-color: rgba(255,204,0, 0.5) !important;
}*/
#question-answers li.hover .answer-text, #question-answers li.hover .checkbox-container{
	background-color: rgba(255,204,0, 0.5);
}
#question-answers li.selected{
	background-color: #ffcc00 !important;
}
#question-answers li.selected .checkbox{
	background-position: right;
}
.answer-text{
	font-size: 16px;
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	padding: 5px 0px 5px 0px;
	/*width: 470px;*/
}
.checkbox-container{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	padding: 0px 10px 0px 10px;
	width: 40px;
}
.checkbox{
	width: 18px;
	height: 18px;
	background-size: 200% 100%;
	background-image: url('../img/checkbox.png');
	background-repeat: no-repeat;
}
#question-btns{
	width: 100%;
	margin: 0px auto 0px auto;
	text-align: center; 	
}
.question-btn{
	width: 200px;
	text-align: center;
	font-family: 'ComingSoon';
	font-size: 22px;
	color: #000000;
	background-color: #ffcc00;
	padding: 5px 5px 5px 5px;
	cursor: pointer;
}
.question-btn.disabled{
	cursor: default;
	pointer-events: none;
	opacity: 0.5;
}
#prev-question_btn, #next-question_btn{
	margin: 10px 0px 10px 0px;
	display: inline-block;
}

/******** PROFIL ********/
#profil{
	display: none;
	text-align: left;
	width: 100%;
	padding: 0% 6% 0% 6%;
	margin-bottom: 10px;
}
.square{
	width: 32px;
	height: 32px;
	background-color: green;
	border: solid 1px #CCC;
	margin: 0px auto 0px auto;
}
.square#specialist{
	background-color: #b7d9db;
}
.square#experienced{
	background-color: #58b844;
}
.square#know{
	background-color: #ffcc00;
}
.square#apprentice{
	background-color: #f26722;
}
.square#novice{
	background-color: #cc0000;
}
#profil-header{
	margin-bottom: 18px;
	float: left;
	width: 100%;
}
#profil-gaugeContainer{
	float:left;
	width: 60%;
	min-width: 430px;
	margin-bottom: 18px;	
	height: 180px;
}
#profil-line-container{
	float:left;
	padding: 40px 0px 0px 0px;
	margin: 10px 8px 0px 30px;
}
#your-score{
	margin-top: 6px;
	font-family: 'Trocchi-Regular';
	font-size: 25px;
	color: #f26722;
}
#nb-total-points{
	font-size: 32px;
}
#profil-shareScoreContainer{
	float:left;
	width: 40%;
	text-align: center;
	margin-bottom: 10px;
}
#profil-gauge{
	width: 60px;
	float:left;
	text-align: center;
}

.profil-name{
	 font-family: 'ComingSoon';
	 font-size: 40px;
	 color: #f26722;
}
.profil-catchPhrase{
	font-size: 18px;
}
.profil-name.specialist{ color: #93b1b3; }
.profil-name.experienced{ color: #58b844; }
.profil-name.know{ color: #ffcc00; }
.profil-name.apprentice{ color: #f26722; }
.profil-name.novice{ color: #cc0000; }

#logo-sun{
	width: 130px;
	height: 130px;
	background-size: 100% 100%;
	margin: 0 auto 0 auto;
	background-image: url('../img/logo-sun-apprentice.png');
}
#profil.specialist #logo-sun{ background-image: url('../img/logo-sun-specialist.png'); }
#profil.experienced #logo-sun{ background-image: url('../img/logo-sun-experienced.png'); }
#profil.know #logo-sun{ background-image: url('../img/logo-sun-know.png'); }
#profil.apprentice #logo-sun{ background-image: url('../img/logo-sun-apprentice.png'); }
#profil.novice #logo-sun{ background-image: url('../img/logo-sun-novice.png'); }

#share-score-fb_btn{
	margin: 15px auto 0px auto;
	padding: 2px 0px 2px 0px;
	width: 260px;
	background-color: #3b5998;
	color: #ffffff;
	font-family:'ComingSoon';
	font-size: 21px;
	text-align: center;
	cursor: pointer;
}

.profil-content{
	font-size: 15px;
	text-align: left;
	padding: 0px 0px 10px 0px;
}
.profil-content .intro-word{
	font-weight: bold;
	font-size: 16px;
}
.profil-content p{
	margin: 15px 0px 15px 0px; 
}
.profil-content p.before-list{
	margin-bottom: 0px;
}

.profil-content ul{
	list-style: disc inside none;
	padding-left: 50px;
	margin-top: 0px;
	padding-top: 0px;
	text-indent: 20px;
}
.profil-name, .profil-content{
	display: none;
}
#profil.specialist .specialist, #profil.experienced .experienced, #profil.know .know, #profil.apprentice .apprentice, #profil.novice .novice {
	display: block !important;
}
#profil.specialist #profil-gauge #specialist, #profil.experienced #profil-gauge #experienced, #profil.know #profil-gauge #know, #profil.apprentice #profil-gauge #apprentice, #profil.novice #profil-gauge #novice {
	width: 45px;
	height: 45px;
	border: none;
}
#profil #profil-btns{
	display: inline-block;
	margin: 10px 0 25px 0;
	text-align: center;
	width: 100%;
}
#profil #buy-book-btn{
	display: inline-block;
	margin: 10px 10px 10px 10px;
	background-color: #f26722;
	color: #ffffff;
	padding: 10px 10px 10px 10px;
	font-family: 'ComingSoon';
	font-size: 18px;
	width: 200px;
	text-align: center;
}
#profil #moreInfos-btn{
	display: inline-block;
	margin: 10px 10px 10px 10px;
	cursor: pointer;
	background-color: #ffcc00;
	color: #000000;
	padding: 10px 10px 10px 10px;
	font-family: 'ComingSoon';
	font-size: 18px;
	width: 200px;
	text-align: center;
}

/******* FOOTER ********/
#footer{
	border-top: 3px dotted #f26722;
	border-bottom: 3px dotted #b7d9db;
	width: 90%;
	margin: 0px auto 20px auto;
}
#footer-book-infos{
	float: left;
	width: 55%;
	text-align: left;
	position: relative;
	padding: 0 0 0 40px;
}
#footer-mfm{
	color: #f26722;
	font-family: 'ComingSoon';
	font-size: 22px;
	margin-top: 20px
}
#footer-author{
	font-size: 16px;
}
#footer-new-edition{
	margin: 10px 0px 10px 0px;
	color: #f26722;
	font-family: 'ComingSoon';
	font-style: italic;
	font-size: 22px; 
}
#footer-parution{
	font-size: 16px;
	float:left;
}
#footer-media{
	float: left;
	width: 45%;
	text-align: center;
}
#footer-btns{
	width: 70%;
	margin: 30px auto 30px auto;
}
.footer-btn{
	width: 100%;
	padding: 10px 0px 10px 0px;
	margin-bottom: 8px;
	text-align: center;
	font-family: 'ComingSoon';
	font-size: 22px; 
	cursor: pointer;
}
#btn-share-facebook{
	background-color: #3b5998;
	color: #ffffff;
}
#btn-copy-embed{
	background-color: #ffcc00;
	color: #000000;
	font-size: 17px;
}
#btn-see-book{
	background-color: #f26722;
	color: #ffffff;
}

#footer-copyright{
	font-size: 18px;
}
#footer #photos-credits{
	font-size: 12px;
	text-align: left;
	margin-top: 12px;
}

#footer-editions-parution{
	max-width: 360px;
}
#thierry-souccar-editions-footer-logo{
	width: 110px;
	float: left;
	margin-right: 20px;
}

/* test */
#header-text{
	padding-top: 160px;
}
#start-quiz-btn-container{
	margin-top: 60px;
}
#question-content{
	max-width: 440px;
	/*min-height: 468px;*/
}

#footer-editions-parution{
	/*margin: 0 auto 0 auto;*/
}

/* EMBED CODE */
#embed-code-container{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
}
#embed-code-content{
	width: 70%;
	max-width: 600px;
	margin: 0 auto 0 auto;
	background-color: #ffffff;
	padding: 20px;
	border-radius: 10px;
}
#embed-code-container h2{
	margin-bottom: 15px;
	font-family: ComingSoon;
	color: #f24b00;
}

#embed-code-container #tag-container{
	margin-bottom: 15px;
	float: left;
}
#embed-code-container #tag-container input {
	width: 40px;
}
#embed-code-container #code{
	clear:both;
	margin: 15px 0px 15px 0px;
}
#embed-code-container #tag-separator{
	float: left;
	margin: 0 10px 0 10px;
}
#embed-code-container #code textarea{
	width: 100%;
	height: 60px;
}
#close-embed-btn{
	max-width: 130px;
	padding: 7px;
	background-color: #f24b00;
	color: #ffffff;
	font-family: ComingSoon;
	font-size: 15px;
	margin: 0 auto 0 auto;
}


/* MEDIA QUERIES */
/*@media (max-width: 960px) , (max-height: 800px) {
	#main-container{
		width: 960px;
	}
	#header-text{
		padding-top: 160px;
	}
	#start-quiz-btn-container{
		margin-top: 40px;
	}
}
@media (max-width: 900px) , (max-height: 700px) {
	#main-container{
		width: 900px;
	}
	#question-content{
		max-width: 480px;
	}
	#footer-book-infos, #footer-media{
		float:none;
		width: 100%;
	}
	#footer-book-infos{
		text-align: center;
		padding-left: 5px;
	}
	#footer-editions-parution{
		text-align: left;
	}
	#footer-editions-parution{
		margin: 0 auto 0 auto;
	}
}*/
@media (max-width: 850px){
	#profil-header{
		float: none !important;
		width: 100%;
	}
	#profil-gaugeContainer, #profil-shareScoreContainer{
		float: none !important;
		clear: both;
		width: 100% !important;
		margin: 0 auto 0 auto;
	}
	#footer-book-infos, #footer-media{
		float:none;
		width: 100%;
	}
	#footer-book-infos{
		text-align: center;
		padding-left: 5px;
	}
	#footer-editions-parution{
		text-align: left;
		margin: 0 auto 0 auto;
	}
	#footer #photos-credits{
		text-align: center;
	}

}
@media (max-width: 800px) {
	#header-text{
		padding-top: 140px;
	}
	.answer-text{
		font-size: 16px;
	}
}
@media (max-width: 700px) {
	#header-text{
		padding: 130px 20px 20px 190px;
		font-size: 16px;
	}
	.home-texts{
		font-size: 16px;
	}
	h1{
		font-size: 1.8em;
	}
}
@media (max-width: 600px){
	#header-text{
		padding: 163px 30px 30px 30px !important;
	}
	#cover-book-img{
		margin-right: 10px; 
	}
	.home-texts{
		font-size: 14px;
	}
	h1{
		font-size: 1.4em;
	}
	#question, #question-content, #question-answers{
		min-height: initial;
	}
	.question-btn.off{
		display: none !important;
	}
	.profil-name{
		 font-size: 30px;
	}
@media (max-width: 500px) {
	#header{
		background-image: url('../img/header_bg_small.png');
	}
	#header-text{
		padding-top: 150px !important;
		font-size: 14px;
	}
	
	#question-title{
		font-size: 22px;
	}
	#footer h2{
		font-size: 16px !important;
	}
	#footer .footer-btn{
		font-size: 16px !important;
	}
	#footer-copyright{
		font-size: 16px !important;
	}
}
@media (max-width: 450px) {
	#profil-line-container {
	  margin-left: 10px;
	}
	.profil-name{
		 font-size: 25px;
	}
	#your-score {
		font-size: 21px;
	}
}
@media (max-width: 400px) {
	#header-text{
		padding: 120px 15px 30px 15px !important;
	}
	.home-texts{
		font-size: 12px;
		margin: 20px 20px 20px 10px;
	}
	h1{
		font-size: 1.1em;
	}
	#footer p{
		font-size: 16px !important;
	}
	#thierry-souccar-editions-footer-logo{
		width: 80px;
		margin-right: 10px;
	}
	
	.profil-name{
		 font-size: 20px;
	}
	#your-score {
		font-size: 18px;
	}
	#nb-total-points {
	  font-size: 24px;
	}
}
@media (max-width: 330px) {
	#footer-editions-parution p{
		float: none !important;
		margin: 0 auto 0 auto;
		width: 100%;
		text-align: center;
	}
	#thierry-souccar-editions-footer-logo{
		float: none;
		display: block;
		width: 90px;
		margin: 0 auto 15px auto;
	}
	
	#profil-line-container {
		width: 200px;
		padding-top: 10px;
	}
	.profil-name{
		 font-size: 20px;
	}
	#your-score {
		font-size: 18px;
	}
	#nb-total-points {
	  font-size: 24px;
	}
	#share-score-fb_btn {
		font-size: 17px;
		width: 90%;
	}
}
@media (max-width: 300px) {
	#header-text{
		padding: 90px 15px 30px 15px !important;
	}
	#question-title{
		font-size: 18px;
	}
}