/* 多选框单选框样式 */

.cim-radio,
.cim-checkbox {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.cim-radio.cim-radio-disabled,
.cim-radio.cim-checkbox-disabled,
.cim-checkbox.cim-radio-disabled,
.cim-checkbox.cim-checkbox-disabled {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.cim-radio>input,
.cim-checkbox>input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    filter: alpha(opacity=0);
}

.cim-radio>span,
.cim-checkbox>span {
    border: 1px solid transparent;
    position: absolute;
    top: 0px;
    left: 0;
    height: 19px;
    width: 19px;
    background: #E6E6E6;
}

.cim-radio>span:after,
.cim-checkbox>span:after {
    content: '';
    position: absolute;
    display: none;
}

.cim-radio:hover>input:not([disabled])~span,
.cim-radio>input:focus~span,
.cim-checkbox:hover>input:not([disabled])~span,
.cim-checkbox>input:focus~span {
    background: #d9d9d9;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.cim-radio>input:checked~span,
.cim-checkbox>input:checked~span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: #d9d9d9;
}

.cim-radio>input:checked~span:after,
.cim-checkbox>input:checked~span:after {
    display: block;
}

.cim-radio:hover>input:not([disabled]):checked~span,
.cim-radio>input:checked~span,
.cim-checkbox:hover>input:not([disabled]):checked~span,
.cim-checkbox>input:checked~span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: #d9d9d9;
}

.cim-radio>input:disabled~span,
.cim-checkbox>input:disabled~span {
    opacity: 0.6;
    filter: alpha(opacity=60);
    pointer-events: none;
}

.cim-radio.cim-radio-outline>span,
.cim-radio.cim-checkbox-outline>span,
.cim-checkbox.cim-radio-outline>span,
.cim-checkbox.cim-checkbox-outline>span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio.cim-radio-outline:hover>input:not([disabled])~span,
.cim-radio.cim-radio-outline>input:focus~span,
.cim-radio.cim-checkbox-outline:hover>input:not([disabled])~span,
.cim-radio.cim-checkbox-outline>input:focus~span,
.cim-checkbox.cim-radio-outline:hover>input:not([disabled])~span,
.cim-checkbox.cim-radio-outline>input:focus~span,
.cim-checkbox.cim-checkbox-outline:hover>input:not([disabled])~span,
.cim-checkbox.cim-checkbox-outline>input:focus~span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio.cim-radio-outline>input:checked~span,
.cim-radio.cim-checkbox-outline>input:checked~span,
.cim-checkbox.cim-radio-outline>input:checked~span,
.cim-checkbox.cim-checkbox-outline>input:checked~span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio.cim-radio-outline:hover>input:not([disabled]):checked~span,
.cim-radio.cim-radio-outline>input:checked~span,
.cim-radio.cim-checkbox-outline:hover>input:not([disabled]):checked~span,
.cim-radio.cim-checkbox-outline>input:checked~span,
.cim-checkbox.cim-radio-outline:hover>input:not([disabled]):checked~span,
.cim-checkbox.cim-radio-outline>input:checked~span,
.cim-checkbox.cim-checkbox-outline:hover>input:not([disabled]):checked~span,
.cim-checkbox.cim-checkbox-outline>input:checked~span {
    border: 1px solid #d9d9d9;
    background: none;
}

.cim-radio>span {
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    -ms-border-radius: 50% !important;
    -o-border-radius: 50% !important;
    border-radius: 50% !important;
}

.cim-radio>span:after {
    left: 6px;
    top: 6px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #666666;
}

.cim-radio>input:disabled~span:after {
    background: #666666;
}

th>.cim-radio.cim-radio-single,
td>.cim-radio.cim-radio-single {
    right: -5px;
}

.cim-checkbox>span:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #666666;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cim-checkbox>input:disabled~span:after {
    border-color: #666666;
}

.checkbox .cim-checkbox {
    margin-bottom: 5px;
    padding-left: 26px;
}

.form-inline .cim-checkbox {
    margin-left: 15px;
    margin-right: 15px;
}

th>.cim-checkbox.cim-checkbox-single,
td>.cim-checkbox.cim-checkbox-single {
    right: -5px;
}

.cim-checkbox-list,
.cim-radio-list {
    padding: 10px 0;
}

.form-horizontal .form-group .cim-checkbox-list,
.form-horizontal .form-group .cim-radio-list {
    padding-top: 0;
}

.cim-checkbox-list .cim-checkbox,
.cim-checkbox-list .cim-radio,
.cim-radio-list .cim-checkbox,
.cim-radio-list .cim-radio {
    display: block;
}

.cim-checkbox-inline,
.cim-radio-inline {
    padding: 10px 0;
}

.form-horizontal .form-group .cim-checkbox-inline,
.form-horizontal .form-group .cim-radio-inline {
    padding-top: 8px;
}

.cim-checkbox-inline .cim-checkbox,
.cim-checkbox-inline .cim-radio,
.cim-radio-inline .cim-checkbox,
.cim-radio-inline .cim-radio {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 0px;
}

.cim-checkbox-inline .cim-checkbox:last-child,
.cim-checkbox-inline .cim-radio:last-child,
.cim-radio-inline .cim-checkbox:last-child,
.cim-radio-inline .cim-radio:last-child {
    margin-right: 0;
}