/*
Theme Name: Webløft 3
Theme URI: 
Author: Torstein Opperud
Author URI: 
Description: 
Tags: accessibility-ready, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready, blog
Version: 1.4.15
GitHub Theme URI: https://github.com/KodeksAS/vestland-webloft-live
Primary Branch: master
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: generic
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
* {
	-webkit-font-smoothing: antialiased;
}

ol,
ul,
li {
	padding: revert;
	margin: revert;
}

html {
	scroll-behavior: smooth;
}

body {
	line-height: 1;
	background: #ffffff;
}

a {
	text-decoration-skip-ink: auto;
}

a[href^="tel"] {
	color: inherit;
	text-decoration: none;
}

button {
	outline: 0;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

q {
	display: inline;
	font-style: italic;
}

q:before {
	content: '"';
	font-style: normal;
}

q:after {
	content: '"';
	font-style: normal;
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

th,
td {
	padding: 2px;
	text-align: left;
}

big {
	font-size: 120%;
}

small,
sup,
sub {
	font-size: 80%;
}

sup {
	vertical-align: super;
}

sub {
	vertical-align: sub;
}

dd {
	margin-left: 20px;
}

kbd,
tt {
	font-family: courier;
	font-size: 12px;
}

ins {
	text-decoration: underline;
}

del,
strike,
s {
	text-decoration: line-through;
}

dt {
	font-weight: bold;
}

address,
cite,
var {
	font-style: italic;
}

article,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

aside#rightsidebar {
	display: inline-block;
	width: 25%;
}
.bunnlinje {
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	padding: 10px 0;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	transition: all 0.1s ease;
}

i.fa-brands,
i.fa-solid {
	font-style: normal !important;
}
* a i.fa-brands,
* a i.fa-solid {
	text-decoration: none !important;
}
body {
	font-size: 16px;
	line-height: normal;
	word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 0.2em;
	width: 100%;
}

h2,
h3,
h4,
h5,
h6 {
	margin-top: 0.2em;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.6rem;
}
h3.event-title,
.newstext h3,
.mec-event-grid-classic h4.mec-event-title {
	font-size: 1.7rem;
}
footer#footer h3 {
	font-size: 1.7rem;
	margin-top: 0;
}
h4 {
	font-size: 1.6rem;
}

h5 {
	font-size: 1.4rem;
}

h6 {
	font-size: 1.4rem;
}

p {
	margin: 0 0 0.8em;
}

.page #content p,
.single-post #content p,
p {
	line-height: 145%;
	width: 100%;
}

.wp-block-group__inner-container * {
	margin-top: 0;
}
.entry-content ul,
.widget-container ul,
.comment-body ul,
.entry-content ol,
.widget-container ol,
.comment-body ol {
	line-height: 145%;
}

* p:last-of-type,
#sidebar .widget-container:last-child {
	margin-bottom: 0;
}

a {
}

a:hover,
a:focus {
	text-decoration: none;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

pre {
	overflow-x: auto;
	white-space: pre-wrap;
}

pre,
code {
	font-family: "courier new", courier, serif;
}

hr {
	height: 1px;
	border: 0;
	margin: 30px 0;
	background: #ccc;
}

blockquote {
	padding: 15px;
	border-left: 4px solid #ccc;
	margin: 30px 0;
}

blockquote p:first-of-type {
	margin-top: 0;
}

.entry-content ul,
.widget-container ul,
.comment-body ul,
.entry-content ol,
.widget-container ol,
.comment-body ol {
}

.entry-content ul ul,
.widget-container ul ul,
.comment-body ul ul,
.entry-content ol ol,
.widget-container ol ol,
.comment-body ol ol,
.entry-content ul ol,
.widget-container ul ol,
.comment-body ul ol,
.entry-content ol ul,
.widget-container ol ul,
.comment-body ol ul {
	margin-top: 0;
	margin-bottom: 0;
}

.entry-content ol,
.widget-container ol,
.comment-body ol {
	list-style: decimal;
	width: 100%;
}

.entry-content ul li,
.widget-container ul li,
.comment-body ul li {
	list-style-type: disc;
	width: 100%;
}

/*.entry-content li,
.widget-container li,
.comment-body li {
	line-height: 125%;
}*/
nav.navigation.posts-navigation {
	width: 100%;
}
input,
textarea,
button {
	font-size: 16px;
	padding: 15px;
	border: 0;
	border-bottom: 1px solid transparent;
	outline: 0;
	margin-top: 10px;
	background: transparent;
}

input:focus,
textarea:focus {
	border-bottom: 1px solid;
}

input[type="submit"],
button,
.button {
	display: inline-block;
	font-size: 18px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 15px 25px;
	border: 0;
	background: #007acc;
	cursor: pointer;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
button:hover,
button:focus,
.button:hover,
.button:focus {
	opacity: 0.8;
}

input[type="submit"]:focus,
button:focus,
.button:focus {
	outline: auto;
	outline-color: #007acc;
}

a img,
input[type="image"],
iframe {
	border: 0;
}

a img:hover,
a svg:hover {
	opacity: 0.8;
}

a:focus img,
a:focus svg {
	outline: auto;
	outline-color: #007acc;
}

img,
video,
audio,
table,
select,
textarea {
	max-width: 100% !important;
	height: auto;
}
.entry-content header {
	width: 100%;
}

table {
	width: 100%;
	margin: 30px 0;
}

img.mainlogo {
	height: 4vw;
	min-height: 40px;
	max-height: 60px;
	display: block;
}
.news-item.full.search-results {
	display: flex;
	flex-flow: row;
	gap: 3%;
}
.newsimage.search-results {
	flex: 1;
}
.newstext.search-results {
	flex: 3;
}

.news-item.full.search-results .newsimage.search-results a img {
	object-fit: fill;
	width: 100%;
}

#wrapper {
	display: flex;
	flex-direction: column;
	max-width: 100%;
	min-height: 100vh;
	margin: 0px auto 0;
}
#header {
	transition: padding 0.2s ease-in-out;
}
#header:not(.top) {
	padding: 10px 0;
}
#header:not(.top) #topbar {
	height: 0 !important;
	padding: 0 !important;
}

#topbar {
	padding: 15px 0 5px;
	width: calc(100% - 180px);
	margin: 0 auto !important;
	height: 60px;
	background-color: transparent;
	color: #222222;
	display: flex;
	flex-flow: row;
	justify-content: flex-end;
	transition:
		height 0.2s ease-in-out,
		padding 0.2s ease-in-out;
	overflow: hidden;
}

#topbar ul.extralinks {
	display: inline-flex;
	align-items: center;
	justify-content: space-around;
	gap: 10px;
	margin-right: 0;
}
#topbar ul.extralinks [class*="fa-"]:not(.fa-user)::before {
	font-size: 20px;
}
#topbar ul.extralinks li {
	display: inline-block;
}
#topbar ul.extralinks li i {
	margin-right: 5px;
}
#topbar ul.extralinks li a {
	text-decoration: none;
}
#topbar ul.extralinks li a:hover {
	opacity: 0.7;
}

#topbar li.minside a {
	padding: 5px 10px;
	border: 2px solid #888;
	border-radius: 5px;
	text-decoration: none;
}
.mobilenav {
	display: none;
}

.mobilenav .menu li {
	margin-top: 10px !important;
	display: block !important;
}
#menu-mobil {
	margin-top: 20px;
}
.mobilenav ul.extralinks li {
}
.vis_betjenttype {
	background: transparent;
	border-radius: 10px;
	padding: 0px;
	margin-bottom: 30px;
}
a.knapp.lesmer {
	border-radius: 5px;
	border: 2px solid;
	padding: 1vw 2vw;
	text-decoration: none;
}

div.full a.knapp.lesmer {
	margin-top: 3%;
}

.mec-single-event .mec-events-event-image img {
	border-radius: 5px;
	aspect-ratio: 4/2;
	object-fit: cover;
}

li#menu-item-13400 {
	border-radius: 5px;
	border: 2px solid;
	display: inline-block !important;
	padding: 5px 15px;
}

li#menu-item-13400 a span::before {
	font-family: "fontawesome", "Font Awesome 6 Pro";
	content: "\f023";
	font-weight: 900;
	margin-right: 4px;
}

.sitesearch {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	margin-left: 15px;
	background: transparent;
}

.sitesearch form input[type="text"] {
	background: transparent;
	color: #222222;
	border: 0px;
}

.sitesearch i.fa-solid.fa-magnifying-glass {
	display: inline;
}

.sitesearch form input[type="submit"] {
	color: #222222;
	background: red;
}

