/* Colors : 
dark grey : #27b7d5
light teal : #e0ecec
*/
body {
	font: 0.9em sans-serif;
	background-color: white;
}
p{
	margin:0.9em;
}
code{
	font-size: larger;
}
.hidden{
	display:none;
}

/*=== DEFAULT LAYOUT - GENERAL ===============================================*/
 .default > .root{
	position:absolute;
	top:0;
	bottom:0;
	left:60px;
	right:0;
}
 .home > .root{
	left:0;
}
.default #accessibility{
	position: absolute;
	top: 0;
	right:0;
	margin:0;
}
/*=== DEFAULT LAYOUT - FLEXBOX ===============================================*/

/*--- ROOT -------------------------------------------------------------------*/
.default > .root{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: column;
	flex-flow: column;
}
.default #header{
	-webkit-flex: 0 0 60px;
	flex: 0 0 60px;
}
.default main{
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}
.default #footer{
	-webkit-flex: 0 0 20px;
	flex: 0 0 20px;
}
/*--- MAIN -------------------------------------------------------------------*/
.default main{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row;
	flex-flow: row;
}
.default #content{
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	position:relative;
}
.default .stepTools{
	-webkit-flex: 0 0 300px;
	flex: 0 0 300px;
}
.default .scroller{ /* DEBUG - IE11 : ne peut pas scroller un flex auto */
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	padding:1em;
	overflow:auto;
}

/*=== LAYOUT - ACCESSIBILITY MENU  ===========================================*/
#accessibility{
	font-size: 60%;
	list-style-type: none;
	padding:0;
	margin:0;
	z-index:2;
}
#accessibility li{
	display:inline-block;
	margin:0 1em;
}
#accessibility a{
	opacity:0.2;
	color: #e0ecec;
	text-decoration: none;
}
#accessibility:hover a{
	opacity:0.5;
}
#accessibility a:focus{
	opacity:1;
}

/*=== LAYOUT - HEADER ========================================================*/
.default #header h1{
	margin: 20px 0 0 0;
	text-align: right;
	font-size: 2em;
	padding-right:0.5em;
}
/*=== LAYOUT - FOOTER ========================================================*/
.default #footer {
	text-align: right;
	padding-right:0.5em;
}

/*=== LAYOUT - TOOLBAR =======================================================*/
.default #tools {
	position: fixed;
	top:0;
	bottom:0;
	left:0;
	width:60px;
}

/*=== LAYOUT - SUB-WINDOWS ===================================================*/

/*--- CONTAINER --------------------------------------------------------------*/
.subWindow_over{
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background: white;
	opacity:0.6;
}
.subWindow_win{
	position:absolute;
	top:3em;
	bottom:3em;
	left:3em;
	right:3em;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: column;
	flex-flow: column;
	background-color: white;
	border:2px solid #27b7d5;
}
.subWindow_ti{
	-webkit-flex: 0 0 1.5em;
	flex: 0 0 1.5em;
	background-color: #27b7d5;
	color:#e0ecec;
	padding-left:0.5em;
	font-weight: bold;
}
.subWindow_co{
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
	position: relative;
}
.subWindow_co > a.focusOnCloseBtn{
	position:absolute;
	left:-1000px;
	top:-1000px;
}
.subWindow_fra{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
a.subWindow_x {
	display:inline-block;
	padding:0;
	margin: 0 ;
	box-sizing: border-box;
	width: 16px;
	height: 16px; 
	padding-left: 16px;
	overflow: hidden;
	background: url(buttons.svg) no-repeat top;
	background-size: 100%;
	background-position: 0 -32px;
	position:absolute;
	right:2px;
	top:2px;
}

/*=== COLORS =================================================================*/
.default #header{
	background-color: #27b7d5;
	color: white;
}
.default #tools{
	background-color: #27b7d5;
	color: white;
}
.default #footer{
	background-color: silver;
}
.default .stepTools{
	background-color: #e0ecec;
}

/*=== DEFAULT LAYOUT - TOOLS MENU ============================================*/
.default #tools ul{
	list-style-type: none;
	padding:0;
	margin:0 0 0 10px;
}
.default #tools ul.toolcase{
	margin-top:70px;
}
.default #tools li{
	display:inline-block;
	height:50px;
}
.default #tools li.search{
	position:absolute;
	top:0;
}
.default #tools .btnTool{
	display:inline-block;
	padding-top:1em;
	box-sizing: border-box;
	width: 40px;
	height: 40px; 
	padding-left: 40px;
	overflow: hidden;
	background: url(../img/content/buttons.svg) no-repeat top;
	background-size: 100%;
}
.default #tools .btnOut{
	background-position: 0px -80px;
}
.default #tools .btnMap {
	background-position: 0 -160px;
}
.default #tools .btnBib{
	background-position: 0px -240px;
}
.default #tools .btnGlos{
	background-position: 0px -320px;
}
.default #tools .btnAcr{
	background-position: 0px -400px;
}
.default #tools .btnCredits{
	background-position: 0px -480px;
}
.default #tools .btnBack{
	background-position: 0 -560px;
}
.default #tools .btnNext{
	background-position: 0 -640px;
}
.default #tools .btnSynthesis {
    background-position: 0 -1040px;
}
.default #tools .btnDocs {
    background-position: 0 -960px;
}

