@font-face {
  font-family: 'Roboto';
  src: url('/public/fonts/Roboto-Thin.ttf') format('truetype');
  font-weight: 100; /* Thin */
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/public/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300; /* Light */
  font-style: normal;
}

.btn-primary {
  background-color: #1c58a5;
  border-color: #1c58a5;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Roboto, sans-serif;
}

/* Default font sizes for mobile */
h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.25rem; 
}

h3 {
  font-size: 1.125rem; 
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.875rem;
}

h6 {
  font-size: 0.75rem;
}

.bg-g5-main {
  background-color: #1c58a5;
}

.bg-g5-secondary {
  background-color: #297d40;
}

.header-main {
  background-color: #1c58a5;
}

.header__entry {
  background-color: #1c58a5;
}

.header_heal {
  background-color: #1c58a5;
}

.loginPage img {
  width: 85px;
}

.g5-infoCard {
  background-color: #1A67DB;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  margin: -50px auto 0 auto;
  padding: .8rem;
}

.g5-loginCard {
  width: 100%;
  max-width: 350px;
}

.g5-infoCard__item {
  flex: 1 1 100%; /* Each child takes 100% width */
}

.g5-blueGradient {
  background: linear-gradient(to right, #2E0FB2, #0FC3F0);
}

.g5-infoWrapper--success > header {
  height: 90px;
}

.g5-infoWrapper--error > header {
  height: 45px;
}

.hr {
  width: calc(100% - 12.8px); /*100% - padding of parent*/
}

.g5-breadcrumb--black, .g5-breadcrumb--white {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.g5-breadcrumb--black {
  color: #000
}

.g5-breadcrumb--white {
  color: #fff;
}

.g5-breadcrumb__item {
  display: flex;
  align-items: center;
  color: #000;
}

.g5-breadcrumb--black .g5-breadcrumb__item + .g5-breadcrumb__item::before {
  content: "/";
  color: #000;
  padding: 0 0.25rem;
}

.g5-breadcrumb--white .g5-breadcrumb__item + .g5-breadcrumb__item::before {
  content: "/";
  color: #fff;
  padding: 0 0.25rem;
}

.g5-breadcrumb__item {
  text-decoration: none;
  color: inherit; /* Ensures links inherit the text color */
}

.g5-breadcrumb--black .g5-breadcrumb__item--active {
  color: #000;
}

.g5-breadcrumb--white .g5-breadcrumb__item--active {
  color: #fff;
}

.g5-breadcrumb__item--active::before {
  content: none; /* Removes the divider before the active item */
}

.g5-basicSearchForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.g5-searchForm__input input {
  width: 100%;
}

.g5-searchForm__selection ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  gap: .5em;
}

.g5-searchForm__selection ul li {
  background-color: #fff;
  border-radius: 10px;
  color: #000;
  padding: .4rem;
}

.x-icon:hover {
  cursor: pointer;
}

.navbar-brand .img {
  width: 40px;
}

ul {
  list-style-type: none;
  padding: 0;
}

.items:hover {
  cursor: pointer;
  background-color: black;
  color: #fff;
}

.category__link {
  display: flex;
  flex-direction: column;
  font-size: 1.7rem;
  width: 100%;
  max-width: 350px;
  height: 200px;
  text-align: center;
  text-decoration: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  justify-content: center;
}

.category__link:hover {
  cursor: pointer;
}

.category__link--disabled {
  background-color: #888;
  color: #fff;
}

.category__link--disabled:hover {
  cursor: auto;
}

.background-heal-prof {
  background-color: #297d40;
  color: #fff;
}

.background-doc {
  background-color: #1c58a5;
  color: #fff;
}

.dataList {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.datalist-pill {
  background-color: #F4F4F4;
  color: #000;
  padding: .3em;
  border-radius: 10px;
}

.card-header {
  font-size: 1.1em;
}

.datalistEntry-body {
  display: grid;
  grid-template-columns: 1fr;
}

.datalistEntry-body__item {
  padding: 1.1em 1.1em 0 1.1em;
}

.datalistEntry-body .datalistEntry-body__item:last-of-type {
  padding-bottom: 1.1em;
}

.card-header img {
  height: 2em;
}

.dataList > .dataList-map {
  grid-column-start: 1;
  grid-column-end: span col3-start;
  grid-row-start: 1;
  grid-row-end: span 2;
}

.map {
  height: 350px;
  width: inherit;
}

.entryData-contact__item {
  display: grid;
  grid-template-columns: 25px 1fr;
}

.entryData-category {
  margin: 1.5rem 0;
}

.entryData-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5em
}

.entryData-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}

