.wrapper {
    max-width: 450px;
    width: 100%;
    margin: 0px;
    background: #fff;
    border-radius: 3px;
    padding: 0px;
    text-align: left;
}

.checkbox_item .title {
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e9ec;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 25px;
    text-align: center;
}

.checkbox_item .checkbox_wrap {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100px;
    margin: 0px;
}

.checkbox_item:last-child .checkbox_wrap {
    margin-bottom: 0;
}

.checkbox_item .checkbox_wrap .checkbox_inp {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.checkbox_item .checkbox_wrap .checkbox_mark {
    display: inline-block;
    position: relative;
    border-radius: 25px;
}

    .checkbox_item .checkbox_wrap .checkbox_mark:before,
    .checkbox_item .checkbox_wrap .checkbox_mark:after {
        content: "";
        position: absolute;
        transition: all 0.2s ease;
    }



/* basic styles */
.checkbox_item.citem_1 .checkbox_wrap .checkbox_mark {
    background: #aaaaaa;
    width: 50px;
    height: 26px;
    padding: 2px;
}

    .checkbox_item.citem_1 .checkbox_wrap .checkbox_mark:before {
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
    }

.checkbox_item.citem_1 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark {
    background: #52b517;
}

    .checkbox_item.citem_1 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark:before {
        left: 27px;
    }

/* flat styles */
.checkbox_item.citem_2 .checkbox_wrap .checkbox_mark {
    border: 5px solid #f0f0f0;
    width: 50px;
    height: 26px;
    padding: 1px;
}

    .checkbox_item.citem_2 .checkbox_wrap .checkbox_mark:before {
        top: 1px;
        left: 1px;
        width: 22px;
        height: 18px;
        background: #f0f0f0;
        border-radius: 25px;
    }

.checkbox_item.citem_2 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark {
    border-color: #52b517;
}

    .checkbox_item.citem_2 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark:before {
        left: 22px;
        background: #52b517;
    }

/* skewed styles */
.checkbox_item.citem_3 .checkbox_wrap .checkbox_mark {
    width: 50px;
    height: 26px;
    padding: 1px;
    border-radius: 0;
    transform: skew(-10deg);
    overflow: hidden;
}

    .checkbox_item.citem_3 .checkbox_wrap .checkbox_mark:before,
    .checkbox_item.citem_3 .checkbox_wrap .checkbox_mark:after {
        top: 0;
        left: 0;
        width: 100%;
        height: 26px;
        text-align: center;
        line-height: 26px;
        font-size: 25px;
        color: #fff;
        font-weight: bold;
    }

    .checkbox_item.citem_3 .checkbox_wrap .checkbox_mark:before {
        content: "NO";
        background: #f0f0f0;
    }

    .checkbox_item.citem_3 .checkbox_wrap .checkbox_mark:after {
        content: "YES";
        left: -50px;
        background: #52b517;
    }

.checkbox_item.citem_3 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark:after {
    left: 0;
}

.checkbox_item.citem_3 .checkbox_wrap .checkbox_inp:checked ~ .checkbox_mark:before {
    left: 50px;
}
