body {
	margin: auto !important;	
}

table.e5_static_page, table.e5_static_page_grise {
	width: -webkit-fill-available;
	height: -webkit-fill-available;
	color: #aaaaaa;
	font-size: 3vh;
	background-color: #000000;
	align-content: center;
	text-align: center;
	margin: 0;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
}

/* pour image viewer */
table.e5_static_page_grise {
	background-color: #494e59;
}

table.e5_table, table.e5_table_header, table.e5_table_footer, table.e5_table_bicolore,
	table.e5_petite_table, table.e5_widget {
	border: 0;
	width: 100%;
	margin: 0;
	border-spacing: 0;
}

table.e5_table, table.e5_table_bicolore, table.e5_table_page {
	line-height: 2em;
}

table.e5_petite_table {
	width: 50%;
}

table.e5_table_bicolore tr:nth-child(even) {
	background-color: transparent;
}

table.e5_table_bicolore tr:nth-child(odd) {
	background-color: #3c414c;
}

table.e5_widget {
	background-color: #494e59;
	border: 1px solid #494e59;
}

table.e5_table_border, table.e5_table_border tr, table.e5_table_border td
	{
	border: 1px solid black;
	text-align: center;
}

td.e5_page_left {
	width: 20%;
	vertical-align: top;
	text-align: left;
}

.e5_table_bicolore * td {
	text-align: left;	
}

td.e5_page_center {
	width: 60%;
	height: 100px; /* Sinon le footer n'est pas juste en-dessous */
	vertical-align: top;
	text-align: justify;
	word-wrap: break-word;
	overflow-wrap: break-word;	
}

div.e5_page_center {
/*	max-width: 600px;*/
	background-color: #494e59;
	border-left: 4px solid #494e59;
	border-right: 4px solid #494e59;
	margin: 0 10px;
	line-height: 2em;
	/*min-width:400px;*/
}

div.e5_page_center_large {
	background-color: #494e59;
	border-left: 1px solid #333333;
	border-right: 1px solid #333333;
	margin: 0 auto;
	word-break: break-all;
	overflow-wrap: break-word;	
	line-height: 2em;
	/*min-width:400px;*/
}

td.e5_page_right {
	width: 20%;
	vertical-align: top;
	text-align: left;
}

div.e5_popup .e5_page_right {
    vertical-align: top;
	text-align: left;
}

div.e5_popup .e5_page_left {
    vertical-align: top;
	text-align: left;
}

div.e5_page_right {
	position: sticky;
	top: 0;
}

div.e5_page_left {
	position: sticky;
	top: 0;
}

td.e5_header_left_logo {
	width: 20%;
}

td.e5_header_center_logo {
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	height: 5em;
}

td.e5_header_center_search {
	width: 60%;
	font-size: 1em;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 5%;
	padding-left: 0px;
	text-align: left;
}

td.e5_header_right {
	width: 20%;
	font-size: 1em;
	text-align: center;
	vertical-align: top;
}

td.e5_footer {
	vertical-align: top;
}

div.e5_footer_bande {
	padding: 0.2em 0 0 0;
	margin: 0 10px;
	display: block;
	text-align: right;
}

div.e5_menu_bande {
	padding: 0 0 0 0;
	margin: 0 10px;
	display: block;
}

div.e5_menu_gauche {
	position: sticky;
	top: 0;
	font-size: 0.9em;
}

tr.e5_moi {
	background-color: darkblue !important;
}

tr.e5_tr_top {
	vertical-align: top;
}

tr.e5_tr_center {
	vertical-align: middle;
}

tr.e5_tr_bottom {
	vertical-align: bottom;
}

td.e5_td_left, th.e5_td_left {
	text-align: left;
}

td.e5_td_center, th.e5_td_center {
	text-align: center;
}

td.e5_td_right, th.e5_td_right {
	text-align: right;
}

td.e5_td_menu {
	padding: 0;
}

label.e5_label {
	font-size: 1em;
	font-weight: bold;
	color: #eeeeee;
}

input.e5_input, ul.e5_input * {
	color: #bbbbbb;
	background: #303549;
	margin-bottom: 0.5em;
	width: 100%;
	min-width: 45px;
	text-align: left;
}

ul.e5_input {
	background: #303549;
}