/* === START - QUIZ ========================================================= */
/* --- CATEGORISATION/ORDONNANCEMENT ------------------------------------------------------- */
.mtTable {
	width:100%;
	border-collapse: separate;
	border-spacing:5px;
}
.mtTable td {
	vertical-align: top;
}
.mtTdBasket {
	width:30%;
}
.mtTdBasketSol {
	display: none;
}
.mtTdArrow {
	width: 20px;
	background-image:url("../img/quiz/dragArrow.gif");
	background-repeat: no-repeat;
	background-position: center;
}
.mtTdSol{
	width:50%;
}
.mtTdDropCont, .mtTdBasket {
	padding: 0px;
	margin: 0px;
}
.mtTdBasket .ddBasket, .mtTdBasket .ddBasketCatch {
	min-height:250px;
}
.mtTdHeading {
	text-align: center;
}
.olTableSol {
	width: 100%;
}
.olTdSolHead{
	width: 9em;
}
.ddBasket{
	margin-bottom: 5px;
}
.ddBasketCatch, .ddDropCatch {
	border: 1px solid #27b7d5;
}
.ddBasketCont, .ddDropCont {
	padding: 2px;
}
.ddBasketSol, .ddDropContIfEmpty span {
	display: none;
}
.ddRepArea {
	margin-bottom:5px;
}
.mtLabel p, .mtLabelSol p, .ddLabel p, .ddLabelSol p {
	text-indent: 0;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	font-size: 1.1em;
}
.ddDropTi {
	font-weight: bold;
	background-color: #27b7d5;
	color: white;
	text-align: center;
}
.ddDropContIfEmpty {
	height: 27px;
	background: url("../img/quiz/drop.gif") no-repeat center;
}
.mtTdSol .ddDropContIfEmpty, .olTableSol .ddDropContIfEmpty{
	background: inherit;
}

/*Cadre gris des étiquettes */
.ddLabel, .ddLabelSol {
	text-align: center;
	border: 1px solid Gray;
	background-color: White;
	padding: 2px;
	width: 10em;
	cursor: move;
	margin: 0.1em 0.1em 0.2em 0.1em;
	display:inline-block;
	zoom: 1; /* Hack inline-block pour ie6 & 7*/
	vertical-align: top;
}
.mtLabel, .mtLabelSol {
	display:inline-block;
	zoom: 1; /* Hack inline-block pour ie6 & 7*/
	vertical-align: top;
	padding: 2px;
	margin: 2px;
	border: 1px solid Gray;
	background-color: white;
	cursor: move;
}
.mtLabel span.myTT_a {
	cursor: move;
}
.mtLabelSol, .mtLabelSol span.myTT_a, .ddLabelSol {
	cursor: default;
}

/*Survol des paniers */
.ddBasketDragOver, .ddCatchDragOver {
	background-color: #e0ecec;
}

/*Fin du panier*/
.ddBasketEnd, .ddCatchDragEnd {
	clear: both;
}

/*Titres des catégories et des étiquettes  */
.ddDropTi p, .ddLabel p, .ddLabelSol p {
	margin: 0px;
	text-align: center;
}

/* Si le panier de propositions est vide */
.ddBasketIfEmpty {
	clear: both;
	font-style: italic;
	font-size: 0.9em;
	color: #686868;
	text-align: center;
	padding: 5px 0px;
}

/*Réponse juste*/
.ddLabel_Right, .assmntResult_Right {
	cursor: default;
	padding: 1px;
	border: 2px solid #468847;
}
.ddLabel_Right span.myTT_a, .assmntResult_Right span.myTT_a {
	cursor: default;
}

/*Réponse fausse */
.ddLabel_Wrong, .assmntResult_Wrong {
	cursor: default;
	padding: 1px;
	border: 2px solid #D51921;
}
.ddLabel_Wrong span.myTT_a, .assmntResult_Wrong span.myTT_a {
	cursor: default;
}
.subQuiz{
	padding:0 0 20px 0;
}
.subQuiz_ti{
	border-bottom:1px solid;
}

/* --- TAT ------------------------------------------------------- */
.cloze p{
	line-height: 1.6em;
}
.gapInput{
	border: 1px solid #27b7d5;
	border-radius:3px;
	font-size:0.9em;
}
.gapInput[disabled]{
	color: #27b7d5;
	background-color: #E0ECEC;
}
.gapAnswer{
	border-width: 1px;
	border-style:solid;
	border-radius: 0px 3px 3px 0px;
	border-left:0px;
	background-color: #E0ECEC;
	padding:2px 4px;
}
.assmntResult_0 .gapInput, .assmntResult_0 .exoInput {
	border-color: red;
	color: red;
	border-radius: 3px 0px 0px 3px;
	border-right:0px;
	text-decoration: line-through;
}
.assmntResult_1 .gapInput, .assmntResult_1 .exoInput{
	border-color: green;
	color: green;
}
/* === STOP - QUIZ ========================================================= */

/* === START - article ====================================================== */
a.tooltip_a.info{
	display:inline-block;
	padding:0;
	margin: 0 0 -0.2em 0.5em;
	box-sizing: border-box;
	width: 20px;
	height: 20px; 
	padding-left: 20px;
	overflow: hidden;
	background: url(../img/content/buttons.svg) no-repeat top;
	background-size: 100%;
}
.tooltip{
	background-color: #e0ecec;
	border:2px solid #27b7d5;
}
.tooltip_co{
	padding: 2px 4px;
	
}
.tooltip_ti{
	background-color: #27b7d5;
	min-height:20px;
	color:#ffffff;
	text-align:center;
}
.tooltip_x{
	display:inline-block;
	padding:0;
	margin: 0 ;
	box-sizing: border-box;
	width: 16px;
	height: 16px; 
	padding-left: 16px;
	overflow: hidden;
	background: url(../img/content/buttons.svg) no-repeat top;
	background-size: 100%;
	background-position: 0 -32px;
	position:absolute;
	right:2px;
	top:2px;
}
/* === STOP - article ======================================================= */