﻿@charset "utf-8";
/* CSS Document */
body {
    font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
    margin: 0px;
    color: #0A0A0A;
    /*background: url(../imgs/osha_bg3.jpg) top left repeat-x fixed;*/
}

button {
    font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
}

input {
    font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
}

select {
    font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
}

img, a {
    outline: medium none;
    margin: 0px;
    padding: 0px;
    border: 0px;
    text-decoration: none;
}
/*-----------------------------*/
/*左邊區塊*/
#leftblock {
    width: 20%;
    float: left;
    clear: left;
    background-color: #F5F5F5;
}
/*Logo區塊*/
#logoblock {
    width: 20%;
    float: left;
    background-color: #F5F5F5;
}

.logofull {
    margin: 5px;
    width: auto;
    height: 100px;
    background: url(../imgs/osha_logo2.png) center top no-repeat;
    background-size: contain;
}
/*右邊區塊*/
#rightblock {
    width: 80%;
    float: right;
}

.contentblock {
    margin: 0.625em;
}
/*------------左邊選單開始------------*/
.navigation {
    width: 100%;
}

    .navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navigation li {
        margin-bottom: 1px;
        line-height: 27px;
    }

        .navigation li a:link, .navigation li a:active, .navigation li a:visited {
            display: block;
            text-decoration: none;
        }

        * html .navigation li a {
            width: 100%;
        }

/*------------------------*/
/*頁面查詢標題*/
.search_headline {
    color: #4282C4;
    font-size: 1.125em;
    text-align: left;
    font-weight: bold;
    padding: 3px 0px 10px 32px;
    background: url(../imgs/search_pic.png) no-repeat left 2px;
}
/*第二層次標題*/
.data_headline {
    color: #3D7ED2;
    text-align: left;
    padding: 3px 0px 5px 0px;
    padding: 3px 0px 10px 32px;
    background: url(../imgs/bar_chart.png) no-repeat left 2px;
}
/*label setting*/
.control-group {
    margin-bottom: 3px;
    font-size: 0.875em;
}

.control-label {
    float: left;
    width: 180px;
    padding: 2px 5px;
    text-align: right;
    line-height: 1.625em;
    background-color: #E5E5E5;
    color: #222222;
}
/*.controls > .checkbox:first-child {
  padding-top: 5px;
}*/
.controls {
    *display: inline-block;
    margin-left: 200px;
    padding: 2px 5px;
    line-height: 1.625em;
    background-color: #F6F6F6;
}
/*.form-horizontal .controls:first-child {
  *padding-left: 180px;
}*/
.control-label_important {
    float: left;
    width: 180px;
    padding: 2px 5px;
    text-align: right;
    line-height: 1.625em;
    background-color: #FCE5D1;
    color: #222222;
}

.controls_important {
    *display: inline-block;
    margin-left: 200px;
    padding: 2px 5px;
    line-height: 1.625em;
    background-color: #FEF6F0;
}
/*-----------------------------------------*/
/*附註說明文字*/
.noticetext1 {
    color: #b94a48;
    font-size: 0.875em;
}
/*輸入框-一般*/
.inputblock {
    vertical-align: middle;
    font-weight: normal;
    color: #333;
    border: 1px solid #ACC5ED;
}
/*輸入框-紅框必輸*/
.inputblock_red {
    vertical-align: middle;
    font-weight: normal;
    color: #333;
    border: 1px solid #FF8080;
}
/*input text寬度限制*/
.iw30 {
    width: 30px;
}

.iw40 {
    width: 40px;
}

.iw50 {
    width: 50px;
}

.iw60 {
    width: 60px;
}

.iw70 {
    width: 70px;
}

.iw80 {
    width: 80px;
}

.iw90 {
    width: 90px;
}

.iw100 {
    width: 100px !important;
}

.iw120 {
    width: 120px;
}

.iw140 {
    width: 140px;
}

.iw150 {
    width: 150px;
}

.iw200 {
    width: 200px;
}

.iw250 {
    width: 250px;
}

.iw300 {
    width: 300px;
}

.iw500 {
    width: 500px;
}

.iw60p {
    width: 60%;
}

.iw90p {
    width: 90%;
}

.iw70 {
    width: 70px;
}

