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

html {
	width: 100%;
	height: 100%;
}

body {
	background-color: var(--rootBG);
	color: var(--rootFG);
	font-size: var(--fontSize);
	font-family: var(--fontStyle), sans-serif;
	font-display: swap;
	height: 100%;
	margin: 0;
}

p {
	margin: 0.9em;
}

.hidden {
	display: none;
}

*::-webkit-scrollbar {
	width: 9px;
}

* {
	scrollbar-color: var(--accentLightFG) var(--accentLightBG);
}

*::-webkit-scrollbar-track {
	background: var(--accentLightBG);
}

*::-webkit-scrollbar-thumb {
	background-color: var(--accentLightFG);
	border-radius: 6px;
}

/*=== LAYOUT - ACCESSIBILITY MENU  ===========================================*/
#accessibility {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	width: auto;
	z-index: 90;
	font-size: 0.8em;
	top: 5px;
}

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

#accessibility a {
	opacity: 0;
	text-decoration: none;
}

#accessibility a:hover {
	opacity: 0.2;
}

#accessibility a:focus {
	opacity: 1;
}

/* ============= HTML ============= */

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

.tePlayer.teAudioType .tepController {
	background-color: var(--accentColor);
	border-radius: 4px;
	margin: 20px;
}

.tePlayer a {
	text-decoration: underline;
}

a:hover {
	color: var(--rootFG);
	text-decoration: underline;
}

a img {
	border-width: 0px;
}

ul,
ol {
	margin: 5px 0 0 0;
	list-style-position: outside;
}

p {
	text-align: justify;
	margin: 2px 0 5px 0;
}

table {
	border-collapse: collapse;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Chivo', sans-serif;
	text-rendering: optimizeLegibility;
}

h2 {
	font-size: 2em;
	line-height: 32px;
	padding: 0;
	margin-bottom: 15px;
}

h3 {
	font-size: 1.4em;
	padding: 5px 0 4px;
}

h4 {
	font-size: 1.1em;
	text-transform: uppercase;
	font-weight: bold;
	border-bottom: 2px solid var(--accentLightFG);
}

img {
	max-width: 100% !important; 
	height: auto;
}

/* ============= Utilities ============= */
.hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	visibility: hidden;
	top: -10000px;
	left: -10000px;
}

ol.footnotes *:target {
	background-color: var(--accentLightBG);
}

.footnotes {
	font-style: italic;
	color: var(--accentLightFG);
	margin: 10px;
}

.footnotes .ttCo {
	background: none;
	color: var(--accentLightFG);
}

.footnotes .ttScroll {
	overflow: hidden;
	height: 100%;
}

.footnotes .ttCoBottom {
	background: none;
}

.footnotes_itti {
	font-weight: bold;
}

.cc-button {
	margin-left: 5px;
}

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

/* ============= Structure ============= */
div#tplFra {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

div#tplMain {
	flex: 2 1 auto;
	display: block;
	position: relative;
	max-width: var(--maxWidth);
	margin: 0 auto;
	width: 100%;
	padding: 0 1rem 1rem;
	box-sizing: border-box;
}

/* ===== HEADER ===== */
#tplTop .tplTopCo {
	min-height: 120px;
	color: var(--accentLightFG);
	z-index: 1;
}

#tplTop nav {
	max-width: var(--maxWidth);
	width: 100%;
	margin: 0 auto;
	padding: 1rem;
	box-sizing: border-box;
}

h1.title_root {
	margin: 0;
	padding: 20px 20px 20px 20px;
	font-size: 2em;
	line-height: 1em;
	color: var(--rootFG);
	background: var(--accentColorAlpha);
}

h1.title_root a,
h1.title_root a:hover {
	color: var(--accentLightFG);
}

/* ============= Glossaire Home ============= */
ul.lxc_sub {
	list-style-position: outside;
	list-style-type: none;
	margin: 0 0 30px 0;
	padding: 10px 0px 30px 0px;
}

ul.lxc_sub:not(.lxc_root):not(.xc_sch_no) {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border-bottom: 1px solid var(--borderColor);
}

h2.lxc_b {
	font-size: 2.5em;
	font-weight: bolder;
	line-height: 20px;
	text-transform: uppercase;
	color: var(--rootFG);
	margin-bottom: 15px;
	line-height: inherit;
}

ul.lxc_sub li.lxc_l div {
	line-height: normal;
	padding: 10px 10px 10px 0px;
}

ul.lxc_sub li.lxc_l a {
	font-size: 1.1em;
}

/* ============= Subwindow ============= */
div.subWindow_over {
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: var(--rootFG);
	opacity: 0.6;
	position: fixed;
}

