::-webkit-scrollbar {
  width: 8px;
  height: 10px;
  background-color: #ffffff;
  border: 1px solid #aaaaaa;
}

::-webkit-scrollbar-thumb {
  background-color: #d67439;
}

html {
  scroll-behavior: smooth;
}

.table {
  font-family: 'StudioSans', Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
  margin: auto;
  max-width: 1184px;
  padding: 0 30px;
}

.table__header {
  display: flex;
  align-items: flex-end;
  overflow-x: auto;
  width: auto !important;
}

.table__tabs {
  border: none;
  margin: 0;
  padding: 10px 5px;
  cursor: pointer;
  background-color: #888888;
  border-radius: 8px 8px 0 0;
  margin-right: 5px;
  color: #ffffff;
  font-weight: bold;
  transition: 0.2s;
  outline: none;
  font-size: 18px;
  min-width: 145px;
  word-wrap: break-word;
}

.table__tabs span {
  display: block;
  opacity: 0.7;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 3px;
}

.table__tabs:hover,
.table__tabs:focus {
  background-color: #eca676;
}

.table__tabs.active {
  background-color: #ec803f;
}

.table__main {
  position: relative;
  z-index: 1;
  background-color: #ffffff;
}

.table__item {
  overflow: hidden;
  visibility: hidden;
  height: 0;
}

.table__item.active {
  height: auto;
  visibility: visible;
}

.table__item thead,
.table__item th {
  display: none;
}

.table__item table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: auto !important;
}

.table__item table tr.active td {
  background-color: #c6c6c6;
}

.table__item table td,
.table__item table th {
  border: 1px solid #e5e5e5;
  white-space: nowrap;
  padding: 7px 15px;
  width: 1%;
  text-align: center;
  max-width: 250px;
}

.table__item table tr:first-of-type td {
  background-color: #ec803f !important;
  color: #ffffff;
  font-size: 18px;
  border-top: none
}

.table__item table td:first-of-type {
  background-color: #888888 !important;
  color: #ffffff;
  font-size: 18px;
  border-left: none;
  text-align: left;
}

.table__item table td:last-of-type {
  border-right: none;
}

.table__item table tr:nth-of-type(2n + 1) {
  background-color: #ededed;
}

@media (max-width: 768px) {
  .table {
    padding: 0 5px;
  }

  .table__tabs {
    font-size: 16px;
  }
}

