



:root {
--testColorMain: #424242;
--testColorSecondary: #ffffff;
}




div.logo-inline-style#mainNavbar > ul.navbar-nav > li > a {
color: #424242;
border-color: #424242 !important;
}

div.stacked-style#mainNavbar > ul.navbar-nav {
background-color: rgba(239,239,239, 1) !important;
}

div.stacked-style#mainNavbar > ul.navbar-nav > li > a {
color: #000 !important;
}

div.stacked-inverse-style#mainNavbar > ul.navbar-nav {
background-color: rgba(239,239,239, 1) !important;
}

div.stacked-inverse-style#mainNavbar > ul.navbar-nav > li > a {
color: #fff !important;
}



.main-navbar .navbar-brand {
color: #424242;
}

    
        .main-navbar .navbar-toggler {
        color: #424242;
        }
    


.main-navbar .navbar-brand {
height: 70px;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    }

@media (max-width: 991px) {
.main-navbar .navbar-brand {
    max-height: 120px; important
}
.main-navbar .navbar-brand img {
max-height: 120px; important
}
}


    @media (min-width: 992px) {
    div.logo-inline-style#mainNavbar > ul.navbar-nav > li > a {
    border: 1px solid #424242;
    }
    }





    .main-navbar {
        
            background-color: #ffffff;
            color: #424242;
            }

    .dropdown-submenu {
    position: relative;
    }

    .dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
    position: relative !important;
    margin: 1rem !important;
    }





    .custom-link-color a, .custom-link-color a:link, .custom-link-color a:visited, .custom-link-color a:active
    {
    color: #222222;
    }

    .m-t-r {
    padding-top: 24px;
    }

    @media (max-width: 979px) {
    .header-banner {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 20px;
    }
    .navbar-fixed-top {
    margin-bottom: 0;
    }
    }



    #content-area .header-color, #dialog-area .header-color
    {
    background-color: #ffffff;
    color: #424242;
    }

    .panel-header-color {
    border-color: #ffffff;
    }

    .addLogoText
    {
    font-size: 2.5em;
    font-family: Tahoma, "Arial Narrow", verdana, sans-serif;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    line-height: 90px;
    float: left;
    
    }

    .logoText
    {
    line-height: 90px;
    
    }

    .logo a, .m-t-r .brand
    {
    color: #424242;
    }

    .content-color
    {
    background-color: #FFFFFF;
    color: #222222;
    }


    .content-lower-container
    {
    background-color: #000000;
    color:#fafafa;
    text-decoration: none;
    }

    @media (max-width: 767px) {
    .content-lower-container {
    background-color: #fff;
    color:#fafafa;
    text-decoration: none;
    }

    .footer-item {
    background-color: #000000;
    margin-bottom: 1rem;
    }
    }


    .content-lower-container a, .content-lower-container a:hover{
    color:#fafafa;
    }

    .nav-back
    {
    background-color: #33A5FF;
    }




    .menu-colors
    {
    color: #424242;
    background-color: #33A5FF;
    }

    .banner .links a
    {
    color: #424242;
    background-color: #33A5FF;
    }

    .list-group-item.active, .nav-pills .nav-link.active {
    color: #ffffff !important;
    background-color: #424242 !important;
    border-color: #424242 !important;
    }

    .list-group-item a, .nav-pills .nav-item a.nav-link {
    color: #424242 !important;
    }

    .list-group-item.active a, .nav-pills .nav-item a.nav-link.active {
    color: #ffffff !important;
    }


    .dropdown-item.active, .dropdown-item:active {
    background-color: #424242 !important;
    }

    /* ==========================================================================
   1. FONTS & GRUNDLÆGGENDE STYLING
   ========================================================================== */
body, p, li, h1, h2, h3, h4, a, button, .btn {
    font-family: "Open Sans", sans-serif !important;
    /*font-optical-sizing: auto;*/
    font-style: normal;
}

p, li {
    font-weight: 300;
  font-size: 18px;
}

h1, h2 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 500;
  line-height: 2 !important;
}

.content-lower-container {
  display: none;
}

/* ==========================================================================
   2. NAVIGATION & MENU (FIX AF AFSTAND)
   ========================================================================== */

/* Menupunkter styling */
div.stacked-style#mainNavbar > ul.navbar-nav > li > a,
div.logo-inline-style#mainNavbar > ul.navbar-nav > li > a,
div.stacked-style#mainNavbar ul.dropdown-menu > li > a,
div.logo-inline-style#mainNavbar ul.dropdown-menu > li > a {
    transition: all 0.3s ease-in-out;
    color: #434c5e;
    border: 0;
    text-transform: uppercase;
    font-weight: 400 !important;
}

/* Hover effekt på menu */
div.stacked-style#mainNavbar > ul.navbar-nav > li > a:hover,
div.logo-inline-style#mainNavbar > ul.navbar-nav > li > a:hover,
div.stacked-style#mainNavbar ul.dropdown-menu > li > a:hover,
div.logo-inline-style#mainNavbar ul.dropdown-menu > li > a:hover {
    color: #adb5bd !important;
    text-decoration: none;
}

/* Dropdown / Rullegardin - FIX: Hullet lukket her */
.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,.15);
    border-top: 6px solid #000000 !important; /* Den markante sorte kant */
    border-radius: 0px !important;
    color: #212529;
    
    /* AFSTANDS-FIX: */
    margin-top: 0px !important; /* Fjernet de 43px for at fjerne hullet */
    
    padding: 0.5rem 0;
    min-width: 240px !important; /* Justeret fra 20rem for at være mere fleksibel */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==========================================================================
   3. INDHOLD & KOMPONENTER
   ========================================================================== */

/* Kalender events */
.mt-2.rounded.p-1.cal-event {
    border-radius: 0px !important;
}

/* Nyhedsbilleder */
.w-100.mb-2.shadow.rounded {
    border-radius: 0 !important;
}

/* Dato-justering i lister */
.ml-auto, .mx-auto {
    margin-left: 0px !important;
}

/* Knapper */
.btn {
    border-radius: 0px !important;
    transition: all 0.2s ease;
}

/* ==========================================================================
   4. VALKYRIEN SPECIAL BOXES
   ========================================================================== */

/* Forside boks (Events) */
.events-box {
    display: block;
    color: #ffffff;
    padding: 50px;
    width: 100%;
    background-color: #a2be49;
    min-height: 420px; 
}

/* Forside boks (Medlem) */
.medlem-box {
    display: block;
    color: #ffffff;
    padding: 50px;
    width: 100%;
    background-color: #3b6e8f; 
    min-height: 420px; 
}

/* Forside boks (Intromøder) */
.orangebox {
    display: block;
    color: #ffffff;
    padding: 50px;
    width: 100%;
    background-color: #ea5d00;
    min-height: 420px; 
}

/* ==========================================================================
   5. VALKYRIEN FORMULARER
   ========================================================================== */

.form-control {
  border-radius: 0px !important;
  border: none !important;
  background-color: #f1f1f1 !important;
}

.custom-select {
  border-radius: 0px !important;
  border: none !important;
  background-color: #f1f1f1 !important;
}

.border {
  border: 0px !important;
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.ml-2, .mx-2 {
  margin-left: 0px !important;
}