﻿/* DEFAULTS
----------------------------------------------------------*/
html {
    height: 100%;
    width: 100%;
}

body {
    background: #ffffff;
    font-size: .90em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #101339;
    height: 100%;
    width: 100%;
    min-width: 1096px;
}

form {
    height: 100%;
    width: 100%;
    background-color: #f0f2f5;
    overflow-y: hidden;
}

a:link, a:visited {
    color: #034af3;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #034af3;
}

p {
    margin-bottom: 10px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    width: 99.8%;
    min-width: 1348px;
    background-color: #fff;
    margin: 0px auto 0px auto;
    border: 0px solid #496077;
    height: 98.5%;
}

.header {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #325F83;
    width: 100%;
}

    .header h1 {
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }

.main {
    padding: 0px 0px;
    margin: 0px 0px 0px 0px;
    height: 100%;
    min-height: 510px;
}

.leftCol {
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer {
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink {
    background-color: #666666;
    width: 100%;
    height: 25px;
    text-align: right;
}

div.menu {
    padding: 4px 0px 4px 8px;
}

    div.menu ul {
        list-style: none;
        margin: 0px;
        padding: 0px;
        width: auto;
    }

        div.menu ul li a, div.menu ul li a:visited {
            background-color: #465c71;
            border: 1px #4e667d solid;
            color: #dde4ec;
            display: block;
            line-height: 1.35em;
            padding: 4px 20px;
            text-decoration: none;
            white-space: nowrap;
        }

            div.menu ul li a:hover {
                background-color: #bfcbd6;
                color: #465c71;
                text-decoration: none;
            }

            div.menu ul li a:active {
                background-color: #465c71;
                color: #cfdbe6;
                text-decoration: none;
            }

/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

    fieldset.login label, fieldset.register label, fieldset.changePassword label {
        display: block;
    }

    fieldset label.inline {
        display: inline;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry {
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry {
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo {
    width: 42%;
}

/* MISC  
----------------------------------------------------------*/

.clear {
    clear: both;
}

.title {
    display: block;
    float: left;
    text-align: left;
    width: auto;
    font-size: x-large;
    font-weight: 700;
    font-style: italic;
}

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;
}

    .loginDisplay a:link {
        color: white;
        font-weight: 700;
    }

    .loginDisplay a:visited {
        color: white;
    }

    .loginDisplay a:hover {
        color: white;
    }

.failureNotification {
    font-size: 1.2em;
    color: Red;
}

.bold {
    font-weight: bold;
}

.submitButton {
    text-align: right;
    padding-right: 10px;
}

.menu1 {
    width: 100px;
    height: 100px;
    background-color: #bfcbd6;
    font-size: 1.1em;
    font-family: 微软雅黑;
    text-align: center;
    vertical-align: middle;
}

.vouchtextbox {
}

.gridtextbox {
    width: 65px;
    background-color: transparent;
    border-style: none;
}

.edittextbox {
    Width: 150px;
    height: 23px;
}

.fdptextbox {
    border-width: 1px;
    border-style: solid;
    border-color: #808080;
    Width: 100px;
    height: 16px;
    float: left;
}

.fdplabel {
    display: block;
    Width: 180px;
    height: 22px;
    float: left;
}

.vpstyle {
    width: 1000px;
}

.bsblack {
    background-color: gray;
    color: white;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bssteelblue {
    background-color: lightskyblue;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bsred {
    background-color: salmon;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bsyellow {
    background-color: gold;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bsdarkorange {
    background-color: navajowhite;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bsmediumseagreen {
    background-color: palegreen;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bssaveskin {
    background-color: greenyellow;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.bsvoidskin {
    background-color: #ff0606;
    color: black;
    border-style: none;
    width: 80px;
    height: 26px;
    text-align: center;
    vertical-align: middle;
}

.billedittext {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid;
    border-color: gray;
    border-width: 1px;
}

.helpformcss {
    opacity: 1;
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    border-style: solid;
    border-color: lightgray;
    border-width: 1px;
    width: 55%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.fadehelpformcss {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    border-style: solid;
    border-color: lightgray;
    border-width: 1px;
    width: 55%;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.splitlinecss {
    border-bottom-style: solid;
    border-bottom-color: lightgray;
    border-bottom-width: 1px;
    width: 100%;
    height: 0;
}

.newhelpeditcss {
    opacity: 1;
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    border: thin solid #808080;
    width: 480px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.helpgridviewcss {
    border-color: lightgray;
    border-style: solid;
    border-width: 1px;
    width: 100%;
    font-size: 14px;
}

.helpformfooter {
    background-color: #FFFFFF;
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin-top: -36px;
    border-top: solid;
    border-top-color: lightgray;
    border-top-width: 0.5px;
    display: block;
}

.helpformheader {
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-shadow: 1px 1px 2px gray;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.closebuttoncss {
    border-style: none;
    border-width: 0px;
    background-color: #f0f2f5;
    width: 33px;
    height: 22px;
}

.closelinecss {
    width: 100%;
    height: 36px;
    text-align: right;
    margin-top: -36px;
}

.confbuttoncss {
    border-style: solid;
    border-width: 0px;
    border-color: #bfcbd6;
    background-color: Transparent;
    width: 80px;
    height: 36px;
    color: #034af3;
}


.fadeindiv {
    opacity: 0; /* 开始状态，透明度为0 */
    animation: fadeIn 0.5s ease-in-out forwards; /* 应用动画 */
    background-color: #ffffff;
    position: absolute;
    box-shadow: 1px 1px 2px Gray;
    display: none;
}

@keyframes fadeIn {
    to {
        opacity: 1; /* 结束状态，透明度为1 */
    }
}

.attabtstyle {
    border-style: solid;
    border-width: 1px;
    border-color: LightGray;
    Background: transparent;
    color: #0026ff;
    padding: 2px 8px;
    
    cursor: pointer;    
}
.attabtstyle:hover {
        border-color:gray;
        color:#ff0606;
        box-shadow:1px 1px 1px rgba(0,0,0,0.3)
    }

.file-upload {
    background-color: #f5f5f5; /* 背景颜色 */
    border: 1px solid #ccc; /* 边框颜色 */
    border-radius: 4px; /* 圆角 */
    padding: 1px 2px 1px 2px; /* 内边距 */
    cursor: pointer; /* 鼠标指针样式 */
}

    .file-upload:hover {
        background-color: lightskyblue; /* 鼠标悬停时的背景颜色 */
        border-color: #aaa; /* 鼠标悬停时的边框颜色 */
    }

.mesbody {
    font-size: 14px;
}

.mesgridviewcss {
    border-style: solid;
    border-width: 1px;
    width: 100%;
    font-size: 14px;
    line-height: 46px;
    padding: 30px 10px 10px 10px;
    text-align: left;
}

.mesdetviewcss {
    border-color: lightgray;
    border-style: solid;
    border-width: 1px;
    width: 100%;
    text-align: left;
    
}

.mestextboxcss {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid;
    border-color: gray;
    border-width: 1px;
    font-size: 14px;
    height: 36px;
}

.mestexth1 {
    font-size: 36px;
    font-weight: 600;
}

.mestexth2 {
    font-size: 24px;
    font-weight: 600;
    text-shadow:1px 1px 1px rgba(0, 0, 0, 0.3);
}

.mestexth21 {
    font-size: 24px;
    font-weight: 600;
    color:#2196F3;
    text-shadow:1px 1px 1px rgba(0, 0, 0, 0.6);
}

.mestexth3 {
    font-size: 18px;
    font-weight: 600;
}

/* CSS提示框基础样式 */
.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    /* 初始不可见 */
    visibility: hidden;
}

    /* 显示时的动画效果 */
    .custom-alert.show {
        opacity: 1;
        visibility: visible;
        top: 30px; /* 微调显示位置 */
    }

    /* 可选：不同类型的提示样式 */
    .custom-alert.error {
        background: #f44336;
    }

    .custom-alert.warning {
        background: #ff9800;
    }

    .custom-alert.info {
        background: #2196F3;
    }

.custom-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    /* 初始不可见 */
    visibility: hidden;
}

/* CSS提示框基础样式 */
.progress {
    height: 16px;
    background-color: lightskyblue;
    width: 0%;
    transition: width 0.3s ease;
    border-color: lightskyblue;
    border-style: solid;
    border-width: 1px;
    color: gray;
    border-radius: 3px;
}
/* CSS进度条样式 */

/* MES按钮样式 */
.mesbutton-normal {
    color:black;
    background-color: LightSteelBlue;
    border-style: none;
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.1s;
}

    .mesbutton-normal:active {
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .mesbutton-normal:hover {
        color:#ffffff;

    }

/* MES按钮样式 */

/* 表头固定 */
.fixed-header-grid {
    width: 100%;
    overflow: auto;
}

.fixed-header {
    position: sticky;
    top: 0;
    background: rgb(229, 229, 229);
    opacity: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* 表头固定 */


