@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

@media (min-width: 1200px) {
    .menu-title img {
        -webkit-transition: -webkit-transform .3s cubic-bezier(.7, 0, .3, 1);
        -webkit-transition-delay: 0;
        -o-transition: -o-transform .3s cubic-bezier(.7, 0, .3, 1) 0;
        -webkit-transition: -webkit-transform .3s cubic-bezier(.7, 0, .3, 1) 0;
        transition: -webkit-transform .3s cubic-bezier(.7, 0, .3, 1) 0;
        -o-transition: transform .3s cubic-bezier(.7, 0, .3, 1) 0;
        transition: transform .3s cubic-bezier(.7, 0, .3, 1) 0;
        transition: transform .3s cubic-bezier(.7, 0, .3, 1) 0, -webkit-transform .3s cubic-bezier(.7, 0, .3, 1) 0;
    }
    .mainNavWrap.scrolled {
        width: 100%;
    }
}

@media screen and (max-width: 1680px) {
    .mainNavWrap {
        margin-left: 230px;
    }
    /* header .logo {
        width: 300px;
    } */
}

@media screen and (max-width: 1600px) {
    .mainNavWrap {
        margin-left: 170px;
    }
    /* header .logo {
        width: 240px;
        background: url(../images/logo_s.svg) no-repeat center/contain;
        left: 20px;
    } */
    footer {
        padding: 50px 10% 20px 10%;
    }
}

@media screen and (max-width: 1440px) {
    .mainNavWrap.scrolled .topNav li a.menu-title img {
        margin-left: 16%;
    }
    footer {
        padding: 50px 7% 20px 7%;
    }
    footer .leftBox {
        width: 39%;
    }
}

@media screen and (max-width: 1366px) {
    .subNavWrap {
        padding-left: 0;
    }
    /* header .logo {
        width: 285px;
        height: 90px;
        left: 0px;
        top: 35px;
    } */
    .SearchBox .inputText input, .SearchBox .inputText select {
        width: 190px;
    }
    footer {
        padding: 50px 5% 20px 5%;
    }
}

@media screen and (max-width: 1280px) {
    /* header section {
        padding: 0;
    }
    header .logo {
        width: 240px;
        height: 100px;
        background: url(../images/logo_ss.svg) no-repeat center/contain;
        left: 20px;
    } */
    .mainNavWrap {
        margin-left: 230px;
    }
    footer {
        padding: 50px 3% 20px 3%;
    }
    footer .leftBox {
        width: 30%;
    }
    footer .leftBox .logo {
        width: 90%;
    }
    footer .rightBox {
        width: 70%;
    }
    footer .Accessibility {
        right: 90px;
    }
}

/*------以高度為準---------*/

@media screen and (max-height: 800px) {
    .mainNavWrap.scrolled .topNav li a.menu-title img {
        width: 40px;
        height: 40px;
    }
    .topNav li a.menu-title {
        display: block;
    }
    .mainNavWrap.scrolled .topNav {
        height: 65px;
    }
    #pagetop {
        bottom: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .acc {
        color: rgba(0, 0, 0, 0);
    }

    /* header .logo {
        width: calc((100vw - 210px));
        height: 44pt;
        position: static;
        float: left;
        padding-top: 10px;
        text-align: center;
        background: url(../images/logo_mobile.svg) no-repeat center/40%;
        margin-left: 15px;
    } */
    .topNav>li>a>span {
        text-align: left;
    }
    .subNav {
        display: inline;
        padding-top: 13px;
    }
    .subNav>ul>li {
        display: none;
    }
    .subNav>ul>li.search {
        display: inline-block;
    }
    .subNavWrap {
        margin-left: 0;
        padding-left: 0;
        padding-top: 0;
        width: 135px;
        display: inline;
    }
    .subNav>ul {
        display: flex;
        justify-content: flex-end;
    }
    .icon-btn {
        width: 34px;
        height: 34px;
    }
    .topNav li a.menu-title img {
        display: none;
    }
    .pcShow {
        display: none;
    }
    nav .mm-listview>li>a, nav .mm-listview>li>span {
        padding: 15px 10px 15px 20px;
        height: 44pt;
        color: #FFF;
    }
    .topNav>li.navNowHover>a, .topNav a:hover {
        color: #FFF;
    }
    .topNav a:hover {
        border-bottom: none;
    }
    /* .mm-menu .mm-listview>li .mm-arrow:after, .mm-menu .mm-listview>li .mm-next:after, .mm-menu .mm-navbar .mm-btn:after, .mm-menu .mm-navbar .mm-btn:before {
        border-color: rgba(255, 255, 255, 0.8) !important;
    } */
    /* .mm-menu .mm-navbar a, .mm-menu .mm-navbar>* {
        color: #ffffff !important;
    } */
    /*手機板的按鈕開關*/
    /* .menuControl {
        display: block;
        width: 44pt;
        height: 44pt;
        background: #3baaef;
        float: left;
    } */
    .menuControl>span, .menuControl>span::before, .menuControl>span::after {
        content: '';
        width: 30px;
        height: 2px;
        background-color: #fff;
        display: block;
        border-radius: 5px;
    }
    .menuControl>span {
        position: relative;
        top: calc((44pt - 2px)/2);
        left: calc((44pt - 30px)/2);
    }
    .menuControl>span::before {
        position: absolute;
        top: -10px;
    }
    .menuControl>span::after {
        position: absolute;
        top: 10px;
    }
    /*結束*/
    .mm-menu {
        /* background-color: #3baaef !important; */
        /* z-index: 99999 !important; */
    }
    ul.topNav.mm-listview {
        height: auto;
    }
    .topNav>li {
        float: inherit;
        width: 100%;
        height: 44pt;
    }
    .topNav li a.menu-title, nav .mm-listview>li>a, nav .mm-listview>li>span {
        padding-top: 14pt;
    }
    .mainNavWrap.scrolled .topNav li a.menu-title img {
        display: none;
    }
    .topNav>li>a {
        height: auto;
    }
    .topNav li a span, .subMenu li a span, nav .mm-listview {
        font-size: 1.1rem;
    }
    .topNav li a.menu-title span {
        display: table-cell;
        padding-top: 0;
    }
    .mm-menu .mm-listview>li.mm-selected {
        background: #3baaef !important;
    }
    .topNav>li.navNowHover>a span::after {
        display: none;
    }
    body .mm-listview .mm-next {
        width: 100%;
    }
    .mainNavWrap.scrolled .topNav>li>a {
        height: auto;
    }
    .mm-navbar, a.mm-btn.mm-prev, a.mm-title {
        /* height: 44pt !important; */
    }
    a.mm-title {
        padding: 0 !important;
        /* padding-top: 15pt !important; */
        font-size: 120% !important;
    }
    ul.subMenu.mm-listview, ul.mm-listview {
        margin-top: 0 !important;
    }
    .mainNavWrap.scrolled .topNav li a.menu-title span {
        height: auto;
        margin-left: 0;
    }
    /*上方搜尋*/
    .subNav li.search>a {
        display: block;
    }
    .subNav>ul>li {
        margin-right: 8px;
    }
    .search span {
        display: none;
        width: 100vw;
        background-color: #fff;
        padding: 20px;
        border-top: 1px solid #dedede;
        position: absolute;
        right: 0;
        top: 58px;
    }
    .subNav li.search>a:hover {
        background-color: #FFF;
        background-image: url(../images/icon/search.svg);
    }
    .search a.close {
        background: #3baaef url(../images/icon/icon-close_w.svg) no-repeat center/50% !important;
    }
    .search label.hiddenObject {
        font-size: 1.2rem;
    }
    .search input[type="text"] {
        width: calc((100vw - 180px));
        font-size: 1.2rem;
        height: 44px;
    }
    .search input[type="submit"] {
        width: 50px;
        height: 44px;
        margin-left: -5px;
        top: -2px;
    }
    /*搜尋*/
    .SearchBox .inputText input, .SearchBox .inputText select {
        border-radius: 5px;
    }
    /*footer*/
    .under_menu ul li>ul li {
        padding: 10px 0;
    }
    .under_menu li ul li a {
        font-size: 1rem;
    }
    .under_menu ul li {
        width: 25%;
    }
    .visitor {
        display: none;
    }
    footer .Accessibility {
        position: static;
    }
    h2, .h2 {
        font-size: 200%;
    }
    /*footer*/
    .under_box {
        display: none;
    }
    .officeBox {
        position: relative;
    }
    .officeBox .office {
        /* display: none; */
        display: block;
        /* width: 100%; */
        width: 50%;
        /* padding-left: 41%; */
        padding-bottom: 20px;
    }
    /* .officeBox .office:nth-child(1) {
        display: block;
        width: 100%;
        padding-left: 41%;
        padding-bottom: 20px;
    } */
    .officeBox::before {
        content: '';
        width: 100%;
        height: 0;
        padding-bottom: 10%;
        background-image: url(../images/logo_bluedark.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left top;
        /* position: absolute; */
        margin-bottom: 40px;
        top: 0;
        left: 0;
    }
    footer .leftBox {
        display: none;
    }
    footer .rightBox {
        width: 100%;
        padding: 0px 15px;
    }
    .copyrightLink {
        display: none;
    }
    .copyright p:nth-child(2) {
        display: none;
    }
    #pagetop {
        right: 20px;
    }
    footer a.rssbtn h4 {
        font-size: 130%;
    }
    a.rssbtn {
        display: none;
    }
}

@media screen and (max-width:768px) {
    /* header .logo {
        background: url(../images/logo_mobile.svg) no-repeat center/50%;
    } */
}

@media screen and (max-width: 800px) and (max-height: 480px) {}

@media screen and (max-width: 667px) {
    /*378*667 iphone6手機板橫式設定*/
    footer a.rssbtn h4 {
        font-size: 125%;
    }
}

@media screen and (max-width: 640px) {
    /* header .logo {
        background: url(../images/logo_mobile.svg) no-repeat center/65%;
    } */
    /*footer*/
    /* .officeBox .office:nth-child(1) {
        padding-left: 37%;
    }
    .officeBox::before {
        width: 35%;
    } */
    .officeBox .office{
        width: 100%;
        
    }
    .officeBox::before {
        padding-bottom: 25%;
        background-position: center top;
    }
}

@media screen and (max-width:414px) {
    /* header .logo {
        background: url(../images/logo_mobile_s.svg) no-repeat center/75%;
    } */
}

@media screen and (max-width: 568px) {
    /* header .logo {
        background: url(../images/logo_mobile.svg) no-repeat center/65%;
    } */
}

@media screen and (max-width: 480px) {
    body {
        letter-spacing: 0;
    }
    /* header .logo {
        background: url(../images/logo_mobile.svg) no-repeat center/100%;
    } */
    h3 {
        font-size: 170%;
    }
    /*圓形按鈕*/
    .categoriesLevelTwo li a i, .mContent-hdr .categoriesLevelTwo li a>div {
        width: 100px;
        height: 100px;
        margin: 0 auto 10px;
    }
    .categoriesLevelTwo li a i img, .mContent-hdr .categoriesLevelTwo li a>div img {
        width: 50%;
    }
    .categoriesLevelTwo li a strong {
        font-size: 1.3rem;
        padding: 5px 10px;
    }
    /*footer*/
    footer {
        padding: 30px 15px 20px 15px;
    }
    .officeBox::before {
        width: 100%;
        display: block;
        position: static;
        margin-bottom: 30px;
    }
    .officeBox .office:nth-child(1) {
        padding-left: 15px;
    }
    .officeBox .office {
        padding-left: 15px;
    }
    #pagetop {
        right: 10px;
        /*opacity: inherit !important;*/
    }
    #pagetop div {
        width: 44px;
        height: 44px;
    }
    #pagetop div.goTop {
        background: rgba(236, 106, 164, 0.5) url(../images/icon/arrow-up.svg) no-repeat center /50%;
    }
    #pagetop div.backToPrev {
        background: rgba(236, 106, 164, 0.5) url(../images/icon/arrow-back.svg) no-repeat center /50%;
    }
    footer a.rssbtn h4 {
        font-size: 110%;
    }
    .Accessibility img {
        width: 50%;
    }
    select {
        width: 100%;
        height: 40px;
    }
}

@media screen and (max-width: 414px) {
    .officeBox::before {
        padding-bottom: 25%;
    }
}

@media screen and (max-width: 375px) {
    /* header .logo {
        font-size: 1.2rem;
        background: url(../images/logo_mobile_s.svg) no-repeat center/100%;
    } */
    .officeBox .office ul {
        border-left: none;
        padding-left: 0;
    }
    .officeBox .office:nth-child(1) {
        padding-left: 0px;
    }
    footer .rightBox {
        padding: 0;
    }
}

@media screen and (max-width: 320px) {
    .officeBox::before {
        padding-bottom: 30%;
    }
}

@media print {
    #pagetop {
        display: none;
    }
}