div.subWindow_win {
	top: 5%;
	left: 5%;
	height: 90%;
	width: 90%;
	position: fixed;
}

div.subWindow_ti {
	position: absolute;
	background-color: var(--accentLightFG);
	top: 0px;
	width: 100%;
	right: 0px;
	height: 22px;
	color: var(--rootBG);
	font-size: 17px;
	font-weight: bold;
}

div.subWindow_ti span {
	margin-left: 5px;
}

div.subWindow_co {
	position: absolute;
	top: 22px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	border: 3px solid #60749c;
}

a.subWindow_x {
	text-decoration: none;
	display: block;
	width: 16px;
	height: 19px;
	float: right;
	margin-right: 3px;
	margin-top: 2px;
	color: var(--rootBG)
}

a.subWindow_x::before {
	font-family: "fontello";
	content: "\e80e";
	color: var(--accentLightFG);
}

a.subWindow_x span {
	color: var(--rootBG);
}

a.subWindow_x:hover {
	opacity: 0.6;
}

a.subWindow_x span {
	visibility: hidden;
}

iframe.subWindow_fra {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: var(--rootBG);
}

/* ---------- zoom ---------- */
div.scImgZmOver {
	background-color: black;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

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

div.scImgZmFra {
	background-color: white;
	border-radius: 5px;
	padding: 5px;
}

div.scImgZmTlb {
	margin-top: 5px;
	text-align: right;
}

a.scImgZmBtnCls {
	position: fixed;
}

a.scImgZmBtnCls span {
	display: none;
}

.scImgZmCo {
	text-align: center;
}

.scImgZmCo div {
	z-index: 2002;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border: 0;
}

.scImgZmCo iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border: 0;
}

.scImgZmCo a {
	text-decoration: none;
}

.scImgZmCo a img {
	border: 0;
}

.scImgZmCo img {
	background-color: white;
}

a.scImgZmBtnCls {
	font-family: "fontello" !important;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	color: #ffffff;
	width: 30px;
	text-align: center;
	text-decoration: none;
}

a.scImgZmBtnCls:before {
	content: "\E80E";
}

a.scImgZmBtnCls {
	display: block;
	top: 5px;
	right: 5px;
	font-size: 2em;
}

.isMobile_true a.scImgZmBtnCls {
	top: 10px;
}

.isMobile_true a.scImgZmBtnCls {
	position: absolute;
}

/* ============= Search ============= */
#tplSearch {
	padding: 1rem;
	max-width: var(--maxWidth);
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

div.searchFra {
	position: relative;
}

.advSearchBtn,
.lxc_filters_fields legend {
	position: absolute;
	left: -9999px;
}


#tplSearch input.schInput {
	width: 300px;
	background: var(--accentLightBG);
	padding: 8px 25px 8px 40px;
	border: none;
	color: var(--accentLightFG);
	margin: 0.5em 0;
	box-sizing: border-box;
	border-radius: 0.3em;
}

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

form.schForm {
	display: flex;
	align-items: center;
	flex-flow: wrap;
}

input.schBtnLaunch {
	position: absolute;
	left: 8px;
	top: 12px;
	width: 20px;
	height: 20px;
}

div.lxc_sch_nores {
	font-size: 1.05em;
	font-weight: bold;
	line-height: 20px;
	text-transform: uppercase;
	color: var(--rootFG);
	margin-left: 30px;
	margin-bottom: 15px;
}

.lxc_gpe_ti {
	font-size: 1.05em;
	font-weight: bold;
	line-height: 20px;
	text-transform: uppercase;
	color: var(--rootFG);
	margin-left: 30px;
	margin-bottom: 15px;
}

div.schPropose a:hover {
	text-decoration: none;
}

.schBtnPropose:hover,
.schBtnPropose:focus {
	background-color: var(--accentLightBG);
	outline: none;
}

.schPropose {
	position: absolute;
	top: 37px;
	left: 0;
	padding: 5px;
	width: 300px;
	background-color: var(--rootBG);
	z-index: 100;
	font-size: 0.9em;
	box-sizing: border-box;
	box-shadow: 0 2px 5px #ccc;
}

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

.schBtnPropose:hover,
.schBtnPropose:active,
.schBtnPropose:focus {
	outline: none;
	text-decoration: none;
	background-color: var(--accentLightBG);
	color: var(--rootFG);
	border-radius: 4px;
}

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

div.schProp_no {
	display: none;
}

.schResFrame {
	margin-top: -18px;
	font-size: 87%;
	font-style: italic;
	color: var(--accentLightBG);
}

button.schBtnReset {
	position: absolute;
	left: 275px;
	background: transparent;
	border: none;
	top: 12px;
}

