.checkbox {
    display: inline-block;
}

.checkbox .check {
    font-size: 100%;
    display: block;

    border: 2px solid #EBE6E2;
    background-color: #ffffff;
    width: 24px;
    height: 24px;
    position: relative;

    border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px;
}

.element-checkbox:hover .check,
.checkbox:hover .check {
    border-color: #cccccc;
}

.checkbox .check a {
    display: block;
    text-decoration: none;
    color: inherit;
    outline: 0;
}

.checkbox .check a span {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
}

/*.checkbox .check a.checked span {
    background: #8f8f8f;
}*/

.checkbox .check a.checked span:after {
    content: " ";
    display: block;
    width: 7px;
    height: 14px;
    /*border: solid #8f8f8f;*/
    border: solid #666666;
    /*border: solid #ffffff;*/
    border-width: 0 3px 3px 0;
    position: absolute;
    left: 7px;
    top: 1px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}