.custom-checkbox {
    display: inline-flex;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    align-items: center;
    cursor: pointer;
    flex-wrap: wrap;
    padding: 4px;
}
.html--invert .custom-checkbox {
    color: var(--text-color-invert);
}

.custom-checkbox__field {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin: 0;
    left: 4px;
    top: 4px;
    z-index: 3;
}

.custom-checkbox__checkmark {
    position: relative;
    height: 16px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    transition: 200ms ease all;
    width: 3%;
    min-width: 16px;
    max-width: 16px;
}

.custom-checkbox:hover .custom-checkbox__field~.custom-checkbox__checkmark {
    border: 1px solid #0C84D1;
}

.custom-checkbox__field:checked~.custom-checkbox__checkmark {
    border: 1px solid #0C84D1;
    background: #0C84D1;
}

.custom-checkbox__checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox__field:checked~.custom-checkbox__checkmark:after {
    display: block;
}

.custom-checkbox__checkmark:after {
    content: url('./images/check.png');
    left: 2px;
    top: -4px;
}

.custom-checkbox__text {
    padding-left: 10px;
    max-width: 90%;
}

.custom-checkbox a {
    color: #0C84D1;
}

.custom-checkbox a:hover {
    text-decoration: underline;
}

.custom-checkbox__help-block {
    width: 100%;
    font-size: 12px;
    color: #D10C0C;
    margin-top: 5px;
    cursor: default;
}

.custom-checkbox--without-help-block .custom-checkbox__help-block {
    display: none;
}

.table--without-checkboxes .table__main-checkbox, .table--without-checkboxes .table__checkbox {
    display: none;
}

.custom-checkbox--small-text .custom-checkbox__text {
    font-size: 12px;
    max-width: 90%;
    color: #808080;
    line-height: 1.2;
}

.custom-checkbox__text a {
    position: relative;
    z-index: 10;
    color: #0C84D1;
    text-decoration: underline;
}

.custom-checkbox__text a:hover {
    text-decoration: none;
}