.entryData-options__item {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  padding: 1em;
}

.entryData-options__item > h3 {
  color: #1A67DB;
}

.entryData-times__item--isToday {
  font-weight: bold;
}

.g5-searchForm__input {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.suggestion-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  border-top: none;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-height: 400px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

[v-cloak] {
  display: none; /* Ensure it's hidden until Vue hydrates */
}

.suggestion-item {
  padding: 5px;
  cursor: pointer;
  font-size: 16px;
  color: #000;
}

.headline {
  padding: 5px;
  background-color: #000;
  font-weight: bold;
}

.no-suggestions {
  padding: 1rem;
  color: #888;
  text-align: center;
}

.suggestion-item[aria-selected="true"],
.suggestion-item.highlighted {
  color: #000;
  background-color: #eee;
}

.error-box {
  background-color: red;
  color: white;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 5px;
  font-weight: bold;
}
.loading-box {
  background-color: #f0f0f0;
  color: #333;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.accordion-body {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

footer {
  width: 100%;
  height: 80px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

/* Tree styling */
.tree {
  list-style-type: none; /* Remove default bullets */
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.tree-node {
  margin: 0.5em 0;
  padding-left: 1.5em; /* Indent child nodes */
  position: relative;
}

.tree-node:before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 1em; /* Horizontal part of the "L" */
  height: 0.1em;
  background-color: #ccc; /* Connector line color */
}

.tree-node:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0.5em;
  width: 0.1em; /* Vertical part of the "L" */
  height: 1em;
  background-color: #ccc; /* Connector line color */
}

/* Remove the vertical connector for the last child */
.tree-node:last-child:after {
  height: 0.5em; /* Shorten to match the spacing */
}

/* Link styling for person entries */
.tree-link {
  text-decoration: none;
  color: #007bff; /* Default link color */
}

.tree-link:hover {
  text-decoration: underline;
}

/* Department label styling */
.tree-label--department {
  font-weight: bold;
}

/* Styling for root node */
.tree > .tree-node:before {
  content: none; /* Remove the horizontal line for the root */
}

.tree > .tree-node:after {
  content: none; /* Remove the vertical line for the root */
}


/* Tablets */
@media (min-width: 481px) {
}

/* Small Laptops */
@media (min-width: 769px) {
  .dataList {
    grid-template-columns: 1fr 1fr;
  }
  .map {
    position: sticky;
    top: 0;
  } 
  .dataList > .dataList-map {
    position: sticky;
    top: 0;
    grid-column-start: 2;
    grid-column-end: span col3-start;
    grid-row-start: 1;
    grid-row-end: span 2;
  }
  .entryData-times {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .entryData-options {
    grid-template-columns: 1fr 1fr;
  }
  .g5-basicSearchForm {
    align-items: center;
    flex-direction: row;
    gap: .5em;
  }
  .g5-basicSearchForm button {
    align-self: end;
  }
}

/* Desktops */
@media (min-width: 992px) {
  .entryData-times {
    grid-template-columns: repeat(7, 1fr);
  }
  .g5-infoCard {
    flex-direction: row;
  }
  .g5-infoCard__item {
    flex: 1 1 50%; /* Each child takes 50% width */
  }
  .entryData-options {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Large Desktops */
@media (min-width: 1201px) {
  .entryData-options {
    grid-template-columns: 1fr 1fr;
  }
}