@import url('../font/font.css');
@import url('../pwa/font.css');

html {
	font-size: var(--fontSize);
	font-family: var(--fontStyle), sans-serif;
	height: 100%;
}

body {
	height: 100%;
	margin: 0;
	color: var(--contentFG);
	background: var(--contentBG) url(../img/tpl/back-root.png) repeat left; 
	/* Background image from https://subtlepatterns.com/dark-sharp-edges/ */
	/* By Carlos Aguilar (CC-BY-SA 3.0) */

	&.subWin {
		background-image: none;
	}
}

h2{font-size: 1.6em;}
h3{font-size: 1.3em;}
h4{font-size:1.15em;}
h5{font-size:1em;}
h6{font-size:1em;}

code {
	font-size: larger;
}

menu{
    padding: 0;
	margin: 0;
	list-style-type: none;
}

button{
	border: none;
	cursor: pointer;
}

.hidden {
	display: none;
}

.outOfView {
    position: absolute;
    top: -10000px;
    left: -10000px;
}

figcaption {
	margin: 0 0.2em;
	font-style: italic;
}

input[type="text"], select {
    cursor: pointer;
    border-radius: var(--borderRadius);
    border: 1px solid var(--accentLightFG);
    padding-inline: .3em;
	font-size: var(--fontSize);
    font-family: var(--fontStyle);
	height: 23px;
	margin:0;

	&:disabled{
		cursor: default;
    	background-color: var(--accentLightBG);
    	border-color: var(--accentLightBG);
	}
}

input:is([type="radio"], [type="checkbox"]) {
    appearance: none;
    border: none;
    font-size: 1.2em;
    color: var(--accentLightFG);
	cursor: pointer;
	font-family: "fontello";

	&:is([type="radio"])::before {
		content: "\F10C";	
	}

	&:is([type="radio"]):checked::before {
		content: "\F192";
	}

	&:is([type="checkbox"])::before {
		content: "\F096";
	}

	&:is([type="checkbox"]):checked::before {
		content: "\E826";
	}

	&:disabled{
		cursor: default;
	}
}

dl{
	dt{
		color: var(--accentLightFG);
		font-weight: bold;
	}

	dd{
		margin-inline-start: 15px;
	}
}

*:focus{
	outline:none;
}

a:focus,
input:focus,
video:focus,
button:focus,
[type="checkbox"]:checked:focus+label:before,
[type="checkbox"]:not(:checked):focus+label:before {
	border-color: transparent;
	outline: 2px dotted rgb(78, 188, 225);
	transition: outline .25s ease-in-out;
}

/*=== DEFAULT LAYOUT - GENERAL ===============================================*/
body:is(.default, .sco) #root{
	max-width: calc(var(--menuWidth) + var(--maxWidth));
	margin:0 auto;
}

body:is(.default, .sco) #header{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	
	@media (max-width: 800px){
		padding-inline: 0.8em 4.5em;
	}

	h1 {
		margin: 0;
		text-align: end;
		color: var(--footerFG);
		height: 70px;
		line-height: 70px;
		overflow: hidden;

		@media (max-width: 800px){
			font-size: 1.5em;
			height: 60px;
            line-height: 60px;
		}

		span {
			display: inline-block;
			line-height: 1.2;
			vertical-align: middle;
		}
	}
}

.default #header{
	padding-inline: var(--menuWidth) 60px;

	h1 {
		@media (max-width: 800px){
			text-align: start;
		}
	}
}

/*=== DEFAULT LAYOUT - FLEXBOX ===============================================*/

/*--- ROOT -------------------------------------------------------------------*/
#root {
	height: 100%;
	display: flex;
	flex-flow: column;
	position: relative;

	#header {
		flex: 0 0 auto;
	}

	#main {
		flex: 1 1 auto;
		z-index: 1;
		display: flex;

		#document{
			flex: 1 1 auto;
			display: flex;
			position: relative;
		}
	}

	#footer {
		flex: 0 0 28px;
	}
}

/*--- MAIN -------------------------------------------------------------------*/
body:is(.default, .sco) #main {
	position: relative;
	overflow: hidden;

	@media (max-width:800px) {
		flex-flow: column;
	}
}

/*--- TOOLBOX ----------------------------------------------------------------*/
#toolbox{
	display: flex;
	flex-flow: column;
	order:1;

	.default &{
		position: relative;
		flex: 0 0 var(--menuWidth);
	}

	.default.scorm &{
		flex: 0 0 calc(var(--menuWidth) + 30px);
	}

	#tools{
		order: 1;
		flex: 0 0 70px;
	}

	.schCmds{
		order: 2;
		flex: 0 0 auto;
	}

	#menu{
		order: 2;
		flex: 1 1 auto;

		.schActive & {
			order: 3;
		}
	}
}

@media (max-width: 800px){
	.default #toolbox, .default.scorm #toolbox {
		flex:0;

		#tools{
			flex:0;
		}

		#menu, #tools nav, #tools > span, #tools .dysBtnParent, .schCmds{
			display: none;
		}
	}

	.default.menuOpen #toolbox{
		position: fixed;
        top: 60px;
        bottom: 0;
        z-index: 3;
        width: 100%;

		#menu{
			display: flex;
			padding: 0;
		}

		#tools{
			flex: 0 0 50px;
		}

		#tools nav, #tools > span, #tools .dysBtnParent{
			display: contents;
		}

		.schCmds{
			display: block;
		}
	}
}

@media (min-width: 800px){
	.default .zen_true #toolbox {
		display: none;
	}
}

/*--- DOCUMENT ---------------------------------------------------------------*/
body:is(.default, .sco) #document {
	order: 2;
	margin-top:70px;

	@media (max-width:800px){
		order: 1;
		margin-top: 60px;
		flex-direction: column;
	}
}

.default .zen_true #document {
	order: 1;
}

#content{
	flex: 1 1 auto;
	border-radius:0 var(--borderRadius) var(--borderRadius) 0;

	.default &{
		position:relative;
		background: var(--contentBG);
	}
	
	[dir="rtl"] &{
		border-radius:var(--borderRadius) 0 0 var(--borderRadius);
	}

	@media (max-width:800px){
		border-radius: 0;
	}
}

.scroller{ 
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1em 2em 3em;
	overflow: auto;
	-webkit-overflow-scrolling: touch; /* for iOS */
	scrollbar-color: var(--accentDarkBG) var(--accentLightBG);
}

/*=== TOOLS MENU ============================================*/
body:is(.default, .sco) #tools {
	display: flex;
	align-items: center;
	justify-content: center;
	gap:1em;
	padding-inline:.5em;

	nav, menu, ul, li, .lbl, > span {
		display: contents;
	}

	a, button:not(.turnOn, .turnOff), span.item{
		flex: 0 1 50px;
		height: 50px; 
		overflow: hidden;
		background-color: var(--accentDarkBGalpha);
		border-radius: var(--borderRadius);
		box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
		transition: all 0.2s ease-out 0s;
		color: var(--accentDarkFG);  
		font-size: 2em;
		line-height: 50px;
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
		text-decoration:none;
		text-align: center;

		@media (max-width:800px){
			flex: 0 0 40px;
			height: 40px;
			line-height: 40px;
		}

		&:hover{
			background-color: var(--accentDarkBG);
		}

		&::before{
			font-family: "fontello";
		}

		&:not(.dysBtnToggle) span{
			position: absolute;
			left:-9999px;
		}

		&.menuBtn{
			@media(min-width:800px){
				display: none;
			}

			@media(max-width:800px){
				position: fixed;
                top: .7rem;
                right: .7rem;
                width: 40px;
			}
		}
	}
}

.default #tools{
	@media (max-width:800px){
		background-color: var(--accentLightBG);
	}
}

.default #tools li.home .item::before {content: "\e80a";}
.default #tools li.module .item::before{content: "\e80c";}
.default #tools li.tools .item::before{content: "\e80b";}
.default #tools button.menuBtn::before{content: "\e825";}
.emeraude.scorm #tools a.btnSendResult::before{content:"\e820";}

.default #tools .anc_yes .item, .default.menuOpen #tools button.menuBtn{
	background-color:var(--accentDarkBG);
}

/*=== DEFAULT LAYOUT - MAIN MENU =============================================*/
/*--- MENU -------------------------------------------------------------------*/
#menu {
	overflow: hidden;
	display: flex;
	flex-flow: column;
	background-color: var(--accentLightBG);
	padding: 15px 0;

	.mnuSrlUpFra,
	.mnuSrlDwnFra {
		flex: 0 0 auto;
		text-align: center;

		&.btnOff a {
			display:none;
		}

		a {
			display: inline-block;
			text-decoration: none;
			box-sizing: border-box;
			width: calc(100% - 20px);
			height: 20px;
			line-height: 20px;
			margin-block-end: 5px;
			background-color: var(--accentDarkBGalpha);
			border-radius: var(--borderRadius);
			box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
			color: var(--accentDarkFG);
			transition:all 0.2s ease-out 0s;
			text-shadow:0 1px 3px rgba(0, 0, 0, 0.25);

			@media (max-width:800px){
				height: 30px;
				line-height: 30px;
			}

			&:hover {
				background-color: var(--accentDarkBG);
			}

			&::before { 
				font-family: "fontello";
				font-size: 1.3em;
			}

			&.mnuSrlDwnBtn::before{
				content:"\e80f";
			}

			&.mnuSrlUpBtn::before{
				content:"\e81f";
			}

			span{
				position:absolute;
				left:-9999px;
			}
		} 
	}

	.mnuSrlUpFra {
		order: 1;
	}

	ul{
		list-style-type: none;
		margin:0;
	}

	ul.mnu {
		order: 2;
		flex: 1 1 auto;
		padding-inline-start: .7em;
		position: relative; 

		li.sel_yes > .lbl {
			background-color: var(--contentBG);
			z-index: 1;
			border-radius:var(--borderRadius) 0 0 var(--borderRadius);
			box-shadow: 0 1px 4px rgba(115, 115, 155, 0.5);
			color: var(--contentEmp);
		}

		.lbl{
			padding:5px;
			gap:5px;
			position:relative;
			display: flex;
			align-items: baseline;

			&::before{
				font-family: "fontello";
    			text-align: center; 
				flex: 0 0 20px;	
			}
		}
	}

	ul.sub{
		padding-inline-start:1em;
	}

	.mnuSrlDwnFra {
		order: 3;
	}
}

#menu .mnu .tgle_c, 
#menu .mnu .tgle_o {
    box-sizing: border-box;
	text-align:center;
	flex: 0 0 20px;
	font-family: "fontello";

	span {
		display: none;
	}
}

#menu .mnu .tgle_o::before {
    content: "\e80f";
}
#menu .mnu .tgle_c::before {
    content: "\e810";

	[dir="rtl"] & {
		content: "\e816";
	}
}


#menu .mnu a{
	color:var(--accentLightFG);
	text-decoration: none;

	&:hover{
		color: var(--contentEmp);
	}
}


/*=== DEFAULT LAYOUT - NAVIGATION BUTTONS ====================================*/
#navigation {
    align-self: flex-end;
    flex: 0 0 60px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap:1em;

	nav, ul, li, menu{
		display: contents;
	}

	menu{
		@media (max-width:800px){
			display: none;
		}
	}

	a, span.btnNav, button {
		flex: 0 0 40px;
		height: 40px;
		width: 40px;

		span {
			position: absolute;
			left:-9999px;
		}
	}

	a, button{	
		margin-block-end: 2px;
		background-color: var(--accentDarkBGalpha);
		border-radius: var(--borderRadius);
		box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
		text-align: center;
		transition:all 0.2s ease-out 0s;
		color: var(--accentDarkFG);
		text-decoration:none;
		font-size: 1.8em;
		line-height: 40px;
		text-shadow:0 1px 3px rgba(0, 0, 0, 0.25);

		&:hover {
			background-color:var(--accentDarkBG);
		}

		&::before{
			font-family: "fontello";
		}
	}

	@media (max-width:800px){
		flex-direction: row;
		padding-inline: .8em;
        width: 100%;
        box-sizing: border-box;
		justify-content: flex-end;
	}
}

#navigation a.btnNav.prev::before, #navigation a.btnNav.prevEval::before{content: "\e816";}
#navigation a.btnNav.next::before, #navigation a.btnNav.nextEval::before {content: "\e810";}
#navigation button.zenBtnToggle::before {content: "\e814";}
.zen_true #navigation button.zenBtnToggle::before {content: "\e815";}