.sitesearch input[type="search"] {
	color: rgb(0, 107, 108);
	border-color: transparent;
	height: 25px;
	margin: 0 0 0 0;
	padding: 11px 0 11px 5px;
}
.sitesearch ::placeholder {
	font-weight: normal;
}

body.logged-in.admin-bar header#header {
	margin-top: 33px;
}

footer#footer a {
	color: #ffffff;
}
.bunnlinje {
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
	padding: 10px 0;
}

.bunnlinje-innhold {
	text-align: right;
	width: calc(100% - 180px);
	margin: 0 auto;
	max-width: 1425px;
	display: flex;
	justify-content: space-between;
}
.bunnlinje-credit {
	text-align: right;
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
}
.bunnlinje-innhold .bunnlinje-frifelt {
	width: 50%;
	display: inline-block;
}

.headercontainer {
	width: calc(100% - 180px);
	margin: 0 auto;
	display: block;
	background: #fff;
	position: relative;
}

.bibsearch {
	width: calc(100% - 180px);
	max-width: 1425px;
	margin: 140px auto 0;
	display: block;
	position: relative;
	background-color: #fff;
	margin-bottom: 2.5%;
}

.bibsearch form {
	width: 100%;
	display: flex;
}

.bibsearch form input[type="text"] {
	width: calc(100% - 60px);
	border-radius: 5px 0px 0px 5px;
	height: 60px;
	padding: 10px;
	border: 2px solid;
	border-right: 0px;
}

.bibsearch form input[type="submit"],
.bibsearch form button {
	display: inline-block;
	color: white;
	border-radius: 0px 5px 5px 0px;
	border-left: 0px;
	text-align: center;
	text-decoration: none;
	padding: 15px;
	height: 60px;
	background-image: url(images/find.svg);
	background-position: right 15px center;
	background-repeat: no-repeat;
	background-size: 20px;
	cursor: pointer;
	font-size: 15px;
	padding-right: 45px;
	text-transform: uppercase;
}

.op-cell-heading {
	text-transform: capitalize;
}

.op-closed {
	color: #b50000 !important;
}

#branding {
	float: left;
	padding: 0 0;
}

#logo {
	max-height: 100%;
}

#container {
	flex: 1;
	background: #fff;
}

#content {
	width: 75%;
	padding-right: 5%;
	float: left;
}

.archive #content {
	width: 100%;
}

#sidebar {
	width: 25%;
	float: right;
}

#footer {
	clear: both;
	background-color: #000000;
	padding-top: 40px;
}

.entry-thumbnail {
	background-size: cover;
	border-radius: 5px;
	background-position: center center;
	/* height: 30vw; */
	background-repeat: no-repeat;
	margin: 0 auto 3%;
	max-width: 800px;
	aspect-ratio: 4/2;
	object-fit: cover;
}

header.header img.attachment-wide.size-wide.wp-post-image {
	width: 100%;
	border-radius: 5px;
}
body.single.single-post .container {
	margin-top: 0;
}
.mec-event-grid-classic .mec-event-title {
	text-transform: none !important;
}
.webloft-block {
	border-radius: 5px;
}

.webloft-block.tjenester .linker {
	display: flex;
	margin-top: 20px;
	flex-flow: row wrap;
	gap: 10px;
}

.webloft-block.tjenester a:not(.linkknapp) {
	color: #000 !important;
}

.webloft-block.tjenester h2 {
	margin-top: 10px !important;
}

a.bildeknapp {
	transition: ease-in-out 0.2s;
	display: inline-block;
}

a.bildeknapp img {
	width: auto;
	display: block;
	height: 38px;
}

a.linkknapp {
	min-width: 125px;
	display: inline-block;
	line-height: 38px;
	font-size: 16px;
	text-align: center;
	color: white;
	font-weight: 600;
	text-decoration: none;
	padding: 0 10px;
	vertical-align: text-bottom;
	background: black;
	border-radius: 5px;
	transition: ease-in-out 0.2s;
}

a.bildeknapp:hover,
a.linkknapp:hover {
	opacity: 0.7;
}

.webloft-block.news-simple {
	margin-bottom: 2em;
	display: flex;
	flex-flow: row wrap;
	gap: 3%;
	width: 100%;
	/* margin-top: 5rem; */
}
.newstext h3 {
	margin: 0.5em 0;
}
body.blog main#content {
	flex-flow: row wrap;
	display: flex;
	gap: 3%;
	justify-content: space-between;
}

div.full,
.news-item.full {
	width: 100%;
	display: flex;
	justify-content: right;
	margin: 3% 0;
}

div.half,
article.half,
.news-item.half {
	width: 48.5%;
}
div.third,
article.third,
.news-item.third {
	width: calc(94% / 3);
}
div.quart,
article.quart,
.news-item.quart {
	width: calc(91% / 4);
}

.wp-block-columns {
	gap: 3%;
}
.newsimage img {
	border-radius: 5px;
	margin-bottom: 0;
	aspect-ratio: 4/2;
	object-fit: cover;
}

.webloft-block.tjenester {
	margin-bottom: 3%;
	display: inline-block;
	width: calc((100% - 6%) / 3);
}
.is-layout-flow.wp-block-column .webloft-block.tjenester {
	margin-bottom: 40px;
	display: inline-block;
	width: 100%;
}

img.tjenester-image {
	border-radius: 5px;
}

.webloft-block.illblokk {
	border-radius: 5px;
	padding: 2.7vw;
	margin-bottom: 3%;
	vertical-align: top;
	display: inline-flex;
}

.webloft-block.illblokk.half {
	width: 48.5%;
}

.wp-block-columns .webloft-block.illblokk.half {
	width: 100%;
	height: 100%;
}

.webloft-block.illblokk.half p {
	margin-bottom: 1em;
}

.webloft-block.illblokk.half .illblokk-item {
	display: flex;
	flex-flow: column;
}

.webloft-block.illblokk.half .illblokk-item.bunnbilde {
	display: flex;
	flex-flow: column-reverse;
}

.webloft-block.illblokk.fullthird {
	padding: 0;
	overflow: hidden;
}

.webloft-block.illblokk.fullthird .illblokk-item {
	display: flex;
	flex-flow: row-reverse;
	gap: 0%;
	width: 100%;
	justify-content: space-between;
}

.webloft-block.illblokk.fullthird .illblokk-item .illblokk-bilde.svg {
	margin: 3% 3% 3% 0;
}

.webloft-block.illblokk.fullthird .illblokk-item .illblokk-bilde {
	flex: 2;
}

.webloft-block.illblokk.fullthird .illblokk-item .illblokk-innhold {
	flex: 1;
	margin: 3%;
}

.webloft-block.illblokk.full h2,
.webloft-block.illblokk.full h2 a {
	margin-top: 0;
}

.webloft-block.illblokk h2 a {
	text-decoration: underline;
}

/*.webloft-block.illblokk h2, .webloft-block.illblokk h2 a{
	font-size: 3vw;
}*/
.half:nth-of-type(even) {
	/* margin-left: 3%;*/
}

.webloft-block.illblokk.full .illblokk-item {
	display: flex;
	flex-flow: row;
	gap: 9%;
	max-width: 100%;
}

.illblokk-bilde {
	flex: 1;
	text-align: center;
}

.illblokk-innhold,
.illblokk-bilde {
	flex: 1;
	display: flex;
	flex-flow: column;
	justify-content: center;
}
.illblokk-item.bunnbilde .illblokk-innhold {
	vertical-align: bottom !important;
}
.illblokk-bilde svg {
	max-height: 20vw;
	max-width: 450px;
}
.webloft-block.illblokk.full .illblokk-bilde svg {
	max-width: 550px;
}

.webloft-block.events {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	justify-items: flex-start;
	gap: 3%;
	padding: 0;
	width: 100%;
}
.webloft-block.events .event-image img.attachment-event-med.size-event-med.wp-post-image {
	margin-bottom: 0.8em;
}
.event-item {
	flex: 1;
}

.event-item .event-image img {
	border-radius: 5px;
}

.eventmeta {
	display: flex;
	flex-flow: column;
	align-items: center;
}

time.news-meta {
	font-size: 15px;
	text-transform: none;
}

.eventtime,
.eventdate,
.eventlocation {
	text-transform: none;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	margin-left: 0;
}

