a, span, p, b, h1, h2, h3, h4, h5 {
  color: var(--hr-colors-dark-blue);;
}
h5._primary {
  color: var(--hr-colors-light-blue);
}
/* CUSTOM RADIO */
.custom-checkbox-input::before {
  background-image: url("../../img/hr/checkbox-default_blue.svg");
}
.custom-checkbox-container:hover .custom-checkbox-input::before {
  background-image: url("../../img/hr/checkbox-hover_blue.svg");
}
.custom-checkbox-input:checked::before {
  background-image: url("../../img/hr/checkbox-active_blue.svg");
}
.custom-checkbox-container:hover .custom-checkbox-input:checked:before {
  background-image: url("../../img/hr/checkbox-active_blue.svg");
}
.custom-checkbox-container label {
  color: var(--hr-colors-dark-blue);
}
/* CUSTOM RADIO */
.custom-radio-input::before {
  background-image: url("../../img/hr/radio_blue.svg");
}
.custom-radio-container:hover .custom-radio-input::before {
  background-image: url("../../img/hr/radio-hover_blue.svg");
}
.custom-radio-input:checked::before {
  background-image: url("../../img/hr/radio-active_blue.svg");
}
.custom-radio-container:hover .custom-radio-input:checked:before {
  background-image: url("../../img/hr/radio-active_blue.svg");
}
.custom-radio-container label {
  color: var(--hr-colors-dark-blue);
}

body {
  background: #f8f8f8;
}
.school-banner {
  height: 900px;
  position: relative;
}
.school-banner-mob {
  display: none;
}
.banner video {
  width: auto;
}
.school-banner .container {
  position: relative;
  z-index: 2;
}
.school-banner__title {
  margin-top: 174px;
  color: #fff;
}
.school-banner__subtitle {
  margin-left: 7px;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
}
.conditions.container {
  overflow: visible;
}
.conditions__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.conditions__buttons, .courses__buttons, .feedback__buttons {
  display: flex;
  gap: 16px;
  margin-bottom: -20px;
}
.conditions__list .swiper-wrapper {
  display: flex;
}
.conditions__list-item {
  /* width: calc(33% - 8px) !important; */
  height: 218px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  box-shadow: 1px 2px 8px 0 rgba(51, 51, 51, 0.1), 0 0 4px 0 rgba(154, 154, 154, 0.08);
  background: var(--palette-white-main);
  overflow: hidden;
}
.conditions__list-item h5, .conditions__list-item p {
  z-index: 2;
}
.conditions__list-item img {
  position: absolute;
  right: 0;
  bottom: 0;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__list-row {
  display: grid;
  column-gap: 16px;
}
.about__list-row._top {
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: 1fr .8fr;
  row-gap: 16px;
}
.about__list-row._bottom {
  grid-template-columns: 1fr 1fr 1fr;
}
.about__list-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: 1px 2px 8px 0 rgba(51, 51, 51, 0.1), 0 0 4px 0 rgba(154, 154, 154, 0.08);
  background: var(--palette-white-main);
  border-radius: 24px;
  border: 1px solid var(--palette-white-main);
}
.about__list-row._top .about__list-item.first, .about__list-row._top  .about__list-item.second {
  grid-row-start: 1;
  grid-row-end: 3;
}
.about__list-item p {
  font-size: 16px;
  line-height: 140%;
  margin-top: 16px;
}
.about__list-row._bottom .about__list-item p {
  margin-top: 13px;
}
.courses.container {
  overflow: visible;
}
#mainpagelink {
  padding-top: 200px;
  margin-top: -200px;
}
.courses__list .swiper-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}
.courses__list-item {
  height: 624px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  box-shadow: 0 0 6px 2px rgba(198, 198, 198, 0.05);
  background: var(--palette-white-main);
  cursor: pointer;
  overflow: hidden;
}
.courses__list-item._soon {
  cursor: default;
}
.courses__list-item-banner, .courses__list-item-banner img {
  width: 100%;
}
.courses__list-item-content {
  padding: 0 24px;
  font-size: 16px;
}

.courses__list-item-content h5{
  min-height: 59px; 
}

