body {
	background: #1a1b15;
	color: #f2f7db;
	font-family: sans-serif;
}

h1 {
	font-size: 14pt;
	margin: 5px 0 5px 0;
}

.fond_clair {
	color: #1a1b15;
	background: #f2f7db;
	border: solid 1px #f2f7db;
	padding: 1em;
	border-radius: 1em;
}

#login_form, #single_msg {
	margin-left: 50vw;
	margin-top: 50vh;
	transform: translate(-50%,-50%);
	position: fixed;
}
#main_menu {
	margin-left: 50vw;
	margin-top: 2em;
	transform: translate(-50%,0%);
}

#user_control {
	top:0;
	right:0;
	z-index: 50;
}

/* LAYOUT */

#header_frame, #browser_frame, #viewer_frame, #user_control, #nav_frame, #editor_frame  {
	position: fixed;
	margin: 10px;
}

#header_frame {
	top: 0;
	left: 0;
}

#browser_frame {
	top: 9vh;
	left: 0;
	height: 88vh;
	width: 14vw;
}

#viewer_frame {
	top: 9vh;
	left: 15vw;
	height: 88vh;
	width: 55vw;
	overflow: auto;
}

#image-gallery {
	width: 100%;
	position: relative;
	height: 100%;
	background: #1a1b15;
}

#image-gallery .image-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#nav_frame  {
	top: 9vh;
	left: 0;
	height: 4vh;
	width: 14vw;
	overflow: visible;
}
#browser_frame {
	top: 13vh;
	left: 0;
	height: 84vh;
	width: 14vw;
	overflow: auto;
}
#editor_frame {
	top: 13vh;
	left: 70vw;
	height: 88vh;
	width: 30vw;
	overflow: auto;
}

.full_page {
	margin: 50px;
	column-width: 500px;
}

.full_footer_page {
	margin: 50px;
}


h1.full_page   {
	column-count : 1;
	margin: 50px 50px 5px 50px;
	font-size: 200%;
}
.full_page  h2, .full_page  h3 {
	border-top: dotted 1px #f2f7db;
	padding-top: 7px;
	break-after: avoid;
}

.liste {
	list-style-type: disc;
	list-style-position: inside;
	margin-bottom: 10px;
	-webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
	page-break-inside: avoid; /* Firefox */
	break-inside: avoid; /* IE 10+ */
	break-inside: avoid-column; /* W3C */}

.detail_tag {
	display: inline-block;
	margin: 2px;
	padding: 2px 4px;
	white-space: nowrap;
	font-size: 80%;
	border-radius: 4px;
	background: #454837;
	border: solid 1px #454837;
	
}

/* BROWSER */

#browser_frame ul {
	list-style-type: none;
    margin: 0;
    padding: 0;
}
#browser_frame li {
    padding: 0;
}
#browser_frame li a{
    padding: 10px;
    display: block;
	text-align: center;
}

#browser_frame a:hover {
	background: #575b47;
}
#browser_frame .current_view {
	background: #414435;
}

#nav_frame  {
	font-weight: bold;
	text-align: center;
}

#nav_frame  a {
	margin: 3px;
	padding: 3px;
	border: solid 1px #f2f7db;
	border-radius: 4px;
}

/* LINKS */

a			{ text-decoration: none; #f2f7db; }
a:link 		{ color: #f2f7db; }
a:visited	{ color: #f2f7db; }
a:hover 		{ background: #575b47; }
a:active	{ background: #575b47; }

.fond_clair a			{ text-decoration: none; color: #1a1b15; }
.fond_clair a:link 		{ color: #1a1b15; }
.fond_clair a:visited	{ color: #1a1b15; }
.fond_clair a:hover 		{ background: #575b47; }
.fond_clair a:active		{ background: #575b47; }

a.high_resolution:hover  { cursor: zoom-out; }
a.low_resolution:hover { cursor: zoom-in; }

/* VIEWER */


/* EDITOR */

.ligne_paire {
	background: #27281f;	
}
.ligne_impaire {
	background: #1a1b15;	
}
.editor_version_details {
	font-style: italic;
}
.wide_input {
	width: 95%;
}

.editor_buttons {
	padding: 0 0 0 15px;
	width: 100%;
	display: table;
	border-bottom: solid 1px #f2f7db;
}
.editor_buttons:after { clear: both; }

.tab_button_active, .tab_button_inactv {
	color: #f2f7db; 
	padding: 4px 8px;
	display: inline-block;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	border-top: solid 1px #f2f7db;
	border-left: solid 1px #f2f7db;
	border-right: solid 1px #f2f7db;
	border-radius: 6px 6px 0 0;
	margin: 0 3px;
	transform: translate(0, 1px);
}
.tab_button_active { border-bottom: solid 1px #1a1b15; background: #1a1b15; }
.tab_button_inactv { border-bottom: solid 1px #f2f7db; background: #454837; }

.editor_tab { 
	padding: 15px;
	display: none;
}

.completion {
	background: #b9bca9;
	border: solid 1px #535643;
	color: #1a1b15;
	cursor: pointer;
	position: absolute;
	display: none;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
	padding: 10px;
}

/* Tag lists */

.tag_container {
	margin: 15px 0 0 0;
	border-top: dotted 1px #f2f7db;
}

.tag_list {
	margin: 6px 0 0 0;
}

.tag_block  {
	display: inline-block;
	margin: 3px;
	padding: 3px 6px;
	white-space: nowrap;
	border-radius: 6px;
	background: #454837;
	border: solid 1px #454837;
}

.tag_button {
	color: #f2f7db; 
	cursor: pointer;
	background: #1a1b15;
	border: solid 1px #f2f7db;
	border-radius: 6px;
	padding: 6px;
	margin: 0 0 0 6px;
}

.editor_button {
	margin: 10px;
	padding: 10px;
	font-size: 120%;
}

/* Password strength */

meter {
  width: 100%;
  height: 0.5em;
}

/* Webkit based browsers */
meter[value="1"]::-webkit-meter-optimum-value { background: red; }
meter[value="2"]::-webkit-meter-optimum-value { background: yellow; }
meter[value="3"]::-webkit-meter-optimum-value { background: orange; }
meter[value="4"]::-webkit-meter-optimum-value { background: green; }

/* Gecko based browsers */
meter[value="1"]::-moz-meter-bar { background: red; }
meter[value="2"]::-moz-meter-bar { background: yellow; }
meter[value="3"]::-moz-meter-bar { background: orange; }
meter[value="4"]::-moz-meter-bar { background: green; }

.sub_user_help, .user_help {
	font-size: 80%;
	margin: 0;
}
.date_help {
	font-size: 65%;
	margin: 0;
	padding: 0;
	text-align: center;
}
span.date_help {
	display:inline-block;
	text-align: left;
}

#login_form td {
	vertical-align: top;
	padding: 0.25em;
}