h3.event-title,
.mec-event-grid-classic h4.mec-event-title {
	text-align: center;
	font-size: 1.8vw;
	margin: 0.5em 0;
}
.newstext h3 {
	font-size: 1.8vw;
}
.mec-wrap p {
	font-size: 16px !important;
	line-height: 1.4 !important;
}
.mec-single-event-description.mec-events-content {
	margin-top: 1em;
}
.eventmeta-single {
	background: rgb(247, 247, 247);
}
.mec-single-event-meta {
	background: rgb(247, 247, 247);
	padding: 5px;
	flex: 1;
}
.mec-single-event-meta:first-child {
	padding-left: 8px;
}
.mec-single-event-meta:last-child {
	padding-right: 8px;
}
.mec-single-event-meta .mec-label {
	font-size: 14px;
}
.mec-wrap h3.mec-single-event-meta-title {
	font-size: 16px;
	font-weight: bold;
	margin-top: 0;
}
.mec-wrap h3.mec-single-event-meta-title.date::before {
	content: "\f073";
	margin-right: 3px;
	font-family: "fontawesome", "Font Awesome 6 Pro";
	font-weight: 900;
}

.mec-wrap h3.mec-single-event-meta-title.time::before {
	content: "\f017";
	margin-right: 3px;
	font-family: "fontawesome", "Font Awesome 6 Pro";
	font-weight: 900;
}
.mec-wrap h3.mec-single-event-meta-title.location::before {
	content: "\f3c5";
	margin-right: 3px;
	font-family: "fontawesome", "Font Awesome 6 Pro";
	font-weight: 900;
}

.mec-single-event-meta dd {
	margin-left: 0;
}
img.attachment-book.size-book.wp-post-image.lazyloaded {
	margin: 0 auto 2em;
}

header#header {
	position: fixed;
	transition: top 0.3s ease-in-out;
	width: 100%;
	display: block;
	padding-bottom: 10px;
	top: 0;
	z-index: 999;
}

header#header.nav-up {
	top: -312px;
}

#menu {
	top: 0;
	right: 70px;
	/* position: absolute;*/
	height: calc(100% - 2.4vh);
}

#menu > div > ul > li > a {
	height: 100%;
	padding: 5px 15px;
	margin: 0;
}
#menu > div > ul > li:last-child > a {
	padding: 5px 15px;
}

body.page-template-forside-enkel .webloft-block.events,
body.page-template-forside-enkel .webloft-block.news-simple {
	margin-bottom: 6%;
}
#frontpagehero {
	min-height: 40vh;
	display: flex;
	align-items: center;
	width: calc(100% - 180px);
	max-width: 1425px;
	margin: 0 auto;
	padding: 3%;
	background-position: center center;
	background-size: cover;
	border-radius: 5px;
	gap: 3%;
}

div#heroill {
	flex: 1;
	border-radius: 5px;
	overflow: hidden;
}

#herotext {
	flex: 1;
	margin-bottom: 3%;
}

#herotext h1 {
	/*font-size: 3.75vw;*/
}

#herotext h1 a:hover {
	text-decoration: underline;
}

#herotext p {
	font-size: clamp(0.6rem, 0.65rem + 0.65vw, 1.25rem);
	line-height: 1.4 !important;
}

a.heroknapp {
	padding: 1.8vw 3.6vw;
	font-size: 1.4vw;
	font-weight: bold;
	display: inline-block;
	margin-top: 2em;
	border-radius: 5px;
	text-decoration: none;
}

li.menu-item a {
	padding: 2.5em 0.7em;
}
body.single-mec-events section#main-content {
	margin: 0;
	padding: 0;
	width: 100%;
}

.mec-color-hover {
	text-decoration: underline !important;
}

@media only screen and (min-width: 1200px) {
	.mec-wrap .row {
		margin-left: 0px;
		margin-right: 0px;
	}
}
@media only screen and (min-width: 961px) {
	.mec-container {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.mec-container .col-md-8,
	.mec-container .col-md-3 {
		padding: 0 !important;
	}
	.mec-wrap .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
@media only screen and (min-width: 768px) and (max-width: 960px) {
	.mec-container {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.mec-container .col-md-8,
	.mec-container .col-md-3 {
		padding: 0 !important;
	}
	.mec-wrap .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-time-details {
		width: 30%;
		display: inline-block;
		vertical-align: top;
	}
	#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-date-details,
	#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-venue-details {
		width: 30%;
		display: inline-block;
		vertical-align: top;
	}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.mec-container {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.mec-container .col-md-8,
	.mec-container .col-md-3 {
		padding: 0 !important;
	}
	.mec-wrap .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.col-md-3 #sidebar {
	width: 100%;
}
.mec-event-list-standard .mec-event-article {
	box-shadow: none !important;
}
.mec-single-event .mec-event-content {
	padding: 0 !important;
}
.mec-events-event-image img.attachment-wide.size-wide.wp-post-image {
	margin-bottom: 1em !important;
}
.mec-wrap .mec-single-title,
.single-mec-events .mec-wrap.mec-no-access-error h1 {
	margin-bottom: 0.5em !important;
}
#mec_skin_events_13465 .mec-wrap .col-md-3 {
	width: 23% !important;
	margin-left: 6%;
}
#mec_skin_events_79 .mec-wrap .col-md-3 {
	width: 22.7% !important;
	margin-left: 0%;
	padding: 0;
}

#mec_skin_events_13465 .mec-event-grid-classic .row {
	display: flex;
	flex-flow: row wrap;
	gap: 3%;
	justify-content: space-between;
	row-gap: 30px;
}
#mec_skin_events_79 .mec-event-grid-classic .row {
	display: flex;
	flex: 1 0 22.7%;
	flex-flow: row wrap;
	gap: 3%;
	justify-content: space-between;
}

div#mec_skin_79 {
	margin-bottom: 0%;
}
#mec_skin_events_13465 .mec-event-grid-classic .row .col-md-1.col-sm-1,
#mec_skin_events_79 .mec-event-grid-classic .row .col-md-1.col-sm-1 {
	flex: 1 0 21%;
	/* width: 100%; */
	padding: 0;
}
#mec_skin_13465 .mec-wrap .row:after,
.mec-wrap .row:before,
#mec_skin_79 .mec-wrap .row:after,
.mec-wrap .row:before {
	content: "" !important;
	display: none !important;
}
#mec_skin_events_13465 .mec-event-grid-classic .mec-event-article,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article {
	border: none;
	box-shadow: none;
	margin-bottom: 0;
}
#mec_skin_events_13465 .mec-event-grid-classic .mec-event-article .mec-event-date.mec-bg-color,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article .mec-event-date.mec-bg-color {
	background: transparent !important;
	color: #222222;
	text-transform: none !important;
	font-size: 14px;
}
#mec_skin_events_13465
	.mec-event-grid-classic
	.mec-event-article
	.mec-event-date.mec-bg-color
	span.mec-start-date-label,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article .mec-event-date.mec-bg-color span.mec-start-date-label,
#mec_skin_events_13465 .mec-event-grid-classic .mec-event-article .mec-event-date.mec-bg-color .mec-time-details,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article .mec-event-date.mec-bg-color .mec-time-details {
	color: #222222;
	text-transform: none !important;
	font-size: 14px;
}

.mec-event-date {
	margin-bottom: 10px !important;
}

#mec_skin_events_13465 span.event-color,
#mec_skin_events_79 span.event-color {
	display: none;
}
#mec_skin_events_13465 .mec-event-grid-classic .mec-event-article .mec-event-image,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article .mec-event-image {
	border-radius: 5px;
	width: 100%;
	height: 50%;
	/*padding-bottom: 66%;*/
	overflow: clip;
	margin-bottom: 0.5em;
	display: block;
}

#mec_skin_events_13465 .mec-event-grid-classic .mec-event-article .mec-event-image img,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article .mec-event-image img {
	border-radius: 5px;
	aspect-ratio: 4/2;
	object-fit: cover;
}

#mec_skin_events_13465 .mec-event-grid-classic .mec-event-article .mec-event-image a,
#mec_skin_events_79 .mec-event-grid-classic .mec-event-article .mec-event-image a {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: fill;
}

#mec_skin_events_13465
	.mec-event-grid-classic
	.mec-event-article
	.mec-event-image
	a
	img.attachment-medium.size-medium.wp-post-image,
#mec_skin_events_79
	.mec-event-grid-classic
	.mec-event-article
	.mec-event-image
	a
	img.attachment-medium.size-medium.wp-post-image {
	object-fit: cover;
	height: 100%;
	width: 100%;
	max-height: 189px;
}

.mec-single-event .mec-event-meta dt,
.mec-single-event .mec-event-meta h3 {
	text-transform: none !important;
}

.mec-wrap {
	width: 100%;
}

.eventmeta-single {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	align-content: stretch;
}

.mec-event-meta {
	flex: 1;
}
.mec-single-event-location dd.location {
	display: none;
}
/* #container.fullwidth #mec_skin_13416, #container.fullwidth #mec_skin_79{
	max-width: 850px;
} */
#mec_skin_events_13416 .mec-event-list-standard .mec-event-content,
#mec_skin_events_79 .mec-event-list-standard .mec-event-content {
	padding: 0;
}

