/* scollbar */
::-webkit-scrollbar { width: 11.5px;}
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #c3d5f0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9fb6d0; }

body{
    background-color: #121521 !important;
    padding-top: 6rem;
}
*{
    color: #fff;
    font-family: "Noto Sans TC";
}
.content h1,h2,h3,h4,h5,h6{
    margin-bottom: 20px !important;
}
.offcanvas{
    width: 65% !important;
    background-color: #171b2c !important;
    color: #fff;
}
.close{
    transition: .2s;
    border-radius: 50px;
    padding: 4px 32px;
}
.navbar{
    background: #171b2cd6;
}
.close:hover,.close:active{
    background-color: #2f3655;
}
.nav-link{
    color: #d8e0ff !important;
}
.nav-item{
    border: 1px solid transparent;
    padding: 3.6px 12px;
    border-radius: 10px;
    transition: .2s;
}
.nav-item:hover{
    border: 1px solid #2f3655;
    background-color: #8986a92e;
}
.nav-item:active, .nav-item:focus{
    border: 1px solid #fff569;
    background-color: #f4e73c63;
}
aside{
    width: 100%;
    background: #2f365571;
    padding: 24px 18px;
    border-radius: 10px;
    position: sticky;
    top: 6.2rem;
}
.banner{
    text-align: center;
    padding: 6rem;
    background-size: cover;
    margin-bottom: 24px;
    border-radius: 10px;
    box-shadow: 0 0 10px #26132f;
    background-image: url("/assets/img/banner.jpg");
}
.banner p{
    margin-top: 12px !important;
}
aside .avatar{
    display: block;
    border-radius: 100px;
    margin: auto;
    margin-bottom: 16px;
    box-shadow: 0 0 10px #6c77a0;
}
aside .name{
    font-size: 26px;
}
aside p,ul,li,i{
    color: #cbd0e3;
    font-size: 15px;
}
aside.sidebar ul{
    padding-left: 0;
}
aside.sidebar li{
    list-style: none;
    line-height: 1.8em;
}
aside li i{
    width: 0.65em;
    margin-right: 12px;
}
aside li a{
    text-decoration: none;
    color: #cbd0e3;
    transition: .2s;
}
aside li a:hover{
    color: #abb3d2;
}
.content{
    font-size: 16.5px;
}
.content p{
    line-height: 1.65em;
    text-indent: 2em;
    color: #edf0fe;
    margin-bottom: 24px;
}
.content li{
    line-height: 1.65em;
    font-size: 16.5px;
    color: #edf0fe;
}

.category-item{
    background-color: #2f3655b9 !important;
    border: 1px solid #5a67a1 !important;
}
.category-item .card-title{
    color: #fff;
    font-weight: 500;
}
.category-item .card-text{
    color: #c4c0d1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

td{
    background: #181a2893 !important;
    color: #fff !important;
}
td a{
    transition: .2s;
}
td a:hover{
    color: #d4cfe2 !important;
}
th{
    background: #2f3655 !important;
    color: #fff !important;
    font-weight: 500;
}


.table-wrap{
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.table-wrap::-webkit-scrollbar {
    display: none;
}

footer{
    background-color: #171b2c;
    padding: 2.4rem;
    margin-top: 1.4rem;
}



.chatBox{
    border-radius: 10px;
    background-color: #202436;
    padding: 20px;
}
.chatBox img{
	width: 100%;
}
.chatBox h3{
    font-size: 20px;
}





.btn-submit{
    border-radius: 5px;
    background-color: #2bff0042;
    border: 1px solid #a0db90;
    font-size: 16.5px;
    padding: 6.5px 24px;
    transition: .2s;
}
.btn-submit:hover{
    background-color: #2bff005c;
}
.btn-submit:active{
    background-color: #2bff006d;
}


/* Mobile View */
@media (max-width: 1200px){
    .banner{
        padding: 4rem 2rem;
        margin-bottom: 6px;
    }
    .banner h1{
        font-size: 22px;
        font-weight: 500;
        margin: 0;
    }
    .table{
        width: 640px !important;
    }
}

/* PC View */
@media (min-width: 1200px){
    .w-80{width: 80% !important;}
}