._form_layout .modal-dialog {
  max-width: 525px;
}
._form_layout.modal .modal-body {
  padding: 0px 50px;
}

.title-form .descr {
  font-style: italic;
  margin-bottom: 45px;
}

.bordered-form .form-control {
  font-size: 20px;
  padding-left: 0;
  padding-right: 0;
  /*font-weight: bold;*/
}

.bordered-form .form-control:focus-within {
  border-bottom: 2px solid;
}

.animated-form .form-group > label {
  font-size: 17px;
  color: #888;
}

.animated-form .active > label {
  top: -17px;
  font-size: 13px;
  padding-left: 0;
}

.label_small,
.custom-control-label {
  font-size: 12px;
  text-align: left !important;
}

.label_small._v1 {
  margin-top: 5px;
}

.custom-control-label a {
  font-weight: bold;
}

.modal-dialog .btn-pos .btn-lg {
  width: 100%;
}

/* .................................. */

.was-validated
  .custom-control-input:valid:not([required])
  ~ .custom-control-label::before {
  border: 1px solid #adb5bd;
}
.was-validated
  .custom-control-input:valid:not([required])
  ~ .custom-control-label {
  color: #212529;
}
.was-validated .form-control:valid:not([required]) {
  border-bottom: 1px solid var(--border-color);
  background-image: none;
}

.agree {
  margin-bottom: var(--mb2);
}
.agree .form-group {
  margin-bottom: var(--mb1);
}

@media (max-width: 576px) {
  ._form_layout.modal .modal-body {
    padding: 0px 30px;
  }

  ._form_layout.modal .form-row .col {
    min-width: 100%;
  }

  ._form_layout.modal form .form-row .col:first-of-type {
    padding-right: 0;
  }
}

.gs-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 24px;
  background: #eef0f4;
  border-radius: 999px;
}
.gs-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  color: #4a4f5a;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.gs-tab.active {
  background: #fff;
  color: #621886;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.gs-tab__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.gs-tab__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* на узких экранах оставляем только иконки, если текст не помещается */
@media (max-width: 480px) {
  .gs-tab {
    padding: 12px 8px;
    gap: 0;
  }
  .gs-tab__icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  /* текст скрыт визуально, но доступен скринридерам */
  .gs-tab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.gs-panel {
  display: none;
}
.gs-panel.active {
  display: block;
}
#started .modal-dialog.modal-dialog--demo {
  max-width: 90%;
}

@media (max-width: 575px) {
  #started .modal-dialog.modal-dialog--demo {
    max-width: 525px;
  }
  #gs-demo.active {
    margin: 0px -25px;
  }
}
#started .modal-dialog.modal-dialog--demo .modal-body {
  padding: 0px 30px;
  padding-bottom: 20px;
}

/* вариант А: шире попап на табе с календарём */
@media (min-width: 992px) {
  #started .modal-dialog.modal-dialog--demo {
    max-width: 1040px;
  }
}

/* #started .modal-dialog.modal-dialog--demo {
  max-width: 940px !important;
  width: calc(100% - 32px);
}

#started .modal-dialog--demo .modal-body {
  padding-left: 16px;
  padding-right: 16px;
}
#gs-demo .zeeg-inline-widget {
  width: 100%;
  min-height: 620px;
} */

/* #gs-demo {
  width: 100%;
  overflow: hidden;
}
#gs-demo .zeeg-inline-widget {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 600px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
#gs-demo .zeeg-inline-widget iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
} */
