﻿mf-checkbox {
    padding-top: 3px;
    display: inline-block;
}
mf-grid mf-checkbox {
    padding-top: 0px;
    height: 100%;
    display: block;
}
mf-checkbox input[type=checkbox].css-checkbox {
    position:absolute; z-index:-1000;
    left:-1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height:1px;
    width:1px;
    margin:-1px;
    padding:0;
    border:0;
}
mf-checkbox input[type=checkbox].css-checkbox + label.css-label,
mf-checkbox input[type=checkbox].css-checkbox + label.css-label.clr {
    padding-left:29px;
    height:20px; 
    display:inline-block;
    line-height:20px;
    background-repeat:no-repeat;
    background-position: 0 0;
    font-size:20px;
    vertical-align:middle;
    cursor:pointer;
}
mf-checkbox input[type=checkbox].css-checkbox:checked + label.css-label,
mf-checkbox input[type=checkbox].css-checkbox + label.css-label.chk {
    background-position: 0 -20px;
}
mf-checkbox label.css-label {
    background-image:url(checkbox.gif);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
mf-checkbox label.css-label.disabled {
    opacity: 0.5;
}