#mec_skin_events_13416 .mec-event-list-standard .mec-col-table-c.mec-event-meta-wrap,
#mec_skin_events_79 .mec-event-list-standard .mec-col-table-c.mec-event-meta-wrap {
	padding-top: 0;
	vertical-align: top;
	border-top: 0px;
}

#mec_skin_events_13416 .mec-event-image img.attachment-thumblist.size-thumblist.wp-post-image,
#mec_skin_events_79 .mec-event-image img.attachment-thumblist.size-thumblist.wp-post-image {
	height: 100px;
	width: auto;
}
#mec_skin_events_13416 .mec-event-image,
#mec_skin_events_79 .mec-event-image {
	width: 100px;
}
#mec_skin_events_13416 .mec-date-details .mec-start-date-label,
#mec_skin_events_13416 .mec-time-details,
#mec_skin_events_13416 .mec-venue-details span,
#mec_skin_events_79 .mec-date-details .mec-start-date-label,
#mec_skin_events_79 .mec-time-details,
#mec_skin_events_79 .mec-venue-details {
	font-size: 14px;
	font-weight: normal !important;
	vertical-align: top;
	color: #222222;
	text-transform: none;
}
#mec_skin_events_13416 .mec-event-list-standard .mec-event-article,
#mec_skin_events_79 .mec-event-list-standard .mec-event-article {
	border: 0;
}
#mec_skin_events_13416 .mec-event-list-standard .mec-col-table-c.mec-event-image-wrap,
#mec_skin_events_79 .mec-event-list-standard .mec-col-table-c.mec-event-image-wrap {
	width: 120px;
}

#mec_skin_events_13416 .mec-event-meta.mec-color-before,
#mec_skin_events_79 .mec-event-meta.mec-color-before {
	background: transparent;
	padding: 5px 3px;
}
#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-time-details,
#mec_skin_events_79 .mec-event-meta.mec-color-before .mec-time-details {
}

#mec_skin_events_13416 .mec-wrap .col-md-6,
#mec_skin_events_79 .mec-wrap .col-md-6 {
	width: 75%;
	vertical-align: top;
}

.mec-event-article .mec-event-footer {
	display: none;
}

.mec-event-article .col-md-9.col-sm-9 {
	width: 100%;
}

.ansatt-item {
	margin-bottom: 2%;
}

.ansatt-bilde {
	width: 15%;
	display: inline-block;
	max-width: 320px;
	min-width: 100px;
}
.webloft-block.ansatte.liste .ansatte-liste .ansatt-bilde {
	max-width: 105px;
}
.ansatt-tekst {
	vertical-align: top;
	display: inline-block;
	padding-left: 1em;
	width: calc(100% - 110px);
}
.ansatt-telefon {
	margin-right: 10px;
	color: inherit;
}
.ansatt-tekst h2 {
	font-size: 22px;
	margin: 0 !important;
}

.ansatt-tekst p {
	margin: 0.4em 0;
}

.webloft-block.ansatte.blokker .ansatte-liste {
	display: flex;
	vertical-align: top;
	flex-flow: row wrap !important;
	gap: 2%;
}

.webloft-block.ansatte.blokker .ansatt-item {
	border-radius: 4px;
	margin-bottom: 2em;
	padding-bottom: 1em;
	flex: 1 0 23%;
	min-width: 200px;
	max-width: 297px;
}

.webloft-block.ansatte.blokker,
.webloft-block.ansatte.liste {
	width: 100%;
	display: block;
}
.webloft-block.ansatte.liste .ansatte-liste {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	gap: 2%;
}
.webloft-block.ansatte.liste .ansatte-liste .ansatt-item {
	margin-bottom: 2%;
	flex: 1 0 40%;
}

.webloft-block.ansatte.blokker .ansatt-item .ansattepost-lang {
	display: none;
}

.webloft-block.ansatte.blokker .ansatt-item .ansattepost-kort {
	display: inline-block;
}

.webloft-block.ansatte.liste .ansatt-item .ansattepost-lang {
	display: none;
}

.webloft-block.ansatte.liste .ansatt-item .ansattepost-kort {
	display: inline-block;
}

.webloft-block.ansatte.blokker .ansatt-item .ansatt-bilde,
.webloft-block.ansatte.blokker .ansatt-item .ansatt-bilde img,
.webloft-block.ansatte.blokker .ansatt-item .ansatt-tekst {
	width: 100%;
	display: block;
}

.webloft-block.ansatte.blokker .ansatt-item .ansatt-bilde {
	margin-bottom: 1em;
}

.webloft-block.ansatte.blokker .ansatt-item .ansatt-tekst .ansatt-info h2 {
	font-size: 1.4em;
}

.webloft-block.ansatte.blokker .ansatt-item .ansatt-tekst {
	padding-left: 1em;
}

.webloft-block.ansatte.blokker .ansatt-item .ansatt-tekst .ansatt-info h2 span {
	display: block;
	font-size: 0.7em !important;
	margin-top: 0.5em;
	width: 100%;
}

.webloft-block.ansatte.blokker .ansatt-item .ansatt-tekst .ansatt-info p {
	display: block;
	font-size: 1em !important;
	margin-top: 0.5em;
	width: 100%;
	word-wrap: break-word;
}

a.anbefalingerlink,
a.lesmer {
	font-weight: bold;
}
a.anbefalingerlink::after,
a.lesmer::after {
	content: " \f061";
	font-family: "fontawesome", "Font Awesome 6 Pro";
	font-weight: 900;
}

a.anbefalingerlink {
	display: block;
	width: 100%;
	text-align: right;
}

a.anbefaling-link {
	font-size: 1.4rem;
}

a.anbefaling-link img.attachment-book.size-book.wp-post-image {
	margin: 0 auto;
}

.anbef-info-single span.strong {
	font-weight: bold;
}

.webloft-block.anbefalinger-archive {
	width: 100%;
}

.anbefalinger-loop {
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
	gap: 3%;
	margin-bottom: 3%;
}

.anbefalinger-blokk {
	display: flex;
	flex-flow: row wrap;
	gap: 3%;
	width: 100%;
	margin-bottom: 3%;
}

.anbefaling-item {
	vertical-align: top;
	background-color: #eeeeee;
	padding: 3%;
	margin-bottom: 3%;
	border-radius: 5px;
	text-align: center;
	min-width: 170px;
	color: #000000;
}

.anbefaling-bilde img {
	height: 268px;
	width: auto;
	object-fit: cover;
	object-position: top;
}

.anbefaling-tittel h3 {
	margin: 2em 0 0;
	font-size: 1.1em;
	text-align: center;
}

.anbefaling-tittel h3 a {
	color: #222222;
}

.anbefaling-forfatter {
	font-size: 0.8em;
	margin: 0.8em 0;
}

.anbefaling-forfatter a {
	color: #000000;
}

article.anbefalinger.type-anbefalinger {
	display: flex;
	gap: 3%;
	flex-flow: row;
	justify-content: space-between;
}

.anbef-bilde {
	flex: 1;
}

.anbef-bilde img {
	width: 290px;
	margin: 0 auto;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.14),
		0 20px 70px rgba(0, 0, 0, 0.12);
}

.anbef-infoboks {
	float: right;
	right: 0;
	display: inline-flex;
	padding: 1em;
	background-color: #eeeeee;
	text-align: left;
	flex-direction: column;
	align-items: center;
}

.entry-content.anbef-single {
	flex: 1;
}

.anbef-info-single {
	margin-bottom: 30px;
}

.anbef-info-single dl {
	width: 100%;
	display: inline-block;
}

.anbef-info-single dt {
	font-weight: bold;
	font-size: 15px;
	float: left;
	width: 100px;
	display: inline;
	margin: 5px 0;
}

.anbef-info-single dd {
	font-size: 15px;
	float: left;
	width: calc(100% - 100px);
	display: inline;
	margin: 5px 0;
}

dl.tipskategorier {
	display: block;
	width: 100%;
	margin-top: 50px;
}

dl.tipskategorier dt,
dl.tipskategorier dd {
	display: inline-block;
	margin: 5px 0;
}

a.boklink-knapp {
	display: inline-block;
	position: relative;
	margin: 10px 0;
	padding: 25px 50px;
	border-radius: 5px;
	text-decoration: none;
	color: white;
	transition: 0.2s;
}

a.boklink-knapp:hover {
	opacity: 0.9;
}

footer#footer {
	background-color: #222222;
	margin-top: 50px;
}

