﻿/****
生产作业公用样式
***/

*
{
    letter-spacing:1px;    
}
ol, ul, li
{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}


#panel_list .loading-img,
#panel_grid .loading-img,
#panel_view .loading-img
{
    margin:150px auto;
    margin-left:50%;
    position:relative;
    left:-16;
    width:32px;
}



/**导航栏**/
.nav-bar
{
    width: 100%;
    height: 29px;
    border-bottom: 1px solid #38B060;
    font-size: 14px;
    margin: 5px 0px;
}
.nav-bar li
{
    float: left;
}
.nav-bar span
{
    display: inline-block;
}
.nav-bar li a, .nav-bar li label
{
    line-height: 28px;
    color: #006400;
}
.nav-bar li .nav-location
{
    width: 36px;
    height: 28px;
    background-image: url(/content/images/nav04.png);
    background-repeat: no-repeat;
}
.nav-bar li .nav-space
{
    width: 24px;
    height: 28px;
    background-image: url(/content/images/nav02.png);
    background-repeat: no-repeat;
    background-position: 10px 11px;
}




.buttons-bar
{
    
}
.buttons-bar li
{
    display: inline-block;
    padding: 8px;
}

.buttons-bar button
{
    text-align: center;
    padding: 5px 10px;
    line-height: 20px;
    cursor: hand;
    cursor: pointer;
    border-radius: 5px;
    min-width: 80px;
}

.buttons-bar  .btn-orange
{
    color: #ffffff;
    background-color: #f17212;
    border: 1px solid #f17212;
}

.buttons-bar .btn-green
{
    color: #ffffff;
    background-color: #228800;
    border: 1px solid #228800;
}


.buttons-bar .btn-red
{
    color: #ffffff;
    background-color: #D20000;
    border: 1px solid #D20000;
}


.buttons-bar .btn-grey
{
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #d0d0d0;
}

.buttons-bar .btn-h-green
{
    color: #38b060;
    background-color: #e0ffd0;
    border: 1px solid #60c090;
}




/**** 查询 ****/
.search-bar button
{
    border: 0px;
    padding: 2px 8px;
    line-height: 22px;
    cursor: hand;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    min-width:70px;
    font-size:15px;
    letter-spacing:2px;
}
.search-bar li
{
    margin: 0 5px;
}


.search-bar  .btn-orange
{
    color: #ffffff;
    background-color: #f17212;
    border: 1px solid #f17212;
}

.search-bar .btn-green
{
    color: #ffffff;
    background-color: #228800;
    border: 1px solid #228800;
}

.search-bar .btn-grey
{
    color: #606060;
    background-color: #e0e0e0;
    border: 1px solid #60c090;
}



/**筛选区**/
.control-panel
{
    box-sizing: border-box;
    font-size: 14px;
    border: 0px solid blue;
    overflow: visible;
    height: 30px;
    width: 100%;
    padding: 5px 18px;
    color: #006400;
}

.control-panel li
{
    padding-right: 3px;
}

.control-panel .search-bar
{
    border: 0px solid blue;
    float: left;
    overflow: visible;
    height: 32px;
}

.control-panel .search-bar input
{
    height: 20px;
    padding: 3px;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
}
.control-panel .search-bar span
{
    display: inline-block;
}
.control-panel .search-bar label
{
    line-height: 28px;
}

.control-panel .search-bar li
{
    float: left;
}

/****/

.control-panel .check-bar
{
    border: 0px solid green;
    float: right;
}
.control-panel .check-bar li
{
    float: left;
}

.control-panel .check-bar input
{
    width: 13px;
    height: 13px;
}
.control-panel .check-bar label
{
}

/****/

.control-panel .check-bar
{
    border: 0px solid green;
    float: right;
}
.control-panel .check-bar li
{
    float: left;
}

.control-panel .check-bar input
{
    width: 13px;
    height: 13px;
}
.control-panel .check-bar label
{
}


/**筛选区**/
.control-panel
{
    box-sizing: border-box;
    font-size: 14px;
    border: 0px solid blue;
    overflow: visible;
    height: 30px;
    width: 100%;
    padding: 5px 18px;
    color: #006400;
}



.control-panel .search-bar input
{
    height: 20px;
    padding: 3px;
    border: 1px solid #c0c0c0;
    border-radius: 3px;
}

.control-panel .search-bar span
{
    display: inline-block;
}
.control-panel .search-bar label
{
    line-height: 28px;
}

.control-panel .search-bar li
{
    float: left;
}



/**************/
.page-grid
{
    box-sizing: border-box;
    width: 100%;
    padding: 8px 18px;
}
.page-grid table
{
    border-collapse: collapse;
}

.page-grid thead .th-order
{
    cursor: pointer;
}

.page-grid thead .page-bar
{
    border: 0px solid green;
    float: right;
    line-height: 30px;
}
.page-grid tfoot .page-bar
{
    border: 0px solid green;
    float: left;
    line-height: 30px;
}


