/*CUSTOM Checkbox */

.form-check {
  padding-left: 0px;
}

.form-check-label {
  display: inline-block;
  position: relative;
  padding-left: 26px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* Hide the browser's default checkbox */
  input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  /* Create a custom checkbox */

  input:disabled ~ .checkmark {
    filter:none;
    opacity:.5;
    pointer-events:none;
    cursor: default;
  }

  input ~ .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border: 1px solid var(--primary);
  }

  input[type="checkbox"] ~ .checkmark {
    top: 2px;
  }

  input[type="radio"] ~ .checkmark {
    top: 3px;
    border-radius: 50%;
  }


  /* When the checkbox is checked, add a blue background */
  input:checked ~ .checkmark {
    background-color: var(--primary);
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the checkmark when checked */
  input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the checkmark/indicator */
  .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  input[type="checkbox"] ~ .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  input[type="radio"] ~ .checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
  }

}

.form-check-label  :hover input ~ .checkmark {
  background-color: #ccc;
}


.form-check-label.big input ~ .checkmark {
  height: 21px;
  width: 21px;
}

.form-check-label.big input[type="checkbox"] ~ .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
}

/* Create a custom radio button */

