.checkbox, .radio {
    position: relative;
    cursor: pointer;
    display: initial;
}

.checkbox::-moz-selection, .radio::-moz-selection {
    background: transparent;
}

.checkbox::selection, .radio::selection {
    background: transparent;
}

.checkbox input + span, .radio input + span {
    border: 1px solid #a9b4a2;
    content: '';
    display: inline-block;
    margin: 1px 10px 0 0;
    padding: 0;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

.radio input + span {
    width: 14px;
    height: 14px;
    margin: 2px 8px 0 0;
}

.checkbox input + span::after, .radio input + span::after {
    content: '';
    display: block;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
}

/* @media screen and (min-width: 768px) {
    .checkbox:hover input + span, .radio:hover input + span {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
}

.checkbox input:active + span, .radio input:active + span {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.checkbox input:focus + span, .radio input:focus + span {
    box-shadow: 0 0 0 3px lightblue;
} */

.checkbox input:checked + span::after, .radio input:checked + span::after {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.checkbox input, .radio input {
    position: absolute;
    cursor: pointer;
    opacity: 0;
}

.checkbox input + span::after {
    background: url("../images/check.png") no-repeat center;
    background-size: contain;
    width: 18px;
    height: 18px;
}

.radio input + span {
    border-radius: 100%;
}

.radio input + span::after {
    border-radius: 100%;
    margin: 2px 2px;
    width: 8px;
    height: 8px;
}

.radio input:checked + span::after {
    background: #a9b4a2;
}

.checkbox input + span,
.radio input + span {
    display: block;
    float: left;
}

.checkable__text {
    display: block;
    /* margin: 3px 0 0 26px; */
}