.table-sort-container {
  display: flex;
  justify-content: center;
}

.table-sortable {
  width: 1100px;
}

.table-sortable .table-sort-data.server-table-on {
  transition:
    opacity 0.3s ease-in-out,
    max-height 0.3s linear 0s;
  display: flex;
  opacity: 1;
}

.table-sortable thead {
  background-color: #7a2973;
}

.table-sortable thead th {
  text-align: center;

  color: #fff;
}

.table-model {
  width: 17.1%;
}

.table-disc {
  width: 14.5%;
}

.table-icon {
  width: 10%;
}
.table-cpu {
  width: 26.4%;
}

.table-ram {
  width: 6.1%;
}

.table-price {
  width: 8.9%;
}

.table-button {
  width: 12%;
}

.table-button a {
  margin-right: 30px;
}

.table-sortable th {
  cursor: pointer;
  padding: 20px 0;
}

.table-sortable .th-sort-asc::after {
  content: "\25b4";
}

.table-sortable .th-sort-desc::after {
  content: "\25be";
}

.table-sortable .th-sort-asc::after,
.table-sortable .th-sort-desc::after {
  margin-left: 5px;
}

.table-sortable .th-sort-asc,
.table-sortable .th-sort-desc {
  background: rgba(0, 0, 0, 0.1);
}

.table-sort-buttons-holder {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.table-sort-button {
  display: flex;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  margin: 0 10px;
  color: inherit;
  cursor: pointer;
}

.table-sortable tr.table-row-separator {
  display: none;
  background: none;
  display: none;
  flex-direction: row;
  justify-content: space-between;
  filter: none;
  margin-top: 20px;
  padding-bottom: 10px;
  border-radius: 0;
  border-bottom: 2px solid rgb(0, 0, 0, 0.2);
}

.table-sortable tr.table-row-separator.server-table-on {
  transition:
    opacity 0.3s ease-in-out,
    max-height 0.3s linear 0s;
  display: flex;
  opacity: 1;
}

.for-empty-server-table td {
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 500px;
  opacity: 0.7;
}

/* Marking Line */

.table-sort-button.marking-line {
  position: relative;
  text-decoration: none;
}

.table-sort-button.marking-line::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background-color: #7a2973;
  bottom: -2px;
  left: 0;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.table-sort-button.marking-line:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.table-sort-buttons-holder.scrolled .table-sort-button::before {
  background-color: #7a2973;
}

.table-sort-buttons-holder.scrolled .table-sort-button:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.table-sort-button.marking-line.active-sort-button::before {
  transform-origin: left;
  transform: scaleX(1);
}

#menuToggle a[aria-current="page"] {
  color: #76146d !important;
}

/* Marking Line  END*/

.swich-buttons-holder {
  display: flex;
  justify-content: space-between;
}

.table-sort-button.marking-line::before {
  background-color: #fff;
}

.animate {
  animation: fadeIn 500ms ease-out backwards;
}

@keyframes fadeIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .table-sort-container {
    display: none;
  }

  .table-sort-container.domain {
    display: flex;
  }

  .dedicated-title {
    display: none;
  }
  .sort-buttons-script-area {
    top: -1px;
    position: sticky;
    z-index: 999;
  }

  .table-sort-buttons-holder {
    position: relative;
    margin-bottom: 60px;
    top: 60px;
    opacity: 1;
    background-color: #76146d;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    border-radius: 0 0 20px 20px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
  }

  .table-sort-button {
    font-size: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 12px;
    padding-top: 8px;
    margin: 0 5px;
  }

  .baremetal-table-mobile .offer-box {
    display: none;
    justify-content: flex-start;
  }

  .baremetal-table-mobile .special-offer-percent {
    font-size: inherit;
    font-weight: 400;
    border-radius: 50px;
    padding: 3.5px 7px;
  }

  .baremetal-table-mobile .offer-box.server-table-on {
    transition:
      opacity 0.3s ease-in-out,
      max-height 0.3s linear 0s;
    display: flex;
    opacity: 1;
  }

  .baremetal-table-mobile .main-card-availability {
    align-self: flex-start;
    padding-left: 5px;
  }

  .baremetal-table-mobile .offer-box p {
    margin: 0 0 0 2px;
  }
  .baremetal-table-mobile .offer-box .cpu-and-promo-holder {
    justify-content: space-between;
  }

  .baremetal-table-mobile .offer-box .cpu-and-promo-holder div {
    gap: 10px;
    height: 25px;
  }

  .baremetal-table-mobile .offer-box .main-serwer-name-holder {
    width: 100%;
    display: flex;
    justify-content: left;
  }

  .baremetal-table-mobile .offer-box .params-box .param-row {
    padding: 7px;
  }

  .baremetal-table-mobile .offer-box .price-and-button-holder {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 30px;
  }

  .baremetal-table-mobile .offer-box .server-card-button-holder {
    width: 50%;
  }

  .baremetal-table-mobile .offer-box .server-card-button-holder button {
    width: 100%;
  }

  .baremetal-table-mobile .offer-box .server-card-price-holder {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    margin-left: 15px;
  }

  .baremetal-table-mobile .offer-box .server-card-price-holder span {
    text-align: left;
  }

  .baremetal-table-mobile .offer-box h3 {
    font-size: 20px;
  }

  .table-row-separator {
    margin-top: 60px;
    margin-bottom: -10px;
    width: 81vw;
    max-width: 410px;
    justify-content: center;
    display: none;
  }

  .table-row-separator.server-table-on {
    display: block;
  }

  .table-row-separator h3 {
    margin-bottom: 5px;
  }

  .table-row-separator .gray-border {
    justify-content: center;
    width: auto;
    margin-bottom: 0;
    opacity: 0.7;
  }

  div.for-empty-server-table {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 200px;
    height: 50px;
    opacity: 0.7;
  }
}

@media (max-width: 600px) {
  .domain .offer-service-row {
    flex-direction: column;
    gap: 20px;
  }

  .domain-name-holder {
    display: flex;
    flex-direction: column;
  }

  .domain h3.title-mid {
    font-size: 27px;
  }

  .price-button-holder {
    justify-content: flex-end;
    text-align: left;
    flex-direction: row-reverse;
    gap: 10px;
  }

  .price-button-holder h3,
  .price-button-holder span {
    text-align: left;
  }

  #domains-list-holder .button-black {
    width: 30%;
  }
}

@media (max-width: 390px) {
  .price-button-holder {
    flex-direction: column;
  }

  .domain h3.title-mid {
    font-size: 20px;
    font-weight: 700;
  }

  #domains-list-holder .button-black {
    width: 100%;
  }
}
