#memberDialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999;
    border: none;
    background-color: rgba(0, 0, 0, 0.7);
}

#memberDialog .content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 30px;
    width: 530px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background-color: #FFF;
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 90%;
    max-height: 90%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    box-shadow: 0 0 10px #000000;
}

.memberOverlayHeader {
    font-size: 25px;
    font-weight: bold;
}

.memberButtons {
     display: flex;
     justify-content: center;
     gap: 15px;
 }

/* Tilf&oslash;j tilpassede CSS-regler her */

.site-header {
    position: relative;
    display: flex;
    align-items: center;
    transition: top 0.3s ease;
    width: 100%;
    z-index: 1000;
    background: #fff;
}

@media (min-width: 1281px) {
    .w-logo .w-logo-img {
        max-height: 90px !important;
    }
}

@media (min-width: 1024px) {
    .site-header {
        height: 143px !important;
    }
    
    .w-logo .w-logo-img {
        max-height: 90px !important;
    }

    .site-header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
}

@media (max-width: 767px) {
    .site-header .w-logo-img {
        height: 40px !important;
    }
}

.frontpage .category-item-title {
    text-align: center !important;
}

.frontpage .category-item {
    margin-bottom: 30px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.frontpage .category-item-image a {
    display: block;
    height: 260px !important;
    overflow: hidden !important;
    width: 80% !important;
    margin: 0 auto !important;
    margin-bottom: 10px !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .frontpage .category-item {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .frontpage .category-item-image a {
        height: 220px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .frontpage .category-item {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .frontpage .category-item-image a {
        height: 180px !important;
    }
}

.frontpage .category-item-image img {
    width: 100%;
    height: 100%;
}

#site-wrapper>#site-sidebar {
    z-index: 1001 !important;
}

#site-wrapper>#site-overlay {  
    z-index: 1001 !important;
}

.navbar {
    border: none !important;
}

.navbar-icons .mobile-menu {
    display: block !important;
}

#site-sidebar .productmenu,
#site-sidebar .productmenu-title {
    display: block !important;
}

@media (min-width: 1281px) {
    #site-sidebar .productmenu > li > a {
        font-weight: normal !important;
        padding: 15px 20px !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Averia Serif Libre", serif !important;
}

a, p, span, li, div {
    font-family: "Open Sans", sans-serif !important;
}

.averia-serif-libre-light {
    font-family: "Averia Serif Libre", serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .averia-serif-libre-regular {
    font-family: "Averia Serif Libre", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .averia-serif-libre-bold {
    font-family: "Averia Serif Libre", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .averia-serif-libre-light-italic {
    font-family: "Averia Serif Libre", serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .averia-serif-libre-regular-italic {
    font-family: "Averia Serif Libre", serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .averia-serif-libre-bold-italic {
    font-family: "Averia Serif Libre", serif;
    font-weight: 700;
    font-style: italic;
  }
  
.frontpage-welcome {
    padding-top: 2rem;
    padding-bottom: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.frontpage-welcome .page-title {
    margin-bottom: 1.5rem;
    text-align: left;
}

.frontpage-welcome .page-title::after {
    display: none;
}

.frontpage-welcome .title-decorator {
    display: block;
    width: 35px;
    height: 5px;
    background-color: #c70000;
    margin-bottom: 1.5rem;
}

.frontpage-welcome h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
}

.frontpage-welcome .page-content {
    font-size: 1rem;
    line-height: 1.2;
    color: #111213bf !important;
}

.frontpage-welcome .page-content p {
    margin-bottom: 1.5rem;
    color: #111213bf !important;
    line-height: 1.85 !important;
    font-size: 17px !important;
}

.frontpage-welcome .page-content span {
    font-size: 17px !important;
    color: #111213bf !important;
}

@media (max-width: 1024px) {
    .frontpage-welcome h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .frontpage-welcome {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .frontpage-welcome p {
        font-size: 17px !important;
    }

    .frontpage-welcome h2 {
        font-size: 2.25rem;
    }

    .frontpage-welcome .page-title {
        margin-bottom: 1rem;
    }

    .frontpage-welcome .title-decorator {
        margin-bottom: 1rem;
    }
}

.h5 {
    font-size: 19px !important;
    color: #333 !important;
}
