.form-item--checkbox label,
.form-item--radio label {
  font-size: var(--f-small);
  line-height: 1.9;
  font-weight: 400;
}

input[type='checkbox'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background-color: transparent;
  height: 20px;
  width: 20px;
  position: absolute;
  z-index: 2;
  margin: 0;
  cursor: pointer;
  top: 3px;
}

input[type='checkbox']:focus {
  outline: none;
}

input[type='checkbox'] ~ .checkboxdummy {
  cursor: pointer;
  height: 20px;
  width: 20px;
  border: 1px solid var(--c-primary);
  border-radius: 0;
  pointer-events: none;
  margin-right: 0;
  top: 3px;
  left: 0;
  z-index: 2;
  background-color: transparent;
  display: inline-block;
  position: absolute;
  vertical-align: top;
}

input[type='checkbox'] ~ .checkboxdummy svg {
  pointer-events: none;
  display: block;
  z-index: 1;
  position: absolute;
  fill: var(--c-primary);
  margin: 1px;
  opacity: 0;
  height: 16px;
  width: 16px;
}

input[type='checkbox'] ~ .checkboxdummy + .form-item__label {
  margin-left: 31px;
}

input[type='checkbox']:disabled {
  cursor: not-allowed;
}

input[type='checkbox']:disabled ~ .form-item__label {
  cursor: not-allowed;
}

input[type='checkbox']:disabled ~ .checkboxdummy {
  cursor: not-allowed;
}

input[type='checkbox']:disabled ~ .checkboxdummy svg {
  opacity: .6 !important;
}

input[type="checkbox"]:checked ~ .checkboxdummy {
  -webkit-animation: shrink-bounce 200ms cubic-bezier(0.4, 0, 0.23, 1);
          animation: shrink-bounce 200ms cubic-bezier(0.4, 0, 0.23, 1);
}

input[type="checkbox"]:checked ~ .checkboxdummy svg {
  opacity: 1;
}

@media all and (min-width: 1440px) {
  .form-item--checkbox label,
  .form-item--radio label {
    line-height: 1.5;
  }
}

