/* 2018-09 增加表单相关样式 */

.form-box {
    display: block;
    width: 100%;
}

.pw-zform {
    width: 90%;
    max-width: 768px;
    padding: 20px;
    margin: 10px auto;
    display: block;
    background-color: #fff;
    border: 1px solid #ECEDEF;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pw-zform-item-box {
    width: 100%;
    min-height: 36px;
}

.pw-zform-title-box {
    padding: 10px 20px;
}

.pw-zform-title {
    font-size: 20px;
    color: #4e4e4e;
    font-weight: 700;
}

.pw-zform-help {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
}

.pw-zform-item, .pw-zform-footer {
    display: block;
    margin-top: 20px;
    position: relative;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pw-zform-item:after, .pw-zform-footer:after {
    content: '';
    display: table;
    clear: both;
}

.pw-zform-footer > div {
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pw-zform-item-label {
    padding: 5px;
    text-align: right;
}

.pw-zform-item-label-no:after {
    display: none;
}

@media (max-width: 767px) {
    .pw-zform-item-label {
        padding: 5px;
        text-align: left;
    }

    .pw-zform-item-label:after {
        display: none;
    }
}

.pw-zform-btn {
    line-height: 32px;
    display: inline-block;
    font-weight: 400;
    margin: 0 20px 0 0;
    text-align: center;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 15px;
    font-size: 14px;
    border-radius: 4px;
    height: 32px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, .015);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .015);
    color: rgba(0, 0, 0, .65);
    background: #fff none;
    border: 1px solid #d9d9d9;
    text-transform: none;
}

