﻿td {
    font-weight: 800;
}

th {
    color: #828d9f !important;
    font-weight: 600 !important;
    /*position: sticky;
    top: 0;*/ /* Don't forget this, required for the stickiness */
}

.header-lightdark {
    border-bottom: 2px solid #dee2e6;
    background-color: #d5d9dd;
}
    .header-lightdark th {
        color: #4a4a4a !important;
    }


.header-dark {
    background: #4c5457;
}

    .header-dark th {
        color: #fff !important;
    }

.rowCanSelect tr:not(.active) {
    cursor: pointer;
}
    .rowCanSelect tr:not(.active):hover {
        background-color: #edfdf6;
    }


/*nav > a {
    font-size: large;
}*/

.table {
    text-align: center;
    font-size: large !important;
    table-layout: fixed;
    white-space: nowrap;
    vertical-align: middle;
}

.cell {
    white-space: nowrap;
    overflow: hidden;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width:15%;
}

.w-20 {
    width: 20%;
}

.w-25 {
    width: 25%;
}

.w-40 {
    width: 40%;
}

.w-45 {
    width: 45%;
}

.w-50 {
    width: 50%;
}

.w-55 {
    width: 55%;
}

.w-60 {
    width: 60%;
}

.w-65 {
    width: 65%;
}

.w-70 {
    width: 70%;
}

.w-75 {
    width: 75%;
}

.w-80 {
    width: 80%;
}

.w-85 {
    width: 85%;
}

.w-90 {
    width: 90%;
}

.w-95 {
    width: 95%;
}





.recently-change {
    animation: recently-change-ani 2s ease;
}

@keyframes recently-change-ani {
    0% {
        background-color: #fff
    }

    50% {
        background-color: #fcffa2
    }

    to {
        background-color: #fff
    }
}

.collapse-container {
}

.collapse-header {
    /*background-color: #4caf50;
    color: white;
    padding: 10px;*/
    cursor: pointer;
    /*text-align: center;*/
    /*border-radius: 5px;*/
}

.collapse-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
    /*background-color: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 0 10px;*/}

/*            .collapse-content p {
                margin: 10px 0;
            }*/

.collapse-container.active .collapse-content {
    max-height: 999px; /* Adjust as needed */
    transition: max-height 0.5s ease-in;
}

.collapse-container.active .triangle {
    transform: rotate(180deg);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
    transition: transform 0.3s ease;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.block-title {
    position: relative; /*將整塊<div>當作基準位置*/
    padding-left: 20px;
    font-size: 1.5rem;
    font-weight: 800;
}

    .block-title::before {
        content: ""; /*沒用到仍然要寫，雙引號內容留空*/
        width: 5px; /*設定長方形寬度*/
        height: 100%; /*設定長方形高度*/
        background: var(--bs-primary);
        position: absolute; /*設定與<div>區塊的相對位置*/
        left: 0px; /*從<div>區塊左上角起算，與左邊距離為0，即靠左的意思*/
        top: 0px; /*從<div>區塊左上角起算，與上方距離為100%時才開始產生這個長方形，因此長方形會在整塊<div>區塊的下方*/
    }
