﻿
body.body-form {
    background-color: #fff;
}

    body.body-form .content-wrap {
        margin-left: 6px;
        margin-right: 6px;
    }

    body.body-form .b-left {
        border-left: solid 1px #d3d5dc;
    }

    body.body-form .b-top {
        border-top: solid 1px #d3d5dc;
    }

    body.body-form .b-bottom {
        border-bottom: solid 1px #d3d5dc;
    }

    body.body-form .b-right {
        border-right: solid 1px #d3d5dc;
    }

    body.body-form .header {
        height: 56px;
        line-height: 56px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        align-items: center;
        justify-items: flex-start;
        background: #f7f9fd;
        border-bottom: solid 1px #ECECF6;
    }

        body.body-form .header .label {
        }



        body.body-form .header .btn-wrap {
            height: 24px;
            line-height: 24px;
        }

            body.body-form .header .btn-wrap.right {
                flex-grow: 1;
                text-align: right;
            }

            body.body-form .header .btn-wrap input, .header .btn-wrap select, body.body-form input[type="button"], body.body-form input[type="submit"] {
                line-height: 16px;
                min-width: 90px;
                height: 24px;
                margin-right: 12px;
            }

    body.body-form input[type="button"], body.body-form input[type="submit"] {
        line-height: 24px;
        height: 24px;
        padding-top: 0;
        padding-bottom: 0;
    }

    body.body-form .header input[type="button"], body.body-form .header input[type="submit"] {
    }

    body.body-form .header .btn-wrap input[type='checkbox'], body.body-form .header .btn-wrap input[type='radio'] {
        line-height: inherit;
        min-width: inherit;
        height: inherit;
        margin-right: 5px;
        padding: 0;
        height: 14px;
    }

    body.body-form .item input[type="button"], body.body-form .item input[type="submit"] {
        min-width: 30px;
        height: 32px;
        margin-right: 0;
    }

    body.body-form .item input[type="button"], body.body-form .item input[type="submit"] {
        min-width: 30px;
        height: 32px;
        margin-right: 0;
    }

    body.body-form .div-fitler .item input[type="button"], body.body-form .div-fitler .item input[type="submit"] {
        width: 90px;
    }

    body.body-form .content {
        float: none;
        min-height: inherit;
    }

        body.body-form .content > .section-wrap {
        }

.section-wrap {
}


    .section-wrap .title {
        height: 32px;
        line-height: 32px;
        border-bottom: solid 1px #d3d5dc;
        margin-top: 12px;
    }

        .section-wrap .title .label {
            font-size: 12px;
            color: #666666;
        }

        .section-wrap .title .item {
        }

body.body-form .section-wrap .header {
    background: #FFFFFF;
}


.section-wrap .desc {
}

.section-wrap .s-br {
    margin: 15px 0px;
}

.section-wrap .section {
}

    .section-wrap .section .section-desc {
        padding: 4px 0px;
        color: #D2D2D2;
    }

.section-wrap-table .header {
    border-bottom: solid 1px #d3d5dc;
}

.section-wrap-filter .section-c, .section-wrap-filter .div-fitler {
    padding: 15px 0;
}


.section-wrap .section.section-base {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 20px;
    padding-right: 20px;
}



.section-wrap .section.section-table {
    min-height: 150px;
}

    .section-wrap .section.section-table div {
        width: 100%;
    }

.section.section-table table {
    background-color: transparent;
    border-collapse: collapse;
}

    .section.section-table table tr th, .section.section-table table .tr-head > * {
        font-weight: bold;
        height: 29px;
        background: #f8f9fd;
        border-top: solid 0px #d3d5dc;
        border-bottom: solid 1px #ECECF6;
        border-left-color: #f8f9fd;
        border-right-color: #f8f9fd;
    }

    .section.section-table table input[type="text"], .section.section-table table input[type="number"], .section.section-table table select, .section.section-table table textarea {
        width: 90%;
    }

    .section.section-table table input[type="text"] {
    }

    .section.section-table table textarea {
        min-height: 32px;
    }



    .section.section-table table tr:not(.tr-head, .tr-total) td {
        border-bottom: 1px solid #D3D5DC;
        box-sizing: border-box;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .section.section-table table #trTotal td, .section.section-table table .tr-total td {
        text-align: right;
        padding: 4px 10px;
        font-size: 14px;
        font-weight: bold;
    }

.section .section-c {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-items: flex-start;
    flex-wrap: wrap;
}


