html {
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    font-family: Verdana, Arial, "Microsoft JhengHei", "PingFang TC", "Segoe UI Symbol", sans-serif;
    font-size: 16px;
    color: #556;
    background-color: #dde;
    background: linear-gradient(15deg, #eee, #c5cad5);
    background-attachment: fixed;
}

body {
    position: relative;
    margin: 0 auto;
    max-width: 1440px;
    min-height: 100vh;
    background-color: #fcfdfe;
    box-shadow: 0 0 10px #aab;
}

p {
    width: 1024px;
    max-width: fit-content;
}

ul {
    list-style: square;
}

a, a:visited {
    color: #4178b5;
    text-underline-offset: 3px;
}

.site_name, .site_label {
    display: block;
    margin-top: 0.6rem;
    font-size: 22px;
    font-weight: bold;
    color: #556;
    text-decoration: none;
}
.site_name:visited, .site_label:visited {
    color: #556;
}

.site_name:hover, .site_label:hover {
    text-shadow: 0px 0px 5px #ccd;
}

.site_label {
    position: absolute;
    padding: 0.2rem 1rem;
    margin: 0;
    top: 0.3rem;
    left: 0;
    background-color: #f2f2f5;
    border: 1px solid #dde;
    border-left-width: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

h1 {
    margin: 1rem 0 0.8rem 0;
    color: #556;
}

h2 {
    margin: 1rem 0 0.6rem 0;
    color: #556;
}

h3 {
    margin: 0.5rem 0 0.3rem 0;
}

p.banner_alert {
    background-color: beige;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
}
p.banner_alert a {
    margin-left: 2rem;
}

.sticky_menu {
    position: sticky;
    top: 0;
}

.panel_menu {
    position: absolute;
    width: 7rem;
    background-color: #f2f2f5;
    text-align: center;
    overflow-y: auto;
    z-index: 10;
    max-height: 100vh;
    border-bottom-right-radius: 8px;
}

.panel_menu ul {
    list-style: none;
    color: #778;
    padding: 0;
    margin: 0.5rem 0;
}
.panel_menu svg {
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
    margin-right: 4px;
}

.check_menu, .toggle_menu, .nav_sym {
    display: none;
}
.toggle_menu {
    font-size: 20px;
    margin: 5px 10px;
    font-weight: bold;
    color: #556;
}

.panel_main {
    margin-left: 7rem;
	padding: 1rem 3% 3rem;
}

#a_home {
    display: none;
}

.panel_menu li {
    margin: 2px 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}
.panel_menu li:hover {
    background-color: #f9f9fc;
    border-left-color: #99a;
}

.panel_menu li a {
    display: inline-block;
    width: 100%;
    padding: 6px 0px;
    color: #778;
    text-decoration: none;
}

.nav_links a {
	display: inline-block;
    margin: 2px 1rem 3px 0;
}

table.t_vt {
    display: inline-table;
    text-align: left;
}
.t_vt caption {
    font-size: 1.1rem;
    font-weight: bold;
}
.t_vt thead tr {
    position: sticky;
    top: 0;
}
.t_vt th {
    background-color: #eaeaef;
}
.t_vt tbody {
    background-color: #f7f7fb;
}
.t_rhover tr:hover {
    background-color: #e8edff;
}
.t_hover tbody:hover {
    background-color: #e8edff;
}
.t_hover tbody:hover th {
    background-color: #cbd8ef;
}
.t_vt th, .t_vt td {
    vertical-align: top;
    padding: 0.35em 0.6em;
}

.alert_nojs {
    color: lightcoral;
}

@media (max-width: 500px) {
    html {
        font-size: 14px;
    }
    nav.panel_menu {
        display: block;
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        width: auto;
        border: 1px solid #dde;
        border-width: 1px 0 0 1px;
        border-top-left-radius: 5px;
    }
    .sticky_menu {
        position: static;
    }
    .panel_main {
        margin: 0;
        overflow: auto;
    }
    .site_name {
        display: none;
    }
    .toggle_menu {
        display: inline-block;
    }
    .panel_menu ul {
        display: none;
        margin: 0;
    }
    #a_home {
        display: block;
    }
    .check_menu:checked ~ ul {
        display: block;
    }
    #sym_up {
        display: inline;
    }
    .check_menu:checked ~ .toggle_menu #sym_up {
        display: none;
    }
    .check_menu:checked ~ .toggle_menu #sym_down {
        display: inline;
    }
}
