﻿/*頁面框架*/
body {
    font-family: Arial,'微軟正黑體','Microsoft JhengHei',sans-serif;
}
    body .navbar-custom .topbar-logo{
        display:none;
    }
    body.no-menu .navbar-custom .topbar-logo {
        height: 70px;
        float: left;
        display: flex;
        justify-content: center;
        align-items: center;
        width:auto;
    }
    body.no-menu .content-page {
        margin-left: 0px !important;
    }
    body.no-menu .navbar-custom {
        left: 0px !important;
    }
    body.no-menu body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) .wrapper .navbar-custom,
    body.no-menu body[data-leftbar-compact-mode="condensed"]:not(.authentication-bg) .wrapper .footer {
        left: 0px !important;
    }
    body.no-menu .footer {
        left: 0px !important;
    }
    body.no-menu .logo {
        width: 125px;
    }
    body.no-menu .open-left{
        display:none;
    }
.navbar-custom .topbar-menu .nav-link {
    margin: 0 7px;
}
.content-page {
    height: 100vh;
    padding: 70px 0px 65px 12px;
}
.content{
    height:100%;
    padding-right:12px;
    overflow-y:auto;
}
.container-fluid {
    height: 100%;
}
.account-user-name {
    height: 39px;
    line-height: 39px;
}
.logo-lg {
    font-weight: bold;
    font-size: 1.2rem;
}
.logo-sm {
    font-weight: bold;
    font-size: 0.9rem;
}
.logo-light .logo-lg,
.logo-light .logo-sm,
.logo-dark .logo-lg,
.logo-dark .logo-sm {
    color: #fff !important;
}

/*bootstrap-select*/
.btn-light.disabled,
.btn-light:disabled {
    background-color: #E9ECEF;
    border-color: #e5e6e7;
    opacity: 1;
    color: #6c757d;
}
/*bootstrap-select*/


/*bootstrap-table*/
.bootstrap-table.bootstrap5 .btn-secondary {
    color: inherit;
    /*background: white;*/
    /*border: 1px solid #e7eaec;*/
}

.bootstrap-table .fixed-table-toolbar .columns label {
    margin: .25rem 0px;
}

.bootstrap-table.bootstrap5 .dropdown-toggle .caret {
    display: none;
}

.bootstrap-table.bootstrap5 .fixed-table-container {
    border-radius: 4px;
    overflow: hidden;
    /*border: 1px solid #e7eaec;*/
}

.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    /*background-color: #fff;*/
}

.table > tbody > tr > td:first-child,
.table > thead > tr > th:first-child {
    border-left: 0px;
}

.table > tbody > tr > td:last-child,
.table > thead > tr > th:last-child {
    border-right: 0px;
}

.table.eqCodeRule > tbody > tr > td:first-child,
.table.eqCodeRule > thead > tr > th:first-child {
    border-left: 1px solid #000;
}

.table.eqCodeRule > tbody > tr > td:last-child,
.table.eqCodeRule > thead > tr > th:last-child {
    border-right: 1px solid #000;
}

.bootstrap-table.bootstrap5 .fixed-table-container .fixed-table-body .fixed-loading .loading-wrap .loading-text {
    font-size: 1rem !important;
}

.fixed-table-footer .table tr th {
    /*background-color: #AABBCC;
    color: #fff;*/
}

.fixed-table-footer .table thead th .th-inner {
    padding: 8px !important;
}

.form-inline {
    display: inline-block;
    width: 326px;
}

    .form-inline input[type=file] {
        width: calc(100% - 95px);
        height: 38px;
        line-height: 24px;
        padding: 3px 0.75rem;
    }

@media (max-width: 414px) {
    .form-inline {
        width: calc(100% - 74px);
    }
}

#toolbar button,
#toolbar a,
#toolbar input[type=file] {
    margin-bottom: 5px;
}

/*bootstrap-table*/
/*form*/
.col-form-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media (max-width: 767.98px) {
    .col-form-label.text-end {
        text-align: left !important;
    }
}
/*form*/

/*自訂css*/
.uploadfile {
    width: 100px;
    position: relative;
}
    .uploadfile img {
        width: 100%;
    }
    .uploadfile .close {
        display: none;
        position: absolute;
        top: -11px;
        right: -11px;
    }

.uploadtxtfile .file-div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 36px;
    font-size: 1rem;
}
    .uploadtxtfile .file-div span {
        margin-right: 5px;
    }
    .uploadtxtfile .file-div .close {
        margin-left: -5px;
        position: relative;
        top: -7px;
    }

input[type='file'] {
    overflow: hidden;
}

.mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    filter: Alpha(Opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
    z-index: 9998; /*这个数值比pop box小*/
}

.loading {
    top: 40%;
    left: 50%;
    z-index: 9999;
    position: fixed;
    display: none;
}
    .loading i, .loading span {
        color: #ccc;
    }

.msg-alert {
    text-align: center;
    font-size: 14px;
}

#alarmModal .modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.alarmMessage {
    position: fixed;
    right: -400px;
    bottom: 30px;
    width: calc(100% - 30px);
    min-height: 40px;
    z-index: 1000;
    display: table;
    padding-right: 25px !important;
}

.fontsize-18 {
    font-size: 18px !important;
    line-height: 18px;
}

@media (min-width: 420px) {
    .alarmMessage {
        position: fixed;
        right: -400px;
        bottom: 30px;
        width: 400px;
        min-height: 40px;
        z-index: 1000;
        display: table;
        padding-right: 25px !important;
    }
}

.alarmMessage .close {
    right: 10px;
    position: absolute;
    top: 8px;
}
    .alarmMessage .alert-txt {
        display: table-cell;
        vertical-align: middle;
    }

