﻿/*   TWL_style.css   */

/* ===== 隐藏 artDialog 最大/最小按钮 ===== */
.ui-dialog .ui-dialog-header button:nth-child(2),
.ui-dialog .ui-dialog-header button:nth-child(3),
.dialog .dialog-header button:nth-child(2),
.dialog .dialog-header button:nth-child(3),
[class*="dialog-max"],
[class*="dialog-min"],
[class*="ui-dialog-max"],
[class*="ui-dialog-min"] {
    display: none !important;
}

.ui-dialog .ui-dialog-header .ui-dialog-titlebar-button,
.dialog .dialog-header .dialog-titlebar-button {
    display: none !important;
}

/* ===== 登录容器样式 ===== */
.login-container {
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    text-align: left;
}

/* ===== body 样式 ===== */
body {
    font-family: Arial, sans-serif;
}

td, body, a, th {
    font-family: "宋体";
    font-size: 12px;
    line-height: 18px;
    color: #10327E;
    text-decoration: none;
}

.title {
    font-family: "宋体";
    font-size: 14pt;
    line-height: 18px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
}

.test {
    font-family: "宋体";
    font-size: 12px;
    line-height: 18px;
    color: #2153AC;
    text-decoration: none;
}

.delline {
    border-bottom: 1px solid #ffffff;
    border-top: 0px solid #6D83B2;
    border-left: 0px solid #6D83B2;
    text-align: center;
    border-right: 0px solid #6D83B2;
}

a {
    behavior: url("../script/nofocus.htc");
    text-align: left;
    height: 18px;
}

    a:hover {
        font-family: "宋体";
        font-size: 12px;
        line-height: 18px;
        color: red;
        text-decoration: none;
    }

.button {
    border-bottom: 1px solid;
    border-right: 1px solid #6A696A;
    border-left: 1px solid #ECECEC;
    border-top: 1px solid #ECECEC;
    color: black;
}

.box {
    background-color: #FFFFFF;
    border-top: 1px solid #6D83B2;
    border-left: 1px solid #6D83B2;
    border-right: 1px solid #6D83B2;
    border-bottom: 1px solid #6D83B2;
    color: black;
}

textarea, input, select {
    font-family: "Verdana";
    font-size: 12px;
    line-height: 18px;
    color: #253348;
    margin-left: 0px;
    margin-bottom: 0px;
}

.colors {
    color: #000102;
}

.radioclass {
    color: #003366;
    background-color: white;
    opacity: 0.2;
    cursor: pointer;
}

.div_009 {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #333;
    border: solid 0px red;
    position: absolute;
    left: 50%;
    top: 40%;
}

a.colors:hover {
    color: red;
    text-decoration: none;
}

.white {
    color: #D5DCE8;
}

.border {
    border: 1px solid #43567D;
}

form {
    margin: 0px;
}

.color1 {
    font-family: "宋体";
    font-size: 12px;
    line-height: 22px;
    color: #000000;
    text-decoration: none;
}

a.color1:hover {
    color: red;
    text-decoration: none;
}

.color2 {
    font-family: "宋体";
    font-size: 12px;
    line-height: 22px;
    color: #10327E;
    text-decoration: none;
}

a.color2:hover {
    color: red;
    text-decoration: none;
}

.ico {
    padding-left: 3px;
    padding-right: 3px;
    vertical-align: central;
}

.textarea {
    font-family: "Tahoma", "宋体";
    font-size: 11pt;
    color: #0066cc;
    background-color: #ffffff;
    font-style: normal;
    border-top: 1px solid #93BEE2;
    border-right: 1px solid #93BEE2;
    border-bottom: 0px solid #93BEE2;
    border-left: 1px solid #93BEE2;
}

.D_DownList {
    border: 0px;
    height: 18px;
    bottom: 0px;
    border-style: Groove;
    cursor: pointer;
    top: 0px;
}

.T_TextBox {
    border: 0px;
    overflow: hidden;
    height: 18px;
    border-style: Groove;
    cursor: pointer;
    top: 0px;
    bottom: 0px;
}

/* ===== 修正：补上闭合大括号 ===== */
.T_D_TextBox {
    border: 0px;
    border-style: Groove;
    cursor: pointer;
    top: 0px;
    bottom: 0px;
}

.T_input {
    border: 0px;
    cursor: pointer;
    outline: none;
}

