main
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;

	padding-top: 7em;
}

#arborescence
{
	width: 80vw;

	font-weight: bold;

	padding-left:1em;
	padding-top:0.5em;
	padding-bottom:0.5em;

	border-radius: 0.5em;

	box-shadow: 5px 5px 15px grey;
}

#arborescence a
{
	text-decoration: none;
	color: #2f3e6e;
	transition: all 0.3s;
}

#arborescence a:hover
{
	color: #b0942e;
}

#arborescence span[itemprop="itemListElement"]
{
	padding-right:0.4em;
}

#arborescence span[itemprop="itemListElement"]::after
{
	color: #2f3e6e;
	content: " • ";
	padding-left:0.4em;
}

.main_wrap
{
	width: 80vw;

	margin-top: 2em;

	box-shadow: 1px 1px 10px rgb(53, 60, 74);
}

.main_wrap h1
{
	margin:0;
	padding: 0.7em;
	padding-left: 1em;

	background-color: #383e51;

	color: white;
	font-weight: bold;
	font-size:1em;

	width: auto;

	border-top-left-radius: 5px;
	border-top-right-radius: 5px;

	transition: all 0.3s;
}

.main_wrap h1:hover
{
	cursor:default;
	color: #b0942e;
}

.main_wrap_content
{
	height:100%;
	width:100%;

	color:rgb(35, 45, 64);

	transition: all 0.3s;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	padding-bottom: 1.5em;

	padding-top:1.5em;
}

form
{
	width : 50%;
	margin-right: auto;
	margin-left: auto;

	display:flex;
	flex-direction: column;
	align-items: center;
}

.field
{
	width:100%;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	margin-bottom: 1em;
}

.field.hidden
{
	display:none;
}

.field_base
{
	width:100%;

	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.field_error
{
	text-align: center;

	margin-top: 1em;

	color: red;
	font-style: italic;
	font-size: 0.8em;
}

input
{
	font-family: "Calibri" "Arial";

	padding-left:0.5em;
	padding-right:0.5em;
	padding-top:0.3em;
	padding-bottom:0.3em;

	border-style:solid;
	border-width: normal;
	border-color:lightgrey;
	border-radius: 5px;

	transition: all 0.5s;

	width: 50%;
}

input[type="checkbox"]
{
	width:auto;
}

input[type="checkbox"]:active, input[type="checkbox"]:focus
{
	outline:none;
}

input:hover
{
	border-color:#e6d87a;
}

input:focus, input:active
{
	outline:none;
	background-color: #f7f4dc;
	border-color: #e6d87a;
}

select:focus, option:focus, textarea:focus
{
	outline:none;
}

input[type="submit"]
{
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 0.3em;
	padding-bottom: 0.3em;

	border-radius:0px;
	border:none;

	background-color: #273345;

	color: white;
	font-family: "Calibri" "Arial";

	font-size: 0.9em;

	transition: all 0.5s;
}

input[type="submit"]:hover
{
	color: #b0942e;
	cursor:pointer;
	outline:none;
}

.submit_field .field_base, .preview_field .field_base
{
	justify-content: center;
}

.choice
{
	display:flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: flex-start;
}

.choice label
{
	background-color: #383e51;

	color: white;

	border-radius: 0.5em;

	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;

	transition: all 0.5s;
}

.choice label:hover
{
	opacity: 0.9;
}

.choice label:hover
{
	cursor: pointer;
}

.choice label::after
{
	content: " ✓";
	opacity: 0;
	transition: all 0.5s;
}

.choice input:checked ~ label::after
{
	opacity: 1;
}

.choice input:checked ~ label
{
	background-color: #b0942e;
}

.choice input
{
	position: absolute;
	left:-1000px;
}

.field.radio .input
{
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;

	width: 50%;
}

.field.checkbox .field_base
{
	justify-content: flex-start;
}

.field.checkbox label
{
	padding-right: 1em;
}

select
{
	width:50%;
}

.admin_permissions
{
	width:100%;
}

h3
{
	width: 100%;
	margin:0;
	padding:0;
	margin-bottom: 0.5em;
	font-size: 1.1em;
}

.admin_permissions
{
	display:flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

h2
{
	width: 50%;
}

.admin
{
	width: 50%;
	margin-bottom: 1em;
}

.admin_permissions a
{
	text-decoration: none;
	color: #4a8bb0;
}

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

.pseudo_field .field_base
{
	justify-content: center;
}

form.post_form
{
	width:80%;
}

.title_field input
{
	width:100%;
}

.status_field .input
{
	width: auto;
	margin-left: 1em;
	justify-content: flex-start;
}

.status_field .field_base
{
	justify-content: flex-start;
}

.status_field label
{
	margin-right: 1em;
}

textarea
{
	width: 100%;

	padding-top: 0.2em;

	resize:vertical;
	min-height: 20em;

	color:black;
	font-size: 1em;
	font-family: inherit;
}

#text_editor
{
	width:100%;

	margin-bottom: 0.5em;

	display:flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}

#text_editor .button
{
	background-color: #383e51;
	color: white;

	min-width: 1em;
	padding: 0.5em;

	margin-left: 0;

	transition: all 0.3s;

	border-right: solid;
	border-bottom: solid;
	border-width: thin;
	border-color: lightgrey;

	display:flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#text_editor .button:hover
{
	background-color: #b0942e;
	color: white;

	cursor: pointer;
	user-select: none;
}

#text_editor .button svg
{
	width: 1em;
	height: 1em;
	margin-right: 0;
	vertical-align: middle;
}

#text_editor input.jscolor
{
	width: auto;
}

#text_editor #select-size
{
	padding-left: 1em;
}

#text_editor #select-color
{
	padding-left: 0.5em;
}

#text_editor #select-size, #text_editor #select-color
{
	display:flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#size-selector, #color-selector
{
	width: auto;

	margin-left: 0.5em;
	margin-right: 0.5em;
}

#preview
{
	width: 80vw;
	margin-top: 2em;
}

#preview .message
{
	margin: 0;
}
