.dummy_title {
  max-width: 600px;
  font-weight: 700;
}

.dummy_title span {
  
}

.main-form {
  margin-top: 111px;
  font-size: 16px;
  line-height: 21px;
  color: #3F4656;
}

.main-form__header {
  margin-bottom: 20px;
}

.main-form__title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
}

.main-form__label {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
  line-height: 31px;
}

.main-form__subtitle span {
  color: #F47224;
}

.main-form__line {
  margin-bottom: 20px;
}

.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-checkbox__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.custom-checkbox__label {
  font-weight: 400;
  margin-left: 11px;
}

.custom-checkbox__icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid #8E8E8E;
  border-radius: 8px;
  transition: background-color 0.3s linear, border 0.3s linear;
}

.custom-checkbox__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 12px;
  transform: translate(-50%, -50%);
  background: url(img/check-2.svg) no-repeat center center / 100%;
  transition: opacity 0.3s linear;
  opacity: 0;
}

.custom-checkbox__input:checked + .custom-checkbox__icon {
  background-color: #D1E7FC;
  border: 2px solid #148AEC;
}

.custom-checkbox__input:checked + .custom-checkbox__icon::after {
  opacity: 1;
}

.checkbox-line {
  display: flex;
  flex-wrap: wrap;
}

.checkbox-line__item:not(:last-child) {
  margin-right: 40px;
}

.main-form__control {
  display: block;
  width: 100%;
  padding: 17px 16px 16px;
  font-size: 18px;
  line-height: 1;
  border: 1px solid #D5D8DE;
  border-radius: 8px;
  transition: border-color 0.3s linear, box-shadow 0.3s linear;
}

.main-form__control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

.main-form__btn {
  display: block;
  width: 100%;
  padding: 21px 40px 20px;
  background-color: #247BC4;
  color: #fff;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s linear;
}

.main-form__btn:hover {
  background-color: #154f92;
}

.main-form__line .main-form__group:last-child {
  padding-right: 63px;
}

.price-card {
  padding: 32px;
  border: 2px solid #1B67BF;
  border-radius: 4px;
}

.price-card__line:not(:last-child) {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #DCDCDC;
}

.price-card__line {
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  color: #3B3B3B;
}

.price-card__line--medium {
  font-weight: 400;
  font-size: 14px;
  color: #8E8E8E;
}

.price-card__line--small {
  font-weight: 400;
  font-size: 12px;
  color: #8E8E8E;
}

.price-card__line--medium .price-card__value {
  font-weight: 700;
  font-size: 16px;
  color: #3B3B3B;
}

.price-card__item {
  display: flex;
  justify-content: space-between;
}

.price-card__line--medium .price-card__item:not(:last-child) {
  margin-bottom: 7px;
}

.price-card__line--small .price-card__item:not(:last-child) {
  margin-bottom: 3px;
}

.price-list {
  margin-left: -12px;
  margin-right: -12px;
}

.price-list__item {
  padding: 0 12px;
  margin-bottom: 20px;
}

.price-card__value {
  flex: 0 0 auto;
  margin-left: 15px;
}

@media (max-width: 767px) {
  .price-card {
    padding: 20px;
  }
}

.page-top__subtitle {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  color: #696969;
}

.page-top__title {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 36px;
  line-height: 130%;
  color: #1B67BF;
}

.just-validate-error-label {
  margin-top: 5px;
}

.is-invalid {
  border-color: rgb(184, 17, 17);
}


@media (max-width: 1199px) {
  .main-form {
    margin-top: 30px;
  }

  .main-form__label {
    margin-bottom: 15px;
  }

  .main-form__group:not(:last-child) {
    margin-bottom: 20px;
  }

  .main-form__line .main-form__group:last-child {
    padding-right: 15px;
  }
}

@media (max-width: 767px) {
  .checkbox-line {
    flex-direction: column;
  }
  
  .checkbox-line__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .dummy_title {
    font-size: 32px;
  }

  .dummy_phone {
    font-size: 26px;
    line-height: 1;
  }

  .main-form__label,
  .main-form__title {
    font-size: 18px;
    line-height: 24px;
  }
}

.thanx {
  width: 308px;
  max-width: 100%;
  padding: 60px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  color: #3F4656;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

.fancybox-button {
  width: 52px;
  height: 52px;
}