.input-group-text {
    background-color: #007bff;
    color: #FFF;
}

.main-logo {
    position: fixed;
    top: 32px;
    left: 20%;
    width: 430px;
}

.gary {
    color: #333333;
}

.green {
    color: #1aff00;
}

.orange {
    color: #ff9100;
}

.red {
    color: #FF0000;
}

.pink {
    background-color: #FF6666;
    color: #FFF
}

.upload-file {
    width: 75%;
    background-color: #FFF;
    border-color: #7FAED3;
}

.btn-height {
    height: 43px;
}

.btn-primary {
    background-color: #005da7;
    border-color: #005da7;
}

.index-title {
    font-size: 4rem !important;
    color: #FFFFFF !important;
    text-shadow: 0 0 6px rgba(26, 23, 23, 0.60);
    font-weight: bold;
    padding: 3.2rem;
}

#sidebar ul li a {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
}

#sidebar {

    position: fixed;
    height: 100vh;
    z-index: 999;
    padding-top: 105px;
}

.sidebar-btn,
.sidebar-btn:hover {
    background: #7FAED3;
    color: #FFF;
    font-size: 1.5em;
    margin-right: 10px;
}

.text-secondary {
    color: #2185d0 !important;
}

#body>.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    height: 100px;
}

.content {
    margin-top: 100px;
}

#body>.content-home {
    margin: 0;
    margin-top: 150px;
}

#main-bg {
    margin-top: 3rem;
    min-height: 85vh;
    background-image: url("../img/main.jpg");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    font-size: 5em;
    color: #FFF;
    text-align: center;
}

.index-view .card .content {
    padding: 0;
}

.card .content .stats {
    display: inline-block;
    color: #555;
}

#sidebar .sidebar-header {
    border-bottom: 0px solid rgba(101, 109, 119, .16);
}

.dropdown-item.active,
.dropdown-item:active {
    background: #ddd;
}

.container {
    margin-top: 8em;
    margin-bottom: 6em;
}

#body .content .page-title h3 {
    margin: 1.3rem 0;
    /* text-align: center; */
}

.main_icon_float {
    float: left;
}

.center-setting {
    text-align: center;
}

.main_icon i {
    font-size: 4em;
    margin: 0.5em;
}

.main_icon p {
    font-size: 1.5em;
    font-weight: bold;
    color: #2185d0;
}

.d-none {
    display: none;
}

.w-100 {
    width: 100% !important
}

/* loading*/
#waitloading {
    position: absolute;
    height: 100%;
    top: 0%;
    left: 0%;
    background-color: rgba(123, 123, 123, 0.25);
    z-index: 1005;
}

#waitloading [role="button"] {
    position: sticky;
    top: 50%;
    bottom: 50%;
    left: 50%;
    cursor: not-allowed;
}

/* 訊息回報位置設定*/
.swal2-modal {
    position: fixed !important;
    margin-top: 0 !important;
    top: 20% !important;

    z-index: 10000;
}

/* 明細頁設定*/
.detail-box {
    border: 2px solid #aaa;
    border-radius: 10px;
    background: #FFF;
    padding: 1.5rem;
    width: 400px;
    margin: 2rem auto;
}

.detail-box .title {
    background-color: #333;
    color: #FFF;
    line-height: 1.5rem;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

/* RWD TABLE 設定*/
tr.detail {
    display: none;
    width: 100%;
}

tr.detail div {
    display: none;
}

.showmore:hover {
    cursor: pointer;
}

.detail-bg {
    background: #f4f8fc;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}


/* nav 設定*/
.nav-tabs .nav-link {
    min-width: 10vw;
    text-align: center;
}

.icon-end {
    min-width: 45px;
    padding-top: 0.5rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: #c6dff1;
    border-bottom: 5px solid #22a1f9;
    min-width: 10vw;
    text-align: center;
}

.card-body {
    border: 1px solid #c8dcf0;
    background: #fff;
    border-radius: 5px;
    padding: 1.5rem 2.5rem;
    margin: 0.5em 0em;
}

/* 頁面標題*/
.page-title h3 {
    font-weight: bold;
    color: #222
}

/* form設定*/
.form-control,
.form-select {
    border: 1px solid #c8dcf0;
    box-shadow: 2px 2px 2px 0px rgba(159, 170, 175, 0.2);
    font-size: 1.2rem;
}

.action_btn {
    font-size: 1.6rem;
    width: 10em;
    margin: 0.8rem 0;
}

.action_btn i,
.btn-outline-primary i,
#login_form i {
    margin-right: 6px;
}

.invertor {
    width: 100%;
    overflow: auto;
    height: 450px;
    padding: 0;
    margin: 0;
}

.invertor td,
.invertor th {
    /* 设置td,th宽度高度 */
    border: 1px solid #aaa;
    background: #FFF;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    width: 120px;

}

.invertor th {
    background-color: #2185d0;
    color: #FFF;

}

.invertor table {
    table-layout: fixed;
    width: 100%;
    /* 固定宽度 */
}

.invertor td:first-child,
.invertor th:first-child {
    position: sticky;
    left: 0;
    /* 首行永远固定在左侧 */
    z-index: 1;
    background-color: #2185d0;
    text-align: left;
    color: #FFF;
    font-weight: bold;
    width: 150px;
}

.invertor thead tr th {
    position: sticky;
    top: 0;
    /* 列首永远固定在头部  */

}

.invertor th:first-child {
    z-index: 2;
    background-color: #2185d0;
    color: #FFF;
}

.invertor td.warning {
    background-color: #f2711c;
}

.ps {
    color: #2185d0
}

/* event setting */
.event {
    width: 100%;
    overflow: auto;
    height: 450px;
    padding: 0;
    margin: 0;
}

.event td,
.event th {
    /* 设置td,th宽度高度 */
    border: 1px solid #aaa;
    background: #FFF;
    color: #444;
    padding: 5px;
    text-align: left;
    font-weight: bold;
    width: 100px;
}

.event th {
    background-color: #005da7;
    color: #FFF;
    border: 1px solid #aaa;

}

.event table {
    table-layout: fixed;
    width: 100%;
    /* 固定宽度 */
}

.event td:first-child,
.event th:first-child {
    position: sticky;
    left: 0;
    /* 首行永远固定在左侧 */
    z-index: 1;
    background-color: #005da7;
    text-align: left;
    color: #FFF;
    font-weight: bold;
}

.event thead tr th {
    position: sticky;
    top: 0;
    /* 列首永远固定在头部  */

}

.event th:first-child {
    z-index: 2;
    background-color: #005da7;
    color: #FFF;
}

.event table .td-sp1 {
    width: 145px;
}
.event table .td-sp2 {
    width: 220px;
}
.event table .td-sp3 {
    width: 80px;
}

.event table .td-sp div {
    white-space: nowrap;
}

/* 框線button 設定*/
.btn-outline-primary {
    margin: 0 0.5%;
    font-size: 0.6em;
    padding-top: 0.89%;
}

/* table 設定*/
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    font-family: auto;
    line-height: 1.1m;
}