.iw75 {
    width: 75px;
}
/*---------------------------------*/
/*灰色連結*/
.hylink_gray1 {
    color: #666666;
    font-size: 0.875em;
    white-space: nowrap;
    letter-spacing: 1px;
}

    .hylink_gray1 A:link, .hylink_gray1 A:visited {
        color: #666666;
        text-decoration: none;
    }

    .hylink_gray1 A:hover {
        color: #999;
        text-decoration: underline;
    }
/*淺藍色連結*/
.hylink_blue1 {
    color: #2E8AE6;
    font-size: 0.875em;
    white-space: nowrap;
    letter-spacing: 4px;
}

    .hylink_blue1 A:link, .hylink_blue1 A:visited {
        color: #2E8AE6;
        text-decoration: none;
    }

    .hylink_blue1 A:hover {
        color: #E68A00;
        text-decoration: underline;
    }
/*-------------------------------------------*/
/*按鈕*/
/* ======================================================================= */
/* BOOTSTRAP-LIKE BUTTONS (copied into oshainner_base.css)                 */
/* Classes: .btn, .btn-primary, .btn-secondary, .btn-success, .btn-danger, */
/*          .btn-warning, .btn-info, .btn-link                                */
/* NOTE: These rules are adapted from Bootstrap button defaults so the UI    */
/*       can use standard btn-* classes without loading the full bootstrap  */
/* ======================================================================= */

BUTTON, input[type="button"], input[type="submit"] {
    display: inline-block;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #dddddd;
    border: 1px solid #333333;
    padding: 3px 8px;
    margin: 1px;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.05s ease-in-out, background-color 0.05s ease-in-out, border-color 0.05s ease-in-out, box-shadow 0.05s ease-in-out;
    cursor: pointer;
    color: #111;
}

    BUTTON:hover, BUTTON:focus,
    input[type="button"]:hover, input[type="button"]:focus,
    input[type="submit"]:hover, input[type="submit"]:focus {
        color: #fff;
        background-color: #777777;
        border-color: #777777;
    }

    BUTTON:disabled,
    input[type="button"]:disabled,
    input[type="submit"]:disabled,
    .btn.disabled,
    fieldset[disabled] .btn {
        opacity: 0.65;
        pointer-events: none;
    }

/* Primary */
.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover, .btn-primary:focus {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Secondary (mapped to typical Bootstrap secondary) */
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover, .btn-secondary:focus {
        color: #fff;
        background-color: #5c636a;
        border-color: #565e64;
    }

/* Success */
.btn-success {
    color: #fff;
    background-color: #27a36a;
    border-color: #27a36a;
}

    .btn-success:hover, .btn-success:focus {
        color: #fff;
        background-color: #157347;
        border-color: #146c43;
    }

/* Danger */
.btn-danger {
    color: #fff;
    background-color: #e34251;
    border-color: #e34251;
}

    .btn-danger:hover, .btn-danger:focus {
        color: #fff;
        background-color: #c82333;
        border-color: #bd2130;
    }

/* Warning */
.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

    .btn-warning:hover, .btn-warning:focus {
        color: #212529;
        background-color: #ffca2c;
        border-color: #ffc107;
    }

/* Info */
.btn-info {
    color: #fff;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

    .btn-info:hover, .btn-info:focus {
        color: #fff;
        background-color: #31d2f2;
        border-color: #25cff2;
    }

/* Link-style button */
.btn-link {
    font-weight: 400;
    color: #0d6efd;
    background-color: transparent;
    border: none;
    padding: 0;
}

    .btn-link:hover, .btn-link:focus {
        color: #0a58ca;
        text-decoration: underline;
    }

/* Outline button variants (outline) */

.btn-outline-primary {
    color: #0d6efd;
    background-color: transparent;
    background-image: none;
    border-color: #0d6efd;
}

    .btn-outline-primary:hover, .btn-outline-primary:focus {
        color: #fff;
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

.btn-outline-secondary {
    color: #6c757d;
    background-color: transparent;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover, .btn-outline-secondary:focus {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

.btn-outline-success {
    color: #198754;
    background-color: transparent;
    border-color: #198754;
}

    .btn-outline-success:hover, .btn-outline-success:focus {
        color: #fff;
        background-color: #198754;
        border-color: #198754;
    }

.btn-outline-danger {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}

    .btn-outline-danger:hover, .btn-outline-danger:focus {
        color: #fff;
        background-color: #dc3545;
        border-color: #dc3545;
    }

.btn-outline-warning {
    color: #ffc107;
    background-color: transparent;
    border-color: #ffc107;
}

    .btn-outline-warning:hover, .btn-outline-warning:focus {
        color: #212529;
        background-color: #ffc107;
        border-color: #ffc107;
    }

.btn-outline-info {
    color: #0dcaf0;
    background-color: transparent;
    border-color: #0dcaf0;
}

    .btn-outline-info:hover, .btn-outline-info:focus {
        color: #fff;
        background-color: #0dcaf0;
        border-color: #0dcaf0;
    }

/* END BOOTSTRAP-LIKE BUTTONS */
.common_btn {
    white-space: nowrap;
    border-radius: 4px;
    padding: 3px 7px;
    height: 27px;
    letter-spacing: 1px;
    margin-left: 5px;
    cursor: hand;
}
/*no left margin*/
.common_btn2 {
    white-space: nowrap;
    border-radius: 4px;
    padding: 3px 7px;
    height: 27px;
    letter-spacing: 1px;
    cursor: hand;
}
/*綠色按鈕*/
.green_btn {
    color: #618022;
    background-color: #F3F8EA;
    border: 1px solid #A2C55A;
}

    .green_btn:hover {
        color: #FFFFFF;
        background-color: #A3D119;
        border: 1px solid #A2C55A;
    }
/*橘色按鈕*/
.orange_btn {
    color: #FFFFFF;
    background-color: #FFA319;
    border: 1px solid #FFBB77;
}

    .orange_btn:hover {
        color: #CC6600;
        background-color: #FFF5E6;
        border: 1px solid #FFAD33;
    }

/*藍色按鈕*/
.blue_btn {
    color: #FFFFFF;
    background: -webkit-linear-gradient(#297ACC, #70B8FF);
    background: -o-linear-gradient(#297ACC, #70B8FF);
    background: -moz-linear-gradient(#297ACC, #70B8FF);
    background: linear-gradient(#297ACC, #70B8FF);
    border: 1px solid #B8DBFF;
}

    .blue_btn:hover {
        color: #FFFFFF;
        background: -webkit-linear-gradient(#70B8FF, #297ACC);
        background: -o-linear-gradient(#70B8FF, #297ACC);
        background: -moz-linear-gradient(#70B8FF, #297ACC);
        background: linear-gradient(#70B8FF, #297ACC);
        border: 1px solid #B8DBFF;
    }
/*-------------------------------*/
/*靠右不黏邊*/
.align_r {
    text-align: right;
    padding: 2px 5px;
}
/*靠左*/
.aligh_l {
    text-align: left;
    padding: 2px 5px;
}
/*置中*/
.align_center {
    text-align: center;
    padding: 2px 5px;
}
/*點狀分隔線*/
.dot_separator {
    width: 97%;
    border-top: 0px dashed #B2B2B2;
    border-bottom: 1px dashed #B2B2B2;
    margin: 10px 0px;
}
/*單純間隔,隔上10px*/
.topseparator {
    margin-top: 10px;
    padding-top: 10px;
}
/*單純間隔,隔上5px*/
.topseparator2 {
    margin-top: 3px;
    padding-top: 3px;
}

/*隔下10px*/
.botseparator {
    margin-bottom: 10px;
    padding-bottom: 10px;
}
/*隔下10px*/
.botseparator2 {
    margin-bottom: 3px;
    padding-bottom: 3px;
}
/*浮動靠左*/
.leftfloat {
    float: left;
}
/*浮動靠右*/
.rightfloat {
    float: right;
}
/*清除左右*/
.clearall {
    clear: both;
}

/*------------------表格資料開始--------------------*/
.oshadata {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFF;
}

    .oshadata caption {
        color: #306ED1;
        font-size: 1em;
        text-align: left;
        font-weight: bold;
        padding: 2px 0px 5px 30px;
        background: url(../imgs/file_icon1.png) no-repeat left 2px;
    }

    .oshadata th {
        border: 0px solid #B2D1FF;
        padding: 6px;
        background-color: #2E8AE6;
        color: #FFF;
        white-space: nowrap;
        font-size: 0.875em;
    }

    .oshadata td {
        border: 0px solid #B2D1FF;
        font-size: 0.875em;
        padding: 5px;
        vertical-align: top;
        color: #000;
    }

        .oshadata td.textmid {
            text-align: center;
        }

        .oshadata td.textleft {
            text-align: left;
        }

        .oshadata td.textright {
            text-align: right;
        }

    .oshadata a {
        color: #306ED1;
        text-decoration: underline;
    }

        .oshadata a:hover {
            color: #1D427D;
            text-decoration: none;
        }

.oshadata_even {
    background-color: #EEEEEE;
}
/*------------------表格資料結束--------------------*/
.tdTitle {
    text-align: right;
    vertical-align: middle;
    background-color: #E5E5E5;
    padding: 3px 5px;
    text-align: right;
    width: 17%;
    height: 30px;
    border: 1px solid #fff;
}

.tdContent {
    vertical-align: middle;
    background-color: #F6F6F6;
    padding: 3px 5px;
    height: 30px;
    width: 33%;
    border: 1px solid #fff;
}

.tdContentCol3 {
    vertical-align: middle;
    background-color: #F6F6F6;
    padding: 3px 5px;
    height: 30px;
    width: 83%;
    border: 1px solid #fff;
}

.tdTitle3 {
    text-align: right;
    vertical-align: middle;
    background-color: #E5E5E5;
    padding: 3px 5px;
    text-align: right;
    width: 10%;
    height: 30px;
    border: 1px solid #fff;
}

.tdContent3 {
    vertical-align: middle;
    background-color: #F6F6F6;
    padding: 3px 5px;
    height: 30px;
    width: 23%;
    border: 1px solid #fff;
}

.tbBorder tr:first-child {
    background-color: #E8E8E8;
}
.tbBorder td {
    border: 1px solid #333;
    padding: 3px 5px;
}

.edtiTable {
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-left-color: #fff;
    border-right-color: #fff;
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-right-style: solid;
    width: 100%;
}

.mainData {
    width: 100%;
    border-top: 0px dashed #B2B2B2;
    border-bottom: 1px dashed #B2B2B2;
    margin-top: 2px;
    margin-bottom: 2px;
}

.adminFontColor {
    display: none;
}

.adminButton {
    display: none;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .adminButton:hover, .adminButton:focus {
        color: #fff;
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* ----------------------------------------------------------
   輸入框
---------------------------------------------------------- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
    border: 1px solid #b5b5b5;
    border-radius: 6px;
    padding: 3px 5px;
    background-color: #fff;
    color: #111111;
    transition: border-color 0.05s ease, box-shadow 0.05s ease;
    outline: none;
    vertical-align: middle;
    cursor: text;
}

select {
    cursor: pointer;
}

/* Checkbox */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    vertical-align: middle;
    cursor: pointer;
}

/* Checkbox */
input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    vertical-align: middle;
}

input[readonly],
input[disabled],
select[disabled],
textarea[readonly] {
    background-color: #F0F0F0;
    color: #888888;
    cursor: not-allowed;
}

/* ----------------------------------------------------------
   7. 分頁 (Pagination)
   ---------------------------------------------------------- */
.pagination {
    background-color: transparent;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
}

    .pagination a {
        border: 1px solid #b5b5b5;
        border-radius: 6px;
        color: #111111;
        text-decoration: none;
        transition: all 0.05s ease;
    }

    .pagination .current {
        color: #fff;
        border-radius: 6px;
    }

/* Select2 覆蓋 */
.select2-container .select2-choice {
    border-radius: 6px;
    border-color: #b5b5b5;
}

/* ----------------------------------------------------------
   9. EasyUI 元件微調 (安全覆蓋)
   ---------------------------------------------------------- */

/* Tabs 標籤頁 */
.tabs-header {
    border-bottom: 2px solid #f7f7f7;
    background: transparent;
}

.tabs li a.tabs-inner {
    border-radius: 6px 6px 0 0;
    transition: all 0.05s ease;
}

.tabs li.tabs-selected a.tabs-inner {
    font-weight: 600;
}

/* DataGrid 表格 */
.datagrid-header td {
    background: #f7f7f7;
    font-weight: 500;
}

/* Dialog 對話框 */
.window {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

    .window .panel-header {
        border-radius: 10px 10px 0 0;
    }

/* Tree 樹狀元件 */
.tree-node-hover {
    background-color: #f7f7f7;
    border-radius: 4px;
}

.tree-node-selected {
    background-color: #dbeafe;
    border-radius: 4px;
}
