/* Navbar */
.app-navbar {
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  height: fit-content;
}

.app-navbar:hover {
  background-color: var(--bs-primary);
}

.app-navbar--scrolled {
  background-color: var(--bs-primary);
}

.app-navbar:has(.dropdown-megamenu.show) {
  background-color: var(--bs-primary);
}

.app-navbar__logo {
  background-color: white;
  padding: 4px 8px;
  border-radius: 8px;
}
/* Navbar */


/* Footer */
.footer {
  background-color: var(--bs-dark);
  padding-top: 4rem;
}

.footer__links {
  list-style: none;
  /* padding-left: 0; */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links li a {
  color: white;
  text-decoration: none;
}

.footer__copyright {
  background-color: rgb(41, 47, 53);
  padding: 1.5rem 0;
}

.visitor-counter {
  width: 100%;
  padding: 1rem 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}

.visitor-counter .counter__label {
  font-weight: 600;
}

.visitor-counter .counter__value {
  font-weight: 700;
  font-size: 2rem;
}

/* Footer */

/* Page */
.page-header {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
}

.page-header__background {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.page-header__background .background__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__background .background__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.page-header__content {
  position: relative;
  z-index: 2;
  color: white;
  height: 100%;
  padding: 11rem 0rem 4rem 0rem;
}

.page-header__breadcrumb {
  margin-bottom: 2rem;
  color: white;
}

.page-header__breadcrumb .breadcrumb-item a {
  color: #4b94ff;
  text-decoration: none;
}

.page-header__breadcrumb .breadcrumb-item.active {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

.page-header__breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: white;
  opacity: 0.8;
}

.content-wrapper {
  background-color: var(--bs-white);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
}

.content-wrapper--elevated {
  margin-top: -2rem;
  z-index: 2;
}

/* Page */

/* Timeline */
/* The actual timeline (the vertical ruler) */
.main-timeline {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: var(--slate-100);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline {
  --dot-size: 20px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline::after {
  content: "";
  position: absolute;
  width: var(--dot-size);
  height: var(--dot-size);
  background-color: var(--bs-primary);
  border: 5px solid var(--bs-primary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  padding: 0px 40px 20px 0px;
  left: 0;
  text-align: end;
}

/* Place the container to the right */
.right {
  padding: 0px 0px 20px 40px;
  left: 50%;
  text-align: start;
}


/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: calc(var(--dot-size) * -1 / 2);
}

.left::after {
  right: calc(var(--dot-size) * -1 / 2);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

  /* Place the timelime to the left */
  .main-timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 18px;
  }

  .left::before {
    right: auto;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}


/* table */
.table-minimal {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
}

.table-minimal .table {
  --bs-table-bg: transparent;
}

.table-minimal .table thead {
  background-color: var(--slate-100);
}

.table-minimal .table th {
  font-size: 0.875rem;
  font-weight: 500;
}


.icon-with-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 2.5rem;
  font-size: 1.25rem;
}

/* Icon with background */
.icon-with-bg.icon-with-bg--primary {
  background-color: var(--bs-primary);
  color: white;
}
