*:not([class^="fa"], [class^="fas"], .fas, .fa) {
    font-family: Arial, "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "微軟正黑體", "Microsoft JhengHei", "標楷體", DFKai-SB, sans-serif !important;
}

body {
    background-color: #ecebeb;
}

main {
    /* Position */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* Shape */
    margin: auto;
    width: 98vw;
    height: 95vh;
    max-width: 1500px;
    /* Style */
    background-color: #FFF;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 15px 25px 0px;
}

#navbar {
    /* Position */
    z-index: 99;
    /* Shape */
    height: 100%;
    max-width: 230px;
    /* Style */
    border-radius: 15px 0px 0px 15px;
    transition: 0.5s;
    overflow-y: auto;
}

#navbar.active {
    width: 0px !important;
    padding: 0px !important;
}

#navbar.active div {
    overflow: hidden !important;
}

#navbar #options .item,
#navbar #user .item {
    /* Position */
    display: block;
    /* Shape */
    padding: 8px 16px;
    /* Style */
    border-radius: 4px;
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
}

#navbar #options .item i,
#navbar #user .item i {
    margin-right: 8px;
}

#navbar #options .item.active {
    color: #fff;
    background-color: #0d6efd;
}

#navbar #user .user-img {
    /* Shape */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0.5rem;
    /* Style */
    background-color: #212529;
    color: #FFF;
    text-align: center;
    line-height: 32px;
}

#navbar #user a.d-flex {
    justify-content: center;
}

#navbar #user .user-name {
    font-size: 10pt;
}

#content {
    /* Shape */
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 0 45px;
    padding-bottom: 80px !important;
    /* Style */
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    overflow-y: auto;
    border-radius: 15px;
}

#content nav.navbar {
    opacity: 0.8;
}

#content nav.navbar button {
    margin-right: 10px;
}

#content nav.navbar .title {
    font-size: 18pt;
    font-weight: bold;
}

#floatDiv {
    /* Position */
    position: fixed;
    bottom: 30px;
    right: 30px;

    /* Shape */
    padding: 15px;
    border-radius: 50%;

    /* Style */
    color: #FFF;
    background: linear-gradient(to top, #016eff, #06b0fc);
    box-shadow: 0px 0px 5px #666;
    cursor: pointer;
}

#floatDiv:hover {
    bottom: 20px;
    right: 20px;
}

#floatDiv:hover i.fa-2x {
    font-size: 3em;
}

@media screen and (max-width:721px) {
    main {
    	position: relative;
    	height: 100vh;
        width: 100%;
    }
}

@media screen and (max-width:400px) {

    #navbar #options .item i,
    #navbar #user .user-img {
        display: none;
    }

    #navbar #options .item {
        text-align: center;
    }

    #navbar #footerDiv #collegeDiv a{
        display: block;
    }

    #navbar #footerDiv #collegeDiv span#splitor{
        display: none;
    }
}

table th,
table td {
    vertical-align: middle !important;
}

.dropdown-menu .dropdown-header{
    font-size: 10pt;
    padding-top: 0.4rem;
    padding-bottom: 0rem;
    padding-left: 0.6rem;
}

/*
    =========== Tip Message ==========
*/

.msg-small {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 10px;
    font-size: 10pt;
    color: #555;
}

.msg-small::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: relative;
    left: -5px;
}

.msg-small.info::before {
    content: "\f05a";
}

.msg-small.last_update{
    text-align: right;
}