.page-grid .page-bar li
{
    padding: 0px 5px;
    cursor: pointer;
}
.page-grid .page-bar .page-num
{
    border: 1px solid #d0e0d0;
    height: 18px;
    line-height: 18px;
    margin: 3px;
}
.page-grid .page-bar .page-active
{
    border: 1px solid red;
    height: 18px;
    line-height: 18px;
    margin: 3px;
}

.page-grid .page-bar .page-size input
{
    width: 20px;
    height: 16px;
    text-align: center;
}


.page-grid tfoot li, .page-grid thead li
{
    float: left;
}


.page-grid thead input
{
    width: 13px;
    height: 13px;
}
.page-grid thead label
{
}

.page-grid tbody .odd
{
    background-color: #ffffff;
}
.page-grid tbody tr
{
    height: 32px;
}
.page-grid tbody td
{
    border: 1px solid #d0e0d0;
    border-color: #d0e0d0;
    padding-left: 3px;
    padding-right: 3px;
}
.page-grid tbody .op-td nobr,
.page-grid tbody .op-td span
{
    margin: 1px 3px;
    display:inline-block;
}

.page-grid tbody tr:hover
{
    background-color: #e0ffe0;
}
.page-grid tbody td .click-text
{
    cursor: pointer;
    font-size:15px;
    text-decoration:underline;
}
.page-grid tbody td .btn-text
{
    cursor: pointer;
    font-size:15px;
    letter-spacing:2px;
    text-decoration:underline;
}

.page-grid tbody td .disable-text
{
    font-size:15px;
    color:#666666;
    letter-spacing:2px;
}



/****/

.page-grid
{
    box-sizing: border-box;
    width: 100%;
    padding: 8px 18px;
}
.page-grid table
{
    border-collapse: collapse;
}

.page-grid thead .th-order
{
    cursor: pointer;
}

.page-grid thead .page-bar
{
    border: 0px solid green;
    float: right;
    line-height: 30px;
}
.page-grid tfoot .page-bar
{
    border: 0px solid green;
    float: left;
    line-height: 30px;
}


.page-grid .page-bar li
{
    padding: 0px 5px;
    cursor: pointer;
}
.page-grid .page-bar .page-num
{
    border: 1px solid #d0e0d0;
    height: 18px;
    line-height: 18px;
    margin: 3px;
}
.page-grid .page-bar .page-active
{
    border: 1px solid red;
    height: 18px;
    line-height: 18px;
    margin: 3px;
}

.page-grid .page-bar .page-size input
{
    width: 20px;
    height: 16px;
    text-align: center;
}

.page-grid th
{
    border-top: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    height: 32px;
    background-image: url(/content/images/th02.png);
    color:#006400;
}
.page-grid thead th:first-child
{
    border-left: 0px;
}

/*
.page-grid th
{
    border: 1px solid #d0e0d0;
    height: 32px;
    background-image: url(/content/images/th01.png);
}
*/

.page-grid tfoot li, .page-grid thead li
{
    float: left;
}


.page-grid thead input
{
    width: 13px;
    height: 13px;
}
.page-grid thead label
{
}

.page-grid tbody .odd
{
    background-color: #ffffff;
}
.page-grid tbody tr
{
    height: 32px;
}
.page-grid tbody td
{
    border: 1px solid #d0e0d0; /*border-width: 0 0 1px 1px;*/
    border-color: #d0e0d0;
    padding-left: 3px;
}
.page-grid tbody .op-td span
{
    margin: 1px 3px;
}



.detail-table
{
    box-sizing: border-box;
    table-layout: fixed;
    width: 100%;
    margin: 0px;
    border-collapse: collapse;
}

.detail-table .head-tr th,
.detail-table .view-tr td
{
    height:32px;
}



.detail-table th, 
.detail-table td
{
    border: 1px solid #33bb66;
    margin: 0px;
    padding: 0px;
    
}

.detail-table .edit-tr  td
{
    height: 32px;
}

.detail-table .op-td .btn-green
{
        background-color: #38B060;
    color: #ffffff;
}
.detail-table .op-td button
{
   border: 0px;
    padding: 5px 10px;
    line-height: 20px;
    cursor: hand;
    cursor: pointer;
    border-radius: 5px;
}

.image-table
{
    box-sizing: border-box;
    width: 100%;
    margin: 0px;
    border-collapse: collapse;
}

.image-table th, .detail-table th
{
    color: #336600;
    background-color: #e8f8e8;
}




/*** 查看页面 ***/
.view-div
{
    min-width: 600px;
    max-width: 1000px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 18px;
    margin: 0px auto;
}

.view-div .view-table
{
    width: 100%;
    border: 2px solid #38B060;
    border-collapse: collapse;
    margin: 0px;
    padding: 0px;
    /*table-layout: fixed;*/
}


.view-div .view-table td
{
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px 5px;
    height: 32px;
}

.view-div .view-caption
{
    text-align: right;
    padding-right: 3px !important;
}

.view-div .view-text, .view-div .field-text
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0px;
    margin: 0px;
    padding: 0px 3px;
}

.view-div .view-textarea
{
    width: 100%;
    height: 99%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0px;
    margin: 0px;
    padding: 3px 3px;
    font-size: 15px;
}

