﻿.brand-link span {
    color: #C2C7D0;
}

.info span {
    color: #C2C7D0;
}

.color {
    color: #666666;
}

a, span {
    color: #666666;
}

    a:hover {
        color: #999999;
    }

label {
    color: #666666;
    margin: 0px 10px 0px 0px;
}

    label.lock {
        color: #CCCCCC;
    }

span.lock {
    color: #CCCCCC;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #DCDCE1;
}

.page-title {
    font-size: 24px;
    color: #666666;
    font-weight: bold;
}

.tab-content .row {
    margin: 0;
}

.search-area, .actual-area, .return-area, .approve-area {
    /*width: 380px;
    margin-right: 20px;*/
    max-width: 360px;
    margin-right: 20px;
    width: 100%;
}

.quotation-approve-area {
    max-width: 390px;
    margin-right: 20px;
    width: 100%;
}

.search-item .row {
    margin: 0;
}

.content-area {
    width: calc(100% - 400px);
}

/*.actual-area {
    width: 380px;
    margin-right: 20px;
}

.return-area {
    width: 380px;
    margin-right: 20px;
}

.approve-area {
    width: 380px;
    margin-right: 20px;
}*/

.Annoucement-area {
    /*width: 380px;
    margin-right: 20px;*/
    max-width: 380px;
    margin-right: 20px;
    width: 100%;
}

.draft-area, .EditAccountment-area {
    /*width: 520px;
    margin-right: 20px;*/
    max-width: 420px;
    margin-right: 20px;
    width: 100%;
}
.draftcontent-area, .EditAccountmentcontent-area {
    width: calc(100% - 540px);
}

.radius-area {
    border-radius: 10px;
    /*background-color: yellow;*/
    background-color: white;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #CCCCCC;
}

.btn.end_btn {
    margin: 0px 5px 5px;
}

@media (min-width: 576px) {
    .btn.end_btn {
        font-size: 20px;
        padding: 3px 10px;
    }
}

.noticecircle {
    font-size: 5px;
    color: #dc3545;
}

.noticemsg {
    word-wrap: break-word;
    font-size: 14px;
    /*color: #666666;*/
}

.sidebartreebadge {
    font-size: 95%;
    position: absolute;
    right: 2.2rem;
}

.sidebarbadge {
    font-size: 80%;
}

.navbar-badge{
    top: 4px;
}

.nav-tabs .nav-link {
    position: relative;
    padding: 4px 20px;
    border-radius: 30px;
    border: 0px;
}

.card-nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

    .card-nav-tabs .nav-item {
        margin-bottom: -1px;
    }

    .card-nav-tabs .nav-link {
        position: relative;
        padding: 4px 10px;
        border: 1px solid transparent;
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

        .card-nav-tabs .nav-link.active {
            border-color: #dee2e6 #dee2e6 #fff
        }

.tabselected {
    /*background-color: #66B2FF;*/
    background-color: #1B6EC2;
    color: aliceblue !important;
}

.btn {
    font-size: 16px;
    padding: 2px 8px;
    margin-bottom: 5px;
}

.smallbtn {
    font-size: 14px;
    padding: 1px 5px;
    margin: 0;
}

.tablebtn {
    padding: 1px 7px;
    margin: 0;
}

.table {
    border: 1px #999999 solid;
    margin-bottom: 0.5rem;
}

    .table.table-noborder {
        border: none;
    }

        .table.table-noborder tr td, .table.table-noborder tr th {
            border: none;
        }

            .table.table-noborder tr td:last-child, .table.table-noborder tr th:last-child {
                border: none;
            }
    
    .table .btn {
        padding: 1px 7px;
        margin-bottom: 0px;
    }

    .table tr td, .table tr th {
        padding: 6px 4px;
        vertical-align: middle;
        border-right: 1px #dee2e6 solid;
    }

        .table tr td:last-child, .table tr th:last-child {
            padding: 6px 4px;
            vertical-align: middle;
            border-right: 1px #999999 solid;
        }

        .table tr th span {
            color: #999999;
        }

.calendar table {
    border: 1px #999999 solid;
    margin-bottom: 0.75rem;
    width:100%;
}

    .calendar table tr th span {
        color: #666666;
    }

    .calendar table tr th {
        border-bottom: 1px #999999 solid;
    }

    .calendar table tr td, .calendar table tr th {
        padding: 10px;
        vertical-align: middle;
        /*border-right: 1px #dee2e6 solid;*/
        text-align: center;        
    }

        .calendar table tr td:last-child, .calendar table tr th:last-child {
            border-right: 1px #999999 solid;
        }

.datagrid a {
    color: #666666;
    text-decoration: underline;
    cursor: pointer;
}

    .datagrid a:hover {
        color: #999999;
    }

.datagrid .is-select {
    background-color: #FFA042;
}

.datagrid-cursor {
    cursor: pointer;
}

    .datagrid-cursor:hover {
        background-color: #CCE5FF;
    }

/*.modal-dialog {
    max-width: 350px;
}*/

.modal-body {
    padding: 0.5rem 1rem;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 800px;
    }
}