/*.btn-default {
    color: inherit;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}*/

.btn-warning {
    color: #fff;
    background-color: #ffbc00;
    border-color: #ffbc00;
}
    .btn-warning:hover {
        color: #fff;
        background-color: #ffc626;
        border-color: #ffc31a;
    }
    .btn-check:focus + .btn-warning, .btn-warning:focus {
        color: #fff;
        background-color: #ffc626;
        border-color: #ffc31a;
        -webkit-box-shadow: 0 0 0 0.2rem rgba(224, 169, 11, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(224, 169, 11, 0.5);
    }
    .btn-check:checked + .btn-warning,
    .btn-check:active + .btn-warning, .btn-warning:active, .btn-warning.active,
    .show > .btn-warning.dropdown-toggle {
        color: #fff;
        background-color: #ffc933;
        border-color: #ffc31a;
    }
        .btn-check:checked + .btn-warning:focus,
        .btn-check:active + .btn-warning:focus, .btn-warning:active:focus, .btn-warning.active:focus,
        .show > .btn-warning.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(224, 169, 11, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(224, 169, 11, 0.5);
        }
    .btn-warning:disabled, .btn-warning.disabled {
        color: #fff;
        background-color: #ffbc00;
        border-color: #ffbc00;
    }

.btn-copy {
    color: #fff;
    background-color: #727272;
    border-color: #727272;
    webkit-box-shadow: 0px 2px 6px 0px rgb(96 96 96 / 50%);
    box-shadow: 0px 2px 6px 0px rgb(96 96 96 / 50%);
}
    .btn-copy:hover {
        color: #fff;
        background-color: #606060;
        border-color: #606060;
    }
    .btn-copy:focus, .btn-copy.focus {
        background-image: none;
        outline: 0;
        -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }
    .btn-copy.disabled, .btn-copy:disabled {
        color: #fff;
        background-color: #727272;
        border-color: #727272;
    }
    .btn-copy:not(:disabled):not(.disabled):active, .btn-copy:not(:disabled):not(.disabled).active,
    .show > .btn-copy.dropdown-toggle {
        color: #fff;
        background-color: #606060;
        border-color: #606060;
    }
        .btn-copy:not(:disabled):not(.disabled):active:focus, .btn-copy:not(:disabled):not(.disabled).active:focus,
        .show > .btn-copy.dropdown-toggle:focus {
            background-image: none;
            outline: 0;
            -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
            box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        }

.btn-import {
    color: #fff;
    background-color: #00bbff;
    border-color: #00bbff;
    webkit-box-shadow: 0px 2px 6px 0px rgb(0 181 247 / 50%);
    box-shadow: 0px 2px 6px 0px rgb(0 181 247 / 50%);
}
    .btn-import:hover {
        color: #fff;
        background-color: #00b5f7;
        border-color: #00b5f7;
    }
    .btn-import:focus, .btn-import.focus {
        background-image: none;
        outline: 0;
        -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    }
    .btn-import.disabled, .btn-import:disabled {
        color: #fff;
        background-color: #00bbff;
        border-color: #00bbff;
    }
    .btn-import:not(:disabled):not(.disabled):active, .btn-import:not(:disabled):not(.disabled).active,
    .show > .btn-import.dropdown-toggle {
        color: #fff;
        background-color: #00b5f7;
        border-color: #00b5f7;
    }
        .btn-import:not(:disabled):not(.disabled):active:focus, .btn-import:not(:disabled):not(.disabled).active:focus,
        .show > .btn-import.dropdown-toggle:focus {
            background-image: none;
            outline: 0;
            -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
            box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        }

.maintable {
    font-family: "標楷體";
    font-size: 1.2rem;
    border-width: 0;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    /* box-shadow: 0 0 5px #BBBBBB;*/
    margin-bottom: 20px;
    padding: 10px;
    color:#000;
}
    .maintable .chage-page {
        page-break-after: always;
    }
    .maintable h2 {
        text-align: center;
    }
    .maintable .header-div .header-unit {
        float:left;
        font-size:1.4rem;
        margin-bottom:10px;
    }
    .maintable .header-div .header-date {
        float: right;
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .maintable table th {
        font-weight: bold;
    }
    .maintable table th {
        text-align: left;
        border: 0;
        height: 10px;
    }
    .maintable table tr td {
        /*font-size: 14px;*/
        color: #333;
        padding: 2px 5px;
        text-align: center;
    }
    .maintable .chapter {
        border: 2px solid red;
        padding: 0px 2px;
        color: red;
        border-radius: 5px;
        display: inline-block;
        font-size: 1rem;
        font-weight: 600;
        margin-left: -2px;
    }
    .maintable .footer{
        color:#000;
    }
.preview_div{
    min-height:1000px;
}
.text-red{
    color:red;
}
.text-green{
    color:green;
}
/*自訂css*/

/*Dashboard*/
.em-menu {
    border: none;
    color: var(--ct-topbar-item-color);
    background-color: transparent;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    position: relative;
}
@media (max-width: 768px) {
    /*.menu {
        height: calc(100% - 120px);
    }*/
    .device-nav {
        height: calc(100% - 47.75px) !important;
    }

    .page-aside-left {
        opacity: 0;
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 1000;
        background: #f6f7fb;
        padding: 20px;
        border: 2px solid #eef2f7;
        border-radius: 0.25rem;
        margin-left: -240px;
        transition: all 0.5s ease-in-out;
    }

        .page-aside-left.active {
            opacity: 1;
            margin-left: 0px;
        }

            .page-aside-left.active:before {
                background: none;
            }

    .page-aside-right {
        margin: 0px;
        border-left: 0px;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .page-aside-left {
        margin-left: -100%;
    }
}
/*Dashboard*/