// button 暂时保留，不再使用
.btn,button,input[type=button],input[type=reset],input[type=submit] {
    font-weight: 400;
    font-size: .32rem;
    line-height: 1.9;
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
    padding: 6px 12px;
    cursor: pointer;
    -webkit-transition: all;
    transition: all;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    border: 1px solid #2e6da4;
    border-radius: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    background-color: #337ab7;
    background-clip: padding-box;
    color: #fff
}
// button,input,optgroup,select,textarea {
//     font: inherit;
//     margin: 0;
// }
input,textarea,select {
    font-family: 'Helvetica Neue',Helvetica,sans-serif;
    // font-size: 17px;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent
}

input:focus,textarea:focus,select:focus {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-modify: read-write-plaintext-only
}

.btn-success,.btn-green {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c
}

.btn-success:enabled:active,.btn-success.active:enabled,.btn-green:enabled:active,.btn-green.active:enabled {
    color: #fff;
    background-color: #449d44;
    border-color: #398439
}

.btn-warning,.btn-yellow {
    color: #fff;
    border: 1px solid #f0ad4e;
    background-color: #f0ad4e
}

.btn-warning:enabled:active,.btn-warning.active:enabled,.btn-yellow:enabled:active,.btn-yellow.active:enabled {
    color: #fff;
    border: 1px solid #ec971f;
    background-color: #ec971f
}

.btn-danger,.btn-negative,.btn-red {
    color: #fff;
    border: 1px solid #dd524d;
    background-color: #dd524d
}

.btn-white {
    background: #fff;
    color: #007aff
}

.btn-original {
    width: auto
}

.btn-half {
    width: 48%
}

.btn-link {
    background-color: inherit;
    color: #007aff;
    border: 0;
    cursor: pointer
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc
}


input[type=color]:not(.weui-input),
input[type=date]:not(.weui-input),
input[type=datetime-local]:not(.weui-input),
input[type=datetime]:not(.weui-input),
input[type=email]:not(.weui-input),
input[type=month]:not(.weui-input),
input[type=number]:not(.weui-input),
input[type=password]:not(.weui-input),
input[type=search]:not(.weui-search-bar__input),
input[type=tel]:not(.weui-input),
input[type=text]:not(.weui-input),
input[type=time]:not(.weui-input),
input[type=url]:not(.weui-input),
input[type=week]:not(.weui-input),
input[type=telephone]:not(.weui-input),
select:not(.weui-select),
textarea:not(.weui-textarea) {
    line-height: 21px;
    width: 100%;
    height: 40px;
    font-size: 17px;
    // margin-bottom: 5px;
    padding: 10px 15px;
    -webkit-user-select: text;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 3px;
    outline: 0;
    background-color: #fff;
    -webkit-appearance: none
}

input[type=button]:enabled:active,
input[type=button].active:enabled,
input[type=submit]:enabled:active,
input[type=submit].active:enabled,
input[type=reset]:enabled:active,
input[type=reset].active:enabled,
button:not(.weui-btn):enabled:active,
button:not(.weui-btn).active:enabled,
.btn:not(.weui-btn):enabled:active,
.btn:not(.weui-btn).active:enabled {
    color: #fff;
    border: 1px solid #0062cc;
    background-color: #0062cc
}

input[type=button]:disabled,input[type=button].disabled,input[type=submit]:disabled,input[type=submit].disabled,input[type=reset]:disabled,input[type=reset].disabled,button:disabled,button.disabled,.btn:disabled,.btn.disabled {
    opacity: .6
} 


textarea:not(.weui-textarea) {
    height: auto;
    resize: none;
    display: block
}


input[type=search]:not(.weui-search-bar__input) {
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 34px;
    /* text-align: center; */
    border: 0;
    border-radius: 6px;
    background-color: rgba(0,0,0,.1)
}

.input-range input[type=range] {
    position: relative;
    width: 100%;
    height: 2px;
    margin: 17px 0;
    padding: 0;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
    outline: 0;
    background-color: #999;
    -webkit-appearance: none!important
}

.input-range input[type=range]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    border-color: #0062cc;
    border-radius: 50%;
    background-color: #007aff;
    background-clip: padding-box;
    -webkit-appearance: none!important
}

.group-title {
    margin: 20px 15px 10px;
    color: #6d6d72;
    font-size: 15px
}

.input-group {
    position: relative;
    background-color: #fff
}

.input-group:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #c8c7cc
}

.input-group:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #c8c7cc
}

.input-group:first-child {
    margin-top: 20px
}

.input-group~.content-padded {
    margin-top: 25px
}

.input-row {
    clear: left;
    overflow: hidden;
    position: relative
}

.input-row label+input,.input-row:last-child,.input-row label+select {
    background: 0 0
}
.input-group .input-row:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 15px;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #D9D9D9;
}

.input-row label {
    width: 35%;
    font-family: 'Helvetica Neue',Helvetica,sans-serif;
    line-height: 21px;
    padding: 10px 15px;
    display: inline-block
}

.input-row label~input,.input-row label~select,.input-row label~textarea {
    float: right;
    width: 65%;
    margin-bottom: 0;
    padding-left: 0;
    border: 0
}

.radio,.checkbox {
    position: relative
}

.radio label,.checkbox label {
    display: inline-block;
    float: none;
    width: 100%;
    padding-right: 58px;
    vertical-align: top;
    font-size: .32rem;
}

.radio.left input[type=radio],.checkbox.left input[type=checkbox] {
    left: 20px;
}

.radio.left label,.checkbox.left label {
    padding-right: 15px;
    padding-left: 50px;
}

.radio input[type=radio],.checkbox input[type=checkbox] {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 20px;
    width: auto;
    height: auto;
    display: flex;
    padding: 0;
    // width: 28px;
    // height: 26px;
    border: 0;
    outline: 0!important;
    background-color: transparent;
    -webkit-appearance: none;
    margin: 0;
}

.radio input[type=radio][disabled]:before,checkbox input[type=checkbox][disabled]:before {
    opacity: .3
}

.radio input[type=radio]:before,.checkbox input[type=checkbox]:before {
    // font-family: iconfont;
    font-family: Muiicons;
    font-size: .46rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    color: #aaa;
    border-radius: 0;
    background: 0 0;
    -webkit-font-smoothing: antialiased
}

.radio input[type=radio]:checked:before,.checkbox input[type=checkbox]:checked:before {
    color: #007aff
}

.radio.disabled label,.radio label.disabled,.checkbox.disabled label,.checkbox label.disabled {
    opacity: .4
}

.radio input[type=radio]:before {
    content: '\e411'
}

.radio input[type=radio]:checked:before {
    content: '\e441'
}

.checkbox input[type=checkbox]:before {
    content: '\e411'
}

.checkbox input[type=checkbox]:checked:before {
    content: '\e442'
}

.checkbox.cbIcon_x input[type=checkbox]:checked:before {
    content: '\e404'
}

// 新增
.input-inline {
    display: flex;
    .radio.left label,
    .checkbox.left label {
        padding-right: 15px;
        padding-left: 35px;
    }
    .radio.left input[type=radio],.checkbox.left input[type=checkbox] {
        left: 5px;
    }
}
//  整理iconfont后使用
// .radio input[type=radio]:before {
//     content: '\e10c'
// }

// .radio input[type=radio]:checked:before {
//     content: '\e10a'
// }

// .checkbox input[type=checkbox]:before {
//     content: '\e10c'
// }

// .checkbox input[type=checkbox]:checked:before {
//     content: '\e10b'
// }
