.cfm-hidden {
  display: none;
}

.cfm-header {
  border-bottom: 1px solid #e8e8e8;
}

.cfm-header__logo {
  width: 300px;
  margin: 18px auto;
}

.cfm-header__logo img {
  width: 100%;
  display: block;
}

.cfm-page {
  padding: 20px 0 40px;
}

.cfm-page__inner {
  width: min(92vw, 760px);
  margin: 0 auto;
}

.cfm-page__title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #000;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.cfm-page__title::before,
.cfm-page__title::after {
  content: none !important;
  display: none !important;
}

.cfm-step {
  margin: 0 0 18px;
}

.cfm-step--hidden {
  display: none;
}

.cfm-step__inner {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 15px 22px;
}

.cfm-step__head {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  background: #eee;
  border-radius: 0;
  padding: 18px 10px;
  position: relative;
  line-height: 1.5;
  margin-left: 76px;
  width: calc(100% - 76px);
  min-height: 56px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.cfm-step__head::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -15px;
  border: 10px solid transparent;
  border-right: 20px solid #eee;
}

.cfm-step__head::before {
  content: "";
  position: absolute;
  left: -76px;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: url("../img/contact/form_icon.png") center/cover no-repeat;
}

.cfm-step__required {
  color: #ff4141;
  font-size: 12px;
  text-align: right;
  margin-bottom: 8px;
}

.cfm-step__label,
.cfm-label {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #000;
}

.cfm-input,
.cfm-select,
.cfm-textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 7px 0;
  padding: 7px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  border: 1px solid #CBD0D0;
  border-radius: 3px;
  color: #333;
  background-color: transparent !important;
  box-sizing: border-box;
}

.cfm-select {
  appearance: none;
  cursor: pointer;
  padding-right: 7px !important;
}

.cfm-input:focus,
.cfm-select:focus,
.cfm-textarea:focus {
  outline: none;
  box-shadow: 0 0 2px 2px #6aa5b4 inset;
}

.cfm-birthday {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
}

.cfm-birthday .cfm-select {
  min-width: 60px;
  margin-right: 7px;
  margin-left: 8px;
}

.cfm-birthday .cfm-select:first-child {
  margin-left: 0;
}

.cfm-choices {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}

.cfm-choices--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cfm-choices__item {
  display: block;
  width: 100%;
  list-style: none;
}

.cfm-check {
  display: none;
}

.cfm-error {
  color: #FF4141;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 5px;
}

.cfm-error p {
  margin: 0;
}

.is-error {
  border-color: #ff4141 !important;
  box-shadow: 0 0 2px 2px #ff4141 inset !important;
}

.cfm-choices__item.is-error .cfm-check-label {
  border-color: #ff4141 !important;
}

.cfm-check-label {
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 15px 18px 40px;
  position: relative;
  width: 100%;
  height: 100%;
  line-height: 1.3;
  border: 1px solid #D2D2D2;
  border-radius: 5px;
}

.cfm-check-label::before {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #D2D2D2;
  border-radius: 5px;
  content: "";
  display: block;
  height: 20px;
  left: 5px;
  margin-top: -11px;
  position: absolute;
  top: 50%;
  width: 20px;
}

.cfm-check-label::after {
  box-sizing: border-box;
  background: #00BBBD;
  border-radius: 2px;
  content: "";
  display: block;
  height: 12px;
  left: 9px;
  margin-top: -7px;
  opacity: 0;
  position: absolute;
  top: 50%;
  width: 12px;
}

input[type=radio]:checked + .cfm-check-label,
input[type=checkbox]:checked + .cfm-check-label {
  border: 1px solid #00BBBD;
  color: #00BBBD;
  background: #F5FDFF;
}

input[type=radio]:checked + .cfm-check-label::after,
input[type=checkbox]:checked + .cfm-check-label::after {
  opacity: 1;
}

.cfm-next,
.cfm-button {
  width: min(92%, 540px);
  margin: 14px auto 4px;
  display: block;
  border: 0;
  border-radius: 6px;
  padding: 13px 12px;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  font-weight: 700;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.cfm-next {
  background: #00bbbd;
}

.cfm-button--post {
  background: #faa402;
}

.cfm-next::before,
.cfm-next::after,
.cfm-button::before,
.cfm-button::after {
  content: "";
  width: 13px;
  height: 2px;
  background: #fff;
  position: absolute;
  right: 14px;
}

.cfm-next::before,
.cfm-button::before {
  top: calc(50% - 4px);
  transform: rotate(45deg);
}

.cfm-next::after,
.cfm-button::after {
  bottom: calc(50% - 4px);
  transform: rotate(-45deg);
}

.cfm-step__no {
  text-align: center;
  color: #777;
  font-size: 12px;
  margin-top: 8px;
}

.cfm-kiyaku,
.cfm-kiyaku a {
  text-align: center;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.cfm-footer {
  text-align: center;
  padding: 20px 0;
}

.cfm-footer__copyright {
  font-size: 12px;
}

/*# sourceMappingURL=clinic-form.css.map */
