@charset "UTF-8";

@font-face {
	font-family: "Frutiger";
	src: url('fonts/Frutiger.ttf') format('truetype');
}
@font-face {
	font-family: 'MyriadProBold';
	src: url('fonts/MyriadPro-Bold.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'DimboRegular';
	src: url('fonts/Dimbo_Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.questionNumber {
	display: none;
}
/* DEBUG */
/*
*/
.debug .exo_qcu {
	background-color: #fff1b4;
}
.debug .exo_qcm {
	background-color: #ceeeff;
}
.debug .consigne {
	background-color: #efefef;
}
.debug formule2 {
	border: solid red 1px;
}
.debug .ecran {
	display: flex !important;
}
.debug [data-valid=faux] {
	border-left: solid 25px red;
}
.debug [data-valid=vrai] {
	border-left: solid 25px green;
}
.debug .questionNumber {
	display: inline-block;
	padding: 5px 10px;
	background-color: #2c87b7;
	color: #FFFFFF;
}
.debug .formuleText {
	background-color: #aaf782;
}

.teste [data-valid=faux] {
	border-left: solid 25px red;
}
.teste [data-valid=vrai] {
	border-left: solid 25px green;
}
html, body{
	height: 100%;
}
body {
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;
	max-width: 1280px;
	max-height: calc(100% - 30px);
	margin: 15px auto auto;
}

img{
	max-width: 100%;
}
img[data-alt="taille25"]{
	max-width: 33%;
}
img[data-alt="taille50"]{
	max-width: 50%;
}
img[data-alt="taille75"]{
	max-width: 75%;
}
img[data-type="large"]{
	max-width: 75%;
}
img[data-type="normal"]{
	max-width: 50%;
}
.serie{
	height: 100%;
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	flex-direction: column;
	-webkit-flex-direction: column;
	-webkit-box-orient: vertical;
	border: 2px #b8338a solid;
}
.serie[data-rendu="couleur1"]{
	border-color: #A2C617;
}
.serie[data-rendu="couleur2"]{
	border-color: #00b4cd;
}
.serie[data-rendu="couleur3"]{
	border-color: #EA515A;
}

.serie[data-polices="Frutiger"]{
	font-family: "Frutiger", Verdana, sans-serif;
}

.header{
	height: 30px;
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	flex-direction: row;
	-webkit-flex-direction: row;
	-webkit-box-orient: horizontal;
	justify-content: center;
	-webkit-justify-content: center;
	align-items: center;
	-webkit-align-items: center;
	padding: 15px;
	background: #b8338a;
	z-index: 2;
}
[data-rendu="couleur1"] .header{
	background: #A2C617;
}
[data-rendu="couleur2"] .header{
	background: #00b4cd;
}
[data-rendu="couleur3"] .header{
	background: #EA515A;
}

.titreGauche{
	color: #ffffff;
	font-size: 50px;
	font-family: "DimboRegular", sans-serif;
	text-align: center;
	letter-spacing: 1px;
}
.sousTitreGauche{
	color: #ffffff;
	font-size: 30px;
	font-family: "DimboRegular", sans-serif;
	text-align: center;
	letter-spacing: 1px;
}

[data-rendu="couleur1"] .titreGauche{ color: #90c2dd; }
[data-rendu="couleur2"] .titreGauche{ color: #db4033; }
[data-rendu="couleur3"] .titreGauche{ color: #EA515A; }

[data-rendu="couleur1"] .sousTitreGauche{ color: #90c2dd; }
[data-rendu="couleur2"] .sousTitreGauche{ color: #db4033; }
[data-rendu="couleur3"] .sousTitreGauche{ color: #EA515A; }

.titreDroit{
	color: #fff;
	font-size: 25px;
	padding-left: 40px;
	line-height: 1em;
	font-weight: bold;

	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; /* number of lines to show */
	max-height: 2em;
	text-align: right;
}

.content{
	padding: 20px;
	padding-top: 40px;
	overflow: auto;
	position: relative;
	height:100%;
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	flex-direction: column;
	-webkit-flex-direction: column;
	-webkit-box-orient: vertical;
	/*justify-content: space-around;*/
}
.cptEcrans{
	background: #eeeeee;
	color:#FFFFFF;
	font-size:30px;
	font-family:"Frutiger", Verdana, Geneva, sans-serif;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding: 5px 15px;
	position: absolute;
	top:0;
	right: 20px;
}

.marginT30{
	margin-top: 30px;
}

[data-rendu="couleur1"]  .cptEcrans{
	background: #90c2dd;
}
[data-rendu="couleur2"]  .cptEcrans{
	background: #fab900;
}
[data-rendu="couleur3"]  .cptEcrans{
	background: #fab900;
}

.matiere{
	color: #b8338a;
	font-weight: bold;
	font-size:calc(14px + 1.5vw);
	min-height: 30px;
	margin-bottom: 30px !important;
}
.chapitre{
	color: #b8338a;
	font-weight: bold;
	font-size:calc(14px + 1.5vw);
	min-height: 30px;
	margin-bottom: 30px !important;
	margin-top: 30px !important;
}
.ital{
	font-style: italic;
}
sub , sup {
	line-height: 0;
	font-size: 70%;
}
.textcenter {
	text-align: center;
}
.sup_decal {
	margin-left: 0.25vw;
	margin-right: 0.25vw;
}
.formuleText {
	white-space:nowrap;
}
[data-rendu="couleur1"] .matiere,
[data-rendu="couleur2"] .matiere{
	color: #007A92;
}
[data-rendu="couleur1"] .chapitre,
[data-rendu="couleur2"] .chapitre{
	color: #007A92;
}

.ecrans {
	display: none;
	flex: 1;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
}

.ecran {
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	/*
	flex-direction: row;
	-webkit-flex-direction: row;
	-webkit-box-orient: horizontal;
	*/
	flex-direction: column;
	-webkit-flex-direction: column;
	-webkit-box-orient: vertical;
}
.colLeft {
	flex: 1;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
}
.colRight {
	display: none;
}
.exo_corrige{
	background: #FFF5C5;
	display: inline-block;
	margin-top: 25px;
	padding: 10px;
}
.titreFdbck{
	font-weight: bold;
	font-size:calc(14px + 1.2vw);
}
.corrigePhrase {
	font-size:calc(14px + 1.1vw);
}
.exo_corrige p{
	margin: 0;
}

.exo.inlineProps{
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	flex-direction: row;
	-webkit-flex-direction: row;
	-webkit-box-orient: horizontal;
	justify-content: space-around;
	-webkit-justify-content: space-around;
}
.inlineProps .proposition {
	flex: 1;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
}
.formule{
	vertical-align: middle;
	margin-bottom: 5px;
}

.proposition{
	margin-bottom: 10px;
	cursor: pointer;
	padding: 0px 10px;
}
.coche {
	width: 20px;
	height: 20px;
	display: inline-block;
	border: 2px solid #000;
	cursor: pointer;
	vertical-align: middle;
	text-align: center;
}
.coche:hover{
	background: #eee;
}
.checked{
	width: 14px;
	height: 14px;
	margin-top: 3px;
	background: #000;
	vertical-align: text-bottom;
	display: inline-block;
}

.proposition>*:not(.coche){
	display: inline-block;
	line-height: 1.1em;
}
.consigne  {
	margin-bottom: 10px;
}
.consigne p, .chapo {
	margin: 10px 0;
	min-height: 30px;
	font-size:25px;
	line-height: 1.5em;
	margin-bottom: 20px;
}
.consigne img[data-alt="formule"] {
	vertical-align: middle;
}

.chapo{
	display: flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	-webkit-box-orient: horizontal;
}
.chapoLeft {
	flex: 3;
	-webkit-box-flex: 3;
	-webkit-flex: 3;
	-ms-flex: 3;
}
.chapoRight {
	flex: 1;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
}
.times {
	font-family: TimesNewRoman, "Times New Roman", Times, serif;
}
.consigne_sujet {
	font-family: TimesNewRoman, "Times New Roman", Times, serif;
	text-align: center;
}

.tableau {
	width: 100%;
	max-width: 750px;
	text-align: center;
	margin: auto;
}
.tableau td.normal {
	background-color: #e2ecf6;
}
.tableau td {
	padding: 5px;
	font-size: inherit;
}
.cellBleu {
	background-color: #b4c7d7;
	color: #FFFFFF;
}


.propContent{
	padding-left: 10px;
	vertical-align: middle;
	font-size:25px;
	line-height: 1.5em;
	width: calc(100% - 50px);
}
.propContent p {
	margin: 5px 0 0 0;
}
.btns{
	text-align: right;
	margin-top: 10px;
}
.btn{
	font-size: 20px;
	font-family: "Frutiger" , Verdana, Geneva, sans-serif;
	font-weight: bold;
	line-height: 28px;
	height: 26px;
	display: inline-block;
	border-radius: 6px;
	/*
	*/
	padding: 5px 15px;
	color: #fff;
	background: #fab900;
	cursor: pointer;
}
.btn:hover{
	opacity: .8;
}
.btnRevoir{
	background: #fab900;
}

[data-typevalid="trueEmpty"], [data-typevalid="trueCoche"]{
	/*background-image: linear-gradient(#dffda5, #c6e192);*/
}
[data-typevalid="falseEmpty"], [data-typevalid="falseCoche"]{
	/*background-image: linear-gradient(#d9c5c4, #D9B2AD);*/
}
.checkOK, .checkKO{
	width: 20px;
}

.popup{
	font-family: "Frutiger" , Verdana, Geneva, sans-serif;
	font-size: 25px;
	text-align: center;
	width: 50%;
	/*max-width: 400px;*/
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -25%;
	margin-top: -20%;
	border-radius: 1px;
	background: #fff;
	z-index: 11;
	display: none;
	border: 1px #aaa solid;
}
.headerPopup{
	position: relative;
	height: 40px;
}
.btnClosePopup{
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
	background: #fff;
	font-size: 20px;
	width: 25px;
	height: 25px;
}
.btnClosePopup:hover{
	font-weight: bold;
}
.contentPopup{
	padding: 25px 15px;
}
.mask{
	display: none;
	background: #000;
	opacity: .4;
	z-index: 10;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ecranIntro {
	margin-top: 50px;
	text-align: center;
}
.ecranIntro p {
	font-size: 22px;
	margin: 10px 0;
	min-height: 30px;
	font-weight: normal;
	text-align: left;
}

.ecranIntro .imgMascotte {
	max-width: 300px;
	margin-right: 30px;
}
.ecranIntro .btnCommencer {
	margin-top: 70px;
	text-align: center;
	padding: 5px 35px 5px 15px;
}
.ecranIntro .btnCommencer:after {
	content: "\203A";
	font-size: 200%;
	/*
	vertical-align: middle;
	*/
	padding-left: 10px;
	position: absolute;
}

.ecranIntro .logo_hatier {
	text-align: left;
	height: 60px;
}
.ecranIntro .logo_hatier img {
	max-width: 70px;
	margin: 0;
}

.ecranBilan {
	margin-top: 70px;
}
.resume{
	background: #FFF5C5;
	margin: 15px;
	padding: 10px 10px 20px;
}
.score{
	margin-top: 20px;
	font-size: 50px;
	text-align: center;
	font-weight: bold;
}
.resume .texte {
	margin-top: 20px;
	margin-bottom: 20px;
	font-size:calc(14px + 1.2vw);
}
.btnsFinal{
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	flex-direction: row;
	-webkit-flex-direction: row;
	-webkit-box-orient: horizontal;
	justify-content: space-around;
	-webkit-justify-content: space-around;
	margin-top: 50px;
}

.btnsReview{
	display: flex;
	display: -webkit-flex;
	display: -ms-flexbox;
	flex-direction: row;
	-webkit-flex-direction: row;
	-webkit-box-orient: horizontal;
	justify-content: space-between;
	-webkit-justify-content: space-between;
}
.btnNav{
	background: #f9b000;
}
#directLink {
	position: absolute;
	bottom: 0;
	height: 60px;
}
.directLink {
	float: left;
	width: 20px;
	height: 20px;
	margin: 5px;
	background-color: blue;
	color: white;
	text-align: center;
	cursor: pointer;
}
.directLink.active {
	background-color: #76b82a;
}
emphase{
	font-style: italic;
}

.flashMsg{
	padding: 20px 10px;
	font-size: calc(14px + 1.1vw);
	margin-top: 25px;
	width: calc(100% - 20px);
}
.msgBon{
	background-color: #e4fcc2;
}
.msgNotBon{
	background-color: #fdc689;
}

.showGoodInReview{
	background-color: #e4fcc2;
}
@media screen and (min-width: 1280px) {
	.consigne p, .chapo {
		font-size:30px;
		margin: 10px 0;
		min-height: 30px;
	}
	.sup_decal {
		margin-left: 5px;
		margin-right: 0px;
	}
	.propContent, .flashMsg, .corrigePhrase {
		font-size:30px;
	}
	.titreDroit , .cptEcrans {
		font-size:35px;
	}
	.popup {
		margin-top: -10%;
	}
}
@media screen and (max-width: 1024px) {
	body {
		max-height: 100%;
		margin-top: 0;
	}
	.serie{
		border: none;
	}
}
@media screen and (max-width: 800px) {
	.exo.inlineProps{
		flex-direction: column;
		-webkit-flex-direction: column;
		-webkit-box-orient: vertical;
	}
	.exo_corrige {
		margin-top: 10px;
		margin-bottom: 15px;
	}
	.flashMsg{
		margin-top: 10px;
	}
	.consigne_sujet br.small {
		display: none;
	}

	img[data-alt="taille25"]{
		max-width: 60%;
	}
	img[data-alt="taille50"]{
		max-width: 80%;
	}
	img[data-alt="taille75"]{
		max-width: 100%;
	}
	img[data-type="large"]{
		max-width: 100%;
	}
	img[data-type="normal"]{
		max-width: 90%;
	}
}
@media screen and (max-width: 500px) {
	.cptEcrans{
		right: 5px;
	}
	.exo_corrige {
		margin-top: 5px;
	}
	.flashMsg{
		margin-top: 5px;
	}
	.btnsFinal .btn{
		font-size: 16px;
	}

}
@media screen and (max-width: 450px) {
	.cptEcrans{
		right: 5px;
	}
	[data-rendu="couleur2"] .cptEcrans{
		right: 50px;
		top: 5px;
	}
	.btnsFinal .btn, .btnsReview .btn{
		font-size: 14px;
	}
}
@media screen and (max-width: 400px) {
	.btnsFinal .btn{
		font-size: 12px;
	}
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	/* IE10+ CSS styles go here */
	.content{
		display: block !important;
	}
	.ecran{
		display: block;
	}
}