@charset "UTF-8";
@font-face {
	font-family: 'DINNext-ProLight';
	src: url('fonts/DINNextLTPro-Light.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
    font-family: 'DINNext-ProRegular';
    src: url('fonts/DINNextLTPro-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'DINNext-ProMedium';
	src: url('fonts/DINNextLTPro-Medium.otf') format('truetype');
	font-weight: bold;
}
@font-face {
	font-family: 'frutiger';
	src: url('fonts/FrutigerLTStd-LightCn.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'frutiger';
	src: url('fonts/FrutigerLTStd-BoldCn.otf') format('truetype');
	font-weight: bold;
}
@font-face {
	font-family: 'MyriadProBold';
	src: url('fonts/MyriadPro-Bold.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Myriad';
	src: url('fonts/MyriadPro-SemiCn.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Utopia';
	src: url('fonts/Utopia-Italic.otf') format('truetype');
}
.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;
}
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%;
}

.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: #007A92;
}
.serie[data-rendu="couleur2"]{
	border-color: #ffe06a;
}
.serie[data-rendu="couleur3"]{
    border-color: #ffe06a;
}
.serie[data-rendu="couleur4"]{
	border-color: #b8338a;
}
.serie[data-polices="Frutiger"]{
	font-family: frutiger, Verdana, Geneva, sans-serif;
	font-weight: bold;
}
.serie[data-polices="DIN"]{
	font-family: DINNext-ProRegular, Verdana, Geneva, sans-serif;
}
.serie[data-polices="Myriad"]{
	font-family: Myriad, Verdana, Geneva, 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: space-between;
	-webkit-justify-content: space-between;
	align-items: center;
	-webkit-align-items: center;
	padding: 15px;
	background: #b8338a;
    z-index: 2;
}
[data-rendu="couleur1"] .header{
	background: #007A92;
}
[data-rendu="couleur2"] .header{
	background: #ffe06a;
}
[data-rendu="couleur3"] .header{
	background: #ffe06a;
}
[data-rendu="couleur4"] .header{
	background: #b8338a;
}
.titreGauche{
	color: #ffffff;
	font-size: calc(24px + 1.5vw);
	font-family: MyriadProBold, sans-serif;
}
[data-rendu="couleur1"] .titreGauche{
	color: #BCCF00;
}
[data-rendu="couleur2"] .titreGauche .picto{
	width: 70px;
	vertical-align: middle;
	position: relative;
	top: 5px;
	margin-right: 15px;
}
[data-rendu="couleur3"] .titreGauche .picto, [data-rendu="couleur4"] .titreGauche .picto{
    display: none;
}
[data-rendu="couleur2"] .titreGauche, [data-rendu="couleur3"] .titreGauche, [data-rendu="couleur4"] .titreGauche{
	color: #ffffff;
	background-color: #00b0eb;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom: solid 2px #8a7939;
	min-width: 350px;
	height: 65px;
	padding-left: 20px;
	align-self: flex-start;
	margin: 0px;
	margin-top: -17px;
	padding-top: 5px;
	padding-right: 30px;
}
[data-rendu="couleur3"] .titreGauche{
    background-color: #f15023;
    min-width: auto;
    line-height: 68px;
}
[data-rendu="couleur4"] .titreGauche{
	border-bottom: solid 2px #db9700;
	background-color: #f9b000;
	min-width: auto;
	line-height: 68px;
}
.titreDroit{
	color: #fff;
	font-size: calc(15px + 1.5vw);
	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;
}
[data-polices="DIN"] .titreDroit{
	font-family: DINNext-ProLight, Verdana, Geneva, sans-serif;
}
[data-rendu="couleur3"] .titreDroit{
    color: #f15023;
}
[data-rendu="couleur4"] .titreDroit{
	color: #ffffff;
}
.content{
	padding: 20px;
    padding-top: 50px;
	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;
}
.cptEcrans{
	background: #f7a500;
	color:#fff;
	font-size:calc(14px + 1.5vw);
	font-family:MyriadProBold, 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: #BCCF00;
}
[data-rendu="couleur2"]  .cptEcrans{
	background: #f7a500;
}
.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: -1vw;
	margin-right: 0.25vw;
}
.formuleText {
	white-space:nowrap;
}
[data-rendu="couleur1"] .matiere{
	color: #007A92;
}
[data-rendu="couleur2"] .matiere{
	color: #b6a596;
	font-family:MyriadProBold, sans-serif;
}
[data-rendu="couleur2"] .chapitre{
	color: #e74107;
	font-family:MyriadProBold, sans-serif;
}

.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;
	text-align: justify;
}
.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: -1px;
	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 {
	font-size:calc(10px + 1.5vw);
	margin: 10px 0;
	min-height: 30px;
}
.consigne img[data-alt="formule"] {
	vertical-align: middle;
}
.chapo{
	font-size:calc(10px + 1.2vw);
	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;
}

[data-alt="texte1ligne"]{
	height:calc(12px + 1.5vw);
	vertical-align: -1px;
}
[data-alt="texte1v5ligne"]{
	height: calc(20px + 2vw);
	vertical-align: -8px;
}
[data-alt="texte2ligne"]{
	height: calc(26px + 4vw);
	vertical-align: calc(-10px - 2vw);
}
[data-alt="texte3ligne"]{
	height: calc(38px + 6vw);
	vertical-align: calc(-12px - 2.8vw);
}
[data-rendu="couleur2"] .chapo{
	font-family: frutiger, Verdana, Geneva, sans-serif;
	font-weight: normal;
}
[data-rendu="couleur3"] .chapo{
	font-family: DINNext-ProLight, Verdana, Geneva, sans-serif;
}
[data-rendu="couleur4"] .chapo{
	font-family: DINNext-ProLight, Verdana, Geneva, sans-serif;
}

.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:calc(10px + 1.5vw);
	width: calc(100% - 50px);
}
.propContent p {
	margin: 5px 0 0 0;
}
.btns{
	text-align: right;
    margin-top: 10px;
}
.btn{
	font-size: 20px;
	font-family:MyriadProBold, sans-serif;
	line-height: 28px;
	height: 26px;
	display: inline-block;
	border-radius: 6px;
	padding: 5px 15px;
	color: #fff;
	background: #f7a500;
	cursor: pointer;
}
.btn:hover{
	opacity: .8;
}
.btnRevoir{
	background: #f7a500;
}

[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: Myriad, 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: 100px;
	text-align: center;
}
.ecranIntro p {
	font-size: calc(10px + 1.5vw);
	margin: 10px 0;
	min-height: 30px;
}
.ecranIntro .btnCommencer {
	margin-top: 70px;
}


.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;
}
.mathematical{
	font-family: "Utopia", Verdana, Geneva, sans-serif;
}
.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: -10px;
		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;
    }
}
@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;
    }
}