#footer-sidebar {
	width: calc(100% - 180px);
	margin: 0 90px;
	margin-bottom: 40px;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	gap: 3%;
}

#footer-sidebar1,
#footer-sidebar2,
#footer-sidebar3,
#footer-sidebar4 {
	flex: 1;
}

#footer-sidebar .widget {
	color: #eeeeee;
}

#footer-sidebar .srr-title,
#footer-sidebar p {
	font-size: 16px;
}
#footer-sidebar .srr-style-none .srr-item {
	padding: 0 0 0 0 !important;
}
#footer-sidebar p {
	margin-bottom: 0.8em;
}

.betjenttype_naa,
.vi_er_naa {
	text-align: left;
	display: inline;
	margin-right: 0.5em;
}

.entry-content {
	display: block;
	flex-flow: row wrap;
	justify-content: space-between;
	gap: 3%;
}

.type-post .entry-content,
.type-post .entry-title,
.type-post .entry-meta,
.type-post .entry-footer {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

article.type-post .entry-content {
	display: block;
}
.entry-content h2 {
	width: 100%;
	margin-bottom: 0.2em;
}

.minside-sok {
	padding: 1em;
	border-radius: 5px;
}

.minside-sok > div:first-of-type {
	margin-bottom: 2em;
}

.minside-sok input,
.minside-sok input[type="text"],
.minside-sok input[type="password"],
.minside-sok input[type="submit"] {
	width: 100%;
	border: 0;
	border-radius: 5px;
}

.minside-sok h3 {
	margin-top: 0;
}

#container.fullwidth #content {
	width: 100%;
	padding-right: 0%;
}

#container.fullwidth .webloft-block.ansatte.blokker .ansatt-item {
}

#menu {
	margin-top: 10px;
	float: right;
}

#menu ul {
	font-size: 0;
}

#menu ul,
#menu li,
#menu a {
	position: relative;
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mec-single-event-description.mec-events-content ol li,
.mec-single-event-description.mec-events-content ul li {
	color: #222222 !important;
	font-size: 16px !important;
	line-height: 1.8;
	font-weight: normal !important;
}
.mec-single-event-description.mec-events-content ol,
.mec-single-event-description.mec-events-content ul {
	margin-bottom: 20px;
}

.mec-event-content p {
	font-weight: normal !important;
}
.mec-wrap p {
	margin: 0 0 20px 0;
	color: #222222 !important;
	font-size: 16px !important;
	line-height: 1.8;
}
/*#menu li.menu-item-has-children > a:after, #menu li.page_item_has_children > a:after{font-family: "fontawesome", "Font Awesome 6 Pro"; font-size: 0.8em;content:' \&#9660;'}*/
/*#menu li.menu-item-has-children > a:after, #menu li.page_item_has_children > a:after{font-size: 0.5em;content:'▼'; padding-left: 1em;}*/
/*#menu li.menu-item-has-children > a:after, #menu li.page_item_has_children > a:after{font-family:serif;content:' ▾'}*/
#menu li.current-menu-item a,
#menu li.current_page_parent a {
}

#menu a {
	display: inline-block;
	font-size: 18px;
	color: #fff;
	text-align: right;
	text-decoration: none;
	line-height: 33px;
	padding-bottom: 10px;
	margin-top: -1px;
	margin-right: 0;
	font-weight: 600 !important;
}

#menu a:hover,
#menu a:focus {
	color: #767676;
	text-decoration: none;
}

#menu ul.sub-menu,
#menu ul.children {
	position: absolute;
	display: block;
	top: 100%;
	left: -9999px;
	margin-top: 17px;
	transition: unset;
	z-index: 1000;
}

#menu ul.sub-menu a,
#menu ul.children a {
	width: 200px;
	font-size: 16px;
	text-align: left;
	line-height: 20px;
	padding: 15px;
	border: 0px;
}

/*#menu ul.sub-menu a:hover, #menu ul.sub-menu a:focus, #menu ul.children a:hover, #menu ul.children a:focus{}*/
#menu li.menu-item-has-children:not(.no-hover) a:hover + ul.sub-menu,
#menu li.menu-item-has-children:not(.no-hover) a:focus + ul.sub-menu,
#menu li.menu-item-has-children:not(.no-hover) a + ul.sub-menu:hover,
#menu li.menu-item-has-children:not(.no-hover) a + ul.sub-menu:focus-within,
#menu li.page_item_has_children:not(.no-hover) a:hover + ul.children,
#menu li.page_item_has_children:not(.no-hover) a:focus + ul.children,
#menu li.page_item_has_children:not(.no-hover) a + ul.children:hover,
#menu li.page_item_has_children:not(.no-hover) a + ul.children:focus-within {
	left: 0;
}

#menu .menu-toggle {
	display: none;
	color: #fff;
	text-align: center;
	padding: 0;
	border: 0;
	margin: 0;
	background: none;
	transition: unset;
}

#menu .menu-toggle:hover,
#menu .menu-toggle:focus {
	color: #007acc;
}

#menu .menu-icon {
	font-size: 25px;
}

.widget-container .search-field {
	width: 100%;
}

.error404 .entry-content .search-field,
.search .entry-content .search-field {
	width: 200px;
	margin-top: 30px;
}

.error404 .entry-content .search-field,
.search .entry-content .search-field,
.widget-container .search-field {
	background-color: #f6f6f6;
}

/*.search-field{background:url(images/find.svg) no-repeat 98% center / 24px auto}*/
.sitesearch input[type="search"]::before {
	font-family: "fontawesome", "Font Awesome 6 Pro";
	content: "\f002";
	display: inline-block;
	height: 100%;
	width: 100%;
}

#site-title h1,
#site-title a {
	display: block;
	font-size: 40px;
	color: #fff;
	text-decoration: none;
	margin-bottom: 0;
}

#site-description,
#copyright,
#copyright a {
	color: #8a8a8a;
}

.single h1.entry-title a {
	color: #767676;
	text-decoration: none;
}

h2.entry-title,
h3.widget-title {
	margin-top: 0;
}

#commentform label {
	display: block;
}

#commentform #comment {
	width: 100%;
	max-width: 400px !important;
	height: auto;
}

#comments .comment-author {
	line-height: 14px;
}

#comments .comment-author img {
	margin-right: 5px;
	float: left;
}

#comments .comment {
	margin: 20px 10px;
}

#comments .comment-body {
	padding: 15px;
}

#comments .odd > .comment-body {
	background: #f6f6f6;
}

#comments .comment-body > p {
	font-size: 16px;
	margin: 15px 0 0;
}

#copyright {
	text-align: center;
}

.entry-footer,
.archive-meta {
	margin: 30px 0;
}

.entry-meta {
	margin: 0px 0 30px;
}

.entry-footer {
	clear: both;
}

.entry-meta,
.entry-meta a,
.entry-footer,
.entry-footer a,
.comment-meta,
.comment-meta a,
.comment-author,
.comment-author a {
	font-size: 14px;
	color: #767676;
}

.sticky {
	padding-bottom: 60px;
	border-bottom: 4px solid #ccc;
}

.bypostauthor {
}

.post,
.widget-container,
.search article {
	margin-bottom: 60px;
}

.post:last-of-type {
	margin-bottom: 0;
}

.wp-caption {
	width: auto !important;
}

.wp-caption.aligncenter,
.wp-caption-text,
.gallery-caption {
	text-align: center;
}
.wp-block-columns {
	width: 100%;
	margin-bottom: 3rem;
}
.wp-block-gallery ul,
.wp-block-gallery ul li,
.wp-block-gallery ul li:before {
	content: "";
	margin: 0;
}

.wp-post-image {
	display: block;
	margin-bottom: 30px;
}

.entry-attachment img {
	display: block;
	margin: 60px auto 30px;
}

.attachment .entry-caption {
	text-align: center;
}

.alignleft {
	margin: 0 30px 30px 0;
	float: left;
}

.alignright {
	margin: 0 0 30px 30px;
	float: right;
}

.aligncenter {
	display: block;
	margin: 30px auto;
	clear: both;
}

#content p.wp-block-cover-text {
	color: #fff;
}

.nav-links {
	margin-top: 30px;
}

nav#menu li a {
	font-weight: bold;
}

.nav-links a,
#nav-above a {
	text-decoration: none;
}

#nav-above a {
	display: block;
	font-family: tahoma, sans-serif;
	font-size: 50px;
	color: #767676;
	line-height: 0;
	margin: 30px 0 15px;
}

.nav-previous {
	text-align: left;
	float: left;
}

.nav-next {
	text-align: right;
	float: right;
}

.note {
	display: block;
	font-size: 14px;
	padding: 20px;
	margin: 30px 0;
}

