* {
  --primary: #3657a3;
  --secondary: #3657a3;
  --back: rgba(242, 242, 247, .94);
  scrollbar-color: var(--primary) var(--back);
  scrollbar-width: thin;
}

.popup__submit:disabled {
  color: #404040;
  background-color: #f2f2f7;
}

/* width */
*::-webkit-scrollbar {
  width: 8px;
  border-radius: 15px;
}

/* Track */
*::-webkit-scrollbar-track {
  background: var(--back);
  border-radius: 15px;
}

/* Handle */
*::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 15px;
}

/* Handle on hover */
*::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}


.v_hidden {
  opacity: 0;
  position: absolute !important;
  width: 0;
  height: 0;
  z-index: -1;
}

input:checked + .courses__tag {
  background-color: #ecefff;
}

.discount-wrapper {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog__form {
  position: relative;
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 10px -2px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.suggestion__link {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  transition: all .4s;
  text-align: left;
}

.suggestion__link:hover {
  background-color: #ecefff;
}

.course__label {
  white-space: nowrap;
}

.about__top {
  margin-bottom: 0;
}

.text-block {
  overflow: auto;
}

.text-block p {
  font-size: .875rem;
  line-height: 170%;
  letter-spacing: -.02em;
  color: rgba(7, 20, 35, .5);
}

.text-block h4, .text-block p b {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 120%;
  letter-spacing: -.03em;
  margin-bottom: .5rem;
  margin-top: 1.5rem;
  color: #071423;
}

.text-block p:not(:last-child) {
  margin-bottom: .5rem;
}

.text-block ol {
  padding-top: 1.25rem;
  padding-left: 1.25rem;
}

.text-block ol > li {
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -.03em;
  margin-bottom: .875rem;
}

.text-block ol > li:last-child {
  margin-bottom: 0;
}

.about__row {
  margin-top: 1.5rem;
}

.catalog__input {
  max-width: 100%;
}

button:disabled, .no-click {
  pointer-events: none;
}

.d-none {
  display: none !important;
}

[data-si-hide="resend"] {
  cursor: pointer;
}

.user-header {
  display: block !important;
}

.courses-hero__box_price {
  padding-right: 3rem;
  position: relative;
}

.text__red {
  color: #ff3a3a;
}

.popup-courses__hours .select__title {
  min-height: 1.5rem;
}

.popup-courses__hours .select__options {
  top: 2.75rem;
}


.sent__list {
  max-height: 250px;
  overflow: auto;
  opacity: 0;
  height: 0;
  transition: all .3s;
}

.sent__list.open {
  opacity: 1;
  height: auto;
}


.btn-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.courses-hero__load {
  padding: 5px 5px 0;
  background: #3657a3;
  border-radius: 8px;
}

.courses-hero__load svg {
  width: 20px;
  height: 19px;
}

.courses-hero__load path {
  fill: white;
}

.import-btn {
  width: 100%;
  margin-top: 10px;
  border-radius: 0.75rem;
  letter-spacing: -0.02em;
  color: #fff;
  background: #3657a3;
  padding: 0.3125rem 2rem;
  min-height: 2.75rem;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.transparent-btn {
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: -0.02em;
  color: #3657a3;
  border: 0.0625rem solid #3657a3;
  border-radius: 0.75rem;
  padding: 0.7rem;
}

.catalog__submit_search {
  max-width: 5rem;
  align-items: center;
  gap: 10px;
}

.catalog__submit_search path {
  fill: white;
}

.catalog__submit_search svg {
  display: block;
}

.catalog__submit_search span {
  display: none;
}

[data-fu-dropzone] {
  height: auto !important;
  display: block !important;
  width: 100%;
}

.file__button {
  display: block !important;
}

[data-fu-path]:not(.courses-hero__add-bottom) {
  margin-top: 10px;
}

.disabled {
  pointer-events: none;
  opacity: .5;
}

.custom-select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f7;
  border-radius: 0.625rem;
  padding: 0.3125rem 1rem;
  border: 0.0625rem solid transparent;
  min-height: 3.25rem;
}

.popup-courses__item .custom-select {
  min-height: 2.5rem;
}

.select__item_selected {
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: 0.625rem;
  transition: all 0.3s;
  border: 0.0625rem solid transparent;
  justify-content: flex-start;
  text-wrap: nowrap;
  overflow: hidden;
  margin-right: 1rem;
  font-size: 1rem;
}

.course__block .custom-select, .form-block__wrap .custom-select {
  background: #fff;
}

.course__block .select__item_selected {
  font-weight: bold;
}

.custom-select:after {
  content: "\e901";
  font-size: 0.75rem;
  transition: transform 0.3s;
  color: #3657a3;
  font-family: "icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
}

.select__wrap {
  list-style: none;
  opacity: 0;
  transition: all .4s;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow: auto;
  margin-bottom: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0.25rem 1.4375rem 0 rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 0.5rem;
  margin-top: 0.125rem;
}

.select__item {
  align-items: center;
  display: flex;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s;
  padding: .875rem .9375rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.02em;
  color: #000;
}

.select__item:hover {
  background: #e5eff8;
}

.s-open .select__wrap {
  opacity: 1;
  pointer-events: all;
}

.s-open .custom-select::after {
  transform: rotate(180deg);
}

.s-open .custom-select {
  border: 0.0625rem solid #002a5c;
}

.pagination {
  display: flex;
  gap: 10px;
  padding: 50px 10px 10px;
}

.pagination input::-webkit-outer-spin-button,
.pagination input::-webkit-inner-spin-button {
  display: none;
  -webkit-appearance: none;
  margin: 0;
}

#choose-contractor-type .form-data__repeat {
  display: flex;
  gap: 20px;
}

#choose-contractor-type button {
  width: 100%;
}

