﻿/* Set padding to keep content from hitting the edges */
body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #f3f4f6;
    background-image: radial-gradient(at 0% 0%, hsla(213, 94%, 90%, 1) 0, transparent 50%), radial-gradient(at 100% 100%, hsla(213, 94%, 93%, 1) 0, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.body-content {
    margin-top: 0px;
    padding-left: 5px;
    padding-right: 5px;
/*    font-family: Tahoma, Arial, Verdana;47px
    font-weight: normal;*/
    font-size: 12px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

ul {
    list-style: none;
}

thead {
    position: sticky;
    top: 43px;
    font-size: 16px;
    white-space: nowrap;
}

/* ==========================================
   Bootstrap 5 多層下拉選單 (多級 Tree Menu)
   ========================================== */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        border-radius: 0.25rem;
    }

    /* 當滑鼠移過去時，讓右邊多一個小箭頭提示 (選用，增加 UX) */
    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }