/*平板尺吋*/

@media (max-width:992px) {

    /* Logo */
    header .logo {
        padding: 0 15px 0 85px;
    }

    /*主選單*/
    .mainNav {
        transform: translateX(-100%);
        position: fixed;
        width: 50%;
        height: 100%;
        left: 0;
        top: 110px;
        transition: all .5s;
        padding-top: 10px;
        background: rgba(255, 255, 255, 1);
        z-index: 990;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 10px;
    }

    .mainNav.active {
        transform: translateX(0);
        transition: all .7s;
    }

    .mainNav>ul {
        padding: 20px 0px 10px;
    }

    .mainNav>ul>li {
        margin: 0;
        display: block;
        padding: 1.5em 1em;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .mainNav>ul>li.active {
        background-color: #eee;
    }

    .mainNav>ul>li.active:after {
        content: "";
        background: url(../images/ico/arrow-g.svg) no-repeat center center;
        position: absolute;
        background-size: contain;
        width: 25px;
        height: 30px;
        right: 8px;
        top: calc(50% - 15px);
        filter: grayscale(100%) invert(100%);
    }

    .mainNav>ul>li:last-child {
        border-bottom: none
    }

    .mainNav>ul>li a {
        margin-top: 0;
        line-height: 1.5;
        font-size: 18px;
        letter-spacing: .5em;
        position: relative;
        color: #333;
        text-align: left;
    }

    .mainNav>ul>li>a:after {
        display: none;
    }

    /*漢堡選單*/
    .btn-hambur {
        position: fixed;
        width: 84px;
        height: 106px;
        z-index: 9999;
        left: 0px;
        top: 4px;
        background: #007e7d;
        cursor: pointer;
    }

    .btn-hambur div {
        width: 40px;
        height: 40px;
        left: calc(50% - 20px);
        top: calc(50% - 20px);
        padding: 5px;
        transition: all .7s .2s;
        position: absolute;
    }

    .btn-hambur hr {
        border: none;
        width: 30px;
        height: 3px;
        border-radius: 4px;
        background-color: #FFF;
        position: absolute;
        margin: 0;
        transition: all .3s;
        transform-origin: center center;
        top: 10px;
    }

    .btn-hambur hr.hr1 {
        top: 18px;
    }

    .btn-hambur hr.hr2 {
        top: 26px;
    }

    .btn-hambur.active {}

    .btn-hambur.active div {
        transform: rotate(45deg);
    }

    .btn-hambur.active h4 {
        opacity: 0;
    }

    .btn-hambur.active hr {
        background-color: #fff;
    }

    .btn-hambur.active .hr1 {
        opacity: 0;
    }

    .btn-hambur.active .hr0 {
        top: 18px;
    }

    .btn-hambur.active .hr2 {
        transform: rotate(90deg);
        top: 18px;
    }

    .btn-hambur :hover hr {
        opacity: .7
    }

    /*遮罩*/
    .block {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        display: none;
        background: rgba(0, 0, 0, .5);
        z-index: 90;
    }

    .block.active {
        display: block;
    }
}


/*平板結束*/
/* @media(max-width:912px) {
    .btn-hambur {
        width: 95px !important;
        height: 95px !important;
    }
} */


/*手機尺吋*/

@media (max-width: 767px) {

    .mainNav {
        width: 70%;
        top: 0px;
        padding-top: 60px;
    }

    .mainNav>ul>li {
        padding: 1em 1em;
    }

    .mainNav>ul>li a {
        font-size: 15px;
    }

    .mainNav .lan-select {
        border: 1px solid #eee;
        width: 100%;
    }

    .year_href {
        height: 0px;
        width: 0px;
    }

    .btn-hambur {
        background: #007e7d;
        width: 70px !important;
        height: 70px !important;
        left: 0;
        right: auto;
    }

    /*右側選單*/
    .rightNav {
        position: fixed;
        top: 4px;
        right: 0;
        margin: 0;
        z-index: 9999;
    }

    .btn-login {
        display: none;
    }

    .btn-login i {
        filter: invert(50%);
        background-size: 0px 0px;

    }


    .btn-login span {
        display: none;
    }

    .btn-login:hover i {
        filter: invert(0%);
    }

    .m-header {
        position: fixed;
        top: 0;
        z-index: 999;
        background: #fff;
        width: 100%;
        border-top: 4px solid #007e7d;
        box-shadow: rgba(0, 0, 0, .7) 0 0 5px
    }

    .m-header dl {
        height: 70px;
    }

    .m-header dd.m-logo {
        text-align: center;
    }

    .m-header dd.m-logo img {
        height: 35px;
    }

    .m-header dt {
        width: 50px;
        text-align: center;
        font-size: 25px;
    }

    .m_year_href,
    .m_year_href img {
        width: 180px !important;
        padding-top: 20px;

    }

}

@media (max-width: 767px) {

    .m_year_href,
    .m_year_href img {
        width: 180px !important;
        padding-top: 20px;

    }
}