@import url(style720.css);
@import url(btn720.css);
@import url(style720_temp.css);

hr,
hr.list {
    height: 1px
}


@media screen and (min-width: 481px) and (max-width:1200px) {

    #witness hr,
    hr,
    hr.list {
        border: 0;
        background-color: #cecfd2;
        color: #cecfd2
    }

    #footerbg1024,
    #headbg720,
    #kv720,
    #nav720 {
        display: block
    }

    #containerP,
    #head,
    #headlink {
        position: relative
    }

    body,
    form {
        margin: 0
    }

    #footerbg480,
    #headbg1024,
    #headbg480,
    #kv,
    #kv480,
    #nav1024,
    #nav480 {
        display: none
    }

    body {
        padding: 0;
        background-color: #FFF;
        font-family: Arial, "微軟正黑體";
        color: #606060;
        overflow-y: scroll
    }

    img.size {
        XXXwidth: 100%
    }

    a:link {
        text-decoration: none
    }

    a:hover img.over {
        opacity: .75
    }

    hr {
        margin: 15px 0;
        clear: both
    }

    hr.list {
        margin: 10px 10px 20px
    }

    #head,
    #nav_logo,
    #nav_main {
        margin: 0 auto
    }

    #headbg720 a:hover,
    p a:hover {
        color: #E40046;
        text-decoration: none
    }

    hr.clearline {
        clear: both;
        visibility: hidden;
        height: 10px
    }

    #witness hr {
        margin: 5px 0;
        height: 1px;
        clear: none
    }

    p {
        font-size: 16px;
        line-height: 22px;
        XXXmargin: 0;
        text-align: justify;
        text-justify: inter-ideograph;
        XXXtext-align-last: justify;
    }

    p a {
        color: #606060;
        text-decoration: none
    }

    #homebg {
        background: url(../../images/bghomect.jpg) top center no-repeat #e7e8ea
    }

    #container,
    #containerh {
        position: relative;
        width: 700px;
        margin: 25px auto 0;
        padding: 0 10px;
        XXXborder: red solid 1px
    }

    #container {
        margin-bottom: 40px
    }

    #containerP {
        width: 700px;
        margin: 5px auto 40px;
        padding: 0 10px 10px;
        XXXmargin: 0 auto;
        XXXmargin-top: 15px;
        XXXpadding: 0 10px 10px
    }

    #headbg720 {
        background-color: #333;
        font-size: 16px;
        color: #FFF;
        width: 100%;
        padding: 10px 0;
        height: 25px
    }

    #headbg720 a,
    #headlink ul li i,
    input.searchw {
        font-size: 14px;
        line-height: 25px
    }

    #headbg720 a {
        color: #FFF;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #head {
        width: 680px
    }

    #headlink {
        width: 680px;
        letter-spacing: 1px
    }

    #headlink ul {
        list-style: none;
        margin: 0;
        padding: 0
    }

    #headlink ul li {
        float: right;
        height: 25px
    }

    #headlink ul li #search,
    #headlink ul li:first-child {
        float: left
    }

    #headlink ul li form {
        padding: 0;
        margin: 0;
        height: 25px
    }

    #headlink ul li i {
        float: left;
        font-size: 14px;
        line-height: 25px;
    }

    .arrow-1 {
        padding-left: 5px;
    }

    .arrow-1 i {
        font-size: 0.5rem!important;
        }      

    ul li ul.dropdown {
        width: 220px;
        padding: 0;
        position: absolute;
        z-index: 9999;
        display: none
    }

    #nav,
    #nav_main {
        position: relative
    }

    .sign {
        top: 35px;
        right: 10px
    }

    ul li ul.dropdown li {
        width: 100%;
        background: #2E3238;
        color: #fff;
        height: 50px !important;
        text-align: center;
        float: left;
        display: block
    }

    ul li ul.dropdown li a {
        line-height: 50px !important;
        display: block;
        width: 100%
    }


    @media only screen and (min-device-width: 768px) and (max-device-width:1024px) {
        #search {
            padding: 0 0 0 5px;
        }
    }

    input.searchw {
        color: #fff;
        border: none;
        width: 55px;
        padding-left: 5px;
        float: left;
        background: rgba(255, 255, 255, 0.05);
    }

    #copyright_sub p:first-child,
    #copyright_sub p:last-child {
        padding: 0 20px;
        display: inline-block
    }

    input.searchBtn {
        display: none
    }


    /*R180209007 更改選單樣式 2018-02-09 yiya start*/

    #nav_logo {
        position: relative;
    }

    #nav_logo a {
        position: absolute;
        top: calc(50% - 42px);
        left: calc(50% - 91px);
    }

    /*burger icon*/
    #nav-toggle {
        padding: 15px 0;
        margin: 35px 5%;
        width: 35px;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer
    }

    #nav-toggle span {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: #333;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out
    }

    #nav-toggle span:nth-child(1) {
        top: 0px
    }

    #nav-toggle span:nth-child(2),
    #nav-toggle span:nth-child(3) {
        top: 10px
    }

    #nav-toggle span:nth-child(4) {
        top: 20px
    }

    #nav-toggle.open span:nth-child(1) {
        top: 7px;
        width: 0%;
        left: 50%
    }

    #nav-toggle.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg)
    }

    #nav-toggle.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }

    #nav-toggle.open span:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%
    }

    #nav ul {
        list-style: none;
    }

    .main-nav ul {
        padding: 0;
        margin: 0;
        overflow: hidden;
        display: none;
        box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1)
    }

    .main-nav ul li {
        position: relative
    }

    .main-nav ul li a {
        color: #212121;
        font-size: 1.05rem;
        display: block;
        line-height: 22px;
        padding: 20px 5%;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #eee;
        cursor: pointer !important;
    }

    .main-nav ul li a i {
        margin-left: 10px;
        line-height: 22px
    }

    .main-nav ul li ul {
        display: none
    }

    .main-nav ul li ul li a {
        background: #f7f7f7;
        padding-left: 10%;
    }

    .main-nav ul li ul.subnav_open {
        display: block
    }

    .main-nav ul li ul li ul {
        display: block;
    }

    .main-nav ul li ul li ul li a {
        background: #f1f1f1;
        padding-left: 15%;
    }


    /*R180209007 更改選單樣式 2018-02-09 yiya end*/

    #searchBlock {
        position: relative;
        float: left;
        width: 126px
    }

    #searchBlock h2 {
        position: relative;
        height: 34px;
        padding-top: 8px
    }

    #searchBlock h2 span {
        display: block;
        width: 27px;
        height: 27px;
        margin: 0 auto;
        background: url(../../images/navSearch.png) no-repeat;
        text-indent: -9999px;
        overflow: hidden
    }

    #searchBlock>div {
        position: absolute;
        width: 700px;
        top: 42px;
        left: -574px;
        display: none;
        background: #333;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .5)
    }

    #breadCrumb,
    #footer,
    #search_720 {
        position: relative
    }

    #searchBlock.now {
        background: #333
    }

    #searchBlock.now h2 span {
        background-position: 0 -27px
    }

    #search_720 {
        background: url(../../images/bgsearch_720.gif) top center no-repeat;
        margin: 30px 30px 40px;
        padding: 7px 0 0 7px;
        width: 633px;
        height: 23px
    }

    /*footer style 20171005 yiya*/
    #footerbg1024 {
        background-color: #333;
        width: 100%
    }

    #footer {
        width: 100%;
        margin: 0 auto;
        overflow: hidden
    }

    .footer-item {
        padding: 0;
        margin: 0;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, .05);
        border-bottom: 1px solid rgba(0, 0, 0, .05);
        box-shadow: 0 0 1px 1px rgba(0, 0, 0, .2);
    }

    .footer-item:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, .2);
    }

    .footer-item:first-child h6 {
        box-shadow: none;
        border: none;
    }

    .footer-item input[type="checkbox"] {
        display: none;
    }

    .footer-item h6 {
        color: #fff;
        padding: 15px 0;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, .05);
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    .footer-item__content {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #intro {
        padding: 30px 0;
    }

    #intro h6 {
        text-align: left;
        padding: 15px 5%;
    }

    #intro ul li p {
        color: #fff;
        background: transparent;
        font-size: 16px;
    }

    #intro a {
        color: #fff;
    }

    #intro .footer-item__content li {
        background: #333;
    }

    .footer-item__content li {
        color: #fff;
        font-size: 16px;
        padding: 15px 5%;
        background: #25282B;
    }

    /*R171108483 訂閱電子報 2017-11-10 yiya*/
    .footer-item__content li form {
        overflow: hidden;
        display: flex;
    }

    .footer-item__content li form input {
        border: none;
        background: #fff;
        padding: 7px;
        width: 65%;
        max-width: 250px;
        font-family: Arial, "微軟正黑體";
        font-size: 14px;
    }

    .footer-item__content li form input:focus {
        outline: none;
    }

    .footer-item__content li form button {
        border: none;
        background: #e40046;
        color: #fff;
        padding: 7px;
        cursor: pointer;
        width: 35%;
        max-width: 120px;
        font-family: Arial, "微軟正黑體";
        font-size: 14px;
    }

    .accordion-content {
        /* display: none; */
        display: block;
        text-align: center;
    }

    .accordion-content a {
        color: #fff;
        cursor: pointer
    }

    .accordion-content a:hover {
        color: #e40046;
    }

    .footer-item input:checked~.accordion-content {
        display: block;
    }

    #social a {
        display: inline-block;
    }

    #footer__bottom {
        padding: 20px 0 40px 0;
        display: flex;
        display: -moz-flex;
        display: -webkit-flex;
        flex-direction: column;
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        align-items: center;
        -moz-align-items: center;
        -webkit-align-items: center;
    }

    #mark {
        display: flex;
        display: -moz-flex;
        display: -webkit-flex;
        align-items: center;
        -moz-align-items: center;
        -webkit-align-items: center;
    }

    #mark a {
        margin-right: 5px;
    }

    #copyright {
        text-align: center;
    }

    #copyright_sub a {
        color: #fff;
        display: inline;
        font-size: 14px;
    }

    #copyright_sub span {
        display: inline-block;
        padding: 0 10px;
    }

    #copyright_sub a:hover {
        color: #e40046;
    }

    #copyright_main p {
        display: inline;
        font-size: 14px;
        color: #fff;
    }

    #copyright_main p:nth-child(2) {
        display: none;
    }

    #breadCrumb a:hover,
    #copyright_main a:hover {
        color: #E40046
    }

    #breadCrumb {
        width: 680px;
        margin: 0 auto;
        font-size: 14px;
        letter-spacing: .5px
    }

    #breadCrumb a {
        color: #606060;
        text-decoration: none
    }

    .divfloat,
    .divfloat1 {
        float: left
    }

    .divfloat2 {
        float: right
    }

    .highlight {
        color: red
    }

    .divSpace_H {
        width: 100%;
        height: 50px
    }

    .full {
        width: 100%
    }

    .hide-720 {
        display: none
    }


    /*R170511000-005 新增H3小標 yiya 20180117*/
    /* head-banner style*/
    #header-banner {
        width: 100%;
        background-image: url("/upload/1/2/57ee171505dfc.jpg");
        position: relative;
        background-size: cover;
        overflow: hidden;
        padding: 35px 0;
    }

    .header-banner__wrapper h1 {
        margin-bottom: 15px;
    }

    .header-banner__wrapper h3 {
        line-height: 32px;
    }

    .header-banner__wrapper ul li i {
        margin-right: 3px;
    }

    .header-banner__wrapper {
        padding: 0 10%;
    }

    .header-banner__wrapper h1 {
        margin: 0 0 15px 0;
    }

    .header-banner__wrapper ul {
        margin: 15px 0;
    }

    .header-banner__wrapper ul li {
        display: inline-block;
        margin-right: 3%;
    }

    .header-banner__wrapper__item--right {
        display: none;
    }


    /* level2 navbar */
    #nav_1024 ul li h2 a:hover {
        color: #e40046;
    }

    #nav_1024 ul .focus h2 a {
        color: #e40046;
    }

    #nav_1024 ul li h2 {
        line-height: 60px;
        padding: 0 15px;
    }

    #nav_1024 ul li h2 {
        margin: 0;
        position: relative;
        cursor: pointer;
    }

    #nav_1024 ul li h2 a {
        font-size: 1.05rem;
        font-weight: 400;
        color: #606060;
        cursor: pointer !important;
    }

    #nav_1024 ul li {
        clear: both;
        /* 垂直 */
        /* float: left; 水平 */
        list-style: none;
    }

    #nav_1024 {
        display: none;
    }

    #nav_1024 a:link {
        text-decoration: none;
    }

    #nav_1024 .line {
        clear: left;
        position: absolute;
        /* width: 80px; */
        height: 4px;
        background: #e40046;
        left: 0;
        bottom: 10px;
        /* transition: all .5s; */
        left: 10px;

    }

    #nav1024 ul .arrow123:after {
        position: absolute;
        content: " ";
        height: 0;
        width: 0;
        border: solid transparent;
        bottom: -10px;
        left: 50%;
        border-bottom-color: #EFEFEF;
        border-width: 15px;
        margin-left: -15px;
    }

}

/* level2 navbar END */