.DataGridbk {
    border: 1px solid #bedae9;
    background: #f5f5f5;
}

.th {
    color: #D5DCE8;
}

.input {
    outline-style: none;
    border: 0px;
}

.T_checkbox {
    vertical-align: middle;
    margin-top: -2px;
    margin-bottom: 1px;
    cursor: pointer;
}

.copyright {
    text-align: center;
    color: #fff;
    position: absolute;
    top: 100%;
    margin-top: -60px;
    width: 97%;
    font-family: Microsoft Yahei;
    line-height: 25px;
    font-size: 14px;
}

.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

    .bg-bubbles li {
        position: absolute;
        list-style: none;
        display: block;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.15);
        bottom: -160px;
        -webkit-animation: square 25s infinite;
        animation: square 25s infinite;
        -webkit-transition-timing-function: linear;
        transition-timing-function: linear;
    }

        .bg-bubbles li:nth-child(1) {
            left: 10%;
        }

        .bg-bubbles li:nth-child(2) {
            left: 20%;
            width: 80px;
            height: 80px;
            -webkit-animation-delay: 2s;
            animation-delay: 2s;
            -webkit-animation-duration: 17s;
            animation-duration: 17s;
        }

        .bg-bubbles li:nth-child(3) {
            left: 25%;
            -webkit-animation-delay: 4s;
            animation-delay: 4s;
        }

        .bg-bubbles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            -webkit-animation-duration: 22s;
            animation-duration: 22s;
            background-color: rgba(255, 255, 255, 0.25);
        }

        .bg-bubbles li:nth-child(5) {
            left: 70%;
        }

        .bg-bubbles li:nth-child(6) {
            left: 80%;
            width: 120px;
            height: 120px;
            -webkit-animation-delay: 3s;
            animation-delay: 3s;
            background-color: rgba(255, 255, 255, 0.2);
        }

        .bg-bubbles li:nth-child(7) {
            left: 32%;
            width: 160px;
            height: 160px;
            -webkit-animation-delay: 7s;
            animation-delay: 7s;
        }

        .bg-bubbles li:nth-child(8) {
            left: 55%;
            width: 20px;
            height: 20px;
            -webkit-animation-delay: 15s;
            animation-delay: 15s;
            -webkit-animation-duration: 40s;
            animation-duration: 40s;
        }

        .bg-bubbles li:nth-child(9) {
            left: 25%;
            width: 10px;
            height: 10px;
            -webkit-animation-delay: 2s;
            animation-delay: 2s;
            -webkit-animation-duration: 40s;
            animation-duration: 40s;
            background-color: rgba(255, 255, 255, 0.3);
        }

        .bg-bubbles li:nth-child(10) {
            left: 90%;
            width: 160px;
            height: 160px;
            -webkit-animation-delay: 11s;
            animation-delay: 11s;
        }

@-webkit-keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

@keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

/* ===== 强制清除表格间隔并添加边框 ===== */
.T_Table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

    .T_Table td,
    .T_Table th {
        border: 1px solid #bedae9 !important;
        padding: 1px 1px !important;
        text-align: left !important;
    }

    .T_Table[cellspacing] {
        border-collapse: collapse !important;
        border-spacing: 0 !important;
    }

    #Table1,
    .T_Table table {
        border-collapse: collapse !important;
        border-spacing: 0 !important;
    }

/* ===== 最终强制：所有表格单元格都有细边框 ===== */
table td,
table th {
    border: 1px solid #bedae9 !important;
    padding: 1px 1px !important;
    text-align: left !important;
    height: 18px !important;
    line-height: 18px !important;
}

/* 自定义悬浮提示框 */
.my-dp-arrow-group span {
    position: relative;
}

    .my-dp-arrow-group span:hover::after {
        content: attr(data-tip); /* 读取我们自定义的属性 */
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 5px;
        background-color: #333;
        color: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        z-index: 99999; /* 保证在最上层 */
        pointer-events: none;
    }



/* 1. 表格不再强制 100% 宽，允许被内容撑开 */
.T_Table table {
    width: auto !important;
}

    /* 2. 表格单元格不换行，内容多就往外长 */
    .T_Table table td,
    .T_Table table th {
        white-space: nowrap;
    }

/* 3. 外层容器超出时出现横向滚动条 */
.T_Table {
    overflow-x: auto;
}