.overlay:before {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
	background: rgba(0, 0, 0, 0.5);
	z-index: 0;
}

.layer {
	width: 100%;
	padding: 5%;
}

.layer-inner {
	max-width: 800px;
	margin: 0 auto;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.clear {
	clear: both;
}

.clear-left {
	clear: left;
}

.clear-right {
	clear: right;
}

.clear-float:after,
#header:after,
#container:after,
.boxes:after {
	display: table;
	content: "";
	clear: both;
}

.offset {
	padding-top: 100px;
	margin-top: -100px;
}

.spacer {
	display: inline-block;
	width: 25px;
}

#ez-toc-container {
	background: #ffffff;
	border: 0px;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding-left: 0;
}
.ez-toc-title-container {
	display: table;
	width: 31%;
}

.ez-toc-toggle i.ez-toc-glyphicon::before {
	font-family: "fontawesome", "Font Awesome 6 Pro";
	font-weight: 900;
	content: "\f0cb";
}
.ez-toc-title-toggle {
	float: left;
}
a.ez-toc-pull-right.ez-toc-btn.ez-toc-btn-xs.ez-toc-btn-default.ez-toc-toggle {
	margin-left: 0;
	margin-right: 10px;
}
@media only screen and (min-width: 1149px) {
	.anbefaling-item {
		width: calc(91% / 4);
	}
}

@media only screen and (max-width: 1148px) {
	.anbefaling-item {
		width: 31%;
	}
}

@media only screen and (max-width: 844px) {
	.anbefaling-item {
		width: 48.5%;
		padding: 6% 3%;
	}

	.event-item {
		width: 48.5%;
		flex: auto;
		margin-bottom: 2em;
	}
}

@media (min-width: 1426px) {
	a.heroknapp {
		padding: 25px 50px;
		font-size: 25px;
	}

	h3.event-title,
	.newstext h3,
	.mec-event-grid-classic h4.mec-event-title {
		font-size: 25px;
	}
	footer#footer h3 {
		font-size: 30px;
	}
	h4 {
		font-size: 25px;
	}

	h5 {
		font-size: 20px;
	}

	h6 {
		font-size: 15px;
	}

	h4.event-title,
	.mec-event-grid-classic h4.mec-event-title {
		font-size: 25px;
		margin-top: -5px;
	}

	dd.eventtime,
	dd.eventdate,
	dd.eventlocation {
		font-size: 15px;
	}

	#container {
		width: calc(100% - 180px);
		max-width: 1425px;
		margin: 2em auto;
		padding: 0;
	}
	body.page-template-forside-enkel #container,
	body.home #container {
		width: calc(100% - 180px);
		max-width: 1425px;
		margin: 2em auto;
		padding: 0;
	}
	#footer-sidebar,
	#topbar,
	.headercontainer {
		width: calc(100% - 180px);
		max-width: 1425px;
		padding: 0;
		margin: 0 auto;
	}
	#topbar {
		padding: 5px 0;
		margin-top: 10px;
	}
	#herotext h1 {
		font-size: 60px;
	}
}

@media (min-width: 1025px) and (max-width: 1425px) {
	#container {
		width: calc(100% - 180px);
		max-width: 1425px;
		margin: 0 auto 3%;
		padding: 0;
	}
	body.page-template-forside-enkel #container,
	body.home #container {
		width: calc(100% - 180px);
		max-width: 1425px;
		margin: 3% auto;
		padding: 0;
	}
	body.single.single-post #container {
		margin-top: 0;
	}
}

@media (max-width: 1024px) {
	.webloft-block.events .event-item {
		flex: 1 41%;
		margin-bottom: 3%;
	}
	aside#rightsidebar {
		display: block;
	}
	aside.sidebar {
		display: block;
		width: 100%;
		clear: both;
	}
	main#content {
		width: 100%;
		margin-right: 0;
		padding-right: 0;
	}
	header#header {
		margin-top: 0;
		padding: 10px 0;
	}
	.ez-toc-title-container {
		display: table;
		width: 100%;
	}
	#mec_skin_events_79 .mec-event-grid-classic .row {
		display: flex;
		flex: 1 0 41% !important;
		flex-flow: row wrap;
		gap: 3%;
		justify-content: space-between;
	}
	#mec_skin_events_13465 .mec-event-grid-classic .row .col-md-1.col-sm-1,
	#mec_skin_events_79 .mec-event-grid-classic .row .col-md-1.col-sm-1 {
		flex: 1 0 41%;
		/* width: 100%; */
		padding: 0;
	}

	#mec_skin_events_79 .mec-wrap .col-md-3 {
		width: 48.5% !important;
	}
	#mec_skin_events_13416 .mec-date-details .mec-start-date-label,
	#mec_skin_events_13416 .mec-time-details,
	#mec_skin_events_13416 .mec-venue-details,
	#mec_skin_events_79 .mec-date-details .mec-start-date-label,
	#mec_skin_events_79 .mec-time-details,
	#mec_skin_events_79 .mec-venue-details {
		/*font-size: 13px!important;*/
	}

	span.menu-icon::before {
		font-family: "Font Awesome 6 Pro", "fontawesome";
		font-weight: 900;
		content: "\f0c9";
		margin-right: 4px;
	}
	.anbef-bilde img {
		width: 230px;
	}
	#menu.toggled span.menu-icon::before {
		font-family: "Font Awesome 6 Pro", "fontawesome";
		content: "\f00d";
		transform: rotate(180deg);
		font-weight: 900;
		transition: ease-in-out 0.2s;
		margin-right: 4px;
	}

	#mec_skin_events_13465 .mec-event-grid-classic .row .col-md-1.col-sm-1 {
		flex: auto;
		width: calc(94% / 3);
	}
	.webloft-block.ansatte.liste .ansatt-item {
		margin-bottom: 2%;
		width: 100%;
		display: inline-block;
	}

	.webloft-block.ansatte.liste .ansatt-item .span.telefon {
		display: block;
		width: 100%;
	}

	.sitesearch {
		display: none;
	}

	.bibsearch {
		margin-top: 70px;
	}
	.entry-content h2 {
		margin-top: 0.5em;
	}

	/*.webloft-block.news-simple {
		margin-bottom: 150px;
	}*/
	time.news-meta,
	.eventmeta,
	.eventtime,
	.eventdate,
	.eventlocation {
		font-size: 14px !important;
	}
	a.heroknapp {
		padding: 20px 40px;
		font-size: 20px;
	}
	h3.event-title,
	.newstext h3,
	.mec-event-grid-classic h4.mec-event-title {
		font-size: 25px;
	}
	#topbar {
		display: none;
	}
	#menu .mobilenav {
		display: block;
		height: 100%;
		padding: 20px 20px 40px;
		position: absolute;
		right: -330px;
		width: 330px;
		overflow: scroll;
		opacity: 0;
		transition: 0.2s ease-in-out;
	}

	#menu .mobilenav .extralinks {
		text-align: left;
	}

	#menu.toggled .mobilenav .extralinks {
		opacity: 1;
	}
	#menu.toggled .mobilenav {
		display: block;
		background: white;
		position: absolute;
		opacity: 1;
		transform: translate3d(-100%, 0, 0); /* X, Y, Z */
		-webkit-transform: translate3d(-100%, 0, 0);
	}
	#menu .mobilenav div.extralinks div.fb i,
	#menu .mobilenav div.extralinks div.yt i,
	#menu .mobilenav div.extralinks div.ig i,
	#menu .mobilenav div.extralinks div.tw i {
		padding: 5px;
	}

	#menu .mobilenav div.extralinks div.fb,
	#menu .mobilenav div.extralinks div.yt,
	#menu .mobilenav div.extralinks div.ig,
	#menu .mobilenav div.extralinks div.tw,
	#menu .mobilenav div.extralinks div.minside {
		display: inline-block;
		opacity: 0;
		margin-right: 10px;
	}

	#menu.toggled .mobilenav div.extralinks div.fb,
	#menu.toggled .mobilenav div.extralinks div.yt,
	#menu.toggled .mobilenav div.extralinks div.ig,
	#menu.toggled .mobilenav div.extralinks div.tw,
	#menu.toggled .mobilenav div.extralinks div.minside {
		opacity: 1;
	}
	#menu.toggled .mobilenav div.extralinks div.minside {
		text-align: left;
		margin-left: -10px;
	}
	#menu.toggled .mobilenav div.extralinks div.minside a {
		color: #000;
		font-weight: bold;
		padding: 5px 10px;
		border: 2px solid #888;
		border-radius: 5px;
		text-decoration: none;
		display: inline-block;
	}
	#menu.toggled .mobilenav div.extralinks div.minside a::before {
		content: "\f007";
		font-family: "fontawesome", "Font Awesome 6 Pro";
		margin-right: 5px;
		display: inline-block;
	}
	#menu.toggled .mobilenav div.extralinks a i {
		font-size: 25px;
		color: #000;
	}
	#menu {
		transition: 0.2s ease-in-out;
		background: transparent;
	}
	#menu.toggled {
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		margin-top: 0;
		display: flex;
		padding: 0;
		overflow-x: hidden;
		overflow-y: auto;
		z-index: 1000;
		background: rgba(0, 0, 0, 0.9);
		justify-content: flex-end;
	}

	#menu .menu-toggle {
		display: inline-block;
	}

	#menu ul {
		display: none;
	}
	#menu.toggled .menu-hovedmeny-container {
		display: none;
	}
	#menu.toggled .menu-hovedmeny-container {
		margin-top: 0;
	}
	#menu.toggled ul,
	#menu.toggled ul.sub-menu,
	#menu.toggled ul.children {
		display: block;
		position: relative;
		top: 0;
		left: 0;
		padding: 0 0 10px 0;
		margin: 0;
	}

	#menu.toggled ul.sub-menu,
	#menu.toggled ul.children {
		padding-bottom: 0;
	}

	#menu.toggled a,
	#menu.toggled ul.sub-menu a,
	#menu.toggled ul.children a {
		display: inline-block;
		width: 100%;
		font-size: 18px;
		text-align: left;
		line-height: 20px;
		padding: 10px 0 10px;
		border: 0;
		margin: 0;
		background: none;
	}

	#menu.toggled ul.sub-menu a,
	#menu.toggled ul.children a {
		border-left: 2px solid;
		padding-left: 10px;
	}

	#menu {
		margin-top: 10px;
		float: right;
		right: 0;
	}

	#menu {
		margin-top: 10px;
		float: right;
		right: 0;
	}

	#menu button.menu-toggle {
		right: 0;
		position: absolute;
		z-index: 999;
		top: 5px;
		width: 75px;
	}

	nav#menu.toggled button.menu-toggle {
		right: 10px;
		top: 15px;
		z-index: 999;
	}
	button.menu-toggle::before {
		content: "Meny" !important;
		color: black;
		padding-right: 5px;
		line-height: 150%;
		vertical-align: middle;
	}

	#container {
		width: calc(100% - 180px);
		max-width: 1425px;
		margin: 2em auto;
		padding: 0;
	}
	body.page-template-forside-enkel #container,
	body.home #container {
		margin: 0 auto 2em;
		padding: 0;
	}

	.newstext {
		width: 100%;
	}

	.webloft-block.news-simple {
		flex-flow: column;
	}

	article.half,
	div.half,
	article.third,
	div.third,
	article.quart,
	div.quart,
	.news-item.half,
	.news-item.third,
	.news-item.quart {
		display: flex;
		flex-flow: row;
		gap: 3%;
		width: 100%;
		margin-bottom: 20px;
	}
	.newsimage,
	.newstext {
		flex: 1;
	}

	.newsimage img.attachment-event-med.size-event-med.wp-post-image {
		margin: 0;
		width: 100%;
	}
	.sitesearch i.fa-solid.fa-magnifying-glass {
		display: inline;
		float: left;
		font-size: 16px;
		padding-top: 3px;
	}
	.extralinks .sitesearch form.search-form {
		float: left;
	}
	.mobilenav .sitesearch {
		width: 100%;
		display: block;
		margin-left: 0;
		height: 36px;
		margin-bottom: 30px;
	}

	.mobilenav .sitesearch input[type="search"] {
		float: left;
		font-size: 18px;
		border-bottom: 1px solid #efefef;
	}

	.newsimage.search-results {
		flex: 1;
	}
	.newstext.search-results {
		flex: 2;
	}
}
@media (min-width: 960px) {
	#mec_skin_events_13416 .mec-event-list-standard .mec-col-table-c.mec-event-meta-wrap {
		min-width: 200px;
		padding-right: 0;
	}
}

