﻿/************************************************ 基础 ************************************************/

html, body, form
{
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

body
{
    font-family: 微软雅黑,Helvetica;
    background-color: #EEEEF1;
    font-size: 14px;
}

body, div, iframe, textarea
{
    scrollbar-face-color: #a9a9aa;
    scrollbar-shadow-color: #f1f1f1;
    scrollbar-highlight-color: #f1f1f1;
    scrollbar-3dlight-color: #f1f1f1;
    scrollbar-darkshadow-color: #f1f1f1;
    scrollbar-track-color: #f1f1f1;
    scrollbar-arrow-color: #505050;
}

/************************************************ 控件 ************************************************/

.button1
{
    padding-left: 15px;
    padding-right: 15px;
    height: 24px;
    line-height: 22px;
    background-color: #d3390a;
    border: none;
    color: White;
    font-size: 13px;
    cursor: pointer;
    font-family: 微软雅黑,Helvetica;
}
.button1:hover
{
    background-color: #c2360b;
}
.button2
{
    padding-left: 15px;
    padding-right: 15px;
    height: 24px;
    line-height: 22px;
    background-color: #596370;
    border: none;
    color: White;
    font-size: 13px;
    cursor: pointer;
    font-family: 微软雅黑,Helvetica;
}
.button2:hover
{
    background-color: #4f5864;
}
.button1[disabled=disabled], .button2[disabled=disabled]
{
    border: 1px solid #a4a6a7;
    color: #a4a6a7;
    background-color: White;
    cursor: default;
}

.button-select
{
    /*width: 30px;     height: 30px;*/
    width: 28px;
    height: 28px;
    border: none;
    cursor: pointer;
    background: url(../images/page/button-select.png) no-repeat;
}

.button-clear
{
    /*width: 30px;     height: 30px;*/
    width: 28px;
    height: 28px;
    border: none;
    cursor: pointer;
    background: url(../images/page/button-clear.png) no-repeat;
}
.button-select[disabled=disabled], .button-clear[disabled=disabled]
{
    cursor: default;
}

.textbox1
{
    padding-left: 5px;
    padding-right: 5px;
    width: 218px;
    height: 26px;
    line-height: 24px;
    border: 1px solid #c6c3c3;
    color: #191d22;
    font-size: 14px;
    font-family: 微软雅黑,Helvetica;
}
.textbox1[disabled=disabled], .textbox1[readonly=readonly], .textbox1[readonly=true], .textbox1[contenteditable=false]
{
    background-color: #f0f0f0;
}
.textbox2
{
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #c6c3c3;
    color: #191d22;
    font-size: 14px;
    font-family: 微软雅黑,Helvetica;
    height: 22px;
    line-height: 22px;
}
.textbox2[disabled=disabled], .textbox2[readonly=readonly], .textbox2[contenteditable=false]
{
    background-color: #f0f0f0;
}

.textbox-search
{
    padding-left: 5px;
    padding-right: 5px;
    width: 130px;
    height: 20px;
    line-height: 22px;
    border: 1px solid #c6c3c3;
    color: #191d22;
    font-size: 14px;
    font-family: 微软雅黑,Helvetica;
}

.select1
{
    width: 230px;
    height: 30px;
    font-size: 14px;
    color: #191d22;
    line-height: 28px;
    border: 1px solid #c6c3c3;
}
.select1[mustWrite=true], .textbox1[mustWrite=true], .textbox2[mustWrite=true]
{
    border: 1px solid #c84e4b;
}

.select-search
{
    width: 130px;
    height: 24px;
    font-size: 14px;
    color: #191d22;
    line-height: 22px;
    border: 1px solid #c6c3c3;
}
.checkbox1
{
    width: 18px;
    height: 18px;
}
.checkbox1 > input[type=checkbox]
{
    width: 18px;
    height: 18px;
}

.textbox-disabled
{
    background-color: #f0f0f0;
}

.input-mustwrite
{
    border: 1px solid #c84e4b;
}

/************************************************ info 页面 ************************************************/

.div-pagetab-header
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 35px;
    background-color: #4C5B80;
}
.div-pagetab-tab-container
{
    padding-left: 35px;
    height: 30px;
}
.div-pagetab-tab
{
    float: left;
    height: 100%;
    padding-right: 15px;
    color: #959595;
    font-size: 14px;
    font-weight: bold;
    text-indent: 40px;
    line-height: 35px;
    cursor: pointer;
}
.div-pagetab-tab:hover
{
    color: White;
}
.div-pagetab-tabSelected
{
    color: White;
}
.div-pagetab-split
{
    float: left;
    height: 20px;
    margin-top: 9px;
    margin-left: 20px;
    margin-right: 20px;
    width: 1px;
    border-right: 1px solid #373f4a;
}
.div-pagetab-line-container
{
    margin-top: 1px;
    height: 4px;
    position: relative;
}
.div-pagetab-line
{
    position: absolute;
    left: 0px;
    z-index: 10;
    width: 0px;
    height: 4px;
    background-color: #d3390a;
}
.div-pagetab-deputyline
{
    display: none;
    position: absolute;
    left: 0px;
    z-index: 9;
    width: 0px;
    height: 4px;
    background-color: #d3390a;
    filter: alpha(opacity=60);
    opacity: 0.6;
}
.div-pagetab-ifm-container
{
    position: absolute;
    top: 35px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

/************************************************ pagebase 页面 ************************************************/

.div-pagebase-header
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 42px;
}
.div-pagebase-singlebody
{
    position: absolute;
    top: 42px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    padding: 10px;
    border: 1px solid #b8bbbe;
    background-color: White; /*  overflow: auto;*/
}
.div-pagebase-mainbody
{
    position: absolute;
    top: 42px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    overflow: auto;
}
.div-pagebase-partbody
{
    margin: 1px;
    border: 1px solid #b8bbbe;
    background-color: White;
}
.div-pagebase-partbody-table
{
    margin: 0px auto;
    width: 100%;
    table-layout: fixed;
}
.ul-pagebase-partbody-titlebar
{
    padding: 0px;
    margin: 0px;
    list-style: none;
    width: 100%;
    height: 33px;
}
.li-titlebar-holder
{
    float: left;
}
.li-titlebar-collapse
{
    float: right;
    margin-right: 15px;
    margin-top: 11px;
    width: 14px;
    height: 10px;
    cursor: pointer;
    background: url(../images/page/icon-018.png) no-repeat;
}
.li-titlebar-collapse-yes
{
    background: url(../images/page/icon-019.png) no-repeat;
}
.div-pagebase-partbody-body
{
    padding: 0px;
    margin: 0px;
    border-top: 1px solid #b8bbbe;
    overflow: auto;
}
.div-pagebase-partbody-body .td-partbody-text
{
    width: 110px;
    text-align: right;
    line-height: 30px;
    vertical-align: middle;
}
.div-pagebase-partbody-body .td-partbody-input
{
    white-space: nowrap;
    text-align: left;
    width: 230px;
}
.div-pagebase-partbody-body .td-partbody-lastspace
{
    width: 50px;
}
.ul-pagebase-left-controler
{
    position: absolute;
    top: 9px;
    left: 15px;
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.ul-pagebase-left-controler > li
{
    float: left;
    padding-left: 4px;
    padding-right: 4px;
}
.ul-pagebase-right-controler
{
    position: absolute;
    top: 9px;
    right: 16px;
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.ul-pagebase-right-controler > li
{
    float: left;
    padding-left: 4px;
    padding-right: 4px;
}
.li-search-title
{
    margin-top: 1px;
    font-size: 14px;
    color: #191d22;
}
.div-validate-warning
{
    position: fixed;
    z-index: 8888;
    padding: 15px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #b84442;
    font-size: 14px;
    font-family: 微软雅黑,Helvetica;
}
.div-validate-warning a
{
    color: #843534;
    font-weight: bold;
    text-decoration: none;
}
.div-validate-warning a:hover
{
    text-decoration: underline;
}

/************************************************ 遮罩层 ************************************************/

.div-masklayer
{
    z-index: 10000;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: black;
    filter: alpha(opacity=0);
    opacity: 0.2;
}
.iframe-masklayer
{
    z-index: 9999;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    filter: alpha(opacity=0);
    opacity: 0.01;
}


@media screen and (max-width: 500px) and (min-width: 300px)
{
    .div-pagetab-header
    {
        width: 400px;
        overflow: scroll;
    }
    .div-pagetab-tab-container
    {
        width: 1000px;
    }

    .ul-pagebase-left-controler::-webkit-scrollbar
    {
        display: none;
    }

    .ul-pagebase-right-controler::-webkit-scrollbar
    {
        display: none;
    }


    .ul-pagebase-left-controler
    {
        overflow: scroll;
        width: 150px;
        white-space: nowrap;
    }
    .ul-pagebase-left-controler > li
    {
        float: unset;
        padding-left: 4px;
        padding-right: 4px;
        display: inline-block;
    }
    .ul-pagebase-right-controler
    {
        overflow: scroll;
        width: 150px;
        white-space: nowrap;
    }
    .ul-pagebase-right-controler > li
    {
        float: unset;
        padding-left: 4px;
        padding-right: 4px;
        display: inline-block;
    }


    .textbox1
    {
        width: 180px;
    }

    .select1
    {
        width: 180px;
    }

    .div-pagebase-partbody-body .td-partbody-text
    {
        width: 70px;
    }

    .div-pagebase-partbody-body .td-partbody-lastspace
    {
        width: unset;
    }
}