input.e5_input_transparent {
	background: transparent;
	border: none;
	color: #ffffff;
}

input.e5_input_bouton {
	color: #bbbbbb;
	background: #303549;
	margin-bottom: 0.5em;
	width: 100px;
}

input.e5_input_invisible {
	display: none;
}

div.e5_defaut, div.e5_break {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0.5em 1.5em 0.5em 1.5em;
	margin: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;	
}

div.e5_compact {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0.2em 1.5em 0.2em 1.5em;
	margin: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;	
}

div.e5_widget {
	padding: 0.2em 0.5em;
	margin: 0;
}

.no-padding {
	margin: -8px 0 0 -10px;
}

div.e5_break {
	word-break: break-all;
	overflow-wrap: break-word;	
}

h1.e5_defaut, h1.e5_menu {
	font-size: 1.4em;
	margin: 0;
}

h1.e5_defaut {
	padding: 0.2em 1.5em 0.2em 1.1em;
}

h1.e5_menu {
	padding: 0;
}

h2.e5_defaut {
	color: #ffffff;
	background: #303549;
	font-size: 1.2em;
	padding: 0.5em 1.5em 0.5em 1.25em;
	margin: 0;
}


h2.e5_menu {
	color: #999999;
	background: transparent;
	font-size: 1em;
	padding: 0.5em 1.7em 0.5em 1.25em;
	margin: 0;
}

h3.e5_defaut {
	color: #dddddd;
	font-size: 1.2em;
	padding: 0.5em 1.5em 0.5em 1.25em;
	margin: 0;
}

h4.e5_defaut {
	color: #000000;
	font-size: 1em;
	padding: 0.5em 1.5em 0.5em 1.25em;
	margin: 0;
}

ol.e5_defaut {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0.5em 1.5em 0.5em 0.5em;
	margin: 0 0 0 3em;
}

ul.e5_defaut {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0.5em 1.5em 0.5em 0.5em;
	margin: 0 0 0 3em;
}

li.e5_defaut {
	font-size: 1em;
	line-height: 1.5em;
	padding: 0.5em 1.5em 0.5em 0.5em;
	margin: 0 0 0 3em;
}

ul.e5_menu, ul.e5_menu_gauche {
	margin: 0px;
	padding-inline-start: 0px;
	list-style-type: none;
}

ul.e5_menu {
	font-family: casual, cursive;
}

li.e5_menu, li.e5_menu_selection {
	display: inline-block;
	border-style: solid;
	border-radius: 10px 10px 0 0;
	padding: 10px 15px;
	vertical-align: bottom;
	float: left;
	height: 20px
}

li.e5_menu_selection {
	border-color: #494e59;
	border-width: 1px 1px 3px 1px;
	background-color: #494e59;
}

li.e5_menu {
	border-color: #333333;
	border-width: 1px 1px 3px 1px;
	background-color: #676f7e;
}

a.e5_menu, a.e5_menu_selection, span.e5_menu, span.e5_menu_selection {
	font-size: 1.2em;
	text-decoration: none;
}

a.e5_selection, a.e5_defaut  {
	text-decoration: none;
}

a {
	text-decoration: none !important;	
}

a.e5_menu:hover {
	color: gold !important;	
}


span.e5_menu, a.e5_menu, a.e5_menu:link, a.e5_menu:visited, a.e5_defaut:visited  {
	color: #f5deb3;
}

span.e5_menu_selection, a.e5_menu_selection, a.e5_menu_selection:link, a.e5_menu_selection:visited,
	span.e5_selection, a.e5_selection:link, a.e5_selection:visited {
	color: #ffffff;
}

a.e5_menu_selection, a.e5_menu_selection:link, a.e5_menu_selection:visited
{
	color: gold;
}

/* Bannieres */
div.e5_warning, div.e5_erreur, div.e5_info, div.e5_correct, div.e5_incorrect
	{
	margin: 0.5em 0.5em 0.5em 0.5em;
	padding: 0.5em 0.5em 0em 60px;
	background-position: 5px center;
	background-size: 40px;
	min-height: 50px;
	background-repeat: no-repeat;
	display: block;
	vertical-align: middle;
	line-height: 1.4em;
}

div.e5_info.mini {
	background-size: 20px;
	min-height: 25px;
}