@media (max-width: 768px) {
	.bunnlinje-innhold {
		width: 90%;
		margin: 0 auto;
		display: flex;
		flex-flow: column;
	}
	.bunnlinje-credit {
		width: 100%;
		text-align: right;
		color: rgba(255, 255, 255, 0.5);
		font-size: 14px;
	}
	.webloft-block.ansatte.liste .ansatte-liste {
		width: 100%;
		display: flex;
		flex-flow: column;
		gap: 2%;
	}
	nav#menu.toggled button.menu-toggle {
		right: 23px;
		top: 15px;
		position: absolute;
		z-index: 999;
	}
	.bibsearch {
		width: calc(100% - 40px);
		margin: 60px 20px 20px;
	}
	.page #content p,
	.single-post #content p,
	p {
		font-size: 1rem;
		line-height: 1.3;
	}

	#header {
		text-align: center;
	}

	#footer {
		text-align: left;
	}

	#content,
	#sidebar {
		width: 100%;
		padding: 0;
	}

	#branding {
		float: left;
		width: 300px;
		z-index: 900;
		display: block;
		position: relative;
	}

	#menu {
		float: right;
		margin-top: 0;
		z-index: 900;
		display: block;
		position: relative;
	}

	header#header {
		width: calc(100% - 40px);
		margin: 0 auto;
	}
	#mec_skin_events_13465 .mec-event-grid-classic .row .col-md-1.col-sm-1 {
		flex: auto;
		width: calc(97% / 2);
	}
	img.mainlogo {
		height: 40px !important;
		width: auto;
		display: block;
	}

	#site-title a {
		float: left;
	}

	header#header {
		width: calc(100% - 40px);
		margin: 0 20px;
	}

	#frontpagehero {
		flex-flow: column-reverse;
		min-height: 40vh;
		display: flex;
		align-items: center;
		width: calc(100% - 40px);
		margin: 0 20px 3%;
		border-radius: 5px;
	}

	#container {
		width: 100%;
		margin: 0 20px;
	}

	#herotext h1 {
		font-size: 5vw;
	}

	div#heroill {
		flex: 1;
		border-radius: 5px;
		overflow: hidden;
		width: 100%;
		height: auto;
		text-align: center;
	}

	div#heroill svg {
		max-height: 50vw;
		margin: 25px auto;
	}

	.webloft-block.illblokk.full .illblokk-item {
		display: block;
		flex-flow: column;
	}

	.webloft-block.illblokk.half {
		width: 100%;
	}

	.webloft-block.illblokk.half:nth-child(odd) {
		margin-left: 0;
	}

	/*		.webloft-block.illblokk h2,
		.webloft-block.illblokk h2 a {
			font-size: 33px;
		}*/

	.webloft-block.illblokk .illblokk-bilde {
		text-align: center;
	}

	.webloft-block.illblokk svg {
		max-height: 50vw;
		margin: 25px auto;
	}

	.webloft-block.tjenester {
		width: 100%;
	}

	/* .webloft-block.tjenester a img {
		width: 100%;
	} */

	.anbefaling-item {
		margin-bottom: 20px;
	}
	footer#footer {
		margin-top: 6%;
	}
	#wrapper {
		display: flex;
		flex-direction: column;
		width: 100%;
		min-height: 100vh;
		margin: 0 0 !important;
	}

	.header,
	#container {
		width: calc(100% - 40px);
	}

	.headercontainer {
		width: 100%;
		margin: 0 0;
		display: block;
		background: #fff;
	}

	.single .nav-links .nav-previous,
	.single .nav-links .nav-next {
		float: none;
	}

	.webloft-block.illblokk.fullthird .illblokk-item {
		display: flex;
		flex-flow: column;
		gap: 0%;
		width: 100%;
		justify-content: space-between;
	}

	.webloft-block.illblokk.fullthird .illblokk-item .illblokk-bilde {
		padding: 20vw;
	}
	.webloft-block.illblokk {
		margin-bottom: 20px;
	}
	h1 {
		font-size: 35px;
	}

	h2 {
		font-size: 30px;
	}

	h3 {
		font-size: 25px;
	}
	h3.event-title,
	.newstext h3,
	.mec-event-grid-classic h4.mec-event-title {
		font-size: 25px;
	}

	footer#footer h3 {
		font-size: 20px;
	}

	h4 {
		font-size: 15px;
	}

	h5 {
		font-size: 13px;
	}

	h6 {
		font-size: 12px;
	}

	h4.event-title,
	.mec-event-grid-classic h4.mec-event-title {
		font-size: 20px;
	}

	dt.eventtime,
	dt.eventdate,
	dt.eventlocation,
	dd.eventtime,
	dd.eventdate,
	dd.eventlocation {
		font-size: 15px;
	}

	.entry-content.anbef-single {
		display: block;
		width: 100%;
		flex-flow: column;
		flex: 1;
	}

	article.anbefalinger.type-anbefalinger {
		display: flex;
		width: 100%;
		gap: 3%;
		flex-flow: column;
		justify-content: space-between;
	}

	.anbef-bilde img {
		width: 15vh;
		height: auto;
	}

	#footer-sidebar {
		width: 100%;
		margin: 0;
		display: flex;
		flex-flow: column;
		justify-content: space-between;
		gap: 3%;
		padding: 40px 20px;
	}

	#mec_skin_events_13416 .mec-event-list-standard .mec-topsec {
		display: inline-flex;
		flex-flow: row wrap;
	}
	#mec_skin_events_13416 .col-md-6.mec-col-table-c.mec-event-content-wrap {
		padding: 0;
		width: calc(100% - 120px);
		min-height: 0;
	}
	#mec_skin_events_13416 .mec-event-list-standard .mec-col-table-c.mec-event-image-wrap {
		width: 120px;
	}

	#mec_skin_events_13416 .col-md-6.mec-col-table-c.mec-event-content-wrap h3.mec-event-title,
	.mec-event-grid-classic h4.mec-event-title {
		font-size: 20px;
	}
	#mec_skin_events_13416 .mec-event-meta.mec-color-before {
		display: inline-block;
		box-shadow: none;
		width: 100%;
		-webkit-box-shadow: none;
		border-top: 0;
	}

	#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-time-details {
		width: 42%;
		max-width: 180px;
		display: inline-block;
		vertical-align: top;
	}
	#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-date-details,
	#mec_skin_events_13416 .mec-event-meta.mec-color-before .mec-venue-details {
		width: 56%;
		max-width: 180px;
		display: inline-block;
		vertical-align: top;
	}

	#mec_skin_events_13416 .mec-event-list-standard .mec-col-table-c.mec-event-meta-wrap {
		padding: 0;
		margin: 0;
		box-shadow: none;
		-webkit-box-shadow: none;
		border-top: 0;
	}

	#mec_skin_events_13416 .mec-event-image img.attachment-thumblist.size-thumblist.wp-post-image {
		height: 100px;
		width: auto;
		margin-bottom: 1em;
	}

	#mec_skin_events_13416 .mec-event-list-standard .mec-event-article {
		border: 0;
		margin-bottom: 2em;
	}

	.webloft-block.events .event-item {
		flex: 1 100%;
		margin-bottom: 20px;
	}
	.event-item .event-image img {
		width: 100%;
	}

	#mec_skin_events_79 .mec-event-grid-classic .row {
		display: flex;
		flex: 1 0 100% !important;
		flex-flow: column wrap;
		gap: 3%;
		justify-content: space-between;
	}

	#mec_skin_events_79 .mec-wrap .col-md-3 {
		width: 100% !important;
	}
}

