/* form */
h3 + .formstep {
  margin-top: 20px;
}

.formstep {
  margin-bottom: 2em;
  border-bottom: 2px solid #eeeff1;
}
.formstep > ul {
  width: 100%;
}
.formstep li {
  display: table;
  float: left;
  table-layout: fixed;
  color: #263365;
  margin-bottom: -2px;
}
.formstep li > span {
  padding: 0 5px 0 15px;
  text-indent: -15px;
  min-height: 5em;
  line-height: 1.2em;
  position: relative;
  font-weight: bold;
}
.formstep li > span:before {
  content: "";
  width: 0;
  height: 0;
  content: "";
  display: inline-block;
  border: 6px solid transparent;
  border-left-color: #eeeff1;
  margin-top: -6px;
}
.formstep .num,
.formstep li > span {
  width: 100%;
  display: table-cell;
  vertical-align: middle;
}
.formstep .num {
  background-color: #eeeff1;
  text-align: center;
  font-style: normal;
  width: 3.6em;
  font-size: 87.5%;
  padding: 1em 0;
  line-height: 1;
  box-sizing: border-box;
}
.formstep .num span {
  font-size: 150%;
  font-weight: bold;
  margin-top: 0.2em;
  display: inline-block;
}
.formstep li.current > .num {
  background-color: #263365;
  color: #FFF;
}
.formstep li.current > span:before {
  border-left-color: #263365;
}
@media screen and (max-width: 767.9px) {
  .formstep {
    border-bottom-width: 0;
  }
  .formstep li {
    height: 3em;
    background-color: #eeeff1;
    padding: 0.3em 0;
  }
  .formstep li:first-child {
    border-radius: 5px 0 0 5px;
  }
  .formstep li:last-child {
    border-radius: 0 5px 5px 0;
  }
  .formstep li + li {
    border-left: 1px solid #ffffff;
  }
  .formstep .num,
  .formstep li > span {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 0;
  }
  .formstep li > span {
    font-size: 87.5%;
    font-weight: normal;
    min-height: inherit;
    text-indent: 0;
  }
  .formstep li > span:before {
    content: none;
  }
  .formstep .num {
    background-color: transparent;
  }
  .formstep li.current {
    background-color: #263365;
    color: #FFF;
  }
  .formstep li.current:before {
    border-left-color: #263365;
  }
  .formstep li.current .num {
    background-color: transparent;
  }
}

.label-warning {
  color: #8C1C00;
  background: #FFC144;
}

.form-horizontal .form-group p {
  line-height: 1.4;
}
.form-horizontal .form-group p:not(:last-child), .form-horizontal .form-group .input-row:not(:last-child), .form-horizontal .form-group textarea:not(:last-child) {
  margin-bottom: 0.4em;
}
@media screen and (max-width: 767.9px) {
  .form-horizontal .form-group *[class*=grid-] {
    float: none;
    width: 100%;
  }
  .form-horizontal .form-group *[class*=grid-]:not(:last-child) {
    margin-bottom: 0.4em;
  }
}

button.btn {
  border: none;
}

.form_nav_btn {
  display: grid;
  gap: 10px;
}
.form_nav_btn:has(> :nth-child(2)) {
  grid-template-columns: repeat(2, 1fr);
}


