.hero-header-margin {
	margin: 0 !important;
}

/* Link hover */
.linkhover a {
  position: relative;
	padding-bottom:6px;
}
.linkhover a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: var(--global-palette9);
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}
.linkhover_moerk a::before {
    background-color: #000;
}
.linkhover a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* Card */
.pris_fast_bredde {
    min-width: 100px;
}



/* Mega menu knapper */
.megamenu-knap {
	color: #333 !important;
}

/* Content + Arkiv */
#archive-container {
	margin-top: var(--global-kb-spacing-3xl, 6.5rem) !important;
}
.content-area {
	margin-top: var(--global-kb-spacing-3xl, 6.5rem);
	margin-bottom: var(--global-kb-spacing-3xl, 6.5rem);
}
@media only screen and (max-width: 1024px) { 
    #archive-container {
	margin: 2em auto !important;
}
    .category-nyheder .content-area {
	margin-bottom: 2rem !important;
}
}
/* Breadcrumbs / title bar */
.rank-math-breadcrumb {
	font-size: 12px;
}
.rank-math-breadcrumb .separator {
	padding: 0 0.3em;
}
.rank-math-breadcrumb a:where(:not(.wp-element-button)) {
	text-decoration: none !important;
}
.entry-hero-container-inner {
	border-radius: 0 0 4em 4em !important;
    margin: 0
}
.hero-section-overlay {
	border-radius: 0 0 4em 4em !important;
    margin: 0;
}
@media only screen and (max-width: 1024px) { 
    .entry-hero-container-inner {
	border-radius: 0 0 2em 2em !important;
    margin: 0;
}
.hero-section-overlay {
	border-radius: 0 0 2em 2em !important;
    margin: 0;
}
}

/* Skygge til elementer */
.skygge {
    box-shadow: 0px 15px 15px -10px rgba(0,0,0,0.05);
}

/* Query fix */
.kb-query-item.kb-query-block-post {
	border-radius: 1em !important;
}

/* Blur effekt */
.blur {
   background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
	border-radius: 0 0 1em 1em;
}

/* Zoom hover effekt */
.zoom {
	transition: all 150ms ease-in-out;
}
.zoom:hover {
	transform: scale(1.015);
}

/* Header style */
.transparent-header #masthead .site-top-header-wrap .site-header-row-container-inner {
	border-radius: 0 0 1em 1em !important;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
}
.transparent-header #primary-menu a {
	color: #fff;
}
.transparent-header #primary-menu a:hover {
	color: var(--global-palette1);
}
.item-is-stuck #primary-menu a {
	color: #000 !important;
}
.item-is-stuck #primary-menu a:hover {
	color: var(--global-palette1) !important;
}
.item-is-stuck {
	max-width: 1460px !important;
	margin: 0 auto !important;
    transition: max-width 0.2s ease-in-out;
}
.kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
    border-radius: 99em !important;
    margin-top: 1em;
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
	transition: margin-top 0.5s ease-in-out;
}
#primary-menu a .wp-block-navigation-item__label {
	color: var(--global-palette3) !important;
}
#primary-menu a .wp-block-navigation-item__label:hover {
	color: var(--global-palette1) !important;
}
.site-header-upper-inner-wrap.kadence-sticky-header.item-is-fixed.item-is-stuck {
	background: rgba(255,255,255,0) !important;
}
.site-main-header-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: max-width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.item-is-stuck .site-main-header-wrap {
    max-width: 1360px;
    margin: 1em auto 0 !important;
    background-color: #fff !important;
    border-radius: 99em !important;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
}
.item-is-stuck .site-top-header-wrap .site-header-row-container-inner > .site-container {
	background-color: #fff;
	border-radius: 0em 0em 1em 1em;
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05) !important;
}
@media only screen and (max-width: 1024px) {
.item-at-start .menu-toggle-label {
	color: #fff !important;
}
.item-at-start .menu-toggle-icon {
	color: #fff !important;
}
.site-header-upper-inner-wrap.child-is-fixed .site-main-header-wrap {
	padding: 0 1em !important;
}
}
.transparent-header #primary-menu .kt-svg-icon-list-text {
	color: var(--global-palette3) !important;
}
.transparent-header #primary-menu .kt-svg-icon-list-text:hover {
	color: var(--global-palette1) !important;
}

/* Primary menu responsive desktop */
@media (min-width: 1024px) and (max-width: 1140px) { 
	.main-navigation .primary-menu-container > ul li.menu-item > a {
    font-size: 15px !important;
	}
    .site-branding a.brand img {
	max-width: 152px !important;
    }
}
@media (min-width: 1140px) and (max-width: 1255px) { 
	.main-navigation .primary-menu-container > ul li.menu-item > a {
    font-size: 16px !important;
	}
    .site-branding a.brand img {
	max-width: 200px !important;
    }
}
@media (min-width: 1255px) and (max-width: 1300px) { 
	.main-navigation .primary-menu-container > ul li.menu-item > a {
    font-size: 18px !important;
	}
    .site-branding a.brand img {
	max-width: 220px !important;
    }
}