.pw-zform-btn[disabled] {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.pw-zform-btn:active {
    opacity: 1 !important;
}

.pw-zform-btn-primary {
    background: #409EFF none;
    opacity: 0.8;
    color: #fff;
}

.pw-zform-btn-success {
    background: #3db389 none;
    opacity: 0.8;
    color: #fff;
}

.pw-zform-btn-warning {
    background: #E6A23C none;
    opacity: 0.8;
    color: #fff;
}

.pw-zform-btn-danger {
    background: #F56C6C none;
    opacity: 0.8;
    color: #fff;
}

.pw-zform-btn-default {
    background: #d9d9d9 none;
    opacity: 0.8;
    color: #000;
}

.pw-zform-item-label.required:before {
    content: '*';
    color: red;
    margin: 0 5px 0 2px;
}

.pw-zform-item-label:after {
    content: ':';
    margin: 0 12px 0 2px;
}

.pw-zform-item-content {
    display: block;

}

.pw-zform-item-control-top {
    width: 100%;
    display: block;
    padding: 5px;
}

.pw-zform-item-control-box {
    display: table;
    width: 100%;
}

.pw-zform-item-control {
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.pw-zform-prefix, .pw-zform-suffix {
    display: table-cell;
    vertical-align: top;
    width: 0;
    white-space: nowrap;
    padding: 4px 10px;
    font-size: 14px;
}

.pw-zform-fix {
    background-color: #f0f0f0;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

.pw-zform-prefix.pw-zform-fix {
    border-left: 1px solid #d9d9d9;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pw-zform-suffix.pw-zform-fix {
    border-right: 1px solid #d9d9d9;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pw-zform-item-help {
    display: block;
    color: #999;
}

.pw-zform-input-box {
    display: table-cell;
    vertical-align: top;
    width: 100%;
}

.pw-zform-slider-box,
.pw-zform-input-group,
.pw-zform-checkbox-group,
.pw-zform-radio-group {
    width: 100%;
    margin: 0 10px 0 0;
}

.pw-zform-slider-box,
.pw-zform-input-group,
.pw-zform-checkbox-group,
.pw-zform-radio-group {
    display: inline-table;
    width: 100%;
}

.pw-zform-input {
    border: 1px solid #d9d9d9;
    position: relative;
    font-variant: tabular-nums;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0;
    list-style: none;
    display: inline-block;
    padding: 4px 11px;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    color: #4e4e4e;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.pw-zform-input[disabled] {
    background-color: #f0f0f0;
}

div.pw-zform-input {
    display: table-cell !important;
    padding: 0;
}

div.pw-zform-input .pw-zform-input {
    border: none;
    height: 30px;
}

textarea.pw-zform-input {
    height: auto !important;
}

textarea.pw-zform-input {
    border-radius: 4px;
}

.pw-zform-input-group > .pw-zform-input {
    width: 100%;
    max-width: 100%;
}

.pw-zform-input-group > input.pw-zform-input .pw-zform-input-group > select.pw-zform-input {
    border-radius: 0;
}

select.pw-zform-input {
    height: 32px !important;
}

select.pw-zform-input[multiple] {
    height: auto !important;
}

.pw-zform-input-group > .pw-zform-input:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pw-zform-input-group > .pw-zform-input:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pw-zform-checkbox > input, .pw-zform-radio > input,
.pw-zform-checkbox-inline > input, .pw-zform-radio-inline > input {
    opacity: 0;
    z-index: -1;
}

.pw-zform-checkbox > span:before, .pw-zform-checkbox-inline > span:before,
.pw-zform-radio > span:before, .pw-zform-radio-inline > span:before {
    content: '';
    display: inline-block;
    margin-right: 8px;
    position: relative;
    width: 14px;
    height: 14px;
    top: 2px;
    border: 1px solid #d9d9d9;
}

.pw-zform-checkbox > span:before, .pw-zform-checkbox-inline > span:before {
    border-radius: 4px;
}

.pw-zform-radio > span:before, .pw-zform-radio-inline > span:before {
    border-radius: 50%;
}

.pw-zform-checkbox:hover > span:before,
.pw-zform-checkbox-inline:hover > span:before,
.pw-zform-radio:hover > span:before,
.pw-zform-radio-inline:hover > span:before,
.pw-zform-checkbox > input:checked + span:before,
.pw-zform-checkbox-inline > input:checked + span:before,
.pw-zform-radio > input:checked + span:before,
.pw-zform-radio-inline > input:checked + span:before,
.pw-zform-input:focus, .pw-zform-input:hover {
    border-color: #3db389;
}

.pw-zform-checkbox > span,
.pw-zform-checkbox-inline > span,
.pw-zform-radio > span,
.pw-zform-radio-inline > span {
    position: relative;
}

.pw-zform-checkbox > span,
.pw-zform-checkbox-inline > span,
.pw-zform-radio > span,
.pw-zform-radio-inline > span,
.pw-zform-checkbox > span:before,
.pw-zform-checkbox-inline > span:before,
.pw-zform-radio > span:before,
.pw-zform-radio-inline > span:before,
.pw-zform-checkbox > span:after,
.pw-zform-checkbox-inline > span:after,
.pw-zform-radio > span:after,
.pw-zform-radio-inline > span:after {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.pw-zform-input:focus {
    box-shadow: 0 0 0 2px rgba(29, 165, 122, .2);
    -webkit-box-shadow: 0 0 0 2px rgba(29, 165, 122, .2);
}

.pw-zform-checkbox > input:checked + span,
.pw-zform-checkbox-inline > input:checked + span,
.pw-zform-radio > input:checked + span,
.pw-zform-radio-inline > input:checked + span,
.pw-zform-checkbox:hover > span,
.pw-zform-checkbox-inline:hover > span,
.pw-zform-radio:hover > span,
.pw-zform-radio-inline:hover > span {
    color: #3db389;
}

.pw-zform-checkbox > input:checked + span:after,
.pw-zform-checkbox-inline > input:checked + span:after {
    content: '';
    display: block;
    position: absolute;
    height: 8px;
    width: 4px;
    left: 4px;
    top: 3px;
    border-bottom: 2px solid #3db389;
    border-right: 2px solid #3db389;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
}

.pw-zform-radio > input:checked + span:after,
.pw-zform-radio-inline > input:checked + span:after {
    content: '';
    display: block;
    position: absolute;
    height: 8px;
    width: 8px;
    left: 4px;
    top: 5px;
    border-radius: 50%;
    background-color: #3db389;
}

.pw-zform-checkbox, .pw-zform-radio,
.pw-zform-checkbox-inline, .pw-zform-radio-inline {
    position: relative;
    padding-top: 5px;
    margin-right: 10px;
}

.pw-zform-checkbox, .pw-zform-radio {
    display: block;
}

.pw-zform-checkbox-inline, .pw-zform-radio-inline {
    display: inline-block;
}

.pw-zform-switch {
    display: inline-block;
    position: relative;
    padding: 5px;
    margin-right: 10px;
    height: 32px;
    width: 54px;
    box-sizing: border-box;
    overflow: hidden;
}

.pw-zform-switch > .pw-zform-switch-back {
    display: block;
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    right: 10px;
    border-radius: 11px;
    background-color: #bfbfbf;
}

.pw-zform-switch > .pw-zform-switch-dot {
    content: '';
    display: block;
    position: absolute;
    left: 2px;
    top: 7px;
    height: 18px;
    width: 18px;
    border-radius: 9px;
    background-color: white;
}

.pw-zform-switch > .pw-zform-switch-back, .pw-zform-switch > .pw-zform-switch-dot {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.pw-zform-switch.checked > .pw-zform-switch-back {
    background-color: #3db389;
}

/*.pw-zform-switch > input:checked + span {*/
/*background-color: #3db389;*/
/*}*/

/*.pw-zform-switch > input:checked + span:after {*/
/*left: 24px;*/
/*}*/

.pw-zform-switch.checked > .pw-zform-switch-dot {
    left: 24px;
}

.pw-zform-switch > input {
    z-index: -1;
}

.pw-zform-slider {
    display: block;
    height: 32px;
    vertical-align: top;
    width: 100%;
    position: relative;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    user-select: none;
}

.pw-zform-slider > input {
    margin: 4px 0;
    visibility: hidden;
}

.pw-zform-slider-bar {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
    box-sizing: content-box;
    background-color: #e5e5e5;
}

.pw-zform-slider-rate {
    position: relative;
    width: 0;
    height: 100%;
    background-color: #3db389;
}

.pw-zform-slider-dot {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: -6px;
    margin-right: -8px;
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #3db389;
    background-color: #fff;
    border-radius: 50%;
}

.pw-zform-slider-tip {
    display: none;
    position: absolute;
    top: -32px;
    right: 0;
    padding: 0 4px;
    color: #fff;
    background-color: #000;
    border-radius: 4px;
    text-align: center;
}

.pw-zform-slider-triangle {
    display: none;
    position: absolute;
    right: -6px;
    top: -12px;
    width: 0;
    height: 0;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-top-color: #000;
    border-left-color: transparent;
    border-right-color: transparent;
}

.hover .pw-zform-slider-triangle, .hover .pw-zform-slider-tip {
    display: inline-block;
}

.pw-zform-slider:hover > .pw-zform-slider-bar {
    background-color: #d4d4d4;
}

.pw-zform-slider-dot.action {
    border-width: 4px;
}

.pw-zform-number {
    width: 100%;
    display: inline-block;
    position: relative;
}

.pw-zform-number > .pw-zform-input {
    padding-right: 60px;
}

.pw-zform-number-up, .pw-zform-number-dw {
    display: none;
    position: absolute;
    width: 30px;
    top: 0;
    height: 30px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    user-select: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.pw-zform-number-up {
    right: 0;
}

.pw-zform-number-dw {
    right: 32px;
    border-left: 1px solid #d5d5d5;
}

.hover .pw-zform-number-up, .hover .pw-zform-number-dw {
    display: inline-block;
}

.hover.pw-zform-number-up, .hover.pw-zform-number-dw {
    color: #fff;
    background-color: #3db389;
}

.pw-zform-rate {
    display: block;
    height: 100%;
    position: relative;
}

.pw-zform-rate-back {
    text-shadow: 0 0 2px rgba(0, 0, 0, .5);
}

.pw-zform-rate-back, .pw-zform-rate-item {
    display: block;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: #fafafa;
    color: #d9d9d9 \9;
    left: 0;
    top: 0;
}

.pw-zform-rate-back, .pw-zform-rate-back > span {
    position: relative;
}

.pw-zform-rate-item {
    position: absolute;
}

.pw-zform-rate-back > input[type=radio] {
    display: inline;
    position: absolute;
    right: -18px;
    top: 12px;
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.pw-zform-rate-item {
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none; /*webkit浏览器*/
    -ms-user-select: none; /*IE10*/
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.pw-zform-rate-item.hover {
    color: #3db389;
    text-shadow: 0 0 2px rgba(61, 179, 137, .5);
    -moz-opacity: 1;
    opacity: 1;
    filter: alpha(opacity=100);
}

.pw-zform-rate-item input[type=radio] {
    display: inline;
    position: absolute;
    right: 6px;
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.pw-zform-rate-item span {
    display: block;
}

.pw-zform-rate-clear {
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: -22px;
    top: 0;
    line-height: normal;
    font-size: 16px;
    color: #d9d9d9;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.pw-zform-rate-clear.hover {
    color: #3db389;
}

.pw-zform-date-box, .pw-zform-time-box {
    display: block;
    position: relative;
    width: 240px;
    height: 100%;
}

.pw-zform-date-picker, .pw-zform-time-picker {
    display: block;
    position: relative;
}

.pw-zform-upload {
    position: relative;
    display: block;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    margin-bottom: 10px;
}

.pw-zform-upload-info {
    display: block;
    position: relative;
    font-size: 14px;
}

.pw-zform-upload-name {
    color: #3db389;
}

.pw-zform-upload-clear {
    display: none;
    position: absolute;
    width: 14px;
    height: 14px;
    right: -8px;
    top: 0;
    color: #f00;
}

.action > .pw-zform-upload-clear {
    display: block;
}

.pw-zform-auth-code {
    position: absolute;
    width: 63px;
    height: 22px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.pw-zform-auth-code + span {
    display: block;
    width: 63px;
    height: 22px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.picker__select--year, .picker__select--month {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.picker__holder {
    bottom: 100% !important;
}

.picker--opened .picker__holder {
    bottom: 0 !important;
}

.pw-zform .col-1 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 4.16666%;
}

.pw-zform .col-2 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 8.33333%;
}

.pw-zform .col-3 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 12.5%;
}

.pw-zform .col-4 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 16.66666%;
}

.pw-zform .col-5 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 20.83333%;
}

.pw-zform .col-6 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 25%;
}

.pw-zform .col-7 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 29.16666%;
}

.pw-zform .col-8 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 33.33333%;
}

.pw-zform .col-9 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 37.5%;
}

.pw-zform .col-10 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 41.66666%;
}

.pw-zform .col-11 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 45.83333%;
}

.pw-zform .col-12 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 50%;
}

