/* Header */
@media (min-width: 1024px) {
  .site-main-header-wrap {
    width: 100%;
    margin: 0 auto;
    border-radius: 1em;
    transform: translateY(0);
    transition:
      margin-top 800ms ease,
      width 200ms ease,
      border-radius 200ms ease,
      box-shadow 200ms ease,
      transform 300ms ease;
  }
  .site-header-upper-inner-wrap.child-is-fixed .site-main-header-wrap {
    width: 1024px !important;
    margin: 0 auto;
    background: #fff !important;
    border-radius: 2em !important;
    margin-top: 1em;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transform: translateY(5px);
  }
    .site-header-upper-inner-wrap.child-is-fixed .site-main-header-wrap .site-header-row-container-inner > .site-container {
	padding: 0em 1em 0em 2em;
}
}
@media (max-width: 1024px) {
    .site-header-upper-inner-wrap.child-is-fixed .site-main-header-wrap .site-header-row-container-inner > .site-container {
	margin-top: 1em;
    padding: 0 2em !important;
}
    .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
	margin: 1em;
}
}

.kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
    border-radius: 2em !important;
}

/* Skjul elementer i sticky header */
.site-header-upper-inner-wrap.child-is-fixed #secondary-navigation {
    display: none !important;
}
.site-header-upper-inner-wrap.child-is-fixed .header-divider {
    display: none !important;
}
.site-header-upper-inner-wrap.child-is-fixed .header-html {
    display: none !important;
}
/* Skjul elementer under 1295px */
@media only screen and (max-width: 1295px) { 
   .site-header-upper-inner-wrap #secondary-navigation {
    display: none !important;
  }
  .site-header-upper-inner-wrap .header-divider {
    display: none !important;
  }
  .site-header-upper-inner-wrap .tertiary-navigation  {
    display: none !important;
  }
}


/* Language switcher menu */
.trp-ls-language-name {
	display: none !important;
}
.trp-menu-ls-label .trp-flag-image {
	margin: 10px 0px 0px 0px !important;
	aspect-ratio: 1/1 !important;
	scale: 1.2;
}

/* Only apply fade-in at the start */
.fade-in-header {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInHeader 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInHeader {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mega menu */
.product-megamenu {
    border-radius: 30px !important;
}

/* 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;
    border-radius: 30px !important;
}
.kt-tabs-title-list {
	padding: 2em !important;
	background: #eee !important;
	border-radius: 30px 0 0 30px !important;
}

/* Logoer på forside element */
.bc-logo {
  position: absolute;
  top: 35%;
  left: 5%;
  max-width: 80px;
  z-index: -1;
}
@media (max-width: 1024px) {
  .bc-logo {
    top: -10%;
    left: 4%;
    max-width: 60px;
  }
}
@media (max-width: 767px) {
  .bc-logo {
    top: -10%;
    left: 2%;
    max-width: 50px;
  }
}

.economic-logo {
  position: absolute;
  bottom: 0%;
  right: 20%;
  max-width: 80px;
  z-index: -1;
}
@media (max-width: 1024px) {
  .economic-logo {
    bottom: -10%;
    right: 20%;
    max-width: 60px;
  }
}
@media (max-width: 767px) {
  .economic-logo {
    bottom: -10%;
    right: 14%;
    max-width: 50px;
  }
}

.uniconta-logo {
  position: absolute;
  top: 0%;
  right: 8%;
  max-width: 80px;
  z-index: -1;
}
@media (max-width: 1024px) {
  .uniconta-logo {
    top: 0%;
    right: 8%;
    max-width: 60px;
  }
}
@media (max-width: 767px) {
  .uniconta-logo {
    top: 0%;
    right: 4%;
    max-width: 50px;
    opacity: 0.1;
  }
}

/* Hover rise */
.rise {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rise:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Nyheder */
.entry.loop-entry {
	box-shadow: none !important;
	border-radius: 1em;
}
.wp-site-blocks .post-thumbnail {
	border-radius: 1em !important;
}

/* Mobile menu */
.sub-menu.show-drawer.active.pop-animated {
	background: #fff !important;
	border-radius: 8px;
	padding-right: 1em;
}

/* Footer */
footer .wp-block-navigation-item__label:hover {
	color: #c2fa6b;
}

/* Logoslider */
.logoslider .entry-title {
	text-align: center !important;
}