
.center-on-page {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

input[type="checkbox"],
input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

label {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 0px 10px;
    line-height: 24px;
    cursor: pointer;
    font-weight: 400;
    border: 1px solid #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #000;
    border-radius: 3px;
}

    label::before {
        content: " ";
        position: absolute;
        top: 6px;
        left: 0;
        display: block;
        width: 15px;
        height: 15px;
        border: 2px solid #000;
        border-radius: 100%;
        z-index: -1;
    }

input[type="radio"] + label::before {
    border-radius: 3px;
}
/* Checked */
input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
    background:#000;
    color:#fff;
    border:0px;
    padding:3px 10px;
}

    input[type="checkbox"]:checked + label::before,
    input[type="radio"]:checked + label::before {
        top: 0;
        width: 100%;
        height: 100%;
        background: #000;
    }

input[type="checkbox"]:disabled + label::before,
input[type="radio"]:disabled + label::before {
    background: #ccc;
    border: 2px solid #ccc;
}

/* Transition */
label,
label::before {
    transition: .25s all ease;
}

.aktifcheck {
    border-radius: 3px;
    padding-left: 10px;
    color: #fff !important;
    background: #000 !important;
    border: 2px solid #000;
}

@media only screen and (max-width: 1000px) {
    label {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 11px;
        color: #000;
    }

        label::before {
            content: " ";
            position: absolute;
            top: 6px;
            left: 0;
            display: block;
            width: 15px;
            height: 15px;
            border: 2px solid #000;
            border-radius: 100%;
            z-index: -1;
        }
}
