.checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 17px;
    margin-bottom: 0;
}

.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: -12px;
    border: 1px solid #94989E;
    border-radius: 3px;
    background-color: #ffffff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    text-align: center;
    font-size: 10px !important;
    line-height: 17px;
    left: 0px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-left: -12px;
    color: #b9c2d0;
}

.checkbox input[type=checkbox] {
    opacity: 0;
    z-index: 1;
}

.checkbox input[type=checkbox]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.checkbox input[type=checkbox]:checked + label::after {
    font-family: "Font Awesome 5 Free";
    content: "\F00C";
    font-size: 13px;
    font-weight: 900;
}

.checkbox input[type=checkbox]:disabled + label {
    opacity: 0.65;
}

.checkbox input[type=checkbox]:disabled + label::before {
    background-color: #d3d9e3;
    cursor: not-allowed;
}

.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}

.checkbox.checkbox-inline {
    margin-top: 0;
}

.checkbox-primary input[type=checkbox]:checked + label::before {
    background-color: #7774e7;
    border-color: #7774e7;
}

.checkbox-primary input[type=checkbox]:checked + label::after {
    color: #fff;
}

.checkbox-danger input[type=checkbox]:checked + label::before {
    background-color: #ff3c7e;
    border-color: #ff3c7e;
}

.checkbox-danger input[type=checkbox]:checked + label::after {
    color: #ffffff;
}

.checkbox-info input[type=checkbox]:checked + label::before {
    background-color: #0f9aee;
    border-color: #0f9aee;
}

.checkbox-info input[type=checkbox]:checked + label::after {
    color: #ffffff;
}

.checkbox-warning input[type=checkbox]:checked + label::before {
    background-color: #fc0;
    border-color: #fc0;
}

.checkbox-warning input[type=checkbox]:checked + label::after {
    color: #ffffff;
}

.checkbox-success input[type=checkbox]:checked + label::before {
    background-color: #37c936;
    border-color: #37c936;
}

.checkbox-success input[type=checkbox]:checked + label::after {
    color: #ffffff;
}

