body {
	background-color: #7D838D;
	color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin: 0 auto 0 auto;
	font-size: 11px;
	line-height: 1.5;
}

ul, li {
	padding: 0;
	margin: 0;
	list-style: none;
}

a {
	text-decoration: none;
	color: #1a3a5f;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	margin: 3px 0 16px 0;
	font-weight: bold;
}

h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin: 3px 0 8px 0;
	font-weight: bold;
}

h3 {
	font-size: 12px;
	margin: 2px 0 6px 0;
	font-weight: bold;
}

p {
	margin: 0 0 11px 0;
}

/* === Page container === */
#page {
	background-color: white;
	max-width: 790px;
	margin: 10px auto;
	padding: 10px;
	border-left: 5px solid #E7E7E7;
	border-right: 5px solid #E7E7E7;
	overflow: hidden;
}

/* === Header === */
#header {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

#header_logo {
	width: 326px;
	height: 100px;
	border: 2px solid #1e3a5f;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

#header_logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	position: relative;
	z-index: 2;
}

#header_right {
	margin-left: 16px;
	flex: 1;
}

#header_title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: bold;
	color: #1e3a5f;
	letter-spacing: 2px;
	margin-bottom: 4px;
}

#header_slogan {
	font-size: 13px;
	color: #555;
	font-style: italic;
}

/* === Menu === */
#header_menu {
	margin: 8px 0 8px 0;
	padding: 8px 0 8px 0;
	border-top: 1px dotted #CCCCCC;
	border-bottom: 1px dotted #CCCCCC;
	width: 100%;
	font-size: 11px;
	overflow: hidden;
}

#header_date {
	float: left;
	color: #999;
	font-size: 10px;
	padding-top: 2px;
}

#header_menu ul {
	float: right;
}

#header_menu li {
	display: inline;
	font-weight: bold;
	padding: 0 7px;
}

#header_menu a {
	color: black;
}

#header_menu a:hover {
	color: #1e3a5f;
}

/* === Left column === */
#left {
	float: left;
	width: 60%;
	max-width: 448px;
	font-size: 11px;
	padding-right: 10px;
}

#left p {
	line-height: 15px;
}

#left p img {
	border: 1px solid black;
	max-width: 100%;
}

#left .arrowlink {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpolygon points='0,0 8,4 0,8' fill='%231e3a5f'/%3E%3C/svg%3E") no-repeat;
	background-position: 0 3px;
	padding-left: 11px;
}

#left .morelink {
	font-weight: bold;
	font-size: 10px;
	color: #1e3a5f;
}

#left .morelink:hover {
	color: #c41e3a;
}

/* Løpsedel / news list */
#left #lopsedel li {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px dotted #ccc;
}

#left #lopsedel li:last-child {
	border-bottom: none;
}

#left #lopsedel li h2 {
	margin: 3px 0 5px 0;
	font-size: 14px;
}

#left #lopsedel li h2 a {
	color: black;
}

#left #lopsedel li h2 a:hover {
	color: #1e3a5f;
}

#left #lopsedel li p {
	margin: 0 0 4px 0;
}

/* Content sections */
#left .content-section {
	margin-bottom: 20px;
}

#left .content-section h2 {
	border-bottom: 1px dotted #ccc;
	padding-bottom: 4px;
	margin-bottom: 10px;
}

#left .content-section ul {
	list-style: square;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 0;
}

#left .content-section li {
	margin-bottom: 5px;
	list-style: square;
	list-style-position: inside;
}

/* === Right column === */
#right {
	float: right;
	width: 34%;
	max-width: 260px;
	font-size: 10px;
}

/* Sidebar header bars */
#right #aktuelt-overskrift,
#right #politikk-overskrift,
#right #medlemskap-overskrift,
#right #kontakt-overskrift {
	float: left;
	width: 100%;
	height: 22px;
	margin-top: 12px;
	background: #1e3a5f;
	color: white;
	font-weight: bold;
	font-size: 11px;
	line-height: 22px;
	padding-left: 6px;
	letter-spacing: 0.5px;
}

#right .box {
	float: left;
	margin-top: 2px;
	background-color: #DEE7EF;
	padding: 8px;
	width: calc(100% - 16px);
}

#right .box li {
	margin-bottom: 5px;
	line-height: 14px;
}

#right .box li a {
	color: black;
}

#right .box li a:hover {
	color: #1e3a5f;
}

#right .box p {
	margin: 0 0 6px 0;
	line-height: 14px;
}

#right .box .dato {
	font-weight: bold;
	color: #555;
}

#right .morelink {
	float: right;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 6 6'%3E%3Cpolygon points='0,0 6,3 0,6' fill='%231e3a5f'/%3E%3C/svg%3E") no-repeat;
	background-position: 0 3px;
	padding-left: 10px;
	font-weight: bold;
	font-size: 10px;
	color: #1e3a5f;
}

#right .morelink:hover {
	color: #c41e3a;
}

#right .dotline {
	float: left;
	margin: 12px 0;
	width: 100%;
	height: 1px;
	border-bottom: 1px dotted #999;
}

#right form {
	margin: 0;
	float: left;
	width: 100%;
}

#right form p {
	margin: 4px 0 2px 0;
}

#right form input[type="email"] {
	width: 95%;
	padding: 2px;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border: 1px solid #999;
}

#right form input[type="submit"] {
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding: 2px 8px;
	cursor: pointer;
	background: #1e3a5f;
	color: white;
	border: 1px solid #1e3a5f;
}

#right form input[type="submit"]:hover {
	background: #2d5a8a;
}

#right #banners {
	float: left;
	width: 100%;
	margin-top: 10px;
}

#right #banners li {
	margin: 10px 0;
	padding: 8px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	text-align: center;
}

#right #banners li a {
	color: #1e3a5f;
	font-weight: bold;
	font-size: 11px;
}

/* === Contact form === */
.contact-form {
	margin-top: 10px;
}

.contact-form label {
	display: block;
	font-weight: bold;
	margin-bottom: 2px;
	font-size: 11px;
}

.contact-form input,
.contact-form textarea {
	width: 95%;
	padding: 3px;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border: 1px solid #999;
	margin-bottom: 8px;
}

.contact-form textarea {
	height: 80px;
}

.contact-form button {
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding: 4px 12px;
	cursor: pointer;
	background: #1e3a5f;
	color: white;
	border: 1px solid #1e3a5f;
}

.contact-form button:hover {
	background: #2d5a8a;
}

.alert {
	padding: 8px;
	background: #e8f5e9;
	border: 1px solid #4caf50;
	color: #2e7d32;
	margin-bottom: 10px;
	font-size: 11px;
}

/* === Mobile === */
@media (max-width: 600px) {
	#header {
		flex-direction: column;
		align-items: flex-start;
	}

	#header_logo {
		width: 100%;
		height: 60px;
	}

	#header_right {
		margin-left: 0;
		margin-top: 8px;
	}

	#header_title {
		font-size: 20px;
	}

	#left,
	#right {
		float: none;
		width: 100%;
		max-width: none;
		padding-right: 0;
	}

	#right {
		margin-top: 20px;
		border-top: 2px solid #ccc;
		padding-top: 10px;
	}
}
