
#body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-x:hidden;

}


#content {
    flex: 1;
    padding: 1rem;

}

#navbar-container {
    width: 100%; /* Set the width of the Navbar to 100% */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Spread NavItems evenly */

}


.custom-navlink {
    color: #002060; /* Set the text color to blue */
    font-weight: normal; /* Default font weight */
    text-decoration: none; /* Remove underline */
}

.custom-navlink:hover {
    color: #097EC4;
    text-decoration: underline; /* Add underline on hover */
}

.custom-navlink:active {
    color: #097EC4; /* Bold text when clicked */
    text-decoration: none;
}

/* Focused NavLink styles (during click) */
.custom-navlink:focus {
    color: #097EC4;
    text-decoration: none; /* Avoid unwanted underline */
}

/* Prevent default Bootstrap transitions */
.custom-navlink,
.custom-navlink:focus,
.custom-navlink.active {
    transition: none; /* Remove Bootstrap's transition effects */
}

.nav-link.active {
    color: #097EC4; /* Change font color to orange when clicked */
    text-decoration: underline;
}

.menue-dropdown {
    color: #002060;
    border: 10px;
}

.menue-dropdown:hover {
    color: #096CAA;;
}

#menue-dropdown .dropdown-menu {
    background-color: rgba(255,255,255,1);
}

.menue-dropdown-item {
    color:white;
}
#menue-dropdown-item:hover {
    background-color: lightgrey;
}

.nav-item-nimh {
    color: #002060;
    flex-grow: 0; /* Allow each NavItem to grow to occupy available space */
    text-align: center;
    padding:5px;
    margin:0;
}

.nav-item-nimh:hover {
    color: #096CAA; /* Change font color to red on hover */
}
.nav-item-nimh.active {
    color: white; /* Change font color to red on hover */
}

.rc-slider-mark-text:last-child {
    white-space: nowrap; /* Force the last mark text to stay on one line */
}

.radio-item {
    margin-bottom: 10px; /* Adjust the margin to control the spacing */
    margin-left: 10px;
    margin-right: 10px;
}

/* restyle radio items */
.radio-group .form-check {
  padding-left: 0;
}

.radio-group .btn-group > .form-check:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.radio-group .btn-group > .form-check:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}


/* Center modal and set 80% viewport size */
.custom-modal .modal-dialog {
  max-width: 80vw !important;   /* width 80% of viewport */
  width: 80vw !important;
  max-height: 80vh !important;  /* height 80% of viewport */
  height: 80vh !important;
  margin: auto;                 /* keep it centered */
}

.custom-modal .modal-content {
  height: 100%;
}

.custom-nav .nav-item,
.custom-nav .dropdown {
  flex: 1 1 0;
  text-align: center;
}

.custom-nav .nav-link {
  white-space: nowrap;
  overflow: hidden;     /* optional: hide overflow text */
  text-overflow: ellipsis; /* optional: add "…" if too long */
}
