html,
body,
ul {
    margin: 0;
    padding: 0;
}

.main-wrapper {
    width: 11.3rem;
    margin: 0 auto;
    font-size: 0px;
}


/* 當瀏覽器窗口寬度小與768px時顯示為手機版 */

@media screen and (max-width: 767px) {
    /* header */
    .header{
        background-image: url(/images/banner_xs.png) !important;
    }
    .top_toolbar2 {
        background-color: rgba(255, 255, 255, 0.4) !important;
    }
    .header>.content {
        height: 4rem !important;
        background-size: cover !important;
        background-position: 50% 0.6rem !important;
    }
    /* nav */
    .nav>.content {
        height: 42px !important;
        line-height: 42px !important;
        font-size: 20px !important;
    }
    .nav>.content>.m-nav-menu {
        display: block !important;
    }
    .nav>.content>ul {
        z-index: 999 !important;
        padding-top: 0.35rem !important;
        padding-bottom: 0.5rem !important;
        background: rgb(206 206 211) !important;
        border-collapse: collapse !important;
    }
    .nav>.content>ul::after {
        content: '';
        display: block;
        height: 105px;
        border-bottom: 1px solid;
    }
    .nav>.content>ul>li {
        display: table-row !important;
        max-width: 100%;
        border-bottom: 1px solid #c3c4c4;
    }
    .nav>.content>ul>li>div {
        height: unset !important;
    }
    .nav>.content>ul>li>a:hover {
        border-radius: 0 !important;
    }
    /* sub-nav */
    .sub-nav-menu {
        position: initial !important;
        display: table !important;
        width: 100% !important;
        font-size: 17px !important;
        text-align: left !important;
        background: transparent !important;
    }
    .sub-nav-menu>li>a {
        padding-left: 0.8rem !important;
    }
    .sub-nav-menu>li>a::before {
        content: '>';
        padding-right: 10px;
    }
    /* index content */
    .content-block .desc {
        margin-bottom: 0.6rem !important;
    }
    .content-block .desc>h1 {
        font-size: 28px !important;
        margin-bottom: 0.14rem !important;
    }
    .content-block .desc>p {
        font-size: 14px !important;
        margin: 0.25rem 0 0.45rem !important;
    }
    .content-block .desc>a {
        font-size: 12px !important;
    }
    /* text content */
    .article-content>.content>.content-block>.detail>p {
        margin-top: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }
    .article-content>.content>.content-block>.detail-table {
        font-size: 14px !important;
    }
    /* footer */
    .footer>.content {
        font-size: 14px !important;
        padding: 28px 0 16px !important;
    }
}

@media screen and (max-width: 640px) {
    .content-block .desc>h1 {
        font-size: 22px !important;
    }
}