button.schBtnReset::before {
	content: '\E80E';
	font-family: 'fontello';
	color: var(--accentLightFG);
}

button.schBtnReset span {
	display: none;
}

.schDisplay_on button.schBtnReset {
	display: inline-block;
}

.schPageBox {
	width: 165px;
	text-align: right;
	position: absolute;
	top: -27px;
}

/* ============= Categories ============= */
.lxc_filters_fields {
	display: flex;
	border: none;
	padding: 0;
	margin: 0 0 0 .5em;
	flex-wrap: wrap;
}

.lxc_filters_div {
	margin: .5em;
}

.lxc_filters_div input {
	position: absolute;
	left: -9999px;
}

.lxc_filters_div span {
	text-align: center;
	padding: 3px 0;
	display: block;
}

input[type=checkbox]+label {
	background-color: var(--accentLightBG);
	padding: 0.2em 0.5em;
	border-radius: 22px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 6em;
	box-sizing: border-box;
	cursor: pointer;
}

input[type=checkbox]:checked+label {
	background-color: var(--accentColor);
	color: var(--rootBG);
}

/* ===== FOOTER ===== */
#tplBtm {
	display: flex;
	justify-content: flex-end;
	background-color: var(--accentLightBG);
	padding: 1rem;
	color: var(--accentLightFG);
}

#tplBtm .legal {
	flex: 2 1 auto;
}

#tplBtm>a.icon {
	margin: 0 .5rem;
}

#tplBtm .legalInfo {
	margin-left: .5rem;
}

div.legalRoot_bk>div {
	display: inline-block;
	padding: 0 5px;
	color: var(--accentLightFG);
}

div.legalRoot_bk a {
	color: var(--accentColor);
}

/* ============= Transf ============= */
.edito_bk {
	margin-top: 15px;
	margin-bottom: 40px;
}

.sources_bk,
.equiTerms_bk,
.grammar_bk {
	text-align: right;
	margin: 1em 0;
}

.sources_bk a::after {
	font-family: "fontello";
	content: "\e815";
	margin-left: 0.5rem;
}

ul.seeAlsoList_ul li,
ul.partOfList_ul li,
ul.isList_ul li,
ul.antonymList_ul li,
ul.sinList_ul li,
ul.otherLinksTermGList_ul li {
	list-style: none;
}

ul.seeAlsoList_ul a,
ul.partOfList_ul a,
ul.isList_ul a,
ul.antonymList_ul a,
ul.sinList_ul a,
ul.otherLinksTermGList_ul a {
	line-height: 24px;
}

ul.seeAlsoList_ul,
ul.partOfList_ul,
ul.isList_ul,
ul.antonymList_ul,
ul.sinList_ul,
ul.otherLinksTermGList_ul {
	padding-inline-start: 0px;
}

div.txtDefNoTitle_bk {
	margin-bottom: 15px;
	margin-top: 0.8em;
}

.txt_blockquote_div {
	position: relative;
	display: block;
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 40px;
	margin-inline-end: 40px;
}

.txt_blockquote_div:before {
	position: absolute;
	content: "«";
	font-size: 4em;
	left: -0.5em;
	top: -0.5em;
	color: var(--contentEmp);
	opacity: 0.6;
}

.txt_blockquote_div:after {
	position: absolute;
	content: "»";
	font-size: 4em;
	right: -0.5em;
	bottom: -0.2em;
	color: var(--contentEmp);
	opacity: 0.6;
}

.bkBase_ti {
	font-weight: bold;
}

.bkBase_co {
	font-style: normal;
}

.resInFlow {
	text-align: center;
	margin: 10px;
}

.resInFlow_ti {
	background: #EEE;
	margin: 5px 15%;
	padding: 8px;
}

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

/*.display_off {
	display: none;
}*/

.act_on:hover,
.act_off:hover {
	opacity: 1;
	transition: opacity .25s ease-in-out;
}

.capTi {
	font-weight: bold;
	display: block;
}

.cpyt,
.license {
	margin-left: 5px;
	font-style: italic;
	font-size: 95%;
}

.cpyt::before {
	content: "© ";
}

/* Tableau */
.table_tb {
	margin: auto;
	margin-bottom: 3px;
	box-shadow: 1px 1px 4px #000;
}

.table_tb caption {
	caption-side: bottom;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 5px;
}

.table_tb th *,
.table_tb .table_total_tbtr td * {
	font-weight: bold;
}

.table_tb td,
.table_tb th {
	border: 1px solid #c2c6c9;
	padding: 0px 3px;
}

.table_tb .table_total_tbtr,
.table_tb .table_total_tbcl,
.table_tb .table_head_tbtr {
	background-color: var(--accentLightBG);
}