.btn-outline-info {
    color: #2d99d8;
    border-color: #2d99d8;
}

.form-label {
    padding-top: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: #1569c2;
}

.lb-title {
    color: #00b5ad;
}

.table-bordered td {
    background: #FFF;
    border: 0;
    padding: 1%;
}

.table-bordered .box1 td {
    background-color: #00b5ad;
    color: #fff;
}

.table-bordered .box2 td {
    background-color: #b5cc18;
    color: #fff;
}

.table-bordered .title2 {
    font-weight: bold;
    color: #000;
    font-size: 1rem;
    padding-left: 2%;
}

.table-bordered .title2b {
    font-weight: bold;

    padding-left: 2%;
}

.table-bordered .title3 {
    padding-left: 5%;
}

.table-bordered .unit {
    font-weight: bold;
    color: #333;
}

.table-bordered .text-end {
    font-weight: bold;
    color: #198754;
    font-size: 1.1rem;
    border-bottom: 2px solid #b0dcc7;
    text-align: right;

}

.table-bordered .warning {
    font-weight: bold;
    color: #FF0000;
    font-size: 1.1rem;
    border-bottom: 2px solid #b0dcc7;
    text-align: right;

}

.table-bordered>:not(caption)>* {
    border-width: 0px 0;
}

.nav-pills {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    -webkit-box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.05);
}

.nav-dropdown .nav-link-menu {
    background: #78b4f0;
    border-radius: 10px;
    padding: 0;
}

.nav-dropdown .nav-link-menu::before {
    background: #78b4f0;
    box-shadow: 0 1px 10px 0 rgba(69, 90, 100, 0.2);
    top: -5px;
    font-size: 25px;
}

.nav-dropdown .nav-link-menu .nav-list {
    padding: 0;
}

.dropdown-divider {
    display: none;
}

.nav-dropdown .nav-link-menu .nav-list li a {
    font-size: 20px;
    color: #FFF
}

.nav-dropdown .nav-link-menu .nav-list li a:hover {
    background: none;
    color: #fcf792;
}

.nav-dropdown .nav-link-menu .nav-list li:hover {
    background: none;
    color: #fcf792;
}


/* FOOTER */
#footer {
    padding: 1em 0em;
    background: #eee;
    position: fixed;
    bottom: 0;
    width: 100vw;
    margin-bottom: 0vh;
    text-align: center;
    color: #555;
    z-index: 999;
}

@media screen and (min-width: 821px) {
    .main-logo {
        left: 36%;
    }

    .login-bg {
        background-position: 50%;
        background-size: contain;
        padding: 10% 0;
    }

    .event td,
    .event th{ font-size: 1em;}

}

@media screen and (max-width: 700px) {
    .nav-dropdown .nav-link-menu {
        top: 80px !important
    }

    .nav-dropdown .nav-link-menu::before {
        right: 35px;
    }

    .action_btn {

        width: 100%;

    }

    .card .content {
        padding: 15px 15px 15px 15px;
    }

    .row {
        --bs-gutter-x: 0rem;
    }

    .main-logo {
        position: fixed;
        top: 30px;
        left: 77px;
        width: 77%;
    }

    #main-bg {
        background-size: cover;
        /* height: 100vh; */

    }

    .detail-box {
        width: 100%;
    }

    .login-width {
        width: 100%;
        margin: 10% auto
    }
    .event td,
    .event th{ font-size: 0.8em;}

}


