.CFMTCheckbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0 !important;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.CFMTCheckbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    box-shadow: 0px 0px 4px 2px #dfdddd;
    border-radius: 4px;
    background: #fff;
}

.CFMTCheckbox--Modal .checkmark { 
    box-shadow: none !important;
}

.CFMTCheckbox:hover input ~ .checkmark {
    background-color: #fff;
}

.CFMTCheckbox input:checked ~ .checkmark {
    background-color: #fff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.CFMTCheckbox input:checked ~ .checkmark:after {
    display: block;
}

.CFMTCheckbox .checkmark:after {  
    width: 100%;
    height: 100%;
    background-image: url('/themes/afcfmt/images/icons/ico-checkmark.png');
    background-repeat: no-repeat;
    background-position: center; 
}