.checkbox {
    position: relative;

    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    align-items: flex-start;

    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    margin-bottom: 0;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    left: 2%;
}

.checkbox__checkmark {
    width: 24px;
    height: 24px;

    border: 1px solid #adbecc;
    box-sizing: border-box;
}

.checkbox:hover input ~ .checkbox__checkmark {
    border: 1px solid #adbecc;
}

.checkbox input:checked ~ .checkbox__checkmark {
    border: 1px solid #adbecc;
}

.checkbox__checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

.checkbox input:checked ~ .checkbox__checkmark:after {
    display: block;
}

.checkbox .checkbox__checkmark:after {
    left: 6px;
    top: 7px;

    width: 13px;
    height: 9px;

    background: url('./checkmark.svg');
}

.checkbox__text {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;

    margin-left: 20px;
    margin-top: 2px;

    font-size: 17px;
    line-height: 21px;

    color: #32516b;
}

.checkbox__text .ui-link {
    font-size: 17px;
    line-height: 21px;
}

.checkbox.checkbox--bold .checkbox__text {
    font-family: 'Montserrat Semibold';
    font-weight: bold;
}

@media (max-width: 576px) {
    .checkbox__text {
        font-size: 14px;
        line-height: 17px;

        margin-top: 4px;
    }
    .checkbox__text .ui-link {
        font-size: 14px;
        line-height: 17px;
    }
}