div.e5_warning {
	color: #ff6600;
	border: #ff6600 4px groove;
	font-weight: normal;
	background-image: url('/assets/cadres/warning.png');
}

div.e5_erreur {
	color: #FF0000;
	border: #FF0000 4px groove;
	font-weight: bold;
	background-image: url('/assets/cadres/erreur.png');
}

div.e5_info {
	color: #6699ff;
	border: #6699ff 4px groove;
	font-weight: bold;
	font-size: 1.1em;
	text-align: center;
	background-image: url('/assets/cadres/info.png');
}

div.e5_correct {
	color: gold;
	border: gold 4px dotted;
	text-align: center;
	font-weight: bold;
	font-size: 1.1em;
	background-image: url('/assets/cadres/oui.gif');
	padding: 0.5em 0.5em 70px 0.5em;
	background-position: center bottom 10px;
	background-size: 50px;
	min-height: 10px;
}

div.e5_incorrect {
	color: #b2ac9e;
	border: #b2ac9e 4px groove;
	text-align: center;
	font-weight: bold;
	background-image: url('/assets/cadres/non.gif');
	padding: 0.5em 0.5em 90px 0.5em;
	background-position: center bottom 10px;
	background-size: 50px;
}

div.e5_modification, div.e5_indice1, div.e5_indice2, div.e5_trouvee, div.e5_nontrouvee
	{
	margin: 0.5em 0.5em 0.5em 0.5em;
	padding: 0.5em 0.5em 0.5em 25px;
	background-position: 5px 5px;
	background-size: 15px;
	min-height: 25px;
	background-repeat: no-repeat;
	display: block;
	vertical-align: middle;
	font-weight: normal;
}

div.e5_trouvee, div.e5_nontrouvee
	{
	margin: 0.1em 0.1em 0.3em 0.1em;
}

div.e5_modification {
	color: #ff6600;
	background-image: url('/assets/cadres/modifie.png');
}

div.e5_indice1 {
	color: palegreen;
	background-image: url('/assets/cadres/indice.png');
}

div.e5_indice2 {
	color: palegreen;
	background-image: url('/assets/cadres/indices.png');
}

div.e5_trouvee {
	padding: 0.1em 0em 0em 25px;
	min-height: 10px;
	background-image: url('/assets/cadres/OK.png');
}

div.e5_nontrouvee {
	padding: 0.1em 0em 0em 25px;
	min-height: 10px;
	background-image: url('/assets/cadres/question.png');
}

div.e5_intro {
	margin: 0;
	background-color: #2b323a;
	font-size: 0.9em;
	color: #FFFFDD;
	font-style: normal;
	padding: 0.2em 0.6em 0.2em 0.6em;
	font-weight: normal;
}

span.e5_gris {
	color: #999999;
	font-weight: normal;
}

span.e5_souligne {
	text-decoration: underline;
}

span.e5_ok {
	color: palegreen;
}

tr.e5_ok {
	color: palegreen;
}

tr.e5_ok_titre {
	color: black;
	background-color: palegreen;
}

span.e5_nok {
	color: salmon;
}

tr.e5_nok {
	color: salmon;
}

span.e5_auteur {
	color: gold;
}

tr.e5_nok_titre {
	color: white;
	background-color: salmon;
}

span.e5_nc {
	font-family: "Courier New", Courier, mono;
	font-size: 1.1em;
}

span.e5_cache {
	color: #20B2AA;
	background-color: #20B2AA;
}

.tag-edit span.e5_cache{
	color: #20B2AA;
	background-color: #20B2AA55;
}

span.e5_cach2 {
	color: #20B2AA;
}

cite.e5_quote {
	background: #666666;
}

div.e5_quote {
	border: 1px solid #999999;
	margin: 2px 5px;
	padding: 2px;
}

div.e5_encercle {
	display: inline-block;
	padding: 0rem 0.3rem 0rem 0.2rem;
	border-radius: 50%;
	background-color: green;
	font-size: 0.8em;
	font-weight: bold;
}

div.e5_encercle_rouge {
	display: inline-block;
	padding: 0rem 0.3rem 0rem 0.2rem;
	border-radius: 50%;
	background-color: red;
	font-size: 0.8em;
	font-weight: bold;
}

