:root {
	--background-color: #fafdfe;
	--foreground-color: #000;
	--primary-color-blue: #0C343D;
	--primary-color-green-background: #344e41;
	--primary-color-green-text: #3a5a40;
	--primary-color-yellow: #FFE598;
	--primary-color-creme: #dad7cd;
}
::selection {
	background: var(--primary-color-blue);
	color: var(--primary-color-yellow);
}
html {
	background: var(--background-color);
	color: var(--foreground-color);
	font-family: Open Sans, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
	line-height: 1.5em;
	/*max-width: 100em;*/
	margin-left: auto;
	margin-right: auto;
}
body {
	background: var(--background-color);
	margin: 0;
}
html, body {
	min-height: 100vh;
}
body {
	display: flex;
	flex-direction: column;
}
body > main, body > div {
	flex: auto;
	margin: 1rem;
	flex-basis: 100%;
	padding-top: 2em;
	padding-bottom: 3em;
	min-width: min(100vw, 65em);
}
body > div > main {
	flex-basis: 1;
}
body > div {
	gap: 5em;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	margin: auto;
}
body > main *, body > div > main * {
	max-width: 40rem;
}
body > main * {
	margin-left: auto;
	margin-right: auto;
}

body > div > nav ul {
	list-style: none;
	padding-left: 0;
}
body > div > nav a {
	display: block;
	margin: .2em 0;
	padding: .25em .35em;
	color: var(--primary-color-green-text);
	font-weight: bold;
	border-left: 2px solid rgba(0,0,0,0);
}
body > div > nav a:hover, body > div > nav a:active, body > div > nav a.active {
	border-left: 2px solid var(--primary-color-green-text);
}

header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
header h1 {
	white-space: nowrap;
	margin-left: 1em;
	font-size: 1.5em;
}
header h1 a {
	color: black;
}
header nav, header {
	padding: 2px;
	line-height: 1.8em;
}
footer {
	padding: 1em 4vw;
	flex-basis: 100%;
	background: var(--primary-color-green-background);
	color: var(--primary-color-creme);
	flex-wrap: wrap;

	display: flex;
	justify-content: space-around;
}
footer strong {
	color: var(--primary-color-yellow);
}
footer a {
	color: var(--primary-color-creme);
}
footer .orgnr strong, footer .orgnr a, footer .orgnr span {
	display: block;
}
footer .links p {
	margin-bottom: 0;
}
footer .links ul, ul.soppel {
	list-style: none;
	padding: inherit;
	margin-top: 0;
}
ul.soppel > li.soppel-1:before,
ul.soppel > li.soppel-3:before {
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	content: '';
	width: 3em;
	height: 3em;
	position: absolute;
	margin-top: 1.5em;
}
ul.soppel > li.soppel-1:before {
	background-image: url('../private/MinRenovasjon.Api/1.png');
}
ul.soppel > li.soppel-3:before {
	background-image: url('../private/MinRenovasjon.Api/3.png');
}
ul.soppel > li {
	margin-bottom: 1em;
}
ul.soppel ol {
	list-style: none;
	padding-left: 3.5em;
}

.columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-left: auto;
	margin-right: auto;
	gap: 2em;
}
.columns.left {
	justify-content: left;
	margin: inherit;
}

form dl {
	display: flex;
	gap: 0 1.5em;
}
form dl dt {
	flex-basis: 4em;
}
form dl dd {
	margin-left: 0;
}
form dl.textarea {
	flex-wrap: wrap;
}
form dl.textarea dd, form dl.textarea dd textarea {
	width: 100%;
}
form dl:nth-child(4), form > hr {
	position: absolute;
	opacity: 0;
}

form .toggle,
form .toggle ~ .modify,
form .toggle:checked ~ label,
form .toggle:checked ~ .submitted {
	display: none;
}
form .toggle:checked ~ .modify {
	display: revert;
}
form .toggle ~ label {
	text-decoration: underline;
	cursor: pointer;
}

