/* Remove default body margins if any */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: Arial, sans-serif;
}

.montserrat-black {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.montserrat-bold-italic {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-style: italic;
}

/* Fix the navbar at the top */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  /* Ensure the navbar is above other elements */
  height: 65px;
  /* Standard Bootstrap 5 navbar height (adjust if needed) */
}

/* Push the main container below the fixed navbar */
.main-container {
  margin-top: 65px;
  /* Matches the .navbar height */
}

/* Desktop sidebar: fill remaining viewport height below the navbar */
@media (min-width: 768px) {
  .desktop-sidebar {
    height: calc(100vh - 65px);
    /* Scroll only if content is taller than the sidebar */
    overflow-y: auto;
    display: flex !important;
    flex-direction: column;
  }
}

.filter-btn-group.btn-group-vertical .btn {
  transition: box-shadow 0.2s ease-in-out;
  border-radius: 0;
  border: 0;
}

.filter-btn-group.btn-group-vertical .btn:hover {
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

td.details-control {
  background: url('https://datatables.net/examples/resources/details_open.png') no-repeat center center;
  cursor: pointer;
  max-width: 30px;
  min-width: 30px;
}
tr.shown td.details-control {
  background: url('https://datatables.net/examples/resources/details_close.png') no-repeat center center;
}

.bg-hsa-teal {
  background-color: #0a52a1!important;
}

.data-flexbox-container {
  display: flex;
  /* align-items: flex-end; */
  gap: 4px;
}

.chip-flexbox {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* .chip-flexbox a {
  color: white;
} */

ul.datalist .badge {
  margin-top: auto;
  margin-bottom: auto;
  font-size: inherit;
}

td.details-control a {
  width: 100%;
  height: 100%;
  display: list-item;
}


@media print {
  /* * {
    overflow: hidden;
  } */

  nav {
    display: none !important;
  }

  div.container-fluid.main-container {
    margin-top: 0px;
  }

  ul.datalist .badge {
    color: black;
    background-color: white;
    text-align: left;
  }

  div #resources_wrapper > div.row:nth-child(3) {
    display: none;
  }

  div #resources_wrapper > div.row:nth-child(1) {
    display: none;
  }

  ::-webkit-scrollbar {
    display: none;
  }

  ul.datalist .badge a[data-website]:after {
    content: ' (' attr(href) ')';
  }

  .dt-scroll {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: blue;
  }


}


.title-container {
  display: flex;
  justify-content: space-between;
}

.mobile-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 62px);
}

@media (max-width: 480px) {
  /* title medical formatting flexbox to make it more digestible on mobile */
  .title-container {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
  }
}