/* PROGRESSBAR EMERAUDE*/
#progressBar {
	position: absolute;
	inset-inline-start: 1em;
	right: calc(70px + 1em);
	height: 30px;
	background-color: var(--accentLightBG);
  	box-shadow: 0 var(--boxShadow) 0 var(--accentLightFG);
	border-radius: var(--borderRadius);
	bottom: .5em;

	@media (max-width:800px){
		position:relative;
		inset-inline-start:auto;
		bottom:auto;
		right:auto;
		flex: 2 1 auto;
		order: -1;
	}

	.progressCursor {
		position: absolute;
		background-color: var(--accentDarkBGalpha);
		border-radius: 0.5em;
		border: 3px solid var(--accentLightBG);
		top: 0;
		bottom: 0;
	}
}

/*=== HOME LAYOUT - GENERAL ==================================================*/
.home section.hBk {
	margin: 15% 0 0 15%;
	padding: 0 10px 0 10px;
	text-align: center;

	@media (max-width:800px) {
		margin-inline: 5%;
	}

	.hBk_ti {
		color: var(--footerFG);
		font-size: 3em;
		margin: 0;
		position:relative;
		z-index:1;
	}

	.hBk_co{
		.auth{
			font-size:2em;
			color: var(--accentDarkBG);
			position:relative;
			z-index:1;

			ul {
				list-style: none;
			}
		}

		.version, 
		.date{
			font-size: 1.5em;
			display: inline-block;
			color: var(--footerFG);
			position:relative;
			z-index:1;
		}

		.version{
			margin-inline-end:15px;
		}

		.logo {
			border-radius: var(--borderRadius);
			top:50%;
			transform: translateY(-50%);
			box-shadow: 0 var(--boxShadow) 0 #999999;
			inset-inline-start: 5%;
			line-height: 0;
			position: absolute;
			opacity: .5;

			@media (max-width: 800px) {
				box-shadow: none;
				inset-inline-end: 5%;
			}

			img {
				border-radius: var(--borderRadius);
				max-width:100% !important;
				height:auto;
			}
		}
	}
}

/*=== HOME LAYOUT - FLEXBOX ==================================================*/
.home #root {
	overflow:auto;

	#main {
		flex-direction: column;

		#document {
			flex-flow: column;
			height: 100%;
		}

		#toolbox{
			display: none;
		}
	}

	#footer{
		max-width: calc(var(--menuWidth) + var(--maxWidth));
		margin:0 auto;
		width: 100%;
	}
}

/*=== HOME LAYOUT - NAVIGATION BUTTONS =======================================*/
.home #navigation {
	flex: 0 0 auto;
	max-width: calc(var(--menuWidth) + var(--maxWidth));
    margin: 0 auto 5em;
    width: 100%;
	z-index: 1;
	align-items: flex-end;
    padding: 0.5em 50px;
    box-sizing: border-box;

	@media (max-width:800px){
		flex-direction: column;
	}

	> span{
		display: contents;
	}

	a:not(.btnScormQuit){
		padding: 10px;
		font-size: 1.4em;
		color: #323232;
		width:auto;
		height:auto;

		&:hover{
			color: #fff;
		}

		span{
			position: static;
		}
	}
}
/*=== LAYOUT - ACCESSIBILITY MENU  ===========================================*/
#accessibility {
	position: absolute;
	top: 0;
	right:0;
	font-size: 60%;
	list-style-type: none;
	padding: 0;
	margin:0;
	z-index: 2;

	@media (max-width:800px) {
		display: none;
	}

	& li {
		display: inline-block;
		margin: 0 1em;
	}

	& a {
		opacity: 0;
		color: var(--accentDarkFG);
		text-decoration: none;

		&:hover{
			opacity: 0.5;
		}

		&:focus{
			opacity: 1;
		}
	}

	.subWin & a{
		color: var(--contentEmp);
	}
}

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

/*--- CONTAINER --------------------------------------------------------------*/
.subWindow_over {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: white;
	opacity: 0.6;
}

.subWindow_win, .tooltip{
	border: 1px solid var(--accentDarkBGalpha);
    border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
}
.tooltip{
	background-color: var(--accentLightBG);
}

.subWindow_win {
	top: 3em;
	bottom: 3em;
    left: 3em;
    right: 3em;
	display: flex;
    flex-flow: column nowrap;
    max-width: var(--maxWidth);
    margin: 0 auto;

	@media (max-width: 500px) { 
		top: 1em;
		bottom: 1em;
		left: 1em;
		right: 1em;
	}
}

.subWindow_ti, .tooltip_ti{
	background-color: var(--accentDarkBG);
    border-radius: var(--borderRadius) var(--borderRadius) 0 0;
    color: #fff;
	line-height: 1.5em;
}

.subWindow_ti {
    flex: 0 0 1.5em;
    padding-inline-start: 0.5em;
	font-weight: bold;
}

.tooltip_ti{
	min-height:1.5em;
	text-align:center;
}

.subWindow_co {
	flex: 1 1 auto;
	position: relative;
}

.tooltip_co{
	padding: 2px 4px;
}

.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, a.tooltip_x {
    text-decoration: none;
	position: absolute;
	top:0;
	inset-inline-end: 2px;

	&::before {
		color: var(--accentDarkFG);
		content: "\e829";
		font-family: "fontello";
		font-size: 1.4em;
		font-weight: normal;
	}

	> span {
		display: none;
	}
}

/*--- subWin - FLEXBOX --------------------------------------------------*/
.subWin #root{
	#main {
		flex-flow: column;

		#document {
			flex-flow: column;

			#content {
				flex: 1 1 auto;
				position: relative;
				padding: 0 0.5em;
				box-shadow: 0 0 4px rgba(115, 115, 155, 0.5);
				z-index: 1;
			}

			#navigation {
				background-color: var(--accentLightBG);
				position: relative;
				padding: 0 1em;
				flex-direction: row;
				align-self: stretch;
				justify-content: flex-end;

				.evalCounter {
					color: var(--accentDarkBG);
					font-size: 2em;
					flex: 2 1 auto;
					text-align: left;
				}
			}
		}
	}

	#footer{
		flex: 0 0 auto;
	}
}

/* === START - article ====================================================== */
body:is(.default, .sco) section.hBk > h2.hBk_ti {
    display: flex;
	gap:.5em;
	align-items: baseline;

	&::before {
		font-family: "fontello";
		font-size: 1.3em;
		font-weight: normal;
	}
}

section.expUcDiv{
    padding-inline-start: .8em;
}

.zoom a.resLnk, a.tooltip_a.info {
	background-color: var(--accentDarkBGalpha);
    border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
	color: var(--accentDarkFG);
	line-height: 24px;
    box-sizing: border-box;
	height: 24px;
    margin: 0 0.2em;
    overflow: hidden;
    transition: all 0.2s ease-out 0s;    
	text-decoration: none;

	&:hover{
		background-color:var(--accentDarkBG);
	}
}

.zoom a.resLnk{
	display: inline-flex;
	gap:.5em;
	padding-inline: .5em;

	&::before{
		font-family: "fontello"; 
		content: "\e80d";
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	}
}

a.tooltip_a.info{
	font-family: "fontello";
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	width: 24px;
	display: inline-block;
	vertical-align:bottom;
	text-align: center;

	&::before{
		content:"\f129";
	}

	span {
		position: absolute;
		left: -9999px;
	}
}

.cc-button img {
	vertical-align: middle;
}


/* Nomenclature */
.ttnome{
	width: 100%
}

.ttnome td{
	text-align: center;
	background-color: var(--accentDarkBGalpha);
}

.ttnome.equ td:last-of-type{
	white-space: normal;
}

.ttnome tr:first-child td{
	font-style: italic;
}

section.nome table{
	border-collapse: collapse;
	width: 100%;
}

section.nome table th,
section.nome table td{
	text-align: center;
	padding: 0.5em 1em;
	border-bottom: 1px solid black
}

section.nome table th{
	padding: 5px 10px;
}
section.nome table p {
	margin: 0.1em 0.2em;
}

section.nome table td:last-of-type{
	white-space: nowrap
}


/* === STOP - article ======================================================= */

/* === CodeMirror =========================================================== */
.CodeMirror-static {
	margin-inline-start: 40px;
}

.CodeMirror-static pre {
	/* Reset some styles that the rest of the page might have set */
	border-radius: 0;
	border-width: 0;
	background: transparent;
	font-family: inherit;
	font-size: inherit;
	margin: 0;
	white-space: pre;
	word-wrap: normal;
	line-height: inherit;
	color: inherit;
	z-index: 2;
	position: relative;
	overflow: visible;
	border-inline-end: 30px solid transparent;
	width: fit-content;
	font-family: monospace;
	tab-size: 2;
}

.CodeMirror-line {
	position: relative;
	min-height: 16px;
}

.CodeMirror-linenumber {
	position: absolute;
	top: 0;
	width: 30px;
	padding-block: 0;
	padding-inline: 5px 3px;
	min-width: 20px;
	min-height: 16px;
	text-align: end;
	color: #999;
	background-color: #f7f7f7;
	font-size: 0.8em;
	inset-inline-start: -40px;
}

