main
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;

	padding-top: 7em;
}

.main_wrap
{
	width: 80vw;

	box-shadow: 1px 1px 10px rgb(53, 60, 74);
}

h1
{
	margin:0;
	padding: 0.7em;
	padding-left: 1em;

	background-color: #383e51;

	color: white;
	font-weight: bold;
	font-size:1em;

	border-top-left-radius: 5px;
	border-top-right-radius: 5px;

	transition: all 0.3s;
}

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;
}

form
{
	width : 50%;
	margin-right: auto;
	margin-left: auto;

	padding-top:3em;

	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;
}

form .field.hidden
{
	display: none;
}

.field_base
{
	width:100%;

	display:flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.rememberMe_field
{
	padding-top:0.5em;
	align-items: flex-start;
}

.rememberMe_field .field_base
{
	justify-content: flex-start;
}

.rememberMe_input_label
{
	padding-right: 1em;
}

.submit_field .field_base
{
	justify-content: 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%;
}

.register_form input
{
	width:100%;
	padding:1em;
}

.register_form input[type="submit"]
{
	padding:1em;
}

input[type="checkbox"]
{
	width:auto;
}

input[type="checkbox"]:active, input[type="checkbox"]:focus
{
	outline:none;
}

input:hover
{
	/*background-color: #f7f4dc;*/
	border-color:#e6d87a;
}

input:focus, input:active
{
	outline:none;
	background-color: #f7f4dc;
	border-color: #e6d87a;
}

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;
}

p
{
	width: 50%;

	margin: 0;
	padding:0;

	margin-bottom: 0.5em;
}

p a
{
	color: #383e51;
	font-weight: bold;
	text-decoration: none;
}

p a:hover
{
	color: #b0942e;
}

form.edit_profile_form
{
	padding-top: 0;
	margin-bottom: 1rem;
}

form.change_password_form
{
	padding-top: 0;
}

.profile
{
	display:flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;

	width: 100%;

	margin-top: 1rem;
	margin-bottom: 1rem;
}

.profile .avatar
{
	width: 400px;
	margin-left: 2rem;
}

.profile .avatar img
{
	display: block;
	width: 100%;
}

.profile .avatar svg
{
	display: block;
	width: 100%;
	fill: #383e51;
	transform: scale(0.9);
}

.profile .infos
{
	margin-right: 2rem;
	margin-left: 2rem;

	display:flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

.profile .pseudo
{
	font-size: 1.2em;
	font-weight: bold;

	margin-bottom: 1rem;

	display:flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.profile .edit.hidden
{
	display:none;
}

.profile .edit
{
	margin-left: 1rem;
}

.profile .edit a
{
	display: block;
	padding: 0.2rem;

	background-color: #383e51;
	color: white;
	border-radius: 5px;
}

.profile .edit a svg
{
	width: 1em;
	height: 1em;
	display: block;
	fill: white;

	transition: all 0.3s;
}

.profile .edit a:hover svg
{
	fill: #b0942e;
}

.profile .registrationdate, .profile .countmessages, .profile .score
{
	margin-bottom: 0.5rem;
}

.profile .listtitle
{
	font-size: 1.2rem;
	font-weight: bold;

	margin-top: 1rem;
	margin-bottom: 1rem;
}

.profile .countrylist
{
	display:flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}

.profile .country
{
	margin-bottom: 0.5rem;
}

.profile .country a
{
	display:flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;

	color: inherit;
	text-decoration: none;
	font-weight: bold;

	transition: all 0.5s;
}

.profile .country a:hover
{
	color: #b0942e;
}

.profile .country a:hover img
{
	transform: scale(1.05);
}

.profile .country img
{
	display: block;
	width: 4rem;
	margin-right: 1rem;

	transition: all 0.5s;
}

.add_score_form
{
	flex-direction: row;
	width: auto;
	padding-top: 0;
}

.add_score_form input
{
	width: auto;
}

.add_score_form input[type="submit"]
{
	margin-left: 1rem;
}