@media (max-width: 576px) {
	.news-item.full.search-results {
		flex-flow: column;
		gap: 20px;
	}

	#header,
	#container,
	#footer,
	.layer {
		padding: 0;
	}

	header#header {
		width: 100%;
		margin: 0;
		padding: 10px 20px;
	}

	div#container {
		width: calc(100% - 40px);
		overflow: hidden;
	}
	.anbef-bilde {
		padding-top: 2em;
	}
	.ansatt-tekst {
		vertical-align: top;
		display: inline-block;
		padding-left: 1em;
		width: calc(100% - 100px - 1em);
	}
	.ansatt-tekst h2 {
		font-size: 20px;
	}
	article.half,
	div.half,
	article.third,
	div.third,
	article.quart,
	div.quart,
	.news-item.half,
	.news-item.third,
	.news-item.quart {
		flex-flow: column;
	}
	.webloft-block.news-simple {
		display: block;
	}
	#mec_skin_events_13465 .mec-event-grid-classic .row {
		flex-flow: column;
	}
	#mec_skin_events_13465 .mec-event-grid-classic .row .col-md-1.col-sm-1 {
		flex: auto;
		width: 100%;
	}

	.bibsearch {
		width: calc(100% - 40px);
		margin: 70px auto 0;
		display: block;
		position: relative;
		background-color: #fff;
		margin-bottom: 20px;
	}

	.wp-caption,
	input:not(.bibsearch input[type="submit"]),
	textarea,
	.button {
		width: 100% !important;
	}

	img.attachment-thumblist.size-thumblist.wp-post-image {
		height: 150px;
		width: auto;
	}

	input[type="checkbox"],
	input[type="radio"] {
		width: auto !important;
	}

	.spacer {
		display: block;
		width: 100%;
	}

	.event-item {
		width: 100%;
		flex: auto;
	}

	.anbefaling-item {
		display: block;
		flex: none;
	}

	.webloft-block.anbefalinger-blokk {
		flex-flow: column;
		display: flex;
		align-items: center;
	}

	#menu .mobilenav {
		right: -100%;
		width: 100%;
	}
}

@media print {
	* {
		color: #000 !important;
		background: #fff !important;
	}

	body {
		padding: 50px !important;
		margin: 0 !important;
	}

	#content {
		display: block !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	#header,
	#sidebar,
	#footer,
	#comments,
	.entry-footer,
	.navigation,
	.share,
	.video-wrap,
	iframe,
	img {
		display: none !important;
	}
}

@media (max-width: 576px) {
	.anbefaling-item {
		width: 100%;
		padding: 10% 3%;
	}
	.anbef-bilde img {
		width: 40vw;
		height: auto;
	}
}

/* WL OPNINGSTIDER */
div#opningstider {
	background-color: #fff;
	padding: 25px 20px;
}
.wl-opening-hours h3 {
	margin-top: 6px;
	margin-bottom: 5px;
}
table.wl-opening-hours {
	margin-top: 10px;
}
div#opningstider h4.widgettitle {
}

/*TWEAKINGAR PÅ WL ÅPNINGSTIDER */
.wl-opening-hours.accordion {
	border: 0px solid rgba(0, 0, 0, 0.1);
	border-bottom: none;
	width: 99%;
}
.wl-opening-hours.accordion .wl-opening-hours.accordiondisplay .wl-accordion-header {
	cursor: pointer;
	width: 100%;
	padding: 0.1em;
}

#opningstider.et_pb_widget_area .et_pb_widget h3:not(.et_pb_widget-title) {
	visibility: visible;
	padding-bottom: 3px;
	text-transform: capitalize;
}

/*FJERNE PADDING I ÅPNINGSTIDENE I TABELLVISNINGA PÅ FORSIDA*/
.entry-content tr td,
body.et-pb-preview #main-content .container tr td {
	border-top: 0px solid #eee;
	padding: 0px 0px;
	padding-left: 0px;
}

/*JUSTERE SKRIFTSTØRRELSE MM OPNINGSTIDER PÅ MOBIL*/
@media only screen and (min-device-width: 320px) and (max-device-width: 600px) {
	.entry-content tr td {
		font-size: 14px;
		line-height: 1.4;
	}
	#opningstider.et_pb_widget_area .et_pb_widget p {
		font-size: 14px;
		line-height: 18px;
	}
	#opningstider.et_pb_widget_area .et_pb_widget a {
		font-size: 14px;
		line-height: 18px;
	}
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.screen-reader-text:focus {
	background-color: #f7f7f7;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #007acc;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	left: -9999rem;
	top: 2.5rem;
	z-index: 999999999;
	text-decoration: underline;
}

.skip-link:focus {
	display: block;
	left: 6px;
	top: 7px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: normal;
	padding: 15px 23px 14px;
	z-index: 100000;
	right: auto;
}

.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.search-submit {
	display: none !important;
}

.mec-event-list-minimal .mec-event-article .col-md-3.col-sm-3.btn-wrapper {
	display: none;
}

.wp-block-buttons {
	margin-top: 20px;
	margin-bottom: 20px;
}
.wp-block-image {
	margin: 40px 0;
	display: block;
}

.wp-block-heading,
.wp-block-media-text,
.entry-content h2:not(.illblokk-tittel),
.entry-content h1,
.entry-title {
	margin-top: 30px;
	margin-bottom: 20px;
}

.illblokk-tittel {
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.wp-block-heading,
	.wp-block-media-text,
	.entry-content h2:not(.illblokk-tittel),
	.entry-content h1,
	.entry-title,
	.illblokk-tittel {
		margin-top: 20px;
		margin-bottom: 10px;
	}

	#frontpagehero {
		h1 {
			margin-top: 20px;
			margin-bottom: 10px;
		}

		p {
			font-size: clamp(1rem, 0.65rem + 0.65vw, 1.25rem);
		}
	}
}
