.styled_checkbox {
    position: absolute;
    opacity: 0;
}

.styled_checkbox+label {
    position: relative;
    cursor: pointer;
    padding: 0;
    padding-left: 40px;
    line-height: 24px;
    text-align: left;
}

.styled_checkbox+label:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    border: 3px solid #a4a4a4;
    background: #f3f3f4;
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    bottom: 0;
    /* margin-right: 32px; */
}


.styled_checkbox:hover+label:before {
    background: #fff;
}

.styled_checkbox:disabled+label {
    color: #b8b8b8;
    cursor: auto;
}

.styled_checkbox:disabled+label:before {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #ddd;
}

.styled_checkbox:checked+label:after {
    position: absolute;
    left: -1px;
    top: -3px;
    bottom: 0;
    right: 0;
    background: transparent;
    color: black;
    width: 31px;
    height: 28px;
    content: '\e804';
    font-family: 'estatebud';
    font-size: 15px;
    line-height: 14px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    text-indent: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
    SMALL CHECKBOX
**/


.styled_checkbox_small {
    display: none !important;
    position: absolute;
    opacity: 0;
}

.styled_checkbox_small+label {
    position: relative;
    cursor: pointer;
    padding: 0;
    line-height: 24px;
    text-indent: 30px;
    display: block;
}

.styled_checkbox_small+label:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    border: 2px solid #a4a4a4;
    background: #f3f3f4;
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    bottom: 0;
}


.styled_checkbox_small:hover+label:before {
    background: #fff;
}

.styled_checkbox_small:disabled+label {
    color: #b8b8b8;
    cursor: auto;
}

.styled_checkbox_small:disabled+label:before {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #ddd;
}

.styled_checkbox_small:checked+label:after {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0;
    right: 0;
    background: transparent;
    color: black;
    width: 18px;
    height: 20px;
    content: '\e804';
    font-family: 'estatebud';
    font-size: 14px;
    line-height: 14px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    text-indent: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}