
.center-on-page {
    transform: translate(-50%,-50%);
}
.check_fill_box,
.radio_btn {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.check_fill_label{
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 10px;
    font-size: 16px;
    line-height: 34px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
}

.check_fill_label::before {
    content: " ";
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 22px;
    height: 22px;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    z-index: -1;
}

.check_fill_label_colored::before {
    border: 1px solid var(--primary-color);
}

.radio_btn + .check_fill_label::before {
    border-radius: 18px;
}
/* Checked */
.check_fill_box:checked + .check_fill_label,
.radio_btn:checked + .check_fill_label {
    padding-left: 15px;
    color: var(--primary-color);
}
.check_fill_box_colored:checked + .check_fill_label_colored {
    color: #FFFFFF;
}
.check_fill_box:checked + .check_fill_label::before,
.radio_btn:checked + .check_fill_label::before {
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 100px;
}
.check_fill_box_colored:checked + .check_fill_label_colored::before {
    background: var(--primary-color);
}
/* Transition */
.check_fill_label,
.check_fill_label::before {
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

.check_fill_label > span{
    font-size: 15px;
    opacity: 0;
    width: 0;
    padding-right: 5px;
    overflow: hidden;
}

.check_fill_box:checked + .check_fill_label > span {
    width: auto;
    opacity: 1;
}