div.e5_encercle_orange {
	display: inline-block;
	padding: 0rem 0.3rem 0rem 0.2rem;
	border-radius: 50%;
	background-color: orange;
	font-size: 0.8em;
	font-weight: bold;
}

div.e5_encercle_jaune {
	display: inline-block;
	padding: 0rem 0.3rem 0rem 0.2rem;
	border-radius: 50%;
	background-color: blue;
	font-size: 0.8em;
	font-weight: bold;
}

div.e5_ligne {
	border-top-width: 1px;
	border-top-style: solid;
	border-color: #777;
	margin: 0px 2%;
	margin: 0.5em 2%;
}

div.e5_content_center {
	text-align: center;
	vertical-align: middle;
}

span.e5_droite {
	float: right;
	padding: 0.5em;
	padding-right: 0em;
	padding-top: 0.3em;
	text-align: center;
}

td.e5_navigation{
	width:32px;
	vertical-align:top;
}

td.e5_navigation img {
	vertical-align:middle;
}

td.e5_enigme_actions {
	vertical-align:top;
}

img.e5_menu {
	height: 18px;
	padding-right: 5px;
}

img.e5_static {
	height: 100%;
	border: 0;
}

img.e5_liens {
	height: 32px;
	width: 88px;
	border: 0;
}

img.e5_chasse {
	height: 60%;
	border: 1;
	border-color: white;
}

img.e5_menu_droite {
	height: 18px;
	padding-right: 5px;
}

img.e5_score {
	height: 40px;
}

img.e5_icon {
	height: 18px;
	padding-right: 2px;
}

.e5_img_popup_back {
	background-color: #494e59;
}

img.e5_centree {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
}

div.btn_expand, span.btn_expand {
	background-image: url('/assets/cadres/expand.png');
	background-repeat: no-repeat;
	background-size: cover;
	float: right;
	width: 15px;
	height: 15px;
}

.btn_expand.btn_menu {
	background-image: url('/assets/cadres/menu.png');
	width: 20px;
	height: 25px;
}

div.btn_expand.center, span.btn_expand.center {
	float: none;
	margin: auto;
}

div.btn_expand_open, span.btn_expand_open {
	background-image: url('/assets/cadres/collapse.png');
}

div.contenu_cache, span.contenu_cache, tr.contenu_cache, tbody.contenu_cache {
	display: none;
}

h2.collapse_header{
	position:relative;	
}

h2.collapse_header span.btn_expand {
	position: absolute;
	top: 10px;
	right: 5px;
	width: 15px;
	height: 15px;
}

span.balise_erreur {
	background:#FF6666;
}

span.retire_balise {
	text-decoration: red line-through;
}

span.tag-hidden {
	display:none;
}

.ui-autocomplete {
	max-height: 200px;
	min-height: 50px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 20px;
	padding-bottom: 20px;
}

td.e5_half {
	width: 50%;
}

div.e5_popup {
	position: fixed;
	width: 340px;
    left: 50%;
    top: 50%;
	background-color: #494e59;
	z-index: 1000;
	margin: 5px 5px;
	border: 2px solid #303549;
    transform: translateY(-50%) translateX(-50%);
}

div.e5_menu_button {
    position: fixed;
    top: 5px;
    right: 15px;
    z-index:1000;
   }           

/* A appliquer en dernier pour que ça marche */
/* A cacher en haute résolution ! */
@media ( min-width : 600px) {
	img.e5_basse_resolution {
		display: none;
	}
	div.e5_basse_resolution {
		display: none;
	}
	span.e5_basse_resolution {
		display: none;
	}
	tr.e5_basse_resolution {
		display: none;
	}
	td.e5_basse_resolution {
		display: none;
	}
}

/* A cacher en basse résolution ! */
@media ( max-width : 599px) {
	img.e5_haute_resolution {
		display: none;
	}
	div.e5_haute_resolution {
		display: none;
	}
	span.e5_haute_resolution {
		display: none;
	}
	tr.e5_haute_resolution {
		display: none;
	}
	td.e5_haute_resolution {
		display: none;
	}
	li.e5_haute_resolution {
		display: none;
	}
	td.e5_header_center_logo {
		display: none;
	}
	td.e5_header_center_search {
		display: none;
	}
	td.e5_page_right {
		display: none;
    }           
	td.e5_page_left {
		display: none;
    }   
}