.table_tb td.table_word_tbtd * {
	text-align: center;
}

.table_tb td.table_num_tbtd * {
	text-align: right;
}

.table_tb p {
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0.3em;
}

div#tplHelp {
	position: absolute;
	top: 1.5rem;
	right: 3.5rem;
}

a.homeBtn,
a.homeSearchBtn {
	text-indent: 0;
	display: inline-block;
	background-color: var(--accentLightBG);
	color: var(--accentLightFG);
	border-radius: 22px;
	text-decoration: none;
	text-align: center;
	padding: 7px 10px;
	margin: 0.5rem 1rem 0.5rem 0;
}

a.homeBtn::before {
	font-family: "fontello";
	content: "\e814";
	margin-right: 0.5rem;
}

a.homeSearchBtn::before {
	font-family: "fontello";
	content: "\e810";
	margin-right: 0.5rem;
}

a.homeBtn:hover,
a.homeSearchBtn:hover {
	background-color: var(--accentColor);
	color: var(--rootBG);
}

a.homeBtn:active,
a.homeSearchBtn:active {
	margin-top: 1px;
	background-color: var(--accentColor);
	color: var(--rootBG);
}

div.lang_bk {
	position: absolute;
	top: 1.5rem;
	z-index: 1;
	text-transform: uppercase;
	right: 1.5rem;
}

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

section.bkIntro {
	margin-top: 2em;
	margin-bottom: 2em;
	border-bottom: 2px solid var(--borderColor);
}

section.bkIntro .bkIntro_ti a {
	display: block;
	color: var(--rootFG);
}

section.bkIntro .bkIntro_ti {
	margin-top: 0;
	margin-bottom: 0;
}

section.bkIntro .bkIntro_co {
	margin: 0.5em;
}

section.bkIntro .bkIntro_ti a.bkIntro_closed {
	/*	color: var(--accentLightFG);
	font-size: .7em; */
	font-style: italic;
}

section.bkIntro .bkIntro_ti a.bkIntro_closed span:after {
	content: "...";
}

/* ============= Tooltip ============= */
div.tt_fra {
	border-radius: 4px;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.05), -1px -1px 1px 1px rgba(0, 0, 0, 0.05);
}

div.tt_fra div.tt {
	background-color: var(--rootBG);
	padding: 1em;
}

div.tt_fra div.tt_ti {
	color: var(--rootFG);
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	font-weight: bold;
	font-size: 1.5em;
	line-height: 1.5em;
	border-bottom: 1px solid var(--borderColor);
}

div.tt_fra div.tt_co {
	font-size: 0.9em;
	color: var(--accentLightFG);
}

a.tt_x {
	position: absolute;
	padding: 5px;
	top: 1px;
	font-size: .8em;
	right: 3px;
	color: var(--accentLightFG);
}

a.tt_x::before {
	font-family: "fontello";
	content: "\e80e";
	color: var(--accentLightFG);
}

a.tt_x span {
	display: none;
}

a.tt_a.desc::after {
	content: "\e812";
	font-family: "fontello";
	margin-left: 5px;
	color: var(--accentColor);
	display: inline-block;
	width: 1em;
	height: 1em;
	position: relative;
	font-weight: normal;
	font-size: .8em;
	vertical-align: top;
}

a.tt_a.desc>span {
	position: absolute;
	left: -9999px;
}

/* ============= Focus ============= */
a:focus,
input:focus,
video:focus,
button:focus,
[type="checkbox"]:checked:focus+label,
[type="checkbox"]:not(:checked):focus+label {
	border: none;
	outline: 2px dotted var(--accentLightFG);
	transition: outline .25s ease-in-out;
}

/* ============= Media ============= */
@media (max-width: 960px) {

	#tplTop,
	#tplBtm,
	#tplTop .tplTopCo {
		position: relative;
		z-index: 10;
	}
}

@media (max-width: 800px) {
	div#tplHelp {
		right: 5px;
	}

	#tplTop nav {
		display: grid;
		justify-content: center;
	}

	ul.lxc_sub:not(.lxc_root):not(.xc_sch_no) {
		grid-template-columns: 1fr 1fr;
	}

	form.schForm {
		justify-content: space-around;
	}

	#tplSearch input.schInput {
		width: 100%;
	}

	button.schBtnReset {
		left: auto;
		right: 5px;
	}

	.lxc_filters_fields {
		justify-content: center;
	}
}

@media (max-width: 500px) {

	h1.title_root {
		font-size: 2em;
	}

	a.homeSearchBtn {
		margin-top: 0
	}

	ul.lxc_sub:not(.lxc_root):not(.xc_sch_no) {
		grid-template-columns: 1fr;
	}
}