.section .item {
    display: -webkit-flex; /*在webkit内核的浏览器上使用要加前缀*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 4px 8px;
    width: 370px;
}

.section-wrap .section.section-base .section-c {
    max-width: 1150px;
}


.section .section-c-view .item {
    line-height: 32px;
    min-height: 32px;
    padding: 0px 8px;
}

.section .item-2x {
    width: 740px;
}

.section .item-3x {
    width: 1110px;
}

.section .item-full {
    width: 1480px;
}


.section .item .item-label {
    width: 100px;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
    line-height: 1.2em;
    align-self: center;
}

    .section .item[required] .item-label:before, .section .item .item-label[required]:before {
        display: inline-block;
        margin-right: 4px;
        color: #f5222d;
        font-size: 14px;
        font-family: SimSun,sans-serif;
        line-height: 1;
        content: "*";
    }

    .section .item .item-label:not(.empty):after {
        content: ":";
        position: relative;
        top: -.5px;
        margin: 0 0px 0 2px;
    }

.section .item .item-c {
    width: calc(100% - 100px);
}


    .section .item input[type="text"], .section .item input[type="number"], .section .item select, .section .item .item-c select {
        width: 100%;
    }

.section .item textarea, .section .item .textarea {
    width: 100%;
}

.section .section-c-view .item .item-label {
    line-height: 1.8em;
    align-self: flex-start;
}

.section .section-c-view .item {
    line-height: 1.8em;
}

/*其他尺寸*/
.section .item.mini input[type="text"], .section .item.mini select {
    width: 60px;
}

.section .item.small input[type="text"], .section .item.small select {
    width: 90px;
}

.section .item.default input[type="text"], .section .item.default select {
    width: 160px;
}

.section .item.large input[type="text"], .section .item.large select {
    width: 407px;
}


/*控件wrap*/
.section .daterange-wrap input[type="text"], .section .daterange-wrap select {
    width: calc(50% - 10px) !important;
}

.section .vendor-wrap input[type="text"], .section .vendor-wrap select {
    width: 86% !important;
    width: calc(100% - 34px) !important
}

.section .vendor-wrap input[type="image"] {
    width: 30px !important;
    height: 31px;
}

.section .custom-wrap-1 > select {
    padding-left: 3px;
    padding-right: 3px;
}

.section .custom-wrap-1 > *:nth-child(1) {
    width: 30% !important;
    border-radius: 4px 0px 0px 4px;
}

.section .custom-wrap-1 > *:nth-child(2) {
    width: 68% !important;
    border-radius: 0px 4px 4px 0px;
}

.section .checkbox-wrap {
}

.section .checkbox-list-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-start;
}

    .section .checkbox-list-wrap .checkbox-c {
        margin-right: 60px;
    }


.section .custom-wrap-adthree > *:nth-child(1) {
    width: 33% !important;
    max-width: 90px;
}

.section .custom-wrap-adthree > *:nth-child(2) {
    width: 33% !important;
    max-width: 90px;
}

.section .custom-wrap-adthree > *:nth-child(3) {
    width: 180px !important;
}




.section .c-select-wrap > *:nth-child(1) {
    width: 63% !important;
    margin: 0;
}

.section .c-select-wrap > *:nth-child(2) {
    width: 35% !important;
    margin: 0;
}

.section .c-double-wrap {
    display: flex;
}



    .section .c-double-wrap > *:nth-child(1) {
        width: calc(50% - 50px) !important;
    }

    .section .c-double-wrap > *:nth-child(2) {
        width: 100px;
        display: block;
    }

    .section .c-double-wrap > *:nth-child(3) {
        width: calc(50% - 50px) !important;
    }


.section .tip-wrap {
    display: flex;
}

    .section .tip-wrap .c-wrap {
        width: calc(100% - 24px);
        display: flex;
        align-items: center;
    }

    .section .tip-wrap .c-tip {
        width: 20px;
        height: 32px;
        margin-left: 4px;
        background: url(../../App_Themes/images/v2/wenhao@2x.png);
        background-size: 16px;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        text-indent: 40px;
        overflow: hidden;
        display: inline-block;
    }


.section .width-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: auto;
}

    .section .width-wrap .width-wrap-c {
        display: flex;
        align-items: center;
        flex-direction: row;
        width: 100%;
        margin: 2px 0px;
    }

        .section .width-wrap .width-wrap-c > * {
            display: inline-block;
            box-sizing: border-box;
            padding: 0px 4px;
        }

            .section .width-wrap .width-wrap-c > *:first-child {
                padding-left: 0px;
            }

            .section .width-wrap .width-wrap-c > *:last-child {
                padding-right: 0px;
            }

/*控件wrap-结束*/





body.body-form .header, body.body-form .section-wrap .title, body.body-form .section-wrap .desc {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

body.body-form .section-wrap #tableWrite {
    margin-top: 0px;
}

body.body-form .section-wrap .in_page_width {
    width: 100%;
}

.sp-price-history {
    display: block;
}

.section .item-c .combo, .section .item-c .combo .textbox-text {
    width: 100% !important;
    max-width: 220px;
}

.tab-content-product .section .item-c .combo, .tab-content-product .section .item-c .combo .textbox-text {
    max-width: 100%;
}



.stype-base .section .item {
    width: 330px;
}

.stype-base .section .item-2x {
    width: 660px;
}

.stype-base .section .item-3x {
    width: 1110px;
}

.stype-base .section .item-full {
    width: 1480px;
}

.stype-base .section-wrap .section.section-base {
    padding-left: 12px;
    padding-right: 12px;
}



.tbl-form-col tr td:nth-child(odd) {
    width: 100px;
    text-align: right;
    padding-right: 12px;
    word-break: keep-all;
}

.tbl-form-col tr td:nth-child(even) {
    text-align: left;
   
}

    .tbl-form-col tr td:nth-child(even) input, .tbl-form-col tr td:nth-child(even) select {
    }

.tbl-form-col-4 tr td:nth-child(odd) {
    width: 100px;
    text-align: right;
    padding-right: 12px;
    word-break: keep-all;
}

.tbl-form-col-4 tr td:nth-child(even) {
    width: 220px;
    text-align: left;
}
.tbl-form-col-4 tr td.full {
    width: 220px;
    text-align: left;
}

