.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  padding: 2.5rem;
}

.swiper-slide {
  background-color: var(--blue);
}

.swiper-slide {
  height: auto;
}

.btn.btn-light.active {
  background-color: white !important;
}

.btn.btn-light.active:hover {
  background-color: #dae0e5 !important;
}

.btn-light.disabled,
.btn-light:disabled {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.swiper-slide-prev .test__body {
  opacity: 0;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

.slide-form.swiper-slide-prev,
.slide-result.swiper-slide-prev {
  max-height: 50vh;
}

button,
button:active,
button:focus,
a,
a:active,
a:focus {
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.test__list-item {
  margin: 3px !important
}

.test__list-item label {
  padding: 10px;
}

label {
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
}

.directions {
  font-size: 1rem;
}

.programm>* {
  background-color: #0042ad;
  border: 1px solid #0052d8;
  padding: 1.5rem 2rem;
  margin: 0;
}

.programm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.programm__code {
  min-width: 23%;
  text-align: center;
  border-left: none;
}

.programm__name {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  border-right: none;
}

.direction__img {
  margin-bottom: 1px;
}

.direction__about-btn {
  background-color: #2d70df;
  padding: 1rem 2rem;
  margin-top: 1px;
}

.direction__about-body {
  background-color: #0042ad;
  margin-top: 2px;
}

.direction__about-btn i {
  font-size: 28px;
  /* transition: all .1s; */
}

.direction__about-btn:not(.collapsed) i {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  -webkit-transform-origin: 50% 51%;
  -ms-transform-origin: 50% 51%;
  transform-origin: 50% 51%;
}

.direction__about-body h5:not(:first-child) {
  margin-top: 2rem;
}

.direction__about-body h5 {
  margin-bottom: 1.25rem;
}

.direction__about-body ul {
  margin-bottom: 1.5rem;
}

.direction__about-body li {
  position: relative;
  padding-left: 35px;
  font-size: 14px;
  line-height: 18px;
  margin-top: 10px;
}

.direction__about-body li::before {
  content: "";
  width: 18px;
  height: 15px;
  position: absolute;
  left: 0;
  top: 2px;
  background-image: url(../img/icons/check.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.direction {
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
}

.form-group input,
.form-group select {
  padding: 1rem;
  height: auto;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
}

select::-ms-expand {
  display: none;
}

.form-group .select-arrow {
  position: relative;
}

.form-group .select-arrow::after {
  content: '\f107';
  font-family: "Font Awesome 5 Pro";
  padding: 0 8px;
  font-size: 1.6rem;
  position: absolute;
  right: 12px;
  top: 20%;
  z-index: 1;
  text-align: center;
  width: 30px;
  height: 27px;
  color: #0053d9;
  pointer-events: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .1s ease-out;
  -o-transition: all .1s ease-out;
  transition: all .1s ease-out;
  transform-origin: 50% 66%;
  -webkit-transform-origin: 50% 66%;
  -ms-transform-origin: 50% 66%;
}

.test-main {
  position: relative;
  z-index: 10;
  padding: 45px 25px;
  border-radius: 10px;
  background-color: var(--blue);
}

.test-main__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.test-main__top .logo {
  display: none;
}

.test__progress {
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
}

.test__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 0;
  height: 100%;
}

.test__img {
  max-width: 100px;
  max-height: 90px;
  margin-bottom: 50px;
}

.question-text {
  font-size: 2rem;
  line-height: 1.5;
  text-align: center;
  display: inline-block;
}

.test__list-item {
  padding-left: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.radio-label,
.checkbox-label,
.text-label {
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
}

.text-label {
  width: 30%;
  display: inline-block;
}

.text-input {
  width: 65%;
  min-height: 30px;
  border: 2px solid rgba(0, 0, 0, 0);
  border-radius: 5px;
}

.text-input:focus {
  outline: none;
  border: 2px solid #ff9b1f;
}

.radio-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -40px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--dark-blue);
  border-radius: 50%;
}

.radio-input:checked+.radio-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -35px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--white);
  border-radius: 50%;
}

.checkbox-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--dark-blue);
}

.checkbox-input:checked+.checkbox-label::before {
  content: "\f00c";
  font-weight: 600;
  font-family: "Font Awesome 5 Pro";
  font-size: 13px;
  color: #ffffff;
  text-align: center;
}

.checkbox-input:disabled+.checkbox-label {
  opacity: .65;
}

.test__list-item+.test__list-item {
  margin-top: 25px;
}


.swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
}

.autoHeightWrapper .swiper-slide:not(.swiper-slide-active) {
  height: 0;
}

.autoHeightWrapper {
  height: auto !important;
}
.swiper-wrapper {
  transition: height 1.5s;
}

@media screen and (max-width: 420px) {
  .standart-text {
    font-size: .875rem;
  }

  .question-text {
    font-size: 1rem;
  }

  .test__img {
    max-width: 90px;
    max-height: 80px;
    margin-bottom: 20px;
  }

  .swiper-slide {
    padding: 2rem 0 0;
  }

  .test__list-item {
    padding-left: 25px;
  }

  .radio-label,
  .checkbox-label,
  .text-label {
    font-size: .875rem;
    margin-bottom: .4rem;
  }

  .test__list-item label {
    padding: .4rem;
  }

  .checkbox-label::before {
    left: -25px;
  }

  .radio-label::before {
    left: -25px;
  }

  .radio-input:checked+.radio-label::after {
    left: -20px;
  }

  .direction__programms .programm:nth-child(1) {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }

   /* .programm {
   -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; 
  }*/

  .programm>* {
    padding: 1rem;
  }

  .programm__code {
    min-width: 29%;
  }

  /* .programm__name {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  } */

  .programm__code,
  .programm__name {
    font-size: .875rem;
  }

  .control-buttons .btn+.btn {
    margin-left: 20px;
  }

  .direction__about-btn {
    font-size: 0.8rem;
    padding: 0.9rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.5rem;
  }

  .form-group .select-arrow::after {
    font-size: 1.5rem;
    width: 27px;
    height: 25px;
    top: 12%;
    right: 8px;
  }

  .results-submit {
    margin-left: auto;
    margin-right: auto;
  }
}