:root {
  --Primary-Green-700: #235A50;
  --Primary-Green-300: #33897B;
  --Secondary-Light-Green-100: #F1F9F8;
  --Secondary-Light-Green-900: #BCE1DD;
  --Neutral-Grey-100: #F7F8F8;
  --Neutral-Grey-300: #E3E7E8;
  --Neutral-Grey-900: #5E6B6E;
  --Neutral-Dark-700: #0D1433;
  --Neutral-Dark-900: #080F30;
}

.conditions-page {
  padding: 48px 0 120px;
}
.conditions-page .top-block {
  max-width: 476px;
}
.conditions-page .top-block h1 {
  color: #0D1433;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-transform: capitalize;
  margin: 0 0 16px;
}
.conditions-page .top-block p.subtitle {
  color: #5E6B6E;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 25.5px; /* 159.375% */
  margin: 0;
}
.conditions-page .top-block .conditions-search {
  margin: 32px 0 0;
  position: relative;
}
.conditions-page .top-block .conditions-search input[type=text] {
  margin: 0;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #C8CED0;
  box-shadow: 0 0 64px 0 rgba(0, 0, 0, 0.05);
  padding: 12px 16px;
  color: #5E6B6E;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 190.5%; /* 22.86px */
  outline: none;
}
.conditions-page .top-block .conditions-search input[type=submit] {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("../../../asset/css/img/search-button.svg");
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
  background-size: 16px;
  width: 26px;
  height: 26px;
  -webkit-appearance: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
}
.conditions-page .conditions-wrapper {
  margin: 64px 0 0;
}
.conditions-page .alphabet {
  padding: 8px 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background-color: #FFF;
  z-index: 3;
}
.conditions-page .alphabet li {
  width: 3.7037037037%;
  text-align: center;
  position: relative;
}
.conditions-page .alphabet li:after {
  content: "";
  display: block;
  width: 1px;
  background-color: #E3E7E8;
  height: 16px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.conditions-page .alphabet li:last-child:after {
  display: none;
}
.conditions-page .alphabet li a {
  display: block;
  transition: all 0.1s ease;
  background-color: #fff;
  color: #313445;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 190.5%; /* 30.48px */
}
.conditions-page .alphabet li.active:not(.disabled):not(.hidden):after, .conditions-page .alphabet li:hover:not(.disabled):not(.hidden):after {
  display: none;
}
.conditions-page .alphabet li.active:not(.disabled):not(.hidden) a, .conditions-page .alphabet li:hover:not(.disabled):not(.hidden) a {
  background-color: #33897B;
  color: #FFF;
  border-radius: 5px;
}
.conditions-page .alphabet li.disabled a, .conditions-page .alphabet li.hidden a {
  color: #C8CED0;
  cursor: not-allowed;
  pointer-events: none;
}
.conditions-page .sorted-categories {
  margin: 64px 0 0;
}
.conditions-page .sorted-categories .categories {
  margin: 56px 0 0;
  padding-bottom: 56px;
  border-bottom: 1px solid #E3E7E8;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.conditions-page .sorted-categories .categories .letter {
  border-radius: 5px;
  background: #F1F9F8;
  color: #235A50;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 170%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
}
.conditions-page .sorted-categories .categories:first-child {
  margin-bottom: 0;
}
.conditions-page .sorted-categories .categories:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.conditions-page .sorted-categories .categories ul {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
}
.conditions-page .sorted-categories .categories ul li {
  position: relative;
  display: block;
  width: 31%;
  border-radius: 5px;
  border: 1px solid #E3E7E8;
}
.conditions-page .sorted-categories .categories ul li:after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("../../../asset/css/img/arrow-right-green.svg");
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
  width: 24px;
  height: 24px;
  z-index: -1;
}
.conditions-page .sorted-categories .categories ul li a {
  display: block;
  padding: 16px 36px 16px 16px;
  height: 100%;
}
.conditions-page .sorted-categories .categories ul li a h5 {
  color: #0D1433;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 170%; /* 27.2px */
  margin: 0;
}
.conditions-page .sorted-categories .categories ul li a p {
  color: #5E6B6E;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}

@media screen and (max-width: 790px) {
  .conditions-page .conditions-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }
  .conditions-page .conditions-wrapper .alphabet {
    display: block;
    padding: 0;
  }
  .conditions-page .conditions-wrapper .alphabet li {
    height: 3.8461538462vh;
    min-height: 28px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .conditions-page .conditions-wrapper .alphabet li:after {
    bottom: 0;
    height: 1px;
    width: 16px;
    right: auto;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
  }
  .conditions-page .conditions-wrapper .alphabet li a {
    width: 24px;
  }
  .conditions-page .conditions-wrapper .sorted-categories {
    margin: 0;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories {
    display: block;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories:first-child {
    margin-top: 0;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories .letter {
    width: 100%;
    margin-bottom: 16px;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories ul {
    justify-content: space-between;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories ul li {
    width: 48%;
  }
}
@media screen and (max-width: 700px) {
  .conditions-page .conditions-wrapper .alphabet li a {
    font-size: 12px;
  }
  .conditions-page {
    padding: 40px 0 0;
  }
  .conditions-page .top-block p.subtitle {
    font-size: 12px;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories ul {
    display: block;
  }
  .conditions-page .conditions-wrapper .sorted-categories .categories ul li {
    width: 100%;
    margin-bottom: 16px;
  }
  .conditions-page .sorted-categories .categories .letter, .conditions-page .sorted-categories .categories ul li a h5 {
    font-size: 14px;
  }
  .conditions-page .sorted-categories .categories ul li a p {
    font-size: 12px;
    margin-top: 8px;
  }
  .conditions-page .sorted-categories .categories {
    margin: 0;
    border: none;
    padding: 0;
  }
}
@media screen and (max-width: 400px) {
  .conditions-page .conditions-wrapper .alphabet li {
    min-height: 22px;
  }
}
@media screen and (max-height: 375px) {
  .conditions-page .conditions-wrapper .alphabet {
    position: static;
  }
}