/* Submenu dropdown */
.sub-menu {
	padding: 0.2em !important;
	border-radius: 1em;
}
.wp-block-kadence-navigation .sub-menu {
	border-radius: 1em !important;
}
.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
	border-radius: 2em !important;
}


/* Nyheder */
.entry.loop-entry {
	box-shadow: 0px 15px 15px -10px rgba(0,0,0,0.05);
	border-radius: 1em !important;
}
.article-post-thumbnail {
	border-radius: 1em !important;
    margin-top: -1.5em !important;
}
.post-thumbnail.kadence-thumbnail-ratio-2-3  {
	border-radius: 1em !important;
}
.category-nyheder .content-area {
	margin-top: 1rem;
	margin-bottom: 8rem;
}
.kt-blocks-above-categories {
	background: var(--global-palette5);
  padding: 0em 0.5em 0.2em 0.5em !important;
  border-radius: 0.25rem;
  margin-right: .25rem;
  margin-bottom: .25rem;
  display: inline-block;
  line-height: 1.2;
	border-radius: 99px;
}
.kt-blocks-above-categories a {
	color: #fff !important;
  font-weight: bold;
	letter-spacing: .05em;
  font-size: 70%;
  text-transform: uppercase;
}
.entry-taxonomies .category-style-pill a {
	background: var(--global-palette5);
	color: white;
	padding: 0.2em 0.5em 0.3em 0.5em !important;
	border-radius: 99em !important;
}
.kt-blocks-post-grid-item .entry-title {
 font-size: 28px;
 line-height: 1.5;
 margin-top: 0.4em !important;
 margin-bottom: 0.4em !important;
}
.kt-blocks-date {
 margin-bottom: 0em !important;
}
.loop-entry.type-post .entry-taxonomies .category-style-pill a {
	color: white;
	border-radius: 99em !important;
	padding: 0.2em 0.6em !important;
}
.entry-related-inner .splide__arrow {
	display: none !important;
}
.entry-related-inner .entry.loop-entry {
	box-shadow: none;
}

@media only screen and (min-width: 1024px) { 
    .wp-site-blocks .post-thumbnail.kadence-thumbnail-ratio-1-1 {
	min-height: 100%;
}
}

/* Fokusskygge for mega menu */
li.kadence-menu-mega-enabled > ul {
-webkit-box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
-moz-box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
box-shadow: 0px 0px 0px 10000px rgba(0,0,0,0.5) !important;
}

/* AJAX Søgeformular styling */
.is-form-style input.is-search-input {
	font-size: 22px !important;
	padding: 0 22px;
	height: 65px !important;
	border-radius: 99em !important;
	border: 1px solid transparent !important;
	font-family: arial;
}
.is-ajax-search .is-loader-image {
	right: 20px !important;
}
div.is-ajax-search-details, div.is-ajax-search-result {
	background: #fff !important;
	border-radius: 0.5em !important;
	margin-top: 1em !important;
}
.is-ajax-search-categories-details > div:hover, .is-ajax-search-result .is-ajax-search-post:hover, .is-ajax-search-result .is-show-more-results:hover, .is-ajax-search-tags-details > div:hover {
	background: #faf5f5 !important;
}
.is-ajax-search-details .is-title a, .is-ajax-search-post .is-title a {
	text-transform: none !important;
	font-size: 16px !important;
}
.is-ajax-search-post, .is-ajax-search-post-details {
	cursor: pointer !important;
}
.is-ajax-search-details a:hover, .is-ajax-search-result a:hover {
	text-decoration: none !important;
}
.is-ajax-search .is-loader-image {
	height: 45px !important;
	width: 45px !important;
}


/* Klassen .ingen-click deaktiverer al interaktion og styling på knapper/links */
.ingen-click {
  pointer-events: none !important;  /* Blokerer klik */
  cursor: default !important;       /* Almindelig muse-cursor */
}

/* Fjern alle hover/active/fokus-effekter */
.ingen-click:hover,
.ingen-click:focus,
.ingen-click:active {
  background: none !important;
  color: inherit !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}

/* Mobilmenu */
.sub-menu.show-drawer.active.pop-animated {
	background: var(--global-palette7);
	padding: 1em !important;
}
#mobile-toggle {
	padding-right: 0 !important;
}
.header-mobile-social-wrap .social-label {
	color: #aaa;
}
.header-mobile-social-wrap {
	background-color: #fff;
	border-radius: 99em !important;
	padding: 0.1em 0.2em;
}