.pw-zform .col-13 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 54.16666%;
}

.pw-zform .col-14 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 58.33333%;
}

.pw-zform .col-15 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 62.5%;
}

.pw-zform .col-16 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 66.66666%;
}

.pw-zform .col-17 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 70.83333%;
}

.pw-zform .col-18 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 75%;
}

.pw-zform .col-19 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 79.16666%;
}

.pw-zform .col-20 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 83.33333%;
}

.pw-zform .col-21 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 87.5%;
}

.pw-zform .col-22 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 91.66666%;
}

.pw-zform .col-23 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 95.83333%;
}

.pw-zform .col-24 {
    margin-bottom: 4px;
    position: relative;
    display: block;
    float: left;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
}

@media (max-width: 767px) {
    .pw-zform .col-6,
    .pw-zform .col-7,
    .pw-zform .col-8,
    .pw-zform .col-9,
    .pw-zform .col-10,
    .pw-zform .col-11,
    .pw-zform .col-12,
    .pw-zform .col-13,
    .pw-zform .col-14,
    .pw-zform .col-15,
    .pw-zform .col-16,
    .pw-zform .col-17,
    .pw-zform .col-18,
    .pw-zform .col-19,
    .pw-zform .col-20,
    .pw-zform .col-21,
    .pw-zform .col-22,
    .pw-zform .col-23,
    .pw-zform .col-24 {
        margin-bottom: 4px;
        width: 100%;
    }
}

/* 2018-09 增加表单相关样式 END*/
