﻿/* Base for label styling */
[type="checkbox"].cb-custom.cb-custom:not(:checked), [type="checkbox"].vcod.vcod:not(:checked),
[type="checkbox"].cb-custom:checked, [type="checkbox"].vcod:checked {
    position: absolute;
    left: -9999px;
}

    [type="checkbox"].cb-custom:not(:checked) + label,
    [type="checkbox"].cb-custom:checked + label {
        position: relative;
        padding-left: 25px;
        cursor: pointer;
    }

        [type="checkbox"].vcod:not(:checked) + label,    [type="checkbox"].vcod:checked + label {
        padding-left: 25px;
        cursor: pointer;
        background-color:#ECECEC;
    }

  

        /* checkbox aspect */
        [type="checkbox"].cb-custom:not(:checked) + label:before,
        [type="checkbox"].cb-custom:checked + label:before {
            font-family:FontAwesome;
            content: '';
            position: absolute;
            left: 0px;
            top: 0px;
            width: 20px;
            height: 20px;
            border: 1px solid #aaa;
            background: #fff;
            border-radius: 0px;
            box-shadow: none;
        }
        /* checked mark aspect */
        [type="checkbox"].cb-custom:not(:checked) + label:after,
        [type="checkbox"].cb-custom:checked + label:after {
            font-family:FontAwesome;
            content: '\f00c';
            position: absolute;
            top: -3px;
            left: 2px;
            font-size: 16px;
            font-weight: 100;
            color: #333;
            transition: all .1s;
        }

/* checkbox aspect */
[type="checkbox"].cb-custom.cb-38:not(:checked) + label:before,
[type="checkbox"].cb-custom.cb-38:checked + label:before {
    content: '';
    position: absolute;
    left: 2px;
    top: -9px;
    width: 36px;
    height: 38px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 3px;
    box-shadow: none;
}
/* checked mark aspect */
[type="checkbox"].cb-custom.cb-38:not(:checked) + label:after,
[type="checkbox"].cb-custom.cb-38:checked + label:after {
    content: '✔';
    position: absolute;
    top: -15px;
    left: 8px;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    transition: all .1s;
}

[type="checkbox"].vcod.cb-modal-light-checkbox:not(:checked) + label:before,
[type="checkbox"].vcod.cb-modal-light-checkbox:checked + label:before {
    content: '';
     position: absolute;
    left: 2px;
    top: 0px;
    width: 34px;
    height: 30px;
    background: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: none;
}
/* checked mark aspect */
[type="checkbox"].vcod.cb-modal-light-checkbox:not(:checked) + label:after,
[type="checkbox"].vcod.cb-modal-light-checkbox:checked + label:after {
    content: 'D';
    font-family: seg;
    position: absolute;
    top: 4px;
    left: 10px;
    font-size: 16px;
    border: none;
    font-weight: 400;
    color: #777;
    transition: all .1s;
}

[type="checkbox"].vcod.cb-modal-light-tall-checkbox:not(:checked) + label:before,
[type="checkbox"].vcod.cb-modal-light-tall-checkbox:checked + label:before {
    content: '';
     position: absolute;
    left: 0px;
    top: 0px;
    width: 30px;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: none;
}
/* checked mark aspect */
[type="checkbox"].vcod.cb-modal-light-tall-checkbox:not(:checked) + label:after,
[type="checkbox"].vcod.cb-modal-light-tall-checkbox:checked + label:after {
    content: 'D';
    font-family: seg;
    position: absolute;
    top: 11px;
    left: 7px;
    font-size: 16px;
    border: none;
    font-weight: 400;
    color: #777;
    transition: all .1s;
}

[type="checkbox"].vcod.cb-modal-dark-checkbox:not(:checked) + label:before,
[type="checkbox"].vcod.cb-modal-dark-checkbox:checked + label:before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    width: 24px;
    height: 22px;
    border: none;
    background: #ececec;
    border-radius: 5px;
    box-shadow: none;
}


/* checked mark aspect */
[type="checkbox"].vcod.cb-modal-dark-checkbox:not(:checked) + label:after,
[type="checkbox"].vcod.cb-modal-dark-checkbox:checked + label:after {
    content: 'i';
    font-family: seg;
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 12px;
    border: none;
    font-weight:bolder;
    color: #666;
    transition: all .1s;
}

[type="checkbox"].vcod.cb-modal-dark-checkbox.text-active:not(:checked) + label:before, [type="checkbox"].vcod.cb-modal-dark-checkbox.text-active:checked + label:before {
    background-color: #4fa1bf;
}

/* checked mark aspect changes */
[type="checkbox"].cb-custom:not(:checked) + label:after, [type="checkbox"].vcod:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

[type="checkbox"].cb-custom:checked + label:after, [type="checkbox"].vcod:checked + label:after {
    opacity: 1;
    transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"].cb-custom:disabled:not(:checked) + label:before,
[type="checkbox"].cb-custom:disabled:checked + label:before, [type="checkbox"].vcod:disabled:not(:checked) + label:before,
[type="checkbox"].vcod:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

[type="checkbox"].cb-custom:disabled:checked + label:after, [type="checkbox"].vcod:disabled:checked + label:after {
    color: #999;
}

[type="checkbox"].cb-custom:disabled + label, [type="checkbox"].cb-custom:disabled + label {
    color: #aaa;
}
/* accessibility */
[type="checkbox"].cb-custom:checked:focus + label:before,
[type="checkbox"].cb-custom:not(:checked):focus + label:before, [type="checkbox"].vcod:checked:focus + label:before,
[type="checkbox"].vcod:not(:checked):focus + label:before {
    /* border: 1px dotted blue;*/
}

/* hover style just for information */
label:hover:before {
/* border: 1px solid #4778d9 !important; */
}

label.modal-reorder {
    margin-left: 40px;
    margin-top: -20px;
    font-size: 10px;
    font-weight: normal;
}

    