.courses__list-item-content p {
  font-size: 16px;
}
.courses__list-item-content span {
  color: var(--hr-colors-blue);
  font-size: 16px;
}
.courses__list-item-content li {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}
.courses__list-item-content li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  min-width: 4px;
  min-height: 4px;
  background-color: var(--hr-colors-blue);
  border-radius: 50%;
}
.courses__list-item-about img {
	transition: all .2s ease;
	width: 16px;
	height: 16px;
}
.courses__list-item:hover .courses__list-item-about img{
	transform: rotate(45deg) translateX(4px) translateY(-3px) scale(1.04);

}
.courses__list-item._soon .courses__list-item-about {
  display: none;
}
.courses__list-item:not(._soon) .courses__list-item-soon {
  display: none;
}
.courses__list-item-about {
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.courses__list-item-about .request {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.courses__list-item-about a {
  font-size: 16px;
  transition: all .2s ease;
}
.courses__list-item-about a:hover {
  color: var(--hr-colors-blue);
}
.courses__list-item-soon {
  margin-left: 24px;
  margin-bottom: 24px;
  margin-right: auto;
  padding: 13px 24px;
  font-size: 16px;
  color: #fff;
  background: var(--hr-colors-light-blue);
  border-radius: 24px;
  opacity: .4;
}

.feedback.container {
  overflow: visible;
}
.feedback__title {
  display: flex;
  justify-content: space-between;
}
.feedback__list-item {
  height: initial;
  padding: 32px;
  box-shadow: 1px 2px 8px 0 rgba(51, 51, 51, 0.1), 0 0 4px 0 rgba(154, 154, 154, 0.08);
  background: var(--palette-white-main);
  border-radius: 24px;
  cursor: pointer;
}
.feedback__list-item .author {
  display: flex;
  gap: 16px;
  align-items: center;
}
.feedback__list-item-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* modal */
.feedback-modal {
  position: fixed !important; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback-modal .swiper-wrapper {
  z-index: 2;
  pointer-events: none;
}
.feedback-modal__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.feedback-modal-wrapper {
  max-width: 954px;
  pointer-events: auto;
  /* height: 560px; */
}
.feedback__modal-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feedback-modal__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feedback-modal__mob-panel {
  display: none;
}

.practice-modal__progress .mark._done {
  background-image: url('../../img/hr/mark-done.svg');
}
.practice-modal__title.web {
  width: calc(100% - 48px);
}
.practice-modal__title.web span {
  font-size: 24px;
  font-weight: 700;
  color: var(--hr-colors-light-blue);
}
.form-navigation-buttons .button.prev-form {
  color: var(--hr-colors-dark-blue) !important;
  outline: none !important;
}
.custom-checkbox-container label a {
  color: var(--hr-colors-light-blue);
}
@media screen and (max-width: 1440px) {
  .school-banner {
    height: 796px;
  }
}
@media screen and (max-width: 1200px) {
  .courses__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .about__list-row._top {
    grid-template-columns: 1fr 1fr;
  }
  .about__list-row._bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about__list-item.first, .about__list-item.second {
    grid-row-start: auto;
    grid-row-end: auto;
  }
  .about__list-row._bottom .about__list-item p {
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .about__list-row._top {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 480px)  {
  .school-banner {
    background: var(--hr-colors-blue);
    height: 681px ;
  }
  .school-banner-mob {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    background: var(--hr-colors-blue);
  }
  .school-banner__title {
    margin-top: 120px;
  }
  .school-banner__subtitle {
    font-size: 16px;
    margin-top: 16px;
    margin-left: 2px;
  }
  .conditions.container {
    overflow: visible;
  }
  .conditions__buttons, .courses__buttons {
    display: none;
  }
  .conditions__list .swiper-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .conditions__list-item {
    height: auto;
    gap: 24px;
  }
  .conditions__list-item p {
    font-size: 16px;
  }
  .about__list-row._top {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .about__list-row._top .about__list-item.first, .about__list-row._top .about__list-item.second {
    grid-row-start: inherit;
    grid-row-end: inherit;
  }
  .about__list-row._bottom {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }
  .about__list-row._bottom .about__list-item p {
    margin-top: 16px;
  }
  #mainpagelink {
    padding-top: 120px;
    margin-top: -120px;
  }
  .courses__list .swiper-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
	.courses__list-item {
		height: auto;
	}
  .courses__list-item-banner {
    width: 100%;
  }
  .courses__list-item-banner img {
    width: 100%;
  }
  .courses__list-item-content h5 {
    font-size: 20px;
  }
  .courses__list-item-content p, .courses__list-item-content p span {
    font-size: 16px;
  }
  .courses__list-item-about {
    font-size: 16px;
  }
  .courses__list-item-about img {
    margin-top: 2px;
  }
  .feedback__buttons {
    gap: 8px;
    margin-top: 8px;
  }
  .feedback__list-item .author {
    flex-direction: column;
    gap: 8px;
    align-items: start;
  }
  .feedback__list-item .author img {
    width: 50px;
    height: 50px;
  }
  .feedback__list-item .author h5 {
    font-size: 20px;
  }
  .feedback-modal {
    flex-direction: column;
  }
  .modal__wrapper {
    max-height: none;
  }
  .feedback-modal__list {
    width: 100%;
    height: 100%;
    gap: 0;
  }
  .feedback-modal-wrapper {
    height: 100%;
    border-radius: 0;
    overflow-y: auto;
  }
  .feedback-modal__buttons:not(._mob) {
    display: none;
  }
  .feedback-modal.active .feedback-modal__mob-panel {
    display: flex;
  }
  .feedback-modal__mob-panel {
    padding: 16px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    box-shadow: 1px 2px 8px 0 rgba(51, 51, 51, 0.1), 0 0 4px 0 rgba(154, 154, 154, 0.08);
    background: var(--palette-white-main);
    z-index: 3;
  }
  .feedback-modal__close:not(._mob) {
    display: none;
  }
  .feedback-modal__close._mob {
    position: relative;
    height: 24px;
    top: auto;
    right: auto;
  }
  .feedback-modal__content {
    margin-bottom: 72px;
  }

  .practice-modal__title.mob span {
    font-size: 24px;
    font-weight: 700;
    color: var(--hr-colors-light-blue);
  }
  .form-navigation-buttons {
    flex-direction: column-reverse;
  }
  .form-navigation-buttons .button:last-of-type {
    margin-bottom: 0;
  }
}