/*** 编辑页面 ***/
.edit-div
{
    min-width: 600px;
    max-width: 1000px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 18px;
    margin: 0px auto;
}

.edit-div .edit-table
{
    width: 100%;
    border: 2px solid #38B060;
    border-collapse: collapse;
    margin: 0px;
    padding: 0px;
    table-layout: automatic;

}


.edit-div .edit-table .caption-td
{
    text-align: right;
    padding-right: 3px !important;
}

.edit-div .edit-table .edit-td
{
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px;
    height: 32px;
    background-color:#ffffff;
}

.edit-div .edit-table .required-td
{
    height: 32px;
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px 16px 0px 0px;
    position: relative;
    
}
.edit-div .edit-table .required-td .required-span
{
    display: inline-block;
    position: absolute;
    right: 3px;
    color: Red;
    line-height: 32px;
}
.edit-div .edit-table .right-td
{
    height: 32px;
    border: 1px solid #38B060;
    margin: 0px;
    position: relative;
}


.edit-div .edit-table .right-td .right-span
{
    display: inline-block;
    position: absolute;
    right: 3px;
    line-height: 32px;
    color: #000;
}


.edit-div .edit-table .edit-tr td span
{
    position: absolute;
    right: 3px;
    color: Red;
}
.edit-div .edit-table .caption-td
{
}

.edit-div .edit-table .edit-tr td
{
    border: 1px solid #38B060;
    border-width: 1px 1px 0px 1px;
}

.edit-div .edit-table .view-tr td
{
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px 5px;
    height: 32px;
    
}


.edit-div .edit-table .msg-tr td
{
    padding: 0px;
    border: 1px solid #38B060;
    border-width: 0px 1px 1px 1px;
}

.edit-table .edit-text,
.edit-table .field-select, 
.field-text, 
.field-textarea
{
    width: 100%;
    line-height: 32px;
    height: 32px;
    border: 0px;
    margin: 0px;
    box-sizing: border-box;
    padding:0px 3px;
    font-size:15px;
}

.edit-table .edit-textarea
{
    width: 100%;
    height: 99%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0px;
    margin: 0px;
    padding: 3px 3px;
    font-size: 15px;
}

/*
.edit-div .edit-table td
{
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px;
    height: 32px;
}

.edit-div .edit-caption
{
    text-align: right;
    padding-right: 3px !important;
}

.edit-div .edit-text, .edit-div .field-text
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0px;
    margin: 0px;
    padding: 0px 3px;
}
.edit-div .edit-textarea
{
    width: 100%;
    height: 99%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0px;
    margin: 0px;
    padding: 3px 3px;
    font-size: 15px;
}
*/
/*****************/

.edit2-div
{
    min-width: 600px;
    max-width: 1000px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 18px;
    margin: 0px auto;
}


.edit2-div .edit-table
{
    width: 100%;
    border: 2px solid #38B060;
    border-collapse: collapse;
    margin: 0px;
    padding: 0px;
    table-layout: automatic;
}


.edit2-div .edit-table .caption-td
{
    text-align: right;
    padding-right: 3px !important;
}

.edit2-div .edit-table .edit-td
{
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px;
    height: 32px;
}


.edit2-div .edit-table .required-td
{
    height: 32px;
    border: 1px solid #38B060;
    margin: 0px;
    padding: 0px 16px 0px 0px;
    position: relative;
}
.edit2-div .edit-table .required-td .required-span
{
    display: inline-block;
    position: absolute;
    right: 3px;
    color: Red;
    line-height: 32px;
}


.edit2-div .edit-table .edit-tr td span
{
    position: absolute;
    right: 3px;
    color: Red;
}
.edit2-div .edit-table .caption-td
{
}

.edit2-div .edit-table .edit-tr td
{
    border: 1px solid #38B060;
    border-width: 1px 1px 0px 1px;
}
.edit2-div .edit-table .msg-tr td
{
    padding: 0px;
    border: 1px solid #38B060;
    border-width: 0px 1px 1px 1px;
}


/**导出报表**/
#export_report
{
    display: none;
    text-align: center;
    border: 1px solid #ffffff;
    font-size: 11pt;
}
#export_report table
{
    margin: 28px auto;
    text-align: center;
    border: 0px solid red;
}
#export_report table td input
{
    width: 120px;
    line-height: 24px;
    height: 24px;
    border-radius: 5px;
    border: 1px solid #c0c0c0;
}
#export_report .button-tr
{
    text-align: center;
}
#export_report .button-tr button
{
    border: 0px;
    padding: 5px 10px;
    line-height: 20px;
    cursor: hand;
    cursor: pointer;
    border-radius: 5px;
    width: 90px;
    font-size: 12pt;
}

#export_report .button-tr .btn-green
{
    background-color: #38B060;
    color: #ffffff;
}
#export_report .button-tr .btn-grey
{
    background-color: #e0e0e0;
    color: #606060;
    border: 1px solid #d0d0d0;
}

.edit-div .msg-box 
{
    margin-top:1px !important;
}

/*
.edit-div .msg-wrap
{
    line-height:14px;
}

.edit-div .msg-wrap
{
    position:relative;
}
*/