.gform_wrapper {
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
}
.gform_wrapper .gform-footer,
.gform_wrapper .gform_page_footer {
  margin-top: 32px;
}
.gform_wrapper .mds-textarea-group textarea {
  height: 128px;
}
.gform_wrapper .gfield_validation_message {
  display: flex;
  color: #D80C31;
  font: 1rem Source Sans Pro, sans-serif !important;
  line-height: 1.25rem !important;
  margin-top: 0.5rem;
  background-color: #FEECEF !important;
  padding: 4px 8px;
  border-radius: 4px;
  width: fit-content;
}
.gform_wrapper .gform_validation_errors {
  background-color: #feecef;
  padding: 1rem;
  margin-bottom: 32px;
}
.gform_wrapper .gform_validation_errors .gform-icon:after {
  content: "";
  font-family: mds-icon !important;
  font-size: 1.5rem;
  margin-right: 0.25rem;
  color: #d80c31;
}
.gform_wrapper .gform_validation_errors h2 {
  font: 1rem Source Sans Pro, sans-serif;
  line-height: 1.25rem;
  color: #333333;
  display: flex;
}
.gform_wrapper .gform_validation_errors ol,
.gform_wrapper .gform_validation_errors ul {
  margin-left: 24px;
  list-style-position: outside;
}
.gform_wrapper .gform_validation_errors ol li,
.gform_wrapper .gform_validation_errors ul li {
  padding-bottom: 0;
  line-height: 20px;
  padding-left: 0.175rem;
}
.gform_wrapper .gform_validation_errors ol {
  list-style-type: decimal;
}
.gform_wrapper .gform_validation_errors .gform_validation_error_link {
  color: var(--color-use--9);
}
.mds-quiz_wrapper {
  margin-top: 32px;
  margin-bottom: 32px;
}
.mds-quiz_wrapper form.mds-quiz {
  box-shadow: 0 4px 28px 0 rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
}
.mds-quiz_wrapper form.mds-quiz .gf_progressbar_wrapper {
  padding: 8px 32px;
  background: #CCF4FC;
}
.mds-quiz_wrapper form.mds-quiz .gf_progressbar_wrapper .gf_progressbar_title {
  margin-bottom: 0;
}
.mds-quiz_wrapper form.mds-quiz .gf_progressbar_wrapper .gf_progressbar {
  display: none;
}
.mds-quiz_wrapper form.mds-quiz .gform_body {
  background-color: #fff;
  padding: 32px;
}
.mds-quiz_wrapper form.mds-quiz .gform_body .gfield_required {
  display: none;
}
.mds-quiz_wrapper form.mds-quiz .gform-page-footer {
  display: flex;
  justify-content: flex-start;
}
.mds-quiz_wrapper form.mds-quiz .gform-page-footer .gform_next_button,
.mds-quiz_wrapper form.mds-quiz .gform-page-footer .gform_button {
  margin-left: auto;
}
.mds-quiz_wrapper form.mds-quiz legend {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: var(--Marque-Bleu-Macif, #0A2D82);
}
.gform_confirmation_wrapper.mds-quiz {
  margin: 32px auto;
  box-shadow: 0 4px 28px 0 rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
}
.gform_confirmation_wrapper.mds-quiz:before {
  content: 'Réponse';
  display: block;
  padding: 8px 32px;
  background: #CCF4FC;
  text-align: center;
  color: var(--color-macif--1) !important;
  font: 600 1.125rem "Montserrat", sans-serif;
  line-height: 1.75rem;
}
.gform_confirmation_wrapper.mds-quiz .gform_confirmation_message {
  padding: 32px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 900px) {
  .mds-quiz_wrapper {
    margin-top: 48px;
    margin-bottom: 48px;
  }
  .mds-quiz_wrapper form.mds-quiz legend {
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    color: var(--Marque-Bleu-Macif, #0A2D82);
  }
}