.air-datepicker-global-container {
  z-index: 1000;
}

.popup__body {
  display: flex;
  gap: 1rem;
  position: relative;
  height: 95%;
  overflow: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.popup__left-column {
  min-width: 400px;
}

.popup__body .select-hero__attention {
  margin-bottom: 1rem;
}

#add-listeners .popup__content {
  max-width: 50%;
  width: auto;
  padding-left: 0;
  padding-right: 0;
  height: 97vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
}

#add-listeners .form-data__bottom {
  position: relative;
}

#add-listeners .form-data__close {
  position: absolute;
  top: 0;
  right: 0.5rem;
}

#listener-data:not(.open) {
  display: none;
}

#add-listeners .popup-listener-data__content {
  margin-right: 0;
}

.popup-courses__form {
  position: relative;
}

.user-data-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.popup-listener-data__item {
  justify-content: space-between;
}

.link_custom {
  color: #4355cb;
  text-decoration: none;
  opacity: .8;
  transition: all .3s;
}

.link_custom:hover {
  opacity: 1;
  text-decoration: underline;
}

.list-listeners__buttons .list-listeners__add {
  max-width: 100%;
}

.list-listeners__add {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.show-data__items {
  overflow: auto;
  max-height: 500px;
}

.popup {
  max-height: 100vh;
}

.form-data__body {
  overflow: auto;
  max-height: 80vh;
  padding-right: 1rem;
}

.table__status_draft {
  color: #68696B;
  background-color: #F2F2F7;
}

.table__status_cancel {
  color: #D14B45;
  background-color: #FFE6E4
}

.popup-listener-data__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

[data-no-listeners] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 50vh;
  gap: 15px;
}

.hero-account__menu {
  max-width: 309px;
}

.old-price, .old-price span {
  font-size: 1rem !important;
}

.js-custom-select.no_angle{
  pointer-events: none;
}
.js-custom-select.no_angle .custom-select:after{
  display: none;
}
.js-custom-select.no_angle .select__item_selected{
  margin-right: 0;
}

/* info-table */
.info-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}

.info-table th,
.info-table td {
  border: 1px solid #d0d5dd;
  padding: 0.625rem 0.75rem;
  vertical-align: middle;
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.info-table thead th {
  background: #f8fafd;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  text-align: center;
}

.info-table tbody td:first-child {
  text-align: center;
  width: 3rem;
}

.info-table tbody td:nth-child(n+3) {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.info-table tfoot td {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  background: #f8fafd;
}

.info-table tfoot td:first-child {
  text-align: left;
}

.info-table tfoot td:nth-child(n+2) {
  text-align: center;
}

@media (max-width: 991px) {
  .list-listeners__add {
    display: none;
  }

  .list-listeners__buttons .list-listeners__add {
    display: flex;
  }

  #add-listeners .popup__content {
    max-width: 100vw;
  }

  .popup__body {
    flex-direction: column;
  }

  .popup__left-column {
    min-width: auto;
  }

  [data-popup="#load-listeners"] {
    display: none;
  }

  .hero-account__buttons [data-popup="#add-courses"] {
    display: none;
  }
}