.modal-errormsg {
    padding: 0rem 1rem;
}

.modal-footer {
    padding: 6px 12px;
}

/*.item-btn {
    margin: 0px 5px;
}

.item-footer {
    padding: 0px 1rem 0.5rem;
    text-align: center;
}

.item-errormsg {
    padding: 0rem 1rem 0.5rem;
}*/

.main-footer{
    padding: 5px 0px 0px;
}

.tree {
    overflow-y: auto;
}

.Iptshdate::-webkit-datetime-edit, .Iptlgdate::-webkit-datetime-edit, .Ipteddate::-webkit-datetime-edit {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.Iptshdate::-webkit-calendar-picker-indicator {
    background-position: right;
    cursor: pointer;
    position: absolute;
    width: 160px;
    /*background-color:aqua;*/
}

.Iptlgdate::-webkit-calendar-picker-indicator {
    background-position: right;
    cursor: pointer;
    position: absolute;
    width: 200px;
    /*background-color: aqua;*/
}

.Ipteddate::-webkit-calendar-picker-indicator {
    background-position: right;
    cursor: pointer;
    position: absolute;
    width: 110px;
    /*background-color: aqua;*/
}

select:disabled {
    color: #000000;
}

.myoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    z-index: 9999; /* 确保覆盖所有其他内容 */
    /*display: none;*/ /* 初始时隐藏 */
    justify-content: center;
    align-items: center;
}

.myoverlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.changeuser-container {
    display: flex;
    align-items: flex-start;
    /*display: inline-block;
    position: relative;
    vertical-align: top;*/
}

.changeuser-content {
    /*border: 1px @border_color solid;
        height: @Height;*/
    width: auto;
    min-width: 170px;
    padding: 6px 3px 3px 3px;
    overflow: auto;
    color: #666666;
}

.changeuser-list {
    padding-left: 0px;
    display: flex;
    margin-bottom: 0px;
    flex-wrap: wrap;
}

.changeuser-item {
    border-radius: 30px;
    border-style: dashed;
    border-color: #B3B3B3;
    width: auto;
    background-color: #F0F0F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    /*text-decoration: underline;*/
    margin: 0px 0px 3px 3px;
    color: #666666;
}

.history {
    padding: 0px 0px 0px 0px;
}

.toast-message {
    font-size: 20px; /* 调整为你想要的字體大小 */
}

.note * {
    user-select: text !important;
    -webkit-user-select: text !important;
}

.notetitle {
    color: #666666;
    font-weight: bold;
    height: 32px;
}

.note-content {
    padding: 5px;
    overflow: auto;
    color: #666666;
    white-space: pre-wrap; /* 保留換行 & 空白，但會自動換行 */
    word-break: break-word;
    /* 允許選取 */
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text;
    -ms-user-select: text;
}

    .note-content * {
        user-select: text !important;
        -webkit-user-select: text !important;
    }

    /* 讓連結內文字也可被選取 */
    .note-content a {
        cursor: pointer;
        text-decoration: underline;
    }

.select-content {
    padding: 5px;
    color: #666666;
}