/** Uncomment this if you need Bootstrap in the theme **/
/** Mega Forms - beautify checkboxes
  * This is based on https://moderncss.dev/pure-css-custom-checkbox-style/
 **/
:root {
  --form-control-disabled: #959495;
}

.mf_progressbar_percentage.percentbar_blue {
  background: var(--e-global-color-primary) !important;
  color: #fff;
}

ul.mf-checkboxes li label--disabled,
ul.mf-radios li label--disabled {
  color: var(--form-control-disabled);
  cursor: not-allowed;
}

/****** Pretty Checkboxes ******/
/* Hide default checkbox/radio element */
.mform_body .pretty-selection input[type=checkbox],
.mform_body .pretty-selection input[type=radio] {
  display: none;
}

/* Align elements next to each other */
.mform_body .pretty-selection .mf_input_checkboxes ul,
.mform_body .pretty-selection .mf_input_radios ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}

.mform_body .pretty-selection .mf_input_checkboxes ul li,
.mform_body .pretty-selection .mf_input_radios ul li {
  padding: 1em 0;
}

/* Unchecked */
.mform_body .pretty-selection input[type=checkbox] + span,
.mform_body .pretty-selection input[type=radio] + span {
  background-color: rgb(216, 216, 216);
  color: #000;
  border-radius: 1em;
  padding: 1em;
  cursor: pointer;
}

/* Checked */
.mform_body .pretty-selection input[type=checkbox]:checked + span,
.mform_body .pretty-selection input[type=radio]:checked + span {
  background-color: var(--e-global-color-primary);
  color: #fff;
}

/****** Regular checkboxes ******/
.mform_body .mfield:not(.pretty-selection) input[type=checkbox],
.mform_body .mfield:not(.pretty-selection) input[type=radio] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  -moz-appearance: none;
  appearance: none;
  /* For iOS < 15 */
  background-color: #fff;
  /* Not removed via appearance */
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.75em;
  height: 1.75em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  float: left;
  min-height: initial;
}

.mform_body .mfield:not(.pretty-selection) input[type=checkbox]::before,
.mform_body .mfield:not(.pretty-selection) input[type=radio]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--e-global-color-primary);
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

/* .mform_body .mfield:not(.pretty-selection) input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid currentColor;
    outline-offset: max(2px, 0.15em);
} */
.mform_body .mfield:not(.pretty-selection) input[type=checkbox]:checked::before,
.mform_body .mfield:not(.pretty-selection) input[type=radio]:checked::before {
  transform: scale(1);
  /* Prevent theme overrides */
  position: relative !important;
  display: block !important;
  margin: inherit !important;
}

.mform_body .mfield:not(.pretty-selection) input[type=checkbox]:disabled,
.mform_body .mfield:not(.pretty-selection) input[type=radio]:disabled {
  var(--e-global-color-primary): var(--form-control-disabled);
  color: var(--form-control-disabled);
  cursor: not-allowed;
}

.mform_body .mf_input_consent > label > span {
  display: block;
  margin-left: 2.2em;
}

@media (max-width: 767px) {
  .mform_body input[type=radio] {
    margin-bottom: 25px;
  }
}

/*# sourceMappingURL=main.css.map */
