:root {
	--rusko: #8E7146;
	--hieta: #EBE5D5;
	--hiili: #231F20;
	--usva: #DCDCDA;
	--white: #FFFFFF;
}

html,
body {
	margin: 0;
	padding: 0;
	background: var(--hieta);
	color: var(--hiili);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

body {
	text-align: center;
}

#pagewrapper {
	width: 980px;
	margin: 28px auto;
	text-align: left;
}

#layout {
	background: var(--white);
	border: 1px solid var(--usva);
	box-shadow: 0 18px 45px rgba(35, 31, 32, 0.12);
}

#header {
	padding: 34px 56px 28px 56px;
	border-bottom: 1px solid var(--usva);
	background: var(--white);
}

#brand {
	display: block;
}

#brandmark img {
	display: block;
	width: 420px;
	max-width: 100%;
	height: auto;
}

#mainblock {
	background: var(--white);
	min-height: 470px;
}

#content {
	padding: 48px 64px 70px 64px;
}
#footer {
	min-height: 28px;
	padding: 0 14px 0 24px;
	background: #8E7146;
	color: #FFFFFF;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
}

#footerleft {
	display: flex;
	align-items: center;
	gap: 6px;
}

#footerright {
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
}

.logoutlink,
.logoutlink:visited {
	color: #FFFFFF !important;
	text-decoration: none;
	font-weight: bold;
}

	.logoutlink:hover {
		text-decoration: underline;
	}

.logoutlink,
.logoutlink:visited {
	color: var(--white) !important;
	text-decoration: none;
	font-weight: bold;
}

	.logoutlink:hover {
		text-decoration: underline;
	}

h1,
h2,
h3 {
	font-family: "Marcellus", Georgia, serif;
	color: var(--rusko);
	font-weight: normal;
}

h2 {
	font-size: 1.7em;
}

a,
a:visited,
a:link,
a:active {
	color: #8E7146 !important;
	text-decoration: none;
}

	a:hover {
		color: #8E7146 !important;
		text-decoration: underline;
	}


/* Footer logout override */

#footer a,
#footer a:visited,
#footer a:link,
#footer a:active,
#footer a:hover,
.logoutlink,
.logoutlink:visited,
.logoutlink:link,
.logoutlink:active,
.logoutlink:hover {
	color: #FFFFFF !important;
}