.tblAdvanced-block {
  position: relative;
}

.xMinSroller {
  overflow-x: auto;
  margin-bottom: 40px;
}

/* width */
.xMinSroller::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
.xMinSroller::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

/* Handle */
.xMinSroller::-webkit-scrollbar-thumb {
  /*background-color: darkgrey;*/
  background: #FFD72A;
}

/* Handle on hover */
.xMinSroller::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tblAdvanced-filter {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.tblAdvanced-filter__el {
  background: 0 0;
  padding: 5px 23px;
  border: 1px solid #828282;
  font-weight: 600;
  line-height: 1.5;
  font-size: 1rem;
  color: #828282;
  margin-right: 10px;
  position: relative;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.tblAdvanced-filter__el:not(.active):hover {
  box-shadow: 0 0 1px;
  color: #000;
}

.tblAdvanced-filter__el.active {
  border-color: #3695D8;
  color: #3695D8;
  pointer-events: none;
}

.tblAdvanced-filter__el:last-child {
  margin-right: initial;
}

.tblAdvanced {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 1rem;
}

.tblAdvanced td {
  /*padding: 40px 10px;*/
  color: #000;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  border-bottom: 1px solid #000;
}

.tblAdvanced tfoot td {
  border-bottom: none;
}

.tblAdvanced thead {
  color: #fff;
  background: linear-gradient(90deg, #3695D8 0%, #06121A 112.76%, #011727 135.48%);
  background: -webkit-linear-gradient(left, #3695D8 0%, #06121A 112.76%, #011727 135.48%);
  background-attachment: fixed;
}

.tblAdvanced thead th {
  padding: 10px 22px 10px;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  vertical-align: middle;
}

.tblAdvanced tbody tr {
  display: none;
}

.tblAdvanced tbody tr.inRange {
  display: revert;
}

.tblAdvanced tbody tr:hover {
  background-color: #E3E3E3;
  transition: 0.3s all;
}

.tblAdvanced tbody td:nth-child(-n+3) {
  width: 15%;
  text-align: center;
}

.tblAdvanced a {
  text-decoration: none;
  /*color: #000000;*/
  padding: 15px 10px;
  display: block;
  color: #3695D8;
}

.tblAdvanced a:hover {
  /*color: #3695D8;*/
  /*text-decoration: underline;*/
}

.tblAdvanced tfoot td {
  padding: 0;
}

.tblAdvanced-btn {
  font-family: Gilroy, sans-serif;
  padding: 15px 10px;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  color: #000;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #FFFFFF;
}

.tblAdvanced-btn:hover {
  color: #3695D8;
}

.tblAdvanced-btn__ico {
  font-size: 0.9375rem;
  line-height: 0;
}

.tblAdvanced-btn--reset {
  background: #3695D8;
  background: linear-gradient(90deg, #3695D8 0%, #06121A 112.76%, #011727 135.48%);
  color: #fff;
}

.tblAdvanced-btn--reset:hover {
  background: #2D8BCE;
  color: #fff;
}

.tblAdvanced-btn--reset:active {
  background: #277FBD;
  color: #fff;
}

.tblAdvanced-btn--reset .tblAdvanced-btn__ico {
  margin-top: 1px;
}

.tblAdvanced tbody td:nth-child(-n+3) {
  vertical-align: middle;
}

.tblInstance {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 1rem;
  margin-bottom: 40px;
  overflow-x: hidden;
}

.tblInstance td {
  padding: 20px 30px 10px 0;
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  border-bottom: 1px solid #000;
}

.tblInstance td a {
  color: #3695D8;
  text-decoration: none;
}

.tblInstance td a:hover {
  text-decoration: underline;
}

.tblInstance tfoot td.instance-foot {
  border-bottom: none;
}

.tblInstance thead {
  color: #3695D8;
}

.tblInstance thead th {
  padding: 10px 0;
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-align: start;
  border-bottom: 1px solid #000;
}

.tblInstance tbody tr {
  display: none;
}

.tblInstance tbody tr.inRange {
  display: revert;
}

.tblInstance tbody td:nth-child(-n+3) {
  width: 60%;
  text-align: start;
}

.tblInstance tfoot td.instance-foot {
  padding: 0;
  position: relative;
}

.tblInstance .tblInstance__block .tblInstance__block-name {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-bottom: 7px;
}

.tblInstance .tblInstance__no-instance {
  border-bottom: none;
}

.tblInstance-btn {
  padding: 15px 10px;
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  color: #000;
  font-family: Gilroy, sans-serif;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #FFFFFF;
}

.tblInstance-btn:hover {
  color: #3695D8;
}

.tblInstance-btn__ico {
  font-size: 0.9375rem;
  line-height: 0;
}

.tblInstance-btn--reset {
  background: #3695D8;
  background: linear-gradient(90deg, #3695D8 0%, #06121A 112.76%, #011727 135.48%);
  color: #fff;
}

.tblInstance-btn--reset:hover {
  background: #2D8BCE;
  color: #fff;
}

.tblInstance-btn--reset:active {
  background: #277FBD;
  color: #fff;
}

.tblInstance-btn--reset .tblInstance-btn__ico {
  margin-top: 1px;
}

.tblInstance__title-mob {
  display: none;
}

.tblInstance .court .presiding {
  font-weight: 700;
}

.table-button-wrapper {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 10vw;
  background: #fff;
}

.table-button-wrapper button {
  width: auto;
}

@media (max-width: 992px) {
  .table-button-wrapper {
    padding: 0;
  }
}
@media (max-width: 768px) {
  .tblAdvanced-filter__el {
    padding: 6px 10px;
  }
  .tblAdvanced-btn {
    padding: 10px;
    height: 50px;
  }
  .tblInstance-btn {
    padding: 10px;
  }
  .tblInstance {
    min-width: 100%;
  }
  .tblInstance tbody td:nth-child(-n+3) {
    width: 100%;
  }
  .tblInstance__title-desc {
    display: none;
  }
  .tblInstance__title-mob {
    display: flex;
  }
  .tblInstance tbody tr.inRange {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .tblInstance tbody tr.inRange:nth-child(2n-1) {
    /*background: #F8F8FA;*/
    /*position: relative;*/
  }
  .tblInstance tbody tr.inRange:nth-child(2n-1):before {
    content: "";
    position: absolute;
    background: #F8F8FA;
    height: 100%;
    left: -15px;
    width: calc(100% + 30px);
    z-index: -1;
    overflow-x: hidden;
  }
  .tblInstance td {
    padding: 0 0 15px;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    border-bottom: none;
  }
  .tblInstance td:nth-child(2n-1) {
    padding: 15px 0 10px;
  }
  .tblInstance tbody tr.inRange:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: -1px;
    height: 1px;
    z-index: 1;
    background-color: #000;
  }
  .tblInstance thead th {
    border-bottom: none;
    position: relative;
  }
  .tblInstance thead th:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: -1px;
    height: 1px;
    z-index: 1;
    background-color: #000;
  }
  .tblInstance .tblInstance__block .tblInstance__block-name {
    font-size: 17px;
  }
  .tblInstance tbody tr.inRange:after {
    left: -15px;
    width: calc(100% + 30px);
  }
  .tblInstance thead th:after {
    left: -15px;
    width: calc(100% + 30px);
  }
  .tblInstance-btn--reset {
    position: relative;
    left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
  .tblAdvanced-block tfoot {
    /*position: absolute;*/
    /*bottom: -50px;*/
    /*width: calc(100vw - 75px);*/
  }
  .tblAdvanced-block tfoot tr {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .tblAdvanced-block tfoot td {
    position: absolute;
    width: calc(100vw - 75px);
    left: 0;
    bottom: -100px;
    height: 100px;
  }
  .tblAdvanced-btn--all {
    margin-left: 25px;
  }
  .tblAdvanced-block .xMinSroller {
    margin-bottom: 100px;
  }
  .tblAdvanced-btn {
    width: 100%;
  }
  .xMinSroller.high {
    margin-bottom: 150px !important;
  }
}
@media (max-width: 576px) {
  .tblAdvanced-filter__el {
    font-size: 0.8rem;
  }
  .tblAdvanced {
    font-size: 0.875rem;
  }
  .tblAdvanced td {
    /*padding: 2.5vw 7px*/
  }
  .tblAdvanced a {
    padding: 15px 4px;
  }
  .tblAdvanced tbody td:nth-child(-n+3) {
    width: 12%;
  }
}
@media (max-width: 480px) {
  .tblAdvanced-block tfoot td {
    position: absolute;
    width: calc(100vw - 30px);
  }
  /*.tblAdvanced-block tfoot {*/
  /*    position: absolute;*/
  /*    bottom: -50px;*/
  /*    width: calc(100vw - 30px);*/
  /*}*/
}
