﻿body {
}

.table-caption-sticky {
  font-size: 1.5em;
  padding: 0.5em;
  margin: 0;
  border-bottom: 2px solid #ddd;
  width: 100%;
  box-sizing: border-box;
}

.table-wrapper {
  position: relative;
  overflow-x: auto;
  max-width: 100%;
}

.main-data-table, .sectors-table {
  font-size: 0.8rem;
  max-width: 100%;
}

  .main-data-table th,
  .main-data-table td,
  .sectors-table th,
  .sectors-table td {
    border: 1px solid #ddd;
    padding: 5px;
    min-width: 3em;
    text-align: center;
  }

  .main-data-table tr:nth-child(even),
  .sectors-table tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  .main-data-table a,
  .sectors-table a {
    text-decoration: none;
    display: inline-block;
    color: black;
  }

    .main-data-table a:hover,
    .sectors-table a:hover {
      text-decoration: underline;
      color: black;
    }

.fixed-header {
  background-color: var(--base-color);
  color: white;
  text-align: center;
}

/*.table-wrapper th:first-child,*/
.table-wrapper td:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background-color: white;
  box-shadow: 6px 0 20px -7px rgba(0,0,0,0.7);
}

/*.table-wrapper tr:first-child th:first-child {
  background-color: var(--base-color);
  border: 2px solid #000;
  box-shadow: 6px 0 20px -7px rgba(0,0,0,0.7);
}*/
