﻿
.span_pseudo, .chiller_cb span:before, .chiller_cb span:after {
    content: "";
    display: inline-block;
    background: #fff;
    width: 0;
    height: 0.2rem;
    position: absolute;
    transform-origin: 0% 0%;
}

.chiller_cb {
    position: relative;
    height: 2.2rem;
    align-items: center;
}

.chiller_cb input {
    display: none;
}

.chiller_cb input:checked ~ span {
    background: #006699;
    border-color: #006699;
}
.chiller_cb_success input:checked ~ span {
    background: #449d44;
    border-color: #449d44;
}
.chiller_cb_warning input:checked ~ span {
    background: #ec971f;
    border-color: #ec971f;
}
.chiller_cb_danger input:checked ~ span {
    background: #c9302c;
    border-color: #c9302c;
}

.chiller_cb input:checked ~ span:before {
    width: 1.3rem;
    height: 0.18rem;
    transition: width 0.1s;
    transition-delay: 0.3s;
}

.chiller_cb input:checked ~ span:after {
    width: 0.7rem;
    height: 0.18rem;
    transition: width 0.1s;
    transition-delay: 0.2s;
}

.chiller_cb input:disabled ~ span {
    border-color: #999999;
}
.chiller_cb input:disabled:checked ~ span {
    background: #999999;
    border-color: #999999;
}

.chiller_cb input:disabled ~ label {
    /*color: #dcdcdc;*/
}

.chiller_cb input:disabled ~ label:hover {
    cursor: default;
}

.chiller_cb label {
    padding-left: 2.6rem;
    font-weight: normal;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin-bottom: 0;
}

.chiller_cb span {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #ccc;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.2s;
    z-index: 1;
    box-sizing: content-box;
}

.chiller_cb span:before {
    transform: rotate(-55deg);
    top: 1.25rem;
    left: 0.5rem;
}

.chiller_cb span:after {
    transform: rotate(35deg);
    bottom: 0.52rem;
    left: 0.18rem;
}