.jumbotron {
	margin: 0;
	padding: 5vw;
	box-sizing: border-box;
	font-size: 1.2em;
	text-align: center;
	background: #307BCA;
	background-image: url('../img/jumbo.jpeg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 100%;
	padding-bottom: 8em;
}
.jumbotron h2 {
	font-size: calc(1.625rem + 3vw);
	font-weight: 300;
	line-height: 1em;
	color: white;
}


.side-image {
	background-image: url('/Untitled.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 100%;
	width: 20em;
	height: 30em;
	margin-top: -5em;
	border-radius: .2em;
}

header nav ul {
	list-style: none;
	margin: auto;
	padding: inherit;
	padding-top: .5em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 .3em;
	/*justify-content: space-between;*/
}
header nav ul li {
	border-bottom: 2px solid rgba(0,0,0,0);
}
header nav ul li a {
	color: var(--primary-color-green-text);
	display: block;
	padding: .2em 1em .2em 1em;
	/*color: var(--primary-color-yellow);*/
	/*text-decoration: none;*/
	font-weight: bold;
	white-space: nowrap;
	text-decoration-thickness: 2px;

}
header nav ul li.active,
header nav ul li:hover {
	border-color: white;
}
header nav ul li:hover a {
	/*
	color: #0C343D;
	*/
}




summary {
	cursor: pointer;
	margin-bottom: .5em;
}
details h4, details ul, details ol, details p, details details {
	margin-left: 1em;
}
summary h3, summary h4 {
	display: inline;
	margin-left: 0;
}





@media print {
	nav, footer {
		display: none;
	}
}








/*
.filelist {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	padding-left: 0;
}
.filelist > * {
	flex-basis: 8em;
	list-style: none;
}
.filelist > * > a {
	font-size: 0.8em;
	display: block;
	max-width: 8em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;

	padding: 10em 1em 1em 1em;
	background-repeat: no-repeat;
	background-position: 50% 0;
	background-size: contain;
}
.filelist > .filetype-eml > a {
	background-image: url('../img/filetype-eml.png');
}
.filelist > .filetype-pdf > a {
	background-image: url('../img/filetype-pdf.png');
}
*/

.filelist {
	list-style: none;
	padding-left: 0;
}
.filelist li:before {
	display: inline-block;
	width: 1.6em;
	height: 1.6em;
	margin-right: .5em;
	background-size: contain;
	background-repeat: no-repeat;
	float: left;
}
.filelist li.filetype-pdf:before {
	content: '';
	background-image: url('../img/filetype-pdf.png');
}
.filelist li.filetype-eml:before {
	content: '';
	background-image: url('../img/filetype-eml.png');
}


.e404 {
	background-image: url('../private/tbservers.png');
	background-repeat: no-repeat;
	background-size: auto 20em;

	padding-top: 20em;
}
#iframe_hentedager {
	border: none;
	height: 5em;
}

.side-logo {
	float: right;
	max-width: 14em;
	padding-left: 1em;
	margin-bottom: 1em;
}


.mail dl dt {
	font-weight: bold;
	float: left;
	clear: left;
	width: 6em;
}
.mail dl dd {
	float: left;
}
.mail dl:after {
	display: block;
	content: " ";
	clear: left;
}
.mail {
	box-shadow: 0 .2em .5em rgba(0,0,0,.5);
	border-radius: .2em;
	padding: .7em 2em;
}


.outlook p.MsoNormal, .outlook li.MsoNormal, .outlook div.MsoNormal
	{margin:0cm;
	font-size:12.0pt;
	font-family:"Aptos",sans-serif;}
.outlook a:link, .outlook span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
.outlook span.EpostStil18
	{mso-style-type:personal-reply;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.outlook .MsoChpDefault
	{mso-style-type:export-only;
	font-size:11.0pt;
	mso-ligatures:none;
	mso-fareast-language:EN-US;}


@media screen and (max-width: 699px) {
	footer > * {
		flex-basis: 100%;
	}
}
@media screen and (max-width: 570px) {
	* {
		flex-basis: 100%;
	}
	#iframe_hentedager {
		border: none;
		height: 12em;
	}
}
