body {
    font-family: 'Noto Sans TC', sans-serif;
}

.content-wrapper {
    height: 100%;
    background-color: #f5f7fb;
}

.main-header {
    margin-left: 0px !important;
}

.main-sidebar {
    margin-top: 3.5rem;
    min-height: calc(100% - calc(3.5rem + 1px)) !important;
    background-color: #fff;
}

.sidebar {
    height: calc(100% - calc(7rem + 2px));
}

#sidebarMenu {
    margin-bottom: 3.5rem;
}

.navbar-footer {
    border-top: 1px solid #f0f0f0;
    position: absolute;
    bottom: 0;
    height: 3.5rem;
    width: inherit;
}

@media (min-width: 992px) {
    .show-lg {
        display: none;
    }
}

@media (max-width: 992px) {
    .content-header {
        display: none;
    }

    #title-logo {
        display: none;
    }

    #title-text {
        margin-left: -3.4rem;
    }
}

/* 讓按鍵文字不會被選取 */
dt, button, .btn, label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navbar-color {
    background-color: #f4f4f4;
}

.content-header {
    background-color: #fff;
}

a p, a i, a .info {
    color: rgba(34,34,34,1);
}

.nav-margin-left {
    margin-left: 0.45rem;
}

.nav-bg {
    /*background-color: #d8e0fa;
  border-right: 5px solid #1890ff;*/
}

.nav-pills .nav-link.active i,
.nav-pills .nav-link.active p {
    /*color: #2a59e9;*/
}

.nav-bar {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    width: calc(100% + 1rem);
    padding-bottom: 1rem;
}

    .nav-bar .nav-link.active {
        color: #2a59e9;
        border-bottom: 3px solid #2a59e9;
    }

    .nav-bar .nav-link {
        color: #262626;
    }

.bottom-line {
    border-bottom: 1px solid #f0f0f0;
}

.btn-outline {
    border: 1px solid #c7c7c7;
    border-radius: 0.25rem;
    background-color: #fff;
}

    .btn-outline:hover, .btn-outline.selected {
        background-color: #2a59e9;
        color: #fff
    }

.border-top-radius {
    border-radius: 0.25rem 0.25rem 0 0;
}

.navy-blue {
    color: #18348b;
}

.navy-blue-bg {
    color: #fff;
    background-color: #18348b;
    border: 1px solid #18348b;
}

.danger-color {
    color: #fc3419;
    border-color: #fc3419;
}

.danger-color-bg {
    color: #fff;
    background-color: #fc3419;
    /* border: 1px solid #fc3419; */
}

    .danger-color-bg:hover {
        color: #fc3419;
        background-color: #fff;
        border: 1px solid #fc3419;
    }

.btn-outline-blue {
    color: #2a59e9;
    border-color: #2a59e9
}

    .btn-outline-blue:hover {
        color: #fff;
        background-color: #2a59e9;
        border-color: #2a59e9
    }

    .btn-outline-blue.disabled,
    .btn-outline-blue:disabled {
        color: #2a59e9;
        background-color: transparent
    }

    .btn-outline-blue:not(:disabled):not(.disabled).active,
    .btn-outline-blue:not(:disabled):not(.disabled):active, .show >
    .btn-outline-blue.dropdown-toggle {
        color: #fff;
        background-color: #18348b;
        border-color: #18348b
    }

.listTableArea {
    border-radius: 0.25rem;
    padding: 1rem;
}

.icon_alert {
    background-image: url('../img/alert.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_auto {
    background-image: url('../img/auto.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_bell {
    background-image: url('../img/bell.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_envir {
    background-image: url('../img/envir.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_home {
    background-image: url('../img/home.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_map {
    background-image: url('../img/map.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_member {
    background-image: url('../img/member.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_envir {
    background-image: url('../img/envir.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_system {
    background-image: url('../img/system.png');
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    display: inline-block;
}

.menu_p {
    margin-left: 5px;
    display: inline-block;
    margin-top: -10px;
}

.p_margin {
}

.script_click_style {
    width: 443px;
    height: 100%;
    background-color: #999999;
    opacity: 0.7;
    border: none;
}

.script_noclick_style {
    width: 443px;
    height: 100%;
    border: none;
}

.arrow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 22px;
    border: 1px solid #ccc;
    border-radius: 10%;
    background-color: #f8f9fa;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    color: #214D7C;
}

    .arrow-button:hover {
        background-color: #e9ecef;
    }

.menu {
    display: none;
    position: absolute;
    top: 150px;
    right: 110%; /* 显示在箭头左侧 */
    transform: translateY(-50%);
    min-width: 120px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 3px;
    z-index: 1000;
}

    .menu.visible {
        display: block;
    }

    .menu ul {
        list-style: none;
        padding: 0;
    }

    .menu li {
        /*padding: 8px 10px;
        margin: 8px 0;
        color: white;
        background: linear-gradient(90deg, #214D7C, #375e89);
        border-radius: 8px;
        transition: background 0.3s ease-in-out;*/
        display: flex;
        align-items: center;
        padding: 8px 5px;
        font-size: 16px;
        color: #333;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
    }

        .menu li:last-child {
            border-bottom: none;
        }

        .menu li:hover {
            background: linear-gradient(90deg, #ffffff, #9d9d9d);
        }
        /*.menu li:hover {
            background: linear-gradient(90deg, #375e89, #214D7C);
        }

        .menu li[class="delete"] {
            padding: 8px 10px;
            margin: 8px 0;
            color: white;
            background: linear-gradient(90deg, #ff2626, #ff2626);
            border-radius: 8px;
            transition: background 0.3s ease-in-out;
            cursor: pointer;
        }

            .menu li[class="delete"]:hover {
                background: linear-gradient(90deg, #ff2626, #ff2626);
            }*/
