.chkbox-container {
    float: left;
    width: 100px;
    margin-right: 1%;
}

.mychkbox {
    display: block;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-use-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.mychkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.mychkbox input:checked ~ .checkmark {
    background-color: #0166b1;
}

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

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

.mychkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}