/*
   Theme Name: astra-child
   Template: astra
   */

.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


table thead th,
table > tr:first-child th,
table tbody tr:first-child th {
  background-color: #007BFF;
  color: #ffffff;
}

table td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* Zebra stripes */
table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

table tbody tr:hover {
  background-color: #dbeafe; /* light blue hover */
}

.sticky-header {
  position: fixed;
  top: -100px; /* hide it above the viewport */
  transition: top 0.3s ease;
  z-index: 1000;
}

.sticky-header.visible {
  top: 0; /* slide into view */
}

#go-up {
	bottom: -100px;
    transition: bottom 0.3s ease;
}

#go-up.visible {
	bottom: 0;
}

.sticky-header-mobile {
  position: fixed;
  transform: translateY(-100%); /* hide it above the viewport */
  transition: transform 0.3s ease;
}

.sticky-header-mobile.visible {
  transform: translateY(0);
}

.outer-container {
	pointer-events: none;
    touch-action: none;
}

.inner-container {
	pointer-events: auto;
    touch-action: auto;
}

.clickable-image {
  cursor: pointer;
  max-width: 100%;
}

/* Lightbox overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 2000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  background: rgba(255,255,255,0.8);
}

.video {
  object-fit: cover;
  clip-path: fill-box;
  border-radius: 0.01px;
  overflow:hidden;
}

.fa-long-arrow-alt-down {
  animation: bounce 1s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}