/* stylelint-disable max-line-length */
:root {
  --breakpoint-xxl: 1920px;
  --breakpoint-sxl: 1600px;
  --breakpoint-xl: 1440px;
  --breakpoint-lg: 1280px;
  --breakpoint-md: 1024px;
  --breakpoint-md-s: 992px;
  --breakpoint-sm: 768px;
  --breakpoint-xs: 512px;
  --breakpoint-xxs: 390px;
  --breakpoint-xxxs: 375px;
}

.table {
  padding: 25px 0;
  position: relative;
}
@media (min-width: 1024px) {
  .table {
    padding: 50px 0;
  }
}
.table .hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
  transition: opacity 0.5s ease;
}
.table button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.table::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  max-width: 620px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sk-color-white);
}
@media (min-width: 1024px) {
  .table::before {
    max-width: 790px;
  }
}
.table__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--sk-color-grey);
  z-index: 1;
  box-shadow: 0 0 25px 0 rgba(35, 50, 105, 0.2);
}
@media (min-width: 768px) {
  .table__container {
    padding: 50px 0;
  }
}
@media (min-width: 1024px) {
  .table__container {
    justify-content: flex-start;
    padding: 90px 0 0 0;
  }
}
.table__title {
  width: 100%;
  color: var(--sk-color-turquoise);
  margin-bottom: 15px;
  text-align: center;
}
@media (min-width: 1024px) {
  .table__title {
    text-align: left;
    max-width: 590px;
    margin: 0 auto 25px;
  }
}
.table__no-results {
  opacity: 1;
  visibility: visible;
  margin-top: 30px;
  font-weight: 500;
  transition: opacity 0.5s ease;
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}
.table__search {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .table__search {
    flex: 0 0 50%;
  }
}
@media (min-width: 1024px) {
  .table__search {
    position: absolute;
    top: -25px;
    right: 25.5%;
    width: 285px;
  }
}
.table__sort-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .table__sort-container {
    flex: 0 0 50%;
  }
}
@media (min-width: 1024px) {
  .table__sort-container {
    display: none;
  }
}
.table__sort-container button {
  padding: 15px 15px 12px 15px;
  background-color: var(--sk-color-white);
}
.table__sort-container button svg path {
  fill: var(--sk-color-blue);
}
.table__table {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.table__table.hide {
  display: none;
}
.table__table-head {
  opacity: 0;
  visibility: hidden;
}
.table__table-head tr {
  display: grid;
  grid-template-columns: 19% 19% 18% 19% 25%;
}
.table__table-head tr th {
  height: 0;
  display: none;
}
.table__table-head tr th button {
  padding: 0;
}
@media (min-width: 1024px) {
  .table__table-head {
    opacity: 1;
    visibility: visible;
    position: relative;
  }
  .table__table-head::after {
    content: "";
    height: 5px;
    width: 100%;
    background-color: var(--sk-color-white);
    position: absolute;
    top: initial;
    z-index: 1;
    left: 0;
  }
  .table__table-head button {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--sk-color-blue);
  }
  .table__table-head button svg {
    margin-left: 10px;
    transition: transform 0.5s ease;
    margin-bottom: 4px;
    opacity: 0;
    transition: 0.4s;
    transition-timing-function: ease-in-out;
  }
  .table__table-head button:hover svg {
    opacity: 1;
  }
  .table__table-head button.active svg {
    transform: rotate(180deg);
  }
  .table__table-head button.active svg path {
    fill-opacity: 1;
  }
  .table__table-head tr {
    text-transform: uppercase;
    text-align: left;
  }
  .table__table-head tr th {
    display: block;
    height: auto;
    padding: 10px;
    font-weight: 600;
    font-size: 12px;
  }
  .table__table-head tr th:first-child {
    padding-left: 25px;
  }
}
.table__table-body {
  vertical-align: top;
  font-family: var(--font-roboto-condensed);
}
.table__table-body tr {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-bottom: 1px solid var(--sk-color-white);
  transition: opacity 0.5s ease;
}
.table__table-body tr td {
  display: block;
  margin-bottom: 20px;
  font-weight: 300;
}
.table__table-body tr td strong {
  font-weight: 700;
}
.table__table-body tr td a {
  border-bottom: 1px dashed var(--sk-color-salmon);
}
.table__table-body tr td a:hover {
  color: var(--sk-color-salmon);
}
.table__table-body tr td a:not([class]) span::after {
  bottom: 2px;
}
.table__table-body tr td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  color: var(--sk-color-blue);
  margin-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
}
.table__table-body tr td:last-of-type {
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .table__table-body tr {
    display: grid;
    grid-template-columns: 19% 19% 18% 19% 25%;
    border: none;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .table__table-body tr::after {
    content: "";
    height: 1px;
    width: 100%;
    background-color: var(--sk-color-white);
    position: absolute;
    bottom: 0;
    z-index: 1;
    left: 0;
  }
  .table__table-body tr td:first-child {
    padding-left: 25px;
  }
  .table__table-body tr td {
    padding: 20px 10px 23px 10px;
    margin: 0;
  }
  .table__table-body tr td::before {
    display: none;
  }
  .table__table-body tr td p {
    margin: 0;
  }
  .table__table-body tr td:nth-child(2) {
    font-weight: 600;
  }
}
.table__table-body tr:first-child {
  border-top: 1px solid var(--sk-color-white);
}
@media (min-width: 1024px) {
  .table__table-body tr:first-child td {
    border-top: none;
    padding-top: 20px;
  }
}
.table__table-body tr:last-of-type {
  margin-bottom: 0;
}
.table__table_equal-columns .table__table-head tr {
  grid-template-columns: 24.5% 25.5% 25.5% 25%;
}
@media (min-width: 1024px) {
  .table__table_equal-columns .table__table-body tr {
    grid-template-columns: 24.5% 25.5% 25.5% 25%;
  }
}

@media (min-width: 1024px) {
  body:not(.sk-apple-device) .table__table-head button svg {
    margin-bottom: 1px;
  }
  body:not(.sk-apple-device) .table__table-head tr th {
    padding-bottom: 6px;
  }
}
