/* Customize the label (the chec.checkbox) */
.checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2.75rem;
    cursor: pointer;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
}

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

/* Create a custom checkbox */
.checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.8rem;
    width: 1.8rem;
    border-radius: 0.2rem;
    background-color: rgba(0, 0, 0, 0.12);
    transition: background-color ease 0.35s;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input~.checkmark {
    background-color: rgba(204, 204, 204, 0.705);
}

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

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

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

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