.cm-keyword {color: #708;}
.cm-atom {color: #219;}
.cm-number {color: #164;}
.cm-def {color: #00f;}
.cm-variable {color: black;}
.cm-variable-2 {color: #05a;}
.cm-variable-3 {color: #085;}
.cm-property {color: black;}
.cm-operator {color: black;}
.cm-comment {color: #a50;}
.cm-string {color: #a11;}
.cm-string-2 {color: #f50;}
.cm-meta {color: #555;}
.cm-error {color: #f00;}
.cm-qualifier {color: #555;}
.cm-builtin {color: #30a;}
.cm-bracket {color: #997;}
.cm-tag {color: #170;}
.cm-attribute {color: #00c;}
.cm-header {color: blue;}
.cm-quote {color: #090;}
.cm-hr {color: #999;}
.cm-link {color: #00c;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header,.cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-invalidchar {color: #f00;}

/* === STOP - CodeMirror ==================================================== */

/* === START - scCode ======================================================= */
.scCodeActive {
	border: 1px solid silver;
	background-color: var(--contentBG);
	border-radius: var(--borderRadius);
}

.scCodeCtrl {
	background-color:var(--accentLightBG);
	border-bottom: 1px solid silver;
	border-radius: var(--borderRadius) var(--borderRadius) 0 0;
	padding: 0;
	height: 19px;
	text-align: end;
	z-index: 2;
	position: relative;
}

.scCodeActive .CodeMirror-static {
	transition: margin-inline-start 200ms ease-in;
}

.scCodeLineNums-invisible .CodeMirror-linenumber {
	display: none;
}

.scCodeLineNums-invisible .CodeMirror-static {
	margin-inline-start: 2px;
}

.scCodeRaw-invisible .scCodeRaw,
.scCodeRaw-visible .scCodeCode {
	display: block;
}

.scCodeActive .scCodeRaw,
.scCodeActive .scCodeCode {
	transition: opacity 1s ease-out;
	opacity: 0; 
	height: 0;
	overflow: hidden;
}

.scCodeRaw-invisible .scCodeCode,
.scCodeRaw-visible .scCodeRaw {
	opacity: 1;
	height: auto;
	overflow: auto;
}

.scCodeCtrl a {
	display: inline-block;
	width: 20px;
	height: 19px;
	background-image: url("../img/tpl/code.svg");
	background-repeat: no-repeat;
	background-position: -0px -0px;
	margin: 0 1px;

	&:hover {
		opacity: 0.8;
	}

	span {
		display: none;
	}

	&.scCodeBtnLineNums {
		background-position: -20px -20px;
	}

	.scCodeLineNums-invisible &.scCodeBtnLineNums,
	.scCodePlain &.scCodeBtnRaw  {
		background-position: 0 -20px;
	}

	&.scCodeBtnRaw {
		background-position: 0 -40px;
	}

	&.scCodeBtnWrap {
		background-position: 0 -80px;
	}
	
	.scCodeRaw-visible &:is(.scCodeBtnLineNums, .scCodeBtnWrap){
		visibility: hidden;
	}

	.scCodeRaw-visible &:is(.scCodeBtnRaw, .scCodeBtnWrap) {
		background-color: silver;
	}

	.scCodeRaw-visible.scCodePlain &.scCodeBtnRaw {
		background-position: -20px -20px;
		background-color: inherit;
	}
}

.scCodeCopyMsg {
	position: absolute;
	display: block;
	height: 0;
	z-index: 1;
	opacity: 0.8;
	top: 19px;
	width: 100%;
	background-color: #f7ed99;
	border-bottom: 1px solid #e4ca8c;
	color: #7e652a;
	text-align: center;
	overflow: hidden;
	transition: height 200ms linear;
	inset-inline-start: 0;

	&.scCodeVisible {
		height: 18px;
	}
}

/* === STOP - scCode ======================================================== */

/* === START - SEARCH ======================================================= */
.mnu_sch>.capt,
.mnu_tgle_o,
.mnu_tgle_c {
	color: var(--accentLightFG);
}

.schCmds {
	position: relative;
	background-color:var(--accentLightBG);
}

.schLabel {
	position: absolute;
	left: -9999px;
} 

.schBtnPropose:hover,
.schBtnPropose:focus {
	background-color: #F6F6F6;
}

.schPropose {
	position: absolute;
    top: 45px;
    width: 134px;
    padding: 5px 2px;
    border-color: var(--accentLightFG);
    border-style: none solid solid;
    border-width: 1px;
    background-color: white;
    z-index: 100;
    font-size: 0.7em;
    box-shadow: 0 4px 4px #666;
    inset-inline-start: 56px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -23px;

	@media (max-width:800px){
		top: 45px;
	}

	a:hover {
		text-decoration: none;
	}
}

.schBtnPropose {
	display: block;
	text-decoration: none;
	color: var(--accentLightFG);
	font-style: italic;
	padding: 0 2px;
	margin: 1px;
}

.schBtnPropose:hover,
.schBtnPropose:active,
.schBtnPropose:focus {
	outline: none;
	text-decoration: none;
	background-color: var(--accentLightFG);
	color: var(--accentDarkFG);
	border-radius: 2px; 
}

.schProposeExceeded {
	display: block;
	color: var(--accentLightFG);
	font-style: italic;
	padding: 2px 3px;
}

.schProp_no {
	display: none;
}

.schDisplay_off .schResults {
	display: none;
}

form.schForm {
	text-align: center;
	margin-block: 15px;
}

input.schInput {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: var(--accentLightFG);
    font-size: 1.1em;
    margin: auto 0;
    width: 140px;
	margin-inline-end: 0.5em;
	font-family: var(--fontStyle);
	box-sizing: border-box;

	&::placeholder{
		text-transform: uppercase;
		color: var(--accentLightFG);
	}

	.schCmds_act & {
		border: 1px solid var(--accentLightFG);
		
	}
}

input.schBtnLaunch {
    background: rgba(0, 0, 0, 0) url("../img/tpl/find.svg") no-repeat scroll left center / 100% auto;
    border: none;
    cursor: pointer;
	color: transparent;
    height: 40px;
    width: 38px;
	padding: 0;
}



.schResults .schNoRes {
	text-align: center;
	font-size: 1.5em;
	margin-top: 18px;
}

.schResults .mnu_sch {
	display:block;
}
.schResults .schPgeBtn {
	width: calc(100% - 10px);
    text-align: left;
}

.schResults .mnu_sch::after,
.schResults .schPgeBtn::after{
	color:#f1c40f;
	font-family:"fontello";
	float:right;
	text-shadow:0 1px 0 var(--accentDarkBG);
	font-weight: normal;
}

.schResults .schPgeRank_1 .mnu_sch::after,
.schResults .schPgeRank_1 .schPgeBtn::after{ 
	content:"\e800";
}

.schResults .schPgeRank_2 .mnu_sch::after,
.schResults .schPgeRank_2 .schPgeBtn::after {
	content:"\e800 \e800";
}

.schResults .schPgeRank_3 .mnu_sch::after,
.schResults .schPgeRank_3 .schPgeBtn::after {
	content:"\e800 \e800 \e800";
}

.schResults .schPgeRank_4 .mnu_sch::after,
.schResults .schPgeRank_4 .schPgeBtn::after {
	content:"\e800 \e800 \e800 \e800";
}

.schResults .schPgeRank_5 .mnu_sch::after,
.schResults .schPgeRank_5 .schPgeBtn::after {
	content:"\e800 \e800 \e800 \e800 \e800";
}

.schResults .schPgeRank_6 .mnu_sch::after,
.schResults .schPgeRank_6 .schPgeBtn::after {
	content:"\e800 \e800 \e800 \e800 \e800 \e800";
}

.schResults .schPgeRank_7 .mnu_sch::after,
.schResults .schPgeRank_7 .schPgeBtn::after {
	content:"\e800 \e800 \e800 \e800 \e800 \e800 \e800";
}

.schResults .schPgeRank_8 .mnu_sch::after,
.schResults .schPgeRank_8 .schPgeBtn::after {
	content:"\e800 \e800 \e800 \e800 \e800 \e800 \e800 \e800";
}

.schResults .schPgeRank_9 .mnu_sch::after,
.schResults .schPgeRank_9 .schPgeBtn::after {
	content:"\e800 \e800 \e800 \e800 \e800 \e800 \e800 \e800 \e800";
}

.schResults span.schPgeRank {
	position: absolute;
	left: -10000px;
}

.schResFrame {
	position: fixed;
	left: 50%;
	bottom: -80px;
	max-width: 700px;
	width: 100%;
	transform: translate(-50%);
	color: var(--accentLightFG);
	background-color: var(--accentLightBG);
    border-radius: var(--borderRadius) var(--borderRadius) 0 0;
	border-width: 1px;
	border-style: solid solid none;
	border-color: var(--accentLightFG);
	height: 50px;
	transition: all 0.4s ease-out;
	z-index: 91;
	box-shadow: 0 0 4px rgba(115, 115, 155, 0.5);
	padding-top: 20px;
}

.schDisplay_on .schResFrame {
	bottom: 0;
}

.schDisplayList_on .schResFrame {
	height: 530px;
}

.schResFrame .outOfView {
    font-size: .9em;
    position: absolute;
    left: 5px;
    top: 0;
    margin-block: .3rem 0;
}

.schResList {
	position: absolute;
	bottom: 47px;
	left: 5px;
	top: 25px;
	right: 5px;
	overflow: auto;
    padding: 5px;
    background-color: var(--contentBG);
	display: none;
}

.schDisplayList_on .schResList {
	display: block;
}

.schResults a {
	margin: 0 5px;
}

.schResults a.schParentBtn {
	color: #666;
	font-style: italic;
	font-size: 95%;
}

.schResults li.mnu_sel_yes a.schParentBtn {
	font-weight: bold;
}

.schBtnPrvHit,
.schBtnNxtHit,
.schBtnTgle {
	position: absolute;
	width: 26px;
	height: 27px;	
	z-index: 1;
	color: var(--accentLightFG);
	text-decoration: none;
	font-family: "fontello";
	font-size: 2.2em;
    line-height: 27px;
	text-align: center;
}

.schBtnNxtHit {
	top: 10px;
	inset-inline-end: 5px;
}

.schBtnNxtHit::before{
	content:"\E823";
}

.schBtnPrvHit {
	top: 10px;
	inset-inline-start: 0;
}

.schBtnPrvHit::before{
	content:"\E824";
}

.schBtnTgle {
	bottom: 8px;
	inset-inline-start: 6px;	
}

.schBtnTgle::before{
	content:"\E825";
}

.schBtnPrvHit span,
.schBtnNxtHit span,
.schBtnTgle span {
	display: none;
}

.schBtnReset {
    display: block;
    position: absolute;
    text-decoration: none;
    top: 0;
	inset-inline-end:0;
}

.schBtnReset:hover::before{
	color:var(--accentDarkBG);
}

.schBtnReset span {
	display: none;
}

.schBtnReset::before {
    content: "\e829";
    font-family: "fontello";
    font-size: 1.4em;
	color:var(--accentDarkBGalpha);
}

.schHitBox,
.schResBox,
.schPageBox {
	text-align: center;
	margin: 4px 0 0 40px;
}

.schHitBox {
	position: absolute;
	bottom: 27px;
	left: 0;
	right: 0;
}

.schPageBox {
	position: absolute;
	bottom: 6px;
	left: 0;
	right: 0;
	margin-inline-start: 0;
	z-index: 0;
}

.schDisplay_none .schResBox {
	text-align: center;
	margin-block: 20px 6px;
	margin-inline: 200px 20px;
}

.schDisplay_none .schHitBox {
	display: none;
}

.schBtnAct_no,
.schBtnHitAct_no {
	display: none;
}

.schDisplay_none .schBtnPrvHit,
.schDisplay_none .schBtnNxtHit {
	display: none;
}

.schResults a.schPgeBtn,
.schResults a.mnu_lnk {
	margin: 2px;
	clear: both;
	display: block;
	color: var(--accentLightFG);
	text-decoration:none;
}

.schResults li.mnu_sel_yes .schPgeBtn,
.schResults .mnu_sel_yes .mnu_lnk {
	font-weight: bold;
	cursor: default;
}

.schResults .mnu_sch_no a.mnu_lnk {
	color: #aaa;
	cursor: default;
	text-decoration: none;
}

.schResults .mnu_sch_no a.mnu_lnk:hover {
	text-decoration: none;
}

a.schParent_tgle_c,
a.schParent_tgle_o,
.schResults a.mnu_tgle_o,
.schResults a.mnu_tgle_c {
	position: absolute;
	width: 8px;
	height: 8px;
	font-family: "fontello";
	text-decoration: none;
    font-size: .8em;
    line-height: 8px;
    text-align: center;
	color:var(--accentLightFG);
}

.schResults a.mnu_tgle_o,
.schResults a.mnu_tgle_c {
	margin-top: -14px;
	margin-inline-start: -16px;
}

a.schParent_tgle_c,
a.schParent_tgle_o {
	margin-inline-start: -18px;
	top: 5px;
}

a.schParent_tgle_c span,
a.schParent_tgle_o span,
.schResults a.mnu_tgle_o span,
.schResults a.mnu_tgle_c span {
	display: none;
}

a.schParent_tgle_o::before,
.schResults a.mnu_tgle_o::before {
	content:"\e810";
}

a.schParent_tgle_c::before, 
.schResults a.mnu_tgle_c::before {
	content:"\e80f";
}

.schResults .mnu_sch_no a.mnu_tgle_c,
.schResults .mnu_sch_no a.mnu_tgle_o {
	opacity:.8;
}

.schResListSrl ul.mnu_root {
	padding: 0;
	padding-inline-start: 20px;
}

.schResListSrl li.mnu_b {
	list-style-type: none;
	margin: 0;
}

.schResListSrl ul {
	color: var(--accentLightFG);
	margin: 0;
	list-style: disc;
	padding-inline-start: 13px;
	list-style-position: outside;
}

.schResListSrl ul.schParentList {
	list-style-type: none;
}

.schResListSrl ul.schParentList_c {
	display: none;
}

.schResListSrl ul.schParentList_o {
	display: block;
}

li.schPgeBk {
	position: relative;
}

.schResults .schPgeBk .schPgeBtn:hover,
.schResults .mnu_sch_yes .mnu_lnk:hover {
	color: var(--accentLightFG);
	text-decoration: underline;
}

.schResults .mnu_sel_yes .mnu_lnk:hover {
	text-decoration: none;
}

.schResCnt,
.schHitCnt {
	display: inline-block;
	min-width: 40px;
	text-align: center;
}

.schDisplay_none .schResCnt,
.schDisplay_one .schResCnt {
	display: none;
}

.schHit {
	background-color: var(--accentDarkBG);
    color: var(--accentDarkFG);
	border-radius: 3px; 
}

.schHit_current {
	background-color: var(--contentEmp);
	color: var(--accentDarkFG);
	border-radius: 3px;
	box-shadow: 0 0 5px 0 var(--contentFG);
}

.schTerm {
	font-weight: bold;
}

.schTerm em {
	font-weight: normal;
}

.schDisplay_on #menu ul.mnu_root .mnu_sch_no>a:hover {
	text-decoration: none;
}

.schDisplay_on #menu ul.mnu_root .mnu_sch_no>a.mnu_lnk {
	color: #BBB;
	cursor: default;
}

.tplSchBox {
	position: relative;
	z-index: 2;
}

/* === STOP - SEARCH ======================================================== */

/* === START - FOOTER ======================================================= */
#footer {
	box-sizing: border-box;
	display: flex;
    align-items: center;
    padding-inline:1em;
	gap: 0.5em;

	.legalInfo {
		flex: 2 1 auto;
		color:var(--footerFG);
		font-size:0.9em;
	}

	a, .op_txt_ul{
		color: var(--footerFG);
		font-size: .9em;
	}
}
/* === STOP - FOOTER ======================================================== */

/* === START - BALISE PEDAGOGIQUE =========================================== */
.resInFlow {
	text-align: center;
	margin: .7em;
	min-width: 300px;

	&.imageDesc {
    	position: relative;
    	padding-inline: 2em;

		.map_base {
			margin: 0 auto;
		}
	}

	.resInFlow_ti {
		background-color: var(--accentLightBG);
		padding: .5em .2em;
		border-radius: var(--borderRadius);
		position: relative;
		max-width: 630px;
		margin: .3em auto;
		box-sizing: border-box;
		min-height: 32px;

		&:has(> div > a.tooltip_a.info) {
			padding-inline-end: 2.5em;
		}

		a.tooltip_a.info {
			position: absolute;
			right: .1em;
			top: .25em;
		}
	}
}

.imgPvCap {
    position: relative;
    min-height: 32px;
    padding: .5em .2em;

	&:has(> div > a.tooltip_a.info) {
		padding-inline-end: 2.5em;

		a.tooltip_a.info {
			position: absolute;
			right: .1em;
			top: .25em;
		}
	}
}



.cbk-closed > a {
	justify-content: center;
	text-decoration: none;
	color: var(--accentLightFG);
	display: flex;
	gap:5px;

	&::before{
		font-style: normal;
		font-family:"fontello";
	}

	&:is(.iBk_closed)::before {
		content: "\e81d ";
	}

	&:is(.iBk_open)::before {
		content: "\e81e ";
	}
}

.resInFlow_ti .bkBase{
	margin-top: 10px;
}

.resInFlow_ti .desc {
	text-align: start;
}

.listing {
	margin: 10px;
}

/* BALISES PEDAGOGIQUES */
.pBk_ti, .cBk_ti {
	font-size: 1.2em;
	margin-bottom: 0.2em;
	color:var(--pBkOthers);
}

.pBk_co, .cBk_co {
	background-color:var(--pBkOthersLight);
	padding: 0.1em .8em;
	border-radius: var(--borderRadius);
	box-shadow: 0 var(--boxShadow) 0 var(--pBkOthers);
	margin-bottom: .5em;
}

.cBk_co > *:first-child > h5 {
    margin-top: 0;
}

/* Information */
.iBk {
    margin-block: 1em;
}
.iBk_ti {
	font-size: 1.2em;
	margin-bottom: -10px;
	line-height: 40px;
	color:var(--pBkOthers);
}

/* Important */
.warning .pBk_co{
	background-color:var(--pBkWarningLight);
	box-shadow: 0 var(--boxShadow) 0 var(--pBkWarning);
}
.warning .pBk_ti{
	color:var(--pBkWarning);
}

/* Fondamental */
.basic .pBk_co {
    background-color:var(--pBkBasicLight);
	box-shadow: 0 var(--boxShadow) 0 var(--pBkBasic);
}
.basic .pBk_ti {
    color: var(--pBkBasic);
}

/* Objectif */
.obj .cBk_ti::before{
	content:"\e811";
	font-family: "fontello";
	font-family:"fontello";
	font-weight:normal;
	margin-inline-end: 5px;
}

/* Complément */
.cbk-closed .cBk_ti a,
.cbk-closed .pBk_ti a, 
.cbk-closeable .pBk_ti a {
	text-decoration: none;
	color: var(--pBkOthers);
}

.cbk-closed .cBk_closed::before,
.cbk-closeable .cBk_closed::before{
	font-family:"fontello";
	content:"\e81d";
}
.cbk-closed .cBk_open::before,
.cbk-closeable .cBk_open::before{
	font-family:"fontello";
	content:"\e81e";
}

.pBk_ti > *, .cBk_ti > a {
    display: flex;
	align-items: center;
	gap:.5em;
}
.pBk_ti span.title, .cBk_ti span.title {
    flex: 1 1 auto;
	position:relative;

	&:empty {
		display: none;
	}
}

.pBk_ti i.type {
	flex: 0 0 auto;
	display: flex;
    align-items: center;
	gap:.5em;

	.icon {
		max-width: 20px;
		max-height: 20px;
	}

	&::before {
		font-family:"fontello";
		font-weight:normal;
		font-style:normal;
	}
}

.pBk:not(.noTitle) .pBk_ti i.type + span.hidden,
.cBk:not(.noTitle) .cBk_ti i.type + span.hidden {
    display: inline;
}
.warning:not(.typed) .pBk_ti i.type::before {content:"\e81b";}
.def .pBk_ti i.type::before {content:"\e817";}
.remark .pBk_ti i.type::before {content:"\e819";}
.legal .pBk_ti i.type::before {content:"\e818";}
.remind .pBk_ti i.type::before {content:"\f0f3";}
.method .pBk_ti i.type::before {content:"\e81a";}
.advice .pBk_ti i.type::before {content:"\e81c";}
.complement .pBk_ti i.type::before {content:"\e81d";}
.basic:not(.typed) .pBk_ti i.type::before {content:"\f0eb";}
.simulation .pBk_ti i.type::before {content:"\f0c3";}
.example .pBk_ti i.type::before {content:"\e80d";}
.syntax .pBk_ti i.type::before {content:"\f1dd";}

.cBk_ti i.type::before{
	content:none;
}

/* === STOP - BALISE PEDAGOGIQUE ============================================ */

/* === START - ICO ========================================================== */
section.expUc > .hBk_ti:before,
#menu .expUc .lbl::before,
.sw_child_navList a.expUc::before {	
	content:"\e812";
}

section.intro > .hBk_ti:before,
#menu .intro .lbl::before,
.sw_child_navList a.intro::before{
	content:"\f129";
}

section.assmntUa > .hBk_ti:before, section.practUc > .hBk_ti:before, section.quest > .hBk_ti:before, section.quiz > .hBk_ti:before,
#menu .assmntUa .lbl::before, #menu .practUc .lbl::before, #menu .quest .lbl::before, #menu .quiz .lbl::before, #menu .coQuiz .lbl::before, 
.sw_child_navList a.assmntUa::before, .sw_child_navList a.practUc::before, .sw_child_navList a.quest::before, .sw_child_navList a.quiz::before, .sw_child_navList a.coQuiz::before {
	content:"\e80e";
}

section.conclu > .hBk_ti:before, 
#menu .conclu .lbl::before,
.sw_child_navList a.conclu::before {
	content:"\e813";
}

section.richStreamUa > .hBk_ti:before,
#menu .richStreamUa .lbl::before,
.sw_child_navList a.richStreamUa::before {
	content:"\e82a";
}

section.obj > .hBk_ti:before,
#menu .obj .lbl::before,
.sw_child_navList a.obj::before{
	content:"\e811";
}
/* === STOP - ICO =========================================================== */

/* === START - MENU DIVISION ================================================ */
.sw_child_navList {
	list-style-type: none;
	width: 70%;
    margin: 3em auto;
    background-color: var(--accentLightBG);
    box-shadow: 0 var(--boxShadow) 0 var(--accentLightFG);
    border-radius: var(--borderRadius);
    padding: 1em;

	li {
		&:not(:last-child){
			padding-block-end: .5em;
		}
		a {
			text-decoration: none;
			font-weight: bold;
			color: var(--accentLightFG);
			padding-inline-start: 25px;
			position: relative;

			&:hover {
				color:var(--contentEmp);
			}

			&::before{
				font-family: "fontello";
    			text-align: center; 
				font-weight:normal;
				color: var(--contentEmp);
				margin-inline: -25px 5px;
				width: 20px;
				display: inline-block;
			}
		}
	}
}
/* === STOP - MENU DIVISION ================================================= */

/* === START - PRIMITIVE ==================================================== */
.txt_ili::marker, 
.txt_oli::marker {
	color:var(--contentEmp);
}

.op_txt_ul, .txt_ul, .dwnLnk  {
	color: var(--contentEmp);
	text-decoration: none;
	display: inline-flex;
    align-items: center;
    gap: .3em;

	.home &{
		color: var(--accentDarkFG);
	}

	&:hover span {
		text-decoration: underline;
	}

	&::after {
		font-family: "fontello";	
		flex:0 0 15px;
	}

	&:is(.op_txt_ul)::after{content: "\e808";}
	&:is(.op_txt_ul):hover::after {content: "\e809";}
	&:is(.dwnLnk)::after {content: "\e803";}
	&:is(.dwnLnk):hover::after {content: "\e802";}
	&:is(.subLnk)::after {content: "\e805";}
	&:is(.subLnk):hover::after {content: "\e804";}
	&:is(.infoAnc)::after {content: "\e801";}
	&:is(.infoAnc):hover::after {content: "\e800";}
	&:is(.infoAnc.dwnLnk)::after {content: "\e801 \e805";flex:0 0 30px;}
	&:is(.infoAnc.dwnLnk):hover::after {content: "\e800 \e804";flex:0 0 30px;}
}

.txt_ico_tim img,
.txt_form_tim img {
	vertical-align: middle;
}

.txt_form_tim .MathJax_SVG_Display {
	display: inline !important;
}

.txt_tb {
	margin: 15px auto;

	tr {
		background-color: var(--contentBG);

		&:nth-child(2n+1) {
			background-color: var(--accentLightBG);
		}
	}

	th {
		background-color: var(--accentDarkBGalpha);
	}

	td.txt_word_tbtd {
		text-align: center;
	}

	td.txt_num_tbtd {
		text-align: end;
	}

	caption {
		font-style: italic;
	}

	.txt_tb p {
		margin-block: 0.1em;
	}
}

q:before,
q:after {
	content: " ";
}

.txtRes {
	display: flex;
	flex-flow: row;

	@media (max-width: 1000px) {
		flex-direction: column;
	}

	.img {
		flex: 0 1 auto;
	}

	.txt {
		flex: 1 1 auto;
		align-self: center;
	}
}

.txt_blockquote_div {
	position: relative;

	&::before, &::after{
		position: absolute;
		font-size: 4em;
		color: var(--accentLightFG);
		opacity: 0.6;
	}

	&::before {
		top: -0.5em;
		content: "«";
		inset-inline-start: -0.5em;
	}

	&::after {
		bottom: -0.2em;
		content: "»";
		inset-inline-end: -0.5em;
	}
}

.lnkDoc {
	margin: 0 1em 1em;
}

i.webInstruct p {
	margin-bottom: 0;
}

i.webInstruct {
	color:gray;
}

.txt_auth_tl {
	font-weight: bold;
}

.txt_ed_tl {
	text-decoration: underline;
}

iframe {
	max-width: -webkit-fill-available;
    border: 1px solid var(--accentLightBG);
    border-radius: var(--borderRadius);
}

/* === STOP - PRIMITIVE ===================================================== */


/* === START - QUIZ ========================================================= */

/* --- GENERAL STYLES ------------------------------------------------------- */
.quizBody, .evalBody {
	display: flex;
	flex-flow: column;

	> * {
		flex: 0 0 auto;
		position: relative;
        padding-inline-start: 2em;
	}

	> .toolbar {
		order: -1;
		padding-inline-start: 0;
		z-index: 1;
	}

	.response {
		margin-top: 2em;
	}
}

.toolbar {
    background-color: var(--accentLightBG);
    border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 var(--accentLightFG);
	display: flex;
	margin-block-end: 1em;
	align-items: center;
	position: sticky;
    top: 0;
	font-weight: bold;

	.subQuiz & {
		background-color: transparent;
		box-shadow: none;
		margin: 0;
		position: static;
	}
}

.btnQuiz {
	&::after {
		color: var(--accentDarkBGalpha);
	}

	span{
		@media(max-width:500px){
			display:none;
		}
	}

	&:first-child:hover {
		border-radius: var(--borderRadius) 0 0 var(--borderRadius);
	}
}

.subQuiz_ti {
	border-bottom: 1px solid;
}

.scoreBox {
	text-align: end;
	padding: 0 1em;
	flex: 2 1 auto;  
}
.answGood, .answBest {
    color: #468847;
}

.answBad, .answWorst {
    color: #D51921;
}

.exoAsw {
	margin-top: 20px;
}

.response .sol{
	position: relative;

	&::before{
		content:"\f0eb";
		font-family: "fontello";
		font-size: 1.8em;
		position: absolute;
		color: var(--accentLightFG);
		inset-inline-start: -1em;
		inset-block-start: -.2em;
	}

	.solTi{
		color: var(--accentLightFG);
	}
}

.globalExp::before {
	content: "\e80d";
	font-family: "fontello";
	font-size: 1.5em;
	position: absolute;
	color: var(--accentLightFG);
	inset-inline-start: 0;
	inset-block-start: .6em;
}

/* Tooltip Help */
button.tooltip_a.help {
    box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
    background-color: var(--accentDarkBGalpha);
    color: var(--accentDarkFG);
    border-radius: var(--borderRadius);
    position: absolute;
    left: 0;
    top: .9em;
    width: 1.5em;
    height: 1.5em;

	&::before {
		content: "\e80e";
		font-family: "fontello";
	}

	span {
		display: none;
	}
}

/* --- QCU/QCM STYLES ------------------------------------------------------- */
.response_ti {
	font-weight: normal;
	font-size: 1em;
	display: flex;
	gap: 1em;
	font-style: italic;
	color: var(--accentLightFG);

	>span:nth-child(-n+2) {
		flex: 0 0 auto;
		width: 6em;
		text-align: center;
	}

	>span:last-child {
		flex: 1 1 auto;
	}
}

ol.choiceList {
	display: flex;
	flex-flow: column;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

li.choiceList_ch {
	flex: 0 0 auto;
	display: flex;
	gap: 1em;
	border-bottom: 1px solid var(--accentLightBG);

	&:last-child {
		border-bottom: none;
	}
}

.choiceList_in, .choiceList_sol {
	flex: 0 0 auto;
	width: 6em;
	display: inline-flex;
    justify-content: center;
    align-items: center;
}

.evalBody div.choiceList_in{
	width: 3em;
}

.choiceList_sol {
	border-inline-start: 1px solid var(--accentLightBG);
}

.choiceList_in input:disabled{
	opacity:.5;
}

.assmntSolWrong.isChecked .choiceList_in input[type="radio"],
.assmntSolCheck.isChecked .choiceList_in input[type="checkbox"],
.assmntSolUnche.isChecked .choiceList_in input[type="checkbox"]{
	color:#D51921;
	opacity:1;
}

.assmntSolRight.isChecked .choiceList_in input[type="radio"],
.assmntSolCheck.isChecked .choiceList_in input[type="checkbox"]{
	color:#468847;
	opacity:1;
}

.choiceList_la {
	flex: 1 1 auto;

	.label {
		cursor: pointer;
	}
}

.choiceExplain {
    padding-inline-start: 1em;
    color: #666;
    font-style: italic;
}

/* --- QCU/QCM GRAPHIQUE ------------------------------------------------------- */
.choiceMap_map {
	margin: 0 auto;
}

/* --- CATEGORISATION/ORDONNANCEMENT ------------------------------------------------------- */
.mtTable, .pairTable {
	width: 100%;
	border-collapse: separate;
	border-spacing: 5px;

	.mtTdBasketSol{
		display: none;
	}

	.mtTdHeading {
		text-align: center;
	}

	.mtTdBasket {
		width: 30%;

		.ddBasketCatch {
			min-height: 250px;
		}
	}

	.mtTdArrow {
		width: 20px;
		text-align: center;

		&::before {
			color: var(--accentLightFG);
			content: "\e810";
			font-family: "fontello";
		}
	}

	.mtTdDropCont {
		vertical-align: top;

		.sol {
			margin-inline-start: 2em;
			margin-block-end: .5em;
		}
	}

	.mtTdSol {
		width: 50%;
	} 
}

.ordWord .ddBasket, .ddRepArea {
    margin-bottom: .5em;
}

.ddBasketSol{
	display: none;
}

.olTableSol {
	width: 100%;

	.olTdSolHead {
		width: 9em;
	}
}

.ddBasketCatch,
.ddDropCatch {
	border: 1px solid var(--accentLightFG);
	border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 #999;
}

.ddBasketCont, .ddDropCont {
	padding:.2em;
}

.response .sol .ddDropCatch {
    border: none;
    box-shadow: none;

	.ddDropCont{
		padding:0;
	}	
}

.ddDropTi {
	font-weight: bold;
	background-color: var(--accentLightFG);
	color: var(--accentDarkFG);
	text-align: center;
	padding: .2em;

	p {
		margin: 0;
	}
}

.ddDropContIfEmpty {
    text-align: center;
	color: var(--accentLightFG);
	line-height:2em;

	&::before {
		content: "\e80f";
		font-family: "fontello";
	}

	span {
		display: none;
	}
}

/*Cadre gris des étiquettes */
.mtLabel, .mtLabelSol,
.ddLabel, .ddLabelSol {
	display: inline-block;
	zoom: 1; 
	padding: .2em .5em;
	margin: .2em;
	border: 1px solid var(--accentLightFG);
	background-color: var(--accentLightBG);
	border-radius: var(--borderRadius);
	cursor: move;
	font-size: 1.1em;

	p {
		margin: 0;	
	}
}

.mtLabel span.myTT_a {
	cursor: move;
}

.mtLabelSol, 
.mtLabelSol span.myTT_a, 
.ddLabelSol {
	cursor: default;
}

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

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

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

/*Réponse juste */
.ddLabel_Right, 
.assmntResult_Right {
	cursor: default;
	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;
	border: 2px solid #D51921;
}

.ddLabel_Wrong span.myTT_a, 
.assmntResult_Wrong span.myTT_a {
	cursor: default;
}

/* Mode liste*/
.sortableLabelList {
	list-style: none;
	padding:0;
	display: flex;
	flex-flow: wrap;
	justify-content: center;

	@media (max-width:500px){
		flex-direction: column;
	}

	.sortableLabelItem {
		border: 1px solid var(--accentDarkBG);
		background-color: var(--contentBG);
		margin: 0.8em;
		display:flex;
		align-items: center;
		padding: .5em 1em;
		position: relative;
		border-radius: var(--borderRadius);
		max-width: 20em;

		@media (max-width:500px){
			max-width: 100%;
		}

		.label{
			flex: 1 1 auto;

			p{
				margin-block: 0;
			}
		}

		.sorter{
			display:flex;
			flex-direction: column;
			gap:.5em;
		}
	}
}


.sortableLabelItem_selected {
	animation: drag 5s 1;
}

@keyframes drag {
	from {
		border-color: var(--accentLightBG);
	}

	to {
		border-color: var(--accentDarkBG);
	}
}

.sortableLabelItem .sorter a{
	font-family: "fontello";
	text-decoration: none;
	background-color: var(--accentDarkBGalpha);
	text-shadow: 0 1px 3px rgb(0 0 0 / 25%);
	color: var(--contentBG);
	border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
	width: 20px;
	line-height: 20px;
	text-align: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);

	&:hover{
		background-color: var(--accentDarkBG);
	}

	@media (max-width:500px){
		position: static;
		transform: none;
	}

	span{
		position: absolute;
		left: -9999px;
	}
}

a.btnSort_up{
	inset-inline-start: -10px;

	&::before{
		content:"\e816";

		@media (max-width:500px){
			content:"\e81f";
		}
	}
}

a.btnSort_down{
	inset-inline-end: -10px;

	&::before {
		content:"\e810";

		@media (max-width:500px){
			content:"\e80f";
		}
	}
}


.sortableLabelItem:first-child .sorter a.btnSort_up,
.sortableLabelItem:last-child .sorter a.btnSort_down {
	visibility: hidden;
}

.pairLabelList, 
.matchLabelList{
	list-style: none;
	padding:0;
}
.pairLabelListItem,
.matchLabelListItem {
	margin-block: 0.5em;
	display:flex;
	justify-content: center;
	gap:1em;
	position: relative;
	align-items: center;
	border-bottom: 1px solid var(--accentLightBG);
	padding-block: .5em;

	&:last-child{
		border-bottom: none;
	}

	p {
		margin: 0;
	}

	@media (max-width: 700px) { 
		flex-direction: column;
		align-items: center;
	}

	.label {
		max-width: 260px;
		width: 100%;
		display: flex;
		justify-content: center;

		@media (max-width: 500px) { 
			min-width: initial;
			margin: 0 0 3px 0;
		}
	}

	.targets{
		position: relative;
		max-width: 260px;
		width: 100%;
		height: 30px;

		@media (max-width: 500px) { 
			min-width: initial;
		}

		a.dropToggle {
			background-color: var(--accentDarkBG);
			color: var(--accentDarkFG);
			font-family: "fontello";
			text-decoration: none;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 30px;
			position: absolute;
			height: 30px;
			top: 0;
			inset-inline-end: 0;
			border-top-right-radius: var(--borderRadius);
			border-bottom-right-radius: var(--borderRadius);

			&.pairLabelTargetList_dropdown_closed::before,
			&.matchLabelTargetList_dropdown_closed::before {
				content:"\e80f";
			}
			&.pairLabelTargetList_dropdown_open::before,
			&.matchLabelTargetList_dropdown_open::before {
				content:"\e81f";
			}

			span{
				position: absolute;
				left: -9999px;
			}
		}

	}
}
  
.pairLabelTargetList,
.matchLabelTargetList {
    border-top-left-radius: var(--borderRadius);
    border-bottom-left-radius: var(--borderRadius);
	list-style: none;
	padding:0;
	width: calc(100% - 30px);	
	box-sizing: border-box;

	> li{
		display: flex;
		align-items: center;
		height: 100%;
		gap: .5em;	

		input{
			display: none;	
		}

		label{
			padding: .2em .5em;
			flex:2 1 auto;
		}
	}
}


.pairLabelTargetList_open,
.matchLabelTargetList_open{
	box-shadow: 0 0 5px 0 #0000006b;
	border-bottom-right-radius: var(--borderRadius);
	z-index:2;
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	background-color: var(--contentBG);

	> li{
		&:is(.pairLabelTargetList_selected, .matchLabelTargetList_selected) {
			background-color: var(--accentLightBG);
		}

		&:not(.pairLabelTargetList_selected, .matchLabelTargetList_selected) label{
			cursor: pointer;

			:hover{
				opacity: .8;
			}
		}

		&:not(.pairLabelTargetList_selected, .matchLabelTargetList_selected) input[disabled] + label{
			opacity: .5;
			cursor: default;

			:hover{
				opacity: 1;
			}
		}
	}
}

.pairLabelTargetList_closed,
.matchLabelTargetList_closed {
	border: 1px solid #808080;
	border-right: none;
	background-color: var(--accentLightBG);
	height: 30px;

	label {
		overflow: hidden;
	}

	p {
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}
}

.pairLabelTargetList_deselect,
.matchLabelTargetList_deselect{
	display: none;
}

/*Réponse juste */
.fixedLabel_Right label,
.sortLabel_Right .label {
    color: #468847;
    font-weight: bold;
}

/*Réponse fausse */
.fixedLabel_Wrong label,
.sortLabel_Wrong .label{
	color: #D51921;
    font-weight: bold;
}

/* --- SELECT ------------------------------------------------------- */
.select .text_ti,
.select .solution_ti {
	color:var(--accentLightFG);
}

.select .solution {
	position: relative;
	margin-block-start: 2em;

	&::before {
		content: "\f0eb";
		font-family: "fontello";
		font-size: 1.8em;
		position: absolute;
		color: var(--accentLightFG);
		inset-inline-start: -1em;
		inset-block-start: -.2em;
	}
}

.select_ph {
	border-radius: 2px;

	.enabled & {
		cursor: pointer;
	}

	.sol & {
		cursor: default;
	}
}


.enabled .select_ph:hover,
.enabled .select_ph:focus {
	outline: 1px solid #aca19a;
}

.simpleSelect.solution .select_ph {
	background-color: #aca19a;
	color: var(--accentDarkFG);
}

.simpleSelect .select_yes {
	color: var(--accentDarkFG);
	background-color: var(--accentDarkBG);
}

.enabled .select_yes:hover,
.enabled .select_yes:focus {
	outline: 1px solid #aca19a;
}

.simpleSelect .select_good{
	background-color: #468847;
	color: var(--accentDarkFG);
}

.simpleSelect .select_bad {
	background-color: #D51921;
	color: var(--accentDarkFG);
}

.multiSelect .select_good {
	outline: 1px solid #468847;
}

.multiSelect .select_bad {
	outline: 1px solid #D51921;
}

.markers {
	font-size: 0.9em;
    background-color: var(--accentLightBG);
    padding: 0.2em .5em;
    border-radius: var(--borderRadius);
    display: flex;
    align-items: center;
    gap: .5em;

	label.selectMarker {
		padding: 0.2em;
		cursor: pointer;
		display: flex;
		align-items: center;
		gap: .3em;
		border-radius: var(--borderRadius);

		input::before {
			color: var(--marker-fg);
		}

		&:has(input:disabled){
			pointer-events: none;
		}

		input:disabled {
			display: none;
		}
	}
}

/* --- TAT / field / num ------------------------------------------------------- */
.field .response, .numerical .response {
    text-align: center;
}
.cloze_p {
	line-height: 1.6em;
}

span.txt_gap_tl {
    display: inline-flex;

	.assmntResult_0 input, .assmntResult_0 select {
		color: #D51921;
		text-decoration: line-through;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.assmntResult_1 input, .assmntResult_1 select {
		color: #468847;
	}

	.gapAnswer {
		display: inline-flex;
		align-items: center;
		border-radius: 0 var(--borderRadius) var(--borderRadius) 0;
		background-color: #aca19a;
		padding-inline: .3em;
	}
}

span.exoSol {
    font-weight: bold;
    margin-inline-start: 1em;
}

/* --- EVALUATION ------------------------------------------------------- */
.assmntUa .gotoEval {
	text-align: center;
}

.resultE {
    margin-block: 1em;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 1em;
}

/* Eval buttons */
.btnAssmnt, .assmntUa .gotoEval .btnEval, .btnQuiz {
    color: var(--accentLightFG);
    font-size: 1.2em;
    text-decoration: none;
	display: inline-flex;
	align-items: center;
    gap: .7em;
	height: 40px;
	padding: 0 1em;

	&:hover {
		background-color: var(--accentDarkBG);
		color: var(--accentDarkFG);
	}

	&::after {
		font-family: "fontello";
		font-size: 1.7em;
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	}

	&:hover::after{
		color:var(--accentDarkFG);
	}
}

p.btnBarAssmnt {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
	gap: 1em;
	margin-block: 2em;
}

.btnAssmnt, .assmntUa .gotoEval .btnEval{
    background-color: var(--accentDarkBGalpha);
    border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
	color: #323232;

	&::after {
		color: var(--accentDarkFG);
	}

	&:hover {
		box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
	}
}

.btnStartE::after, .assmntUa .gotoEval .btnEval::after  {content: "\e810";}
.btnValidateE::after, .correction::after {content:"\e827";}
.btnCloseE::after {content:"\e820";}
.btnRestartE::after, .reset::after{content:"\e828";}
.btnScoreE::after {content:"\e80e";}
.btnGotoSolE::after {content:"\e817";}

.solBody .question, 
.solBody .score, 
.solBody .sol, 
.solBody .explain {
	padding-inline-start: 50px;
	min-height: 50px;
	margin: 0.6em 0 0.3em 0;
	position: relative;

	&::before {
		color: var(--accentLightFG);
		font-family: "fontello";
		position: absolute;
		text-align: center;
		width: 50px;
		inset-inline-start:0;
		inset-block-start: -10px;
	}
}

.solBody .question_ti, 
.solBody .score_ti, 
.solBody .sol_ti, 
.solBody .explain_ti {
	font-style: italic;
	font-weight: bold;
	color: var(--accentLightFG);
}

.solBody .question::before {
	content:"\e80e";
	font-size: 3em;
}
.solBody .score::before {
	content:"\e817";
	font-size: 2.5em;
}
.solBody .explain::before {
	content:"\e80d";
	font-size: 2.2em;
}
.solBody .sol::before {
    content: "\f0eb";
	font-size: 3em;
}

table.Tcenter {
    text-align: center;
    margin: 2em auto;
}

.infoScore .answBad, .infoScore .answBest, .infoScore .answGood, .infoScore .answWorst {
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
	margin: 1em;
}
/* === STOP - QUIZ ======================================================== */

/* === START - TOOLS ======================================================== */
/*Question de synthèse */
.tools .synth .hBk_ti, 
.tools .credits .hBk_ti {
	font-size: 1.6em;
	padding-bottom: 4px;
}

/*REF */
.tools .refOutline {
	background-color: var(--accentLightBG);
	border-radius: var(--borderRadius);
    box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBGalpha);
	margin: 1em;
	padding: 5px;
	text-align: center;
	position: sticky;
    top: 0;
}

.mField_ti {
	font-weight: bold;
	color: var(--accentLightFG);
}

.tools .refOutlineEntry, 
.tools .mField_ti {
	margin: 1em;
	font-weight: bold;
	color: var(--accentLightFG);
}

.tools .refOutlineEntry a {
	color: var(--accentLightFG);
	text-decoration: none;
}

.tools .refOutlineEntry a:hover {
	text-decoration:underline;
}

.tools .refCateg {
	margin: 1em 0;
	color: var(--accentLightFG);
	font-size: 2em;
}

/*Credits*/
body.credits div.credits{

	li.credits{
		margin-block-end: .7em;
	}

	.credits_ti {
		color: var(--accentLightFG);
		margin-block: 1em .3em;
	}

	.credits_co {
		padding-inline-start: 1em;
		list-style: none;

		.resCredits  {
			ul, li{
				display: contents;
			}

			.resCreditsLnk {
				text-decoration: none;
				padding-inline-end: 12px;
				color: var(--accentLightFG);

				&:hover {
					text-decoration: underline;
				}
			}

			.legalInfo {
				background-color: var(--accentLightBG);
				border-radius: var(--borderRadius);
				padding: .1em .3em;
				white-space: nowrap;
				display: inline-flex;
                align-items: center;
                gap: .3em;
			}
		}
	}
}

/*Index des mots clés*/
.index {
	.idxEntryTi {
		margin-block: 20px 3px;
	}

	ul.idxEntryCaller {
		padding-inline-start: 1em;

		a {
			color: var(--accentLightFG);
			text-decoration: none;

			&:hover {
				text-decoration: underline;
			}
		}
	}
}

/* Plan */
#content .plan ul {
    list-style-type:none;
    padding: 0;
    margin: 0;

	li {
		border-inline-start: 2px solid var(--contentEmp);
		margin-inline-start: 1.2em;

		&:last-child {
			border-inline-start: 2px solid transparent;
		}

		div {
			padding-inline-start: 1em;
			position: relative;

			&::before {
				content:'';
				position: absolute;
				top: 0;
				left: -2px;
				bottom: 50%;
				width: 0.75em;
				border: 2px solid var(--contentEmp);
				border-top: 0 none transparent;
				border-inline-end: 0 none transparent;
			}

			a {
				color: var(--accentLightFG);
				text-decoration: none;
				display: inline-block;
				padding-block: 5px;

				&:hover{
					text-decoration:underline;
				}
			}
		}
	}
}

/* === STOP - TOOLS ======================================================== */

/* === START - scImageMgr ===================================================== */
.scImgZmMag,
.scImgSeqMag {
	box-shadow: 0 0 5px 0 #000000;
	cursor: crosshair;
}

.imgZoom {
	display: inline-block;
}

.galFra {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: start;
	list-style: none;
	padding-inline-start: 0;
    margin-block: 0;

	img {
		padding: 5px;
	}
}

.seqFra {
	display: flex;
	justify-content: center;
	list-style: none;
    padding-inline-start: 0;

	.galPv {
		margin-block-start: 0.3em;
		visibility: hidden;
	}

	.scImgSeqToolsOver {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: .5em;

		a {
			flex: 0 0 24px;
			font-family: "fontello";
			font-size: 1.2em;
			background-color: var(--accentDarkBGalpha);
			border-radius: var(--borderRadius);
			box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
			color: var(--accentDarkFG);
			text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
			line-height: 24px;
			height: 24px;
			transition: all 0.2s ease-out 0s;
			text-decoration: none;

			&:hover{
				background-color: var(--accentDarkBG);
			}

			&.scImgSeqBtnPlay::before {
				content: "\e821";
			}

			&.scImgSeqBtnPause::before {
				content: "\e822";
			}

			&.scImgSeqBtnNxt::before{
				content:"\e823";
			}

			&.scImgSeqBtnPrv::before {
				content:"\e824";
			}

			span{
				display: none;
			}
		}
	}
}

li.galPv {
    text-align: center;

	a.galPvLnk:hover {
		opacity: 0.8;
	}
}

.scImgGalFra {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;

	.imgLoading & {
		display: none;
	}

	.scImgGalCo {
		display: contents;
	}

	.scImgGalTbr {
		position: relative;
		display: flex;
		align-items: center;
		gap:1em;
		color: var(--accentDarkFG);
        padding: .2em .5em;
        background-color: rgba(0, 0, 0, 0.7);
        margin: 5px;

		.scImgGalTi {
			font-style: italic;
			flex: 2 1 auto;
			order:1;
		}

		.scImgSep {
			display: none;
		}

		.scImgGalCount {
			order:2
		}

		.scImgGalBtns{
			display: contents;

			a {
				font-family: 'fontello';
				text-decoration: none;
                color: var(--accentDarkFG);

				&:hover{
					opacity: .8;
				}

				&.scImgGalBtnPly,
				&.scImgGalBtnPse {
					order:3;
					font-size: 1.5em;
				}

				&.scImgGalBtnPrv,
				&.scImgGalBtnNxt {
					top: 40px;
					font-size: 3em;
					position: fixed;
					width: 1em;
					bottom: 40px;
					display: flex;
					justify-content: center;
					align-items: center;

					.isMobile_true & {
						position: absolute;
					}
				}

				&.scImgGalBtnPrv{
					inset-inline-start: 0;

					&::before{
						content: "\e816";
					}
				}

				&.scImgGalBtnNxt{
					inset-inline-end: 0;

					&::before {
						content: "\e810";
					}
				}

				&.scImgGalBtnNoNxt,
				&.scImgGalBtnNoPrv{
					display: none;
				}

				&.scImgGalBtnPly::before {
					content: "\E821";
				}

				&.scImgGalBtnPse::before {
					content: "\E822";
				}

				span{
					display: none;
				}
			}
		}
	}
}

a.scImgGalBtnCls,
a.scImgZmBtnCls{
	position: fixed;
	top: 0;
    font-size: 2em;
    inset-inline-end: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
	font-family: 'fontello';
	text-decoration: none;
	color: var(--accentDarkFG);

	span{
		display: none;
	}

	.isMobile_true & {
		position: absolute;
		top: 10px;
	}

	&:before {
		content: "\e829";
	}
}

.noScroll {
	overflow: hidden;
}

div.scImgGalCvs,
div.scImgZmCvs,
div.scImgSeqCvs {
	position: fixed;
	overflow: hidden;
	top: 0;
	left: 0;
	z-index: 2001;
	width: 100%;
	height: 100%;

	.imgLoading &::before {
		content: "";
		background: url("../img/loader.svg") no-repeat center center;
		position: fixed;
		overflow: hidden;
		top: 0;
		left: 0;
		z-index: 2001;
		width: 100%;
		height: 100%;
	}

	div.scImgGalOver,
	div.scImgZmOver,
	div.scImgSeqOver {
		background-color: black;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
}

li.scImgGalImgFra,
div.scImgZmFra,
div.scImgSeqFra {
	background-color: var(--contentBG);
	border-radius: var(--borderRadius);
	padding: 5px;
}

div.scImgZmTlb,
div.scImgSeqTlb {
	margin-top: 5px;
	text-align: end;
}
/* === STOP - scImageMgr ====================================================== */

/* === START - SCORM ======================================================== */
.sco #header{
	padding-inline: 60px 1em;
}

.sco #toolbox{
	position: absolute;
    width: 70px;

	#tools{
		@media (max-width:800px){
			flex: 0 0 60px;
		}
	}
}
.sco:not(.eval) #content {
	position:relative;
	background: var(--contentBG);

		@media (min-width:800px){
			margin-inline-end: 60px;
		}
}

a.btnScormQuit {
    order: -1;

	&::before {
		content: "\e829";
	}

	.home #navigation & {
		right: 50px;
		position: absolute;
		top: 9px;
	}
}

.scorm #menu .mnu .lbl {
    padding-inline-end: 20px;
}

.scorm #menu .mnu .scormSeen {
	position: absolute;
    top: 4px;
    inset-inline-end: 0;
    width: 20px;
    text-align: center;

	a.btnScormSeen {
		opacity: 0.3;
		color: var(--contentEmp);
		
		&::before {
			content: "\e827";
			font-family: "fontello";
		}

		span{
			display:none;
		}

		&.scormSeen_true {
			opacity: 1;
		}

		&.disabled {
			cursor: default;
		}
	}
}

.sco .subWindow_win {
    position: fixed !important;
}

/* === STOP - SCORM ========================================================= */

/* === START - RICHSTREAM ============================================= */
.teContainer {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.teContainer:not(.teReady) {
	opacity: 0.5;
}

.teContainer:not(.teReady)>.hBk_co {
	opacity: 0;
}

.teVisuallyHidden {
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
    outline: none !important;
}

.teContainer>.hBk_co {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.teMainArea {
	display: flex;
	flex: 1;
	min-height: 0;
	overflow: hidden;

	@media (max-width:800px) {
		flex-direction: column;
	}
}

.teSegmentHead_ti {
	font-size: 1.3em;
	margin-top: 0;
}

/* Media */
.teMediaArea {
	min-width: 0;
	min-height: 0;
}

.teMediaArea video {
	background: transparent;
}

.teContainer.teVideoType .teMediaArea {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
}

/* Force un aspect 16:9 sur les iframes */
.teMediaArea>mediaelementwrapper {
	position: relative;
	overflow: hidden;
	flex: 0 1 auto;
	display: block;
}

.teMediaArea>mediaelementwrapper::before {
	content: "";
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}

.teMediaArea>mediaelementwrapper>* {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	margin: auto;
}

.teContainer.teVideoType .teMediaArea::after {
	display: flex;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	margin: auto;
	width: 75px;
	height: 75px;
	pointer-events: none;
	justify-content: center;
	align-items: center;
	color: white;
	background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    font-size: 3em;
	font-family: "fontello";
}

.teContainer.teVideoType.tePaused:not(.tePlayed) .teMediaArea::after {
	content: "\e821";  
}

.teContainer.teVideoType.teVideoPlay .teMediaArea::after {
	content: "\e821";  
	animation: bezelFadeout .5s linear 1 normal forwards;
}

.teContainer.teVideoType.teVideoPause .teMediaArea::after {
	content: "\e822";  
	animation: bezelFadeout .5s linear 1 normal forwards;
}

@keyframes bezelFadeout {
	0% {
		opacity: 1;
	}

	to {
		opacity: 0;
		transform: scale(2)
	}
}

.teMediaArea>.teSubtitles {
	text-align: center;
	font-size: 1.2em;
	padding: 0 1em;
	box-sizing: border-box;
	margin-top: -2.2em;
	z-index: 1;
}

.teMediaArea>.teSubtitles>div {
	display: inline-block;
	background: rgba(0, 0, 0, 0.7);
	padding: 0.5em;
	border-radius: 0.5em;
	color: #fff;
	text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000;
	margin: 0 auto;
	white-space: pre-line;
}

/* Content */
.teContentArea {
	display: flex;
	flex: 0 0 0;
	transition: flex 0.5s;
	position: relative;
	min-width: 0;
	align-items: center;
	justify-content: center;
}

.teContainer.teActiveAside .teContentArea {
	flex-basis: 50px;
}

.teContainer.teActiveSegment .teContentArea,
.teContainer.teActivePause .teContentArea {
	flex-basis: 60%;
}

.teContainer.teActiveSegment.teActiveAside .teContentArea,
.teContainer.teActivePause.teActiveAside .teContentArea {
	flex-basis: calc(60% + 50px);
}

.teContainer.teAudioType .teContentArea {
	flex-grow: 1;
}

.teSegment,
.tePause {
	flex: 1;
	margin: 1em;
	transition: opacity 0.3s ease-in;
}

.teSegmentAside {
	transition: opacity 0.3s ease-in;
}

.tePause {
	align-self: stretch;
	overflow: auto;
}

.teSegment[hidden],
.tePause[hidden],
.teSegmentAside[hidden],
.teContainer.teActivePause .teSegment,
.teContainer.teActivePause .teSegmentAside {
	display: block;
	flex: 0;
	width: 0;
	height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0;
	visibility: hidden;
}

/* Compléments */
.teSegmentCompls {
	list-style: none;
	padding: 1em 0;
	margin: 0;

	@media (max-width:800px) {
		display: flex;
		align-items: center;
	}
}

.teSegmentCompl {
	display: block;
	position: relative;
	margin: 1em 0;
	text-align: end;
	width: 35px;
	height: 40px;
	text-decoration: none;
}

.teSegmentCompl::before{
	content:"\e82d";
	font-family: "fontello";
	font-size: 2em;
    line-height: 35px;
}

.teSegmentCompl {
	color: var(--accentDarkBG);
}

.teSegmentCompl>span {
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 0.5em;
	transition: opacity 0.4s ease-in;
	opacity: 0;
	visibility: hidden;
	white-space: nowrap;
	position: absolute;
	right: -1000px;
	height: 40px;
	line-height: 45px;
	z-index: 2;
	font-weight: bold;
	padding: 0 0.5em;
}

.teSegmentCompl:hover>span,
.teSegmentCompl:focus>span {
	opacity: 1;
	visibility: visible;
	inset-inline-end: 45px;
}

/* Controleur */
.teController {
	display: flex;
	flex: 0 0 3em;
	margin-top: 0.5em;
	position: relative;
	justify-content: space-evenly;
	flex-wrap: wrap;
	gap: 1em;
}

.teControllerNavArea {
	display: flex;
	flex-direction: column;
	gap:.5em;
	flex: 3;

	@media (max-width:800px) {
		order: 1;
		flex: 2 1 100%;
		height: 40px;
	}
}

.teTimeline {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
	position: relative;
	border: solid 1px var(--accentDarkBG);
	-webkit-user-select: none;
	-moz-user-select: none;
}

.teTimeline li {
	position: relative;
	display: flex;
}

.teTimeline li>div {
	display: flex;
}

.teTimeline a {
	display: flex;
	flex: 1 1 100%;
	border-inline-start: solid 1px var(--accentDarkBG);
	color: inherit;
	text-decoration: inherit;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.teTimeline a:hover {
	cursor: pointer;
}

.teTimeline a span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}

.teTimeline li.teActive>a {
	background-color: var(--accentDarkBGalpha);
}

.teTimeline li>a.tlQuizList {
	display: none;
	background-color: silver;
	flex: 1 2 1em;
	border-inline-start-style: dashed;
}

.teTimeline li:hover>a.tlQuizList,
.teTimeline li.teActive>a.tlQuizList {
	display: block;
}

.teTimeline a:hover {
	outline: none;
	background-color: silver;
}

.teTimeline a:active {
	outline: none;
	background-color: grey;
}

.teTimeline li:first-child a:first-child {
	border-inline-start: none;
}

.teTimeline a>span {
	width: 0;
	height: 0;
	opacity: 0;
	overflow: hidden;
}

.teTimeline li>ul a {
	border-top: none;
}

.tlQuizList {
	display: none;
	background-color: silver;
	flex: 1 2 1em;
	border-inline-start-style: dashed;
}

.teTimeline li:hover>.tlQuizList,
.teTimeline .teActive>.tlQuizList {
	display: block;
}

.teTimes {
	display: flex;
	flex-direction: column;
}

.teTimes>* {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.teQuizListActions {
	text-align: center;
}

.tePauseNext,
.tePauseResume {
	color: var(--accentLightFG);
    font-size: 1.2em;
    text-decoration: none;
    margin: 0 1em
}

.tePauseNext::after, 
.tePauseResume::after {
    color: var(--accentDarkBGalpha);
    font-family: "fontello";
    font-size: 1.7em;
    margin-inline-start: 0.5em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    vertical-align: middle;
    content: "\e810";
}

/* Panel */
.teController>.panel {
	position: absolute;
	bottom: calc(100% + 10px);
	z-index: 1;
	padding: 0.2em 30px 0.2em 1em;
	background-color: white;
	border: 1px solid var(--accentDarkBGalpha);
	box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
	border-radius: var(--borderRadius);
}

.teController>.panel>.panelLabel {
	width: 2.4em;
	background-size: auto 1.6em;
}

.teController>.panel>.panelLabel[hidden] {
	display: none !important;
}

.teController>.panel>.panelLabel:hover {
	opacity: 0.7;
}

.teController>.panel>.panelClose {
	font-size: inherit;
	cursor: pointer;
	width: 16px;
	height: 16px;
	position: absolute;
	top: 2px;
	inset-inline-end: 2px;
}

.teController>.panel>.panelClose::before{
	font-family: "fontello";
	content:"\E829";
}

.teController>.panel>.panelClose>span {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
}

.teController>.panelInput {
	display: none;
}

.teController>.panelInput:not(:checked)+.panelLabel+.panel {
	width: 0;
	height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	visibility: hidden;
}

/* Boutons */
.teController>button,
.teController>label,
.panel>button,
.teMute{
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--accentDarkBG);
	position: relative;
	cursor: pointer;
}

.teController>button,
.panel>button,
.teMute{
	background: none;
	min-height: 0;
}

.teController>button:disabled,
.panel>button:disabled,
.teMute:disabled{
	opacity: 0.5;
}

.teController>input:checked+label::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.2em;
	height: 0.2em;
	background-color: var(--accentDarkBG);
}

.teController>input[type=checkbox] {
	display: none;
}

.teController>button>span,
.teController>label>span,
.panel>button>span,
.teMute>span {
	width: 0;
	height: 0;
	opacity: 0;
	overflow: hidden;
}

.tePlayPause::before,
.tePreviousTime::before,
.teNextTime::before,
.teMute::before,
.teAudioDesc_label::before,
.teAltMedia_label::before,
.teSubtitlesPanel_label::before,
.teTranscriptLink::before,
.teSettingsBtn::before,
.teFullscreen::before,
.teTocPanel_label::before {
	font-family: "fontello";
	font-size: 2em;
}

.tePlayPause::before {
	content:"\E821";
}

.tePlayPause[aria-pressed=true]::before {
	content:"\E822";
}

.teContainer.teSeeking .tePlayPause::before {
	content:"\E838";
	animation: spin 2s linear infinite;
}

.tePreviousTime::before {
	content:"\E824";
}

.teNextTime::before {
	content:"\E823";
}

.teMute::before {
	content:"\E82C";
}

.teMute[aria-pressed=true]::before {
	content:"\E82B";
}

.teAudioDesc_label::before {
	content:"\F29E";
}

.teAltMedia_label::before {
	content:"\F2A7";
}

.teSubtitlesPanel_label::before {
	content:"\F20A";
}

.teSettingsBtn::before {
	content:"\e82e";
}

.teFullscreen::before {
	content:"\e814";
}

.teTranscriptLink {
	display: flex;
	width: 2em;
	justify-content: center;
	align-items: center;
	color: var(--accentDarkBG);
}

.teTranscriptLink::before {
	content:"\F0F6";
}

.teTranscriptLink>span {
	display: none;
}

.teVolumeArea {
	position: relative;
	display: flex;
	flex: 0 0 40px;
    justify-content: center;
}

.teController input[type=range] {
	-webkit-appearance: none;
	width: 100%;
	height: .8rem;
	background: var(--accentLightBG);
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
	box-sizing: border-box;
}


.teController input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 1rem;
	height: 1rem;
	border-radius: 50%; 
	background: var(--accentDarkBG);
	cursor: pointer;
}
  
.teController input[type=range]::-moz-range-thumb {
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: var(--accentDarkBG);
	cursor: pointer;
}

input[type=range].teVolume {
	height: 0.5em;
	width: 7em;
	align-self: center;
	transform: translateX(7em) rotate(-90deg);
	transform-origin: left;
	margin-inline-start: -7em !important;
	position: absolute;
	left: 50%;
	top: 0.1em;
	visibility: collapse;
	opacity: 0;
	transition: visibility 0s 1.5s, opacity 0.5s 1s;
}

.teController input[type=range]:hover,
.teController input[type=range]:focus,
.teMute:hover+input[type=range].teVolume,
.teMute.focus+input[type=range].teVolume {
	visibility: visible;
	opacity: 1;
	transition: visibility 0s 0s, opacity 1s 0s;
}

.teSubtitlesList {
	list-style: none;
	padding-inline-start: 0;
	margin: 0;
}

.teSubtitle_input {
	display: none;
}

.teSubtitle_input:checked+label {
	text-decoration: underline;
}

.teSubtitlesPanel {
	right: 0;
	padding-inline-end: 20px;
}

.tePanel label {
    cursor: pointer;
}

/* Toc */
.teTocPanel {
	left: 0;
	right: 0;
	width: 80%;
	margin: 0 auto;
}

.teTocPanel_label::before {
	content:"\E825";
}

.teToc {
	padding-inline-start: 0;
	list-style: none;
}

.teToc li {
	margin: 0.3em 0;
}

.teToc a {
	color: black;
	text-decoration: none;
}

.teToc li.teActive>a {
	text-decoration: underline;
}

.teToc a:hover {
	text-decoration: underline;
}

/* Settings */
.tePanel {
	position: absolute;
	background-color: var(--contentBG);
	border: 1px solid var(--accentDarkBGalpha);
	box-shadow: 0 var(--boxShadow) 0 var(--accentDarkBG);
	border-radius: var(--borderRadius);
	white-space: nowrap;
	transition: opacity 0.2s ease-in;
}

.tePanel[hidden] {
	display: block;
	visibility: collapse;
	opacity: 0;
	transition: opacity 0.2s ease-in, visibility 0s linear 0.2s;
}

.teSettingsPanel {
	bottom: 3.5em;
	inset-inline-end: 0;
}

.tePanel > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tePanel > ul li {
    margin: 0.5em;
}

.tePanel button, .tePanel a {
	font-family: var(--fontStyle), sans-serif;
	color: inherit;
	font-size: inherit;
	padding: 0;
	margin: .5em 0;
	text-decoration: none;
	align-items: center;
}

.tePanel a {
	margin-inline-start: 1.5em;
}

.teSubtitlesPanel {
	top: 0;
	inset-inline-end: calc(100% + 0.5em);
}

.teQualitiesPanel,
.tePlaybackRatesPanel {
	bottom: -2px;
	inset-inline-end: calc(100% + 0.5em);
}

.teSubtitlesBtn[aria-pressed=true], .teQualitiesBtn[aria-pressed=true], .tePlaybackRatesBtn[aria-pressed=true] {
	color:var(--contentEmp);
}

.teSubtitlesBtn::before, .teQualitiesBtn::before, .tePlaybackRatesBtn::before {
	font-family: "fontello";
    content: "\e816";
	color:var(--accentDarkBG);
	display: inline-block;
	opacity: 0.5;
	margin-inline-start: 0.2em;
	margin-inline-end: 0.5em;
}

.teSubtitlesBtn[aria-pressed=true]::before, .teQualitiesBtn[aria-pressed=true]::before, .tePlaybackRatesBtn[aria-pressed=true]::before {
	opacity: 1;
}

.teSettingsPanel input {
	display: none;
}

.teSettingsPanel input + span::before {
	content: '';
	width: 9px;
	height: 9px;
	display: inline-block;
	background-color: var(--contentEmp);
	opacity: 0.5;
	margin-inline-end: 0.5em;
	transition: opacity 0.2s ease-in;
}

.teSettingsPanel input[type=radio] + span::before {
	border-radius: 100%;
}

.teSettingsPanel input:checked + span::before {
	opacity: 1;
}

.teSettingsList button span {
    position: static;
}

/* === STOP - RICHSTREAM ============================================= */

/* === START - jsmind ============================================= */
.resInFlow.mindMap {
	text-align: start;

	.resInFlow_ti {
		text-align: center;
		font-style: italic;
	}

	.resInFlow_co {
		display: flex;
		flex-direction: column;
	}
}

div.jsmind {
	order: 2;
	width: 100%;
	max-height: calc(100vh - 130px);
	border: 1px solid silver;
	border-radius: 0 0 var(--borderRadius) var(--borderRadius);
	background-color: var(--contentBG);
	box-sizing: border-box;
	cursor: all-scroll;
}

menu.jsmind_tools{
	order: 1;
	margin: 0;
	padding: .2em .3em;
	list-style: none;
	display: flex;
	justify-content: end;
	background-color: var(--accentLightBG);
    border: 1px solid silver;
    border-bottom: none;
    border-radius: var(--borderRadius) var(--borderRadius) 0 0;

	li{
		display: contents;
	}

	button{
		background: transparent;

		&:hover {
			opacity: 0.7;
			}

		&::before{
			font-family: "fontello";
		}

		span {
			display: none;
			}
	}
}

menu.jsmind_tools li.home button::before {content: "\e811";}
menu.jsmind_tools li.deploy button::before {content: "\E814";}
menu.jsmind_tools li.collapse button::before {content: "\E815";}
menu.jsmind_tools li.zoomOut button::before {content: "\E81E";}
menu.jsmind_tools li.zoomIn button::before {content: "\E81D";}
menu.jsmind_tools li.fullScreen button::before {content: "\e80d";}
figure.fullScreen menu.jsmind_tools li.fullScreen button::before {content: "\e829";}


jmnodes jmnode img {
	vertical-align: middle;
}

body:not(.isPreview) jmnodes jmnode .tooltip_ref {
	display: none;
}

jmnodes jmnode button.tooltip_a {
	background: transparent;
	color: inherit;
	padding: 0;
	vertical-align: super;

	&::before {
		font-family: "fontello";
		content: "\E81C";
	}

	span {
		display: none;
	}
}

jmnodes jmnode {
	background-color: var(--accentLightBG);
	color: var(--accentLightFG);
	box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, 0.5);
	word-spacing: initial;

	&:hover {
		background-color: var(--accentLightBG);
		color: var(--accentLightFG);
		filter: brightness(0.9);
		cursor: pointer;
		box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.5);
	}

	&.selected {
		background-color: var(--accentDarkBG) !important;
		color: var(--accentDarkFG) !important;;
		box-shadow: 0px 2px 3px -1px rgba(0, 0, 0, 0.5);
	}

	&.selected:hover {
		filter: brightness(1);
		cursor: auto;
	}
}

jmexpander {
	border-color: var(--contentFG);
}

jmnodes jmnode.nodeColor_1 {
	background-color: #b92d0f;
	color: #FFF;
}

svg.jsmind path.lineColor_1 {
	stroke: #b92d0f;
}

jmnodes jmnode.nodeColor_2 {
	background-color: #7635ff;
	color: #FFF;
}

svg.jsmind path.lineColor_2 {
	stroke: #7635ff;
}

jmnodes jmnode.nodeColor_3 {
	background-color: #308736;
	color: #FFF;
}

svg.jsmind path.lineColor_3 {
	stroke: #308736;
}

jmnodes jmnode.nodeColor_4 {
	background-color: #1b75bb;
	color: #FFF;
}

svg.jsmind path.lineColor_4 {
	stroke: #1b75bb;
}

jmnodes jmnode.nodeColor_5 {
	background-color: #ac1995;
	color: #FFF;
}

svg.jsmind path.lineColor_5 {
	stroke: #ac1995;
}

jmnodes jmnode.nodeColor_6 {
	background-color: #ee704c;
	color: #FFF;
}

svg.jsmind path.lineColor_6 {
	stroke: #ee704c;
}

figure.mindMap.fullScreen {
	position: fixed;
	top: 3em;
	bottom: 3em;
	left: 3em;
	right: 3em;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	z-index: 100;
	margin: 0;

	.resInFlow_co {
		flex: 1 1 auto;

		div.jsmind {
			flex: 1 1 auto;
			border-radius: 0;
			border-block-end: 0;
			height:auto !important;
		}
	}

	.resInFlow_ti {
		background-color: var(--accentLightBG);
		margin: 0;
		padding: 0.5em;
		border: 1px solid silver;
		border-top: none;
		border-radius: 0 0 var(--borderRadius) var(--borderRadius);
		max-width: 100%;

		.cbk-closed > a{
			pointer-events: none;
			cursor:default;

			&::before{
				content:none;
			}
		}
	}
}

@media screen and (max-device-width: 1024px) {
	jmnode {
		padding: 5px;
		border-radius: 3px;
		font-size: 12px;
	}
	jmnode.root {
		font-size: 14px;
	}
}

/* === STOP - jsmind ============================================= */


/* === START Dys panel ========================================================= */
body.dysPanelActive_true #tools .dysBtnParent button{
  background-color: var(--accentDarkBG);
}
div.dysPanel{
	display: none;
	z-index: 10;
	position: absolute;
    top: 75px;
    width: 95%;
	max-width: var(--menuWidth);
	left: 50%;
    transform: translateX(-50%);

	.sco &{
		width:var(--menuWidth);
		left:.5em;
		transform:none;
	}

	@media (max-width:800px){
        top: 65px;
	}

	> span{
		display:flex;
		justify-content: center;
		flex-direction: column;
		padding: 0.5em;
		gap: 0.7em;
		color: var(--accentLightFG);
		box-shadow: 0 0 5px var(--accentLightFG);
		background-color: var(--contentBG);
		border-radius:var(--borderRadius);

		button{
			padding: 0;
			background-color: transparent;

			&.dysBtnCheck_true,
			&.dysBtnCheck_false {
				display: flex;
				align-items: center;
				gap: 3px;
				text-decoration: none;
				position: relative;
				color: var(--accentLightFG);

				&::before {
					display: inline-block;
					content: "";
					width: 1.65em;
					height: 1em;
					border-radius: 5em;
				}

				&::after {
					display: inline-block;
					content: "";
					position: absolute;
					width: 0.8em;
					height: 0.8em;
					border-radius: 5em;
					background-color: #fff;
				}
			}

			&.dysBtnCheck_true::before {
				background-color: var(--accentDarkBG);
			}
			&.dysBtnCheck_false::before {
				background-color: color-mix(in oklab, var(--accentLightFG) 30%, var(--accentLightFG) 10%);
			}

			&.dysBtnCheck_false::after {
				left: 0.05em;
			}
			&.dysBtnCheck_true::after {
				left: 0.75em;
			}
		}

		.dysFontSizer {
			display:flex;
			align-items: center;
			justify-content: center;
			gap: 10px;

			.dysBtnFontLarger,
			.dysBtnFontSmaller{
				font-family: "fontello";
				color: var(--contentEmp);
				font-size: 1.3em;

				&:hover {
					opacity: 0.8;
				}

				span{
					display: none;
				}
			}

			.dysBtnFontSmaller::before {
				content: "\E81E";
			}
			.dysBtnFontLarger::before {
				content: "\E81D";
			}

			.dysFontSizeLbl {
				padding: 0.2em;
				background-color: color-mix(in oklab, var(--accentLightBG), #fff 40%);
				border: 1px solid var(--accentDarkBG);
				border-radius: 3px;
				font-size: .8em;
			}
		}
	}
}

.emeraude.dysPanelActive_true .zen_true div.dysPanel,
.rubis.dysPanelActive_true .zen_true div.dysPanel,
.dysPanelActive_true div.dysPanel {
	display:block;
}
@media (min-width:800px){
	.dysPanelActive_true .zen_true div.dysPanel {
		display:none;
	}
}

/* === END Dys panel =========================================================== */

/* === START - PWA ===============================================*/
:root{
	--pwa-ok-color: #468847;
	--pwa-nok-color: #D51921;
	--pwa-ukn-color: var(--accentDarkFG);
	--pwa-button-color: var(--accentDarkFG);
	--pwa-button-color-hover: var(--accentDarkBG);
	--pwa-button-bgcolor: transparent;
	--pwa-button-bgcolor-hover: transparent;
	--pwa-button-radius: 0;
	--pwa-button-fontsize: 150%;
	--pwa-tooltip-color: var(--contentFG);
	--pwa-tooltip-bgcolor: var(--accentLightBG);
	--pwa-tooltip-border: var(--accentDarkBGalpha);
	--pwa-popup-color: var(--contentFG);
	--pwa-popup-bgcolor: var(--contentBG);
	--pwa-popup-border: var(--accentDarkBGalpha);
	--pwa-popup-button-radius:var(--borderRadius);
	--pwa-popup-button-color: var(--accentLightFG);
	--pwa-popup-button-bgcolor: var(--accentDarkBGalpha);
	--pwa-popup-button-inv-bgcolor: var(--accentDarkBG);
	--pwa-popup-button-inv-color: var(--accentDarkFG);
}
li.pwaInstallBtnParent,
li.pwaCacheBtnParent{
	display: flex;
	align-items: center;
	padding-inline: 0.2rem;
	gap: 0.3rem;
}
/* === STOP - PWA =============================================== */

/* === START - SCCOMMENT ====================== =========================*/
.scCommentToolBar {
    display: contents;

	.activationCommentDiv {
		position: relative;
		order: -2;
		top: auto;
		left: auto;
	}
}
/* === START - SCCOMMENT ====================== =========================*/