#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  background: rgba(0,0,0,0.8);
  color: white;
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: sans-serif;
}

#overlayContent {
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  font-family: sans-serif;
}

#overlayContent h1 {text-align: center;}

#overlayContent h2 {text-align: center;}


#overlayContent a:link { color: white; }
#overlayContent a:visited { color: white; }
#overlayContent a:hover { color: white; }
#overlayContent a:active { color: white; }

.table-container {
  max-height: 35vh;
    overflow-y: scroll;
    border: 1px solid #ccc;
    width: 100%;
}
.table-container table {
    width: 100%;
    border-collapse: collapse;
}
.table-container table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
	background-color: #000000;
}

.table-container table thead tr th  {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}
.table-container table tbody tr td  {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.closebtn {
  position: absolute;
  top: 5px;
  right: 15px;
  color: red;
  background-color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* Based on Ana Tudor article https://css-tricks.com/simple-swipe-with-vanilla-javascript */
.scrollContainer {
  --n: 1;
  display: flex;
  align-items: center;
  overflow-y: hidden;
  width: 100%;
  width: calc(var(--n)*100%);
  height: 45vh;
  max-height: 45vh;
  transform: translate(calc(var(--tx, 0px) + var(--i, 0)/var(--n)*-100%));
  font-family: sans-serif;
}
.scrollContainer div img {
  /*width: 100%;
  width: calc(100%/var(--n));*/
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  background: #D3D3D3;
  background: rgba(211,211,211,0.5);
  pointer-events: none;
}
.scrollContainer div {
  width: 100%;
  width: calc(100%/var(--n));
  height: 100%;
  user-select: none;
  pointer-events: none;
  font-family: sans-serif;
}

.smooth {
  transition: transform calc(var(--f, 1)*.5s) ease-out;
}