/* Bulletin System External Stylesheet (CSP-safe: no unsafe-inline required) */

body {
    font-family: "Times New Roman", "微軟正黑體", sans-serif;
}

body.bulletin-list {
    margin: 0;
}

/* RWD Table (index_rwd.php) */
.rwd-table {
    background: #fff;
    overflow: hidden;
    min-width: 100%;
    width: 100%;
}

.rwd-table tr:nth-of-type(2n) {
    background: #eee;
}

.rwd-table tr.row-even {
    background-color: #fafafa;
}

.rwd-table tr.row-odd {
    background-color: #e7e8e9;
}

.rwd-table tr.header-row {
    background-color: #2ca2a4;
}

.rwd-table tr.header-row th {
    color: #ffffff;
}

.rwd-table th,
.rwd-table td {
    margin: 0.1em 0.1em;
    text-align: left;
}

.rwd-table th {
    display: none;
}

.rwd-table td {
    display: block;
}

.rwd-table td:before {
    content: attr(data-th) "：";
    font-weight: bold;
    width: 5.1em;
    display: inline-block;
}

.rwd-table th,
.rwd-table td:before {
    color: #067485;
    font-weight: bold;
}

@media (min-width: 480px) {
    .rwd-table td:before {
        display: none;
    }

    .rwd-table th,
    .rwd-table td {
        display: table-cell;
        padding: 0.1em;
    }

    .rwd-table th:first-child,
    .rwd-table td:first-child {
        padding-left: 0;
    }

    .rwd-table th:last-child,
    .rwd-table td:last-child {
        padding-right: 0;
    }
}

.col-idno {
    width: 68px;
}

.col-kind {
    width: 72px;
}

.col-dept {
    width: 86px;
}

.col-man {
    width: 72px;
}

.col-date {
    width: 84px;
}

.topic-cell {
    cursor: pointer;
}

.dept-text {
    font-size: 13px;
}

.empty-msg {
    text-align: center;
}

/* List Toolbar (index_rwd.php) */
.list-outer-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
}

.toolbar-row {
    height: 45px;
}

.page-title {
    font-family: "微軟正黑體", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.filter-select-field {
    font-size: 12pt;
    width: 92px;
    height: 24px;
}

.filter-select-op {
    font-size: 12pt;
    width: 40px;
    height: 24px;
    padding: 0;
}

.filter-input {
    font-size: 12pt;
    width: 90px;
    height: 24px;
}

.btn-tool {
    font-size: 12pt;
    width: 42px;
    height: 24px;
    padding: 0;
    font-family: "微軟正黑體", sans-serif;
}

.page-input {
    font-size: 10pt;
    width: 36px;
    height: 24px;
    padding: 0;
    font-family: "微軟正黑體", sans-serif;
    text-align: center;
}

.page-total-input {
    border: 1px solid #999999;
    font-size: 10pt;
    width: 36px;
    height: 24px;
    padding: 0;
    font-family: "微軟正黑體", sans-serif;
    text-align: center;
    background-color: #E1E1E1;
}

/* Login Page (login.php) */
.login-wrapper {
    text-align: center;
}

.login-table {
    width: 200px;
    margin: 0 auto;
    border: 0;
    border-collapse: collapse;
}

.login-table td {
    padding: 3px;
}

.login-header {
    background-color: #0066CC;
    height: 28px;
    text-align: center;
    font-family: "微軟正黑體", sans-serif;
    font-weight: bold;
    color: #FFFFFF;
}

.login-label {
    width: 47px;
    text-align: right;
}

.login-field {
    width: 141px;
}

.login-input {
    font-size: 12pt;
    width: 128px;
    height: 24px;
}

.login-footer {
    background-color: #0066CC;
    height: 28px;
    text-align: center;
}

.login-submit {
    font-size: 11pt;
    width: 72px;
    height: 22px;
    padding: 0;
}

/* CKEditor Shared (view.php & edit.php) */
#container {
    width: 100%;
    margin: 20px auto;
}

.ck-editor__editable[role="textbox"] {
    height: 300px;
}

.edit-page .ck-editor__editable[role="textbox"] {
    width: 97%;
}

.ck-content .image {
    max-width: 90%;
    margin: 20px auto;
}

/* View Page (view.php) */
.view-wrapper {
    text-align: center;
}

.view-table {
    width: 80%;
    min-height: 75%;
    margin: 0 auto;
    border: 0;
    border-spacing: 1px;
}

.view-bar {
    background-color: #067485;
    height: 32px;
    text-align: center;
}

.view-bar-inner {
    width: 100%;
    border: 0;
    border-collapse: collapse;
}

.view-bar-side {
    width: 180px;
}

.view-bar-title {
    text-align: center;
    font-family: "微軟正黑體", sans-serif;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
}

.view-bar-expir {
    font-family: "微軟正黑體", sans-serif;
    color: #FFFFFF;
    font-size: 11pt;
}

.view-row {
    height: 32px;
}

.view-attach-row {
    height: 66px;
}

.view-label {
    width: 88px;
    text-align: center;
    background-color: #F0F0F0;
    font-family: "微軟正黑體", sans-serif;
}

.view-label-narrow {
    width: 72px;
    text-align: center;
    background-color: #F0F0F0;
    font-family: "微軟正黑體", sans-serif;
}

.view-label-top {
    width: 72px;
    text-align: center;
    vertical-align: top;
    background-color: #F0F0F0;
    font-family: "微軟正黑體", sans-serif;
}

.view-label-title {
    margin-top: 3px;
    margin-bottom: 3px;
}

.view-highlight {
    background-color: #FFeeFF;
    text-align: left;
}

.view-content-cell {
    vertical-align: top;
    text-align: left;
}

.view-attach-batch {
    border: 0;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.view-attach-item {
    cursor: pointer;
    margin: 2px 0;
}

.view-attach-icon {
    border: 0;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.btn-action {
    font-size: 12pt;
    width: 72px;
    height: 24px;
    padding: 0;
    font-family: "微軟正黑體", sans-serif;
}

.btn-action-edit {
    height: 25px;
}

/* Edit Page (edit.php) */
.edit-wrapper {
    text-align: center;
}

.edit-table {
    width: 721px;
    margin: 0 auto;
    border: 0;
    border-collapse: collapse;
}

.edit-header-cell {
    text-align: center;
    background-color: #F0F0F0;
}

.edit-header-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    background-color: #000000;
}

.edit-header-title {
    width: 414px;
    height: 28px;
    font-family: "微軟正黑體", sans-serif;
    color: #FFFFFF;
    font-size: 13pt;
    font-weight: bold;
    text-align: left;
}

.edit-header-date-label {
    font-family: "微軟正黑體", sans-serif;
    color: #FFFFFF;
}

.edit-date-input {
    border: 0;
    font-size: 12pt;
    width: 92px;
    height: 22px;
    padding: 0;
    background-color: #000000;
    color: #FFFFFF;
    text-align: right;
}

.edit-label {
    width: 68px;
    text-align: center;
    background-color: #F0F0F0;
    height: 28px;
    font-family: "微軟正黑體", sans-serif;
}

.edit-label-top {
    width: 68px;
    text-align: center;
    vertical-align: top;
    background-color: #F0F0F0;
    font-family: "微軟正黑體", sans-serif;
}

.edit-cell-kind {
    width: 144px;
    height: 28px;
    text-align: left;
}

.edit-cell-expir {
    width: 114px;
    height: 28px;
    text-align: left;
}

.edit-cell-dept {
    width: 105px;
    height: 28px;
    text-align: left;
}

.edit-cell-man {
    width: 92px;
    height: 28px;
    text-align: left;
}

.edit-cell-wide {
    height: 28px;
    text-align: left;
}

.edit-select {
    font-size: 12pt;
    width: 92px;
    height: 24px;
    padding: 0;
}

.edit-expir-input {
    font-size: 12pt;
    width: 92px;
    height: 24px;
    padding: 0;
}

.edit-readonly-input {
    font-size: 12pt;
    width: 80px;
    height: 24px;
    padding: 0;
    background-color: #E1E1E1;
}

.edit-topic-input {
    font-size: 12pt;
    width: 642px;
    height: 24px;
    padding: 0;
}

.edit-textarea {
    font-size: 12pt;
    width: 640px;
    height: 100px;
}

.edit-file-hidden {
    display: none;
}

.edit-file-text {
    font-size: 12pt;
    width: 550px;
    height: 24px;
    padding: 0;
}

.edit-btn-small {
    font-size: 12pt;
    width: 42px;
    height: 24px;
    padding: 0;
    font-family: "微軟正黑體", sans-serif;
    text-align: center;
}

.edit-footer {
    text-align: center;
    background-color: #000000;
}

.edit-submit {
    font-size: 12pt;
    width: 72px;
    height: 24px;
    padding: 0;
    font-family: "微軟正黑體", sans-serif;
    text-align: center;
}

.center-notice {
    margin-top: 2em;
    text-align: center;
}

