.site-logo .custom-logo {
      max-width: var(--logo-width);
    height: auto;
}


.header-container { 
  background-color: var(--color-header);
}

.header-container a {
  color: var(--color-prim-menu-font);
  text-decoration: none;
}
.header-container a:hover {
  color: var(--color-prim-menu-font-hover);
  text-decoration: underline;
} 

/*Menyen*/

/*Hvilke meny som vises paa skjermstorrelse*/
.desktop-menu-code {
  display: block;
}
.mobile-menu-code {
  display: none;
}
@media (max-width: 1200px) {
  .desktop-menu-code, .deskt-menu-div-left {
    display: none !important;
  }
  .mobile-menu-code {
    display: block;
  }
}

/*Design av desktopmeny*/

.desktop-menu {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu li a {
	text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  position: relative;
  padding: 5px 0px;
  font-size: 1.3rem;
}

@media screen and (min-width: 850px) {
	.header23-feat-menu li.menu-item a  {
	font-size: 1.3rem;
	}
}

.desktop-menu li a:hover,
.desktop-menu li.current-menu-item > a,
.desktop-menu li.current-menu-parent > a,
.desktop-menu li.current_page_item > a {
  color: var(--color-prim-menu-font-hover);
  text-decoration: underline;
}

.thbs-menu-wrapper {
  position: relative;
  z-index: 1000;
}

/* Menu bars, can be customized by changing the spans */

.thbs-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 40px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.thbs-menu-toggle span {
  display: block;
  height: 3px;
  background-color: var(--color-prim-menu-font); 
  border-radius: 5px;
  transition: width 0.3s ease, background-color 0.3s ease;
  margin-left: auto;
}

.thbs-menu-toggle span:nth-child(1) {
  width: 100%;
}
.thbs-menu-toggle span:nth-child(2) {
  width: 70%;
}
.thbs-menu-toggle span:nth-child(3) {
  width: 50%;
}
.thbs-menu-toggle span:nth-child(4) {
  width: 70%;
}

.thbs-menu-toggle:hover span:nth-child(1) {
  width: 70%;
}
.thbs-menu-toggle:hover span:nth-child(2) {
  width: 50%;
}
.thbs-menu-toggle:hover span:nth-child(3) {
  width: 70%;
}
.thbs-menu-toggle:hover span:nth-child(4) {
  width: 100%;
}

/* Close button */

.thbs-close-btn {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.thbs-close-btn span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-mob-menu-font);
  border-radius: 2px;
  transform-origin: center;
}

/* Make the X */
.thbs-close-btn span:first-child {
  transform: translateY(-50%) rotate(45deg);
}
.thbs-close-btn span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.thbs-close-btn:hover,
.thbs-close-btn:focus {
  transform: scale(1.15);
}

.thbs-close-btn:focus-visible {
  outline: 2px solid var(--color-mob-menu-font);
  outline-offset: 4px;
}

/* Default to off screen */
.thbs-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100vh;
  background: var(--color-mob-menu);
  color: var(--color-mob-menu-font);
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: start;
  padding-left: 5%;
}

/* Visible when toggled */
.thbs-mobile-nav.open {
  transform: translateX(0);
}

.thbs-hamburger-menu-list {
  list-style: none;
  padding: 2rem;
  margin: 0;
}


.thbs-hamburger-menu-list .menu-item {
    margin-top: 1em;
    font-size: 1.4rem;
    text-decoration: none; 
}

.thbs-hamburger-menu-list li a {
    color: var(--color-mob-menu-font);
    text-decoration: none; 
    position: relative;
    padding: 5px 0px;
}


.thbs-hamburger-menu-list a:hover, .thbs-hamburger-menu-list li.current-menu-item a {
  color: var(--color-mob-menu-font-hover);
  text-decoration: underline;
}

/* Backdrop */

.thbs-menu-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(17, 31, 22, 0.6);
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.thbs-mobile-nav.open + .thbs-menu-backdrop,
.thbs-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}



/*Hopp til innhold ved tabbing*/

.skip-to-content {
    transform: translateY(-100%);
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    padding-right: 1em;
    padding-left: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    transition-duration: 0.4s;
    transition-property: transform;
    background-color: #fff;
    color: #000;
    border: 1px solid blue
}

.skip-to-content:focus {
    transform: translateY(1px);
}


/*Footer styling*/

.footer-content {
  background-color: var(--color-footer);
  color: var(--color-footer-font);
  fill: var(--color-footer-font);
  font-size: 1.05rem;
  font-weight: 300;
}
.footer-content a { 
    color: var(--color-footer-font);
}
.footer-content a:hover {
    color: var(--color-footer-font-hover);
}
.footer-about {
  max-width: 500px;
}
.footer-company-name {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}
.footer-map-link {
  font-size: 0.9rem;;
}
.footer-favicon {
  width: 80px;
  height: 80px;
  margin-top: -20px;
  margin-bottom: 10px;
  background-color: var(--color-footer);
  border-radius: 100%;
  padding: 3px;
}

.footer-content address {
  font-style: normal;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.copyright-field {
  font-size: 0.95rem;
  font-weight: 400;
}
.social-links .fa-brands {
    font-size: 30px;
    padding: 15px;
}

.social-links a, .footer-contact-data a {
    text-decoration: none;
}