/* 快訊 */
#marquee {
    width:100%;
    height:42px;
    background:#fff;
    border:1px solid #bd0202;
    float:left;
    position:relative;
    overflow:hidden;
    z-index:4; /* 全站統一header為 z-index:5; */
    display: none;
}
@media screen and (min-width:829px) {
    #marquee { display: block;}
}
#marquee * {
    transition: none;
}
#index #marquee {
    width:calc(100% - 300px - 20px);
    max-width:940px;
    margin-bottom:12px;
}
#marquee::before {
    content:"";
    display:inline-block;
    float:left;
    margin-right:12px;
    background:#bd0202;
    width:60px;
    height:40px;
    -webkit-clip-path:polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
    clip-path:polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}
#marquee::after {
    content:"快訊";
    color:#fff;
    font-size:16px;
    line-height:2.6;
    letter-spacing:2px;
    position:absolute;
    top:0;
    left:7px;
}
#marquee .marqueebox {
    /*全長 - 快訊寬 - 箭頭寬*/
    width:calc(100% - 70px - 80px);
    display: inline-block;
    vertical-align:middle;
}
#marquee .marqueebox ul {
    width:100%;
    float:left;
}
#marquee .marqueebox ul li {
    width:100%;
    line-height:42px;
    height:42px;
    overflow:hidden;
}
#marquee .marqueebox ul li span /*PR*/{
    color: #111;
    font-size:15px;
    margin-left:5px;
    display:inline-block;
}
#marquee .marqueebox ul li a {
    font-size:25px;
    font-family: 'Noto Sans TC', "微軟正黑體";
    font-weight:bold;
    color:#bd0202;
    /*限制 1行+…*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
#marquee .up {
    position:absolute;
    top:12px;
    right:20px;
    width: 15px;
    height: 15px;
    background: url(../fonts/nav_arrow_red.svg) no-repeat center;
    background-size: 8px 5px;
    transform: rotate(180deg);
    cursor: pointer;
}
#marquee .down {
    position:absolute;
    top:12px;
    right:50px;
    width: 15px;
    height: 15px;
    background: url(../fonts/nav_arrow_red.svg) no-repeat center;
    background-size: 8px 5px;
    cursor: pointer;
}
#marquee .up img {
    transform:rotate(180deg);
}

/* RWD */
@media screen and (max-width: 1260px) {
    #index #marquee {
        width:100%;
        max-width:none;
    }
}
@media screen and (max-width:1100px) {
    #marquee .marqueebox ul li a {
        font-size:22px;
    }
}
@media screen and (max-width:960px) {
    #marquee {
        width:100%;
        height:60px;
        background:#4b4b4b;
        border:none;
    }
    #marquee::before {
        width:55px;
        height:60px;
        -webkit-clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
        clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
    }
    #marquee::after {
        letter-spacing:0px;
        top:10px;
    }
    #marquee .marqueebox {
        /*全長 - 快訊寬 - 箭頭寬*/
        /*width:calc(100% - 70px - 5%);*/
        width:calc(100% - 70px - 6vw);
        height:60px;
    }
    #marquee .marqueebox ul li {
        width:100%;
        line-height: 60px;
        height: 60px;
    }
    #marquee .marqueebox ul li a {
        color:#fff;
        font-weight:normal;
    }
    #marquee .marqueebox ul li span {
        color:#ffbd00;
    }
    #marquee .arrow.up {
        display:none!important;
    }
    #marquee .down {
        top: 0px;
        right: 1.5%;
        width: 30px;
        height: 60px;
        background: url(../fonts/nav_arrow_white.svg) no-repeat center;
        background-size: 10px 7.5px;
    }
}
@media screen and (max-width:828px) {
    #marquee .marqueebox ul li {
        line-height:1.3;
        height:60px;
        display: flex;
        align-items: center;
    }
    #marquee .marqueebox ul li a {
        font-size:20px;
    }
}
@media screen and (max-width:700px) {
    #marquee .marqueebox ul li a{
        /*限制 2行+…*/
        -webkit-line-clamp: 2;
    }
    #marquee::before{
        margin-right:4px;
    }
}
@media screen and (max-width:500px) {
    #marquee .marqueebox ul li a {
        font-size:18px;
    }
}
@media screen and (max-width:400px) {
    #marquee::before {
        width:40px;
        left:4px;
        margin-right:4px;
    }
    #marquee::after {
        font-size:14px;
        left:3px;
    }
    #marquee .marqueebox {
        width: calc(100% - 70px - 3vw);
    }
    #marquee .marqueebox ul li {
        line-height:1.4;
    }
    #marquee .marqueebox ul li a {
        font-size:16px;
    }
}



