/*空狀態*/
.emptyText{
    margin: 40px 0 64px;
}
.emptyText img{
    width: 84px;
    display: block;
    margin: 0 auto 16px;
}
.emptyText p{
    color: #999;
text-align: center;
}
/*空狀態end*/

article.topRankingArea{
    padding: 0 16px;
}
section.ranking-top-wrap{
    width: calc(100% + 32px);
    position: relative;
    left: -16px;    
    padding: 24px 16px 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
section.ranking-top-wrap.solid{
    background-color: #2D2D2D;
    padding: 24px 16px;
    margin-bottom: 24px;
}


.breadcrumbs{
    /*visibility: hidden;*/
    /*height: 0;*/
    color: #CCC;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 400;
}

.topSection{
    margin: 0;
    display: flex;
    /*display: block;*/
    -webkit-justify-content: space-between;
            justify-content: space-between;
    /*-webkit-align-items: center;*/
            /*align-items: center;*/
            -webkit-align-items: flex-end;
                    align-items: flex-end;
}

.topSection h1{
    /*margin-bottom: 4px;*/
    /*display: flex;*/
    display: block;
    -webkit-justify-content: space-between;
            justify-content: space-between;
    -webkit-align-items: center;
            align-items: center;
}

.topSection h1>span{
    display: block;
    margin-bottom: 8px;
}

.topSection > a{
    margin-bottom: 8px;
}

.selectPeriod{
    display: flex;
    -webkit-align-items: center;
            align-items: center;
    margin-bottom: 8px;
}

.selectPeriod a,
.selectPeriod > span{
    line-height: 28px;
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
}
.selectPeriod .weekSelected{
    font-size: 13px;
}
.selectPeriod .selected{
    font-size: 13px;
}
.selectPeriod a{
    color: rgba(255,255,255,.6);
}
.selectPeriod a:hover{
    color: rgba(255,255,255,1);
}
.selectPeriod .prev,
.selectPeriod .next{
    position: relative;
    height: 28px;
}
.selectPeriod .prev{
    padding-left: 28px;
}
.selectPeriod .next{
    padding-right: 28px;
}
.selectPeriod .prev:after,
.selectPeriod .next:after{
    content: "";
    height: 28px;
    width: 28px;
    background-image: url(../../images/RWD/pages/page_pre.svg);
    cursor: pointer;
    -webkit-background-size: 100% 100%;
         -o-background-size: 100% 100%;
            background-size: 100% 100%;
    background-position: center center;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1px;
    filter: invert(40%) sepia(1%) saturate(0%) hue-rotate(328deg) brightness(70%) contrast(90%);
}
.selectPeriod .next:after{
    transform: rotate(180deg);
    left: auto;
    right: 0;
}
.selectPeriod .prev:hover,
.selectPeriod .next:hover,
.selectPeriod .prev:focus,
.selectPeriod .next:focus{
    /*filter: brightness(0) invert(1);*/
    filter: invert(72%) sepia(0%) saturate(16%) hue-rotate(175deg) brightness(100%) contrast(90%);


}
.selectPeriod .prev > span,
.selectPeriod .next > span{
    display: none;
}

.rankingCategoryWrap{
    background: linear-gradient(90deg, #272727 0%, rgba(63, 63, 63, 0.526042) 49.86%, #272727 100%);
    width: calc(100% + 24px);
    padding: 7px 0;
    margin: 0 auto;
    margin-top: 16px;
    position: relative;
    left: -12px;
    margin-bottom: 24px;
    display: flex;
    overflow-x: scroll;
}

.rankingCategoryWrap::-webkit-scrollbar {
    display: none;
    /*Safari and Chrome*/
}

.scrollableWrap{
    overflow-x: scroll;
}

.rankingType:after{
    content: "";
    width: 1px;
    height: 14px;
    display: inline-block;
    background-color: #FFF;
    margin-right: 16px;
}

.rankingCategory,
.rankingType{
    word-break: keep-all;
    white-space: nowrap;
    padding-left: 12px;
}

.rankingCategory li,
.rankingType li{
    padding-right: 16px;
    display: inline-block;
    word-break: keep-all;
    font-size: 16px;
}
.rankingCategory li > a,
.rankingType li > a{
    color: rgba(255,255,255,.6);
}
.rankingCategory li > a:hover,
.rankingType li > a:hover{
    color: rgba(255,255,255,1);
}
.rankingCategory li.active > a,
.rankingType li.active > a{
    color: #ff6b00;
}

.rankListItem{
    display: flex;
    -webkit-align-items: center;
            align-items: center;
    margin-bottom: 12px;
}
.rankListItem .imgBg{
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
    transition: all 1s;
    -webkit-border-radius: 4px;
            border-radius: 4px;
}
.rankListItem .imgBox{
    position: relative;
    height: 0;
    padding-bottom: 22.3%;
    margin: 0 auto;
    width: 37%;
    -webkit-border-radius: 4px;
            border-radius: 4px;
}
.rankListItem .imgBox .imgLink{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 1s;
    box-shadow: inset 0 0 0 100px rgba(0,0,0, .2);
}
.rankListItem .imgBox:hover .imgLink{
    box-shadow: inset 0 0 0 100px rgba(0,0,0,0);
}
.rankListItem .imgBox .rankTag{
    width: 26px;
    height: 26px;
    background: rgba(18, 18, 18, 0.8);
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
.rankListItem .imgBox .rankTag > span{
    color: #FFF;
    font-size: 13px;
    font-weight: bold;
}
.rankListItem .imgBox .rankTag > span > a{
    color: #FFF;
    font-size: 13px;
    font-weight: bold;
}
.rankListItem .contentBox{
    width: 63%;
    padding-left: 12px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.rankListItem .contentBox .videoTitle{
    margin-bottom: 6px;
    display: inline-block;
    font-weight: normal;
}
.rankListItem .contentBox .videoTitle a{
    font-size: 13px;
}
.rankListItem .contentBox .videoScore{
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: normal;
}
.rankListItem .contentBox .categoryWrap,
.rankListItem .contentBox .dir,
.rankListItem .contentBox .pList{
    visibility: hidden;
    height: 0;
}

.rankList.tops{
    display: flex;
    -webkit-justify-content: space-between;
            justify-content: space-between;
    margin-bottom: 8px;
}
.tops .rankListItem{
    display: inline-block;
    width: 31.6%;
}
.tops .rankListItem .imgBox{
    width: 100%;
    padding-bottom: 142%;
    margin-bottom: 4px;  
}
.tops .rankListItem .imgWeb{
    display: none;
}
.tops .rankListItem .imgBox a{
    -webkit-box-shadow: none;
            box-shadow: none;  
}
.tops .rankListItem .contentBox{
    width: 100%;
    margin: 0;
    padding-left: 0;
}
.tops .rankListItem .contentBox .videoTitle{
    margin-bottom: 0;
}
.tops .rankListItem .contentBox .videoTitle a{
    font-weight: bold;
}
.tops .rankListItem .imgBox .rankTag{
    background: linear-gradient(167.39deg, #FFDD00 0%, #FF6B00 100%);
    bottom: auto;
    width: auto;
    padding: 0 8px;
    height: 20px;
}
.tops .rankListItem .imgBox .rankTag > span{
    font-size: 12px;
    position: relative;
    top: -3px;
    font-weight: 900;
}
.tops .rankListItem .imgBox .rankTag > span:before{
    content: "TOP ";
    position: relative;
}
.tops .rankListItem .imgBox .rankTag > span > a{
    font-size: 12px;
    position: relative;
    top: -3px;
    font-weight: 900;
}
.pagingWrap{
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagingWrap li:not(.prev):not(.next){
    display: none;
}

.pagingWrap li.prev{
    width: auto;
    padding-left: 30px;
    margin-right: 10px;
    position: relative;
}
.pagingWrap li.prev:before{
    content: "上一頁";
    display: inline-block;
}
.pagingWrap li.prev a,
.pagingWrap li.next a{
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pagingWrap li.next{
    width: auto;
    padding-left: 30px;
    background-position: left center;
    margin-left: 10px;
    position: relative;
}
.pagingWrap li.next:before{
    content: "下一頁";
    transform: rotate(180deg);
    display: inline-block;
}

@media screen and (min-width: 375px){

}

@media screen and (min-width: 425px){

    .topSection{
        display: flex;
        -webkit-justify-content: space-between;
                justify-content: space-between;
        -webkit-align-items: center;
                align-items: center;
    }
    .topSection h1{
        display: flex;  
        margin-bottom: 0;
    }  
}

@media screen and (min-width: 768px){
    section.ranking-top-wrap{
        width: calc(100% + 92px);
        left: -46px;
    }
    section.ranking-top-wrap{
        padding: 24px 46px 0;
    }
    section.ranking-top-wrap.solid{
        padding: 24px 46px;
    }
    article.topRankingArea{
        padding: 0 46px;
    }
    .topSection h1>span{
        margin-bottom: 0;
    }

    .topSection > a{
        margin-bottom: 0;
    }

    .selectPeriod{
        margin-bottom: 0;
        padding: 0 16px;
    }    
    .topSection{
        -webkit-justify-content: flex-start;
                justify-content: flex-start;
        margin: 0;
    }
    .topSection h1{
        /*margin-right: 10px;*/
    }
    .selectPeriod .selected{
        font-size: 15px;
    }
    .selectPeriod .weekSelected{
        font-size: 15px;
    }
    .selectPeriod .prev, 
    .selectPeriod .next{
        position: relative;
        width: auto;
        background-repeat: no-repeat;
        -webkit-background-size: 30px 30px;
             -o-background-size: 30px 30px;
                background-size: 30px 30px;
        background-position: left center;
        padding: 0;
    }
    .selectPeriod .prev:after{
        content: "";
        position: relative;
        display: inline-block;
    }
    .selectPeriod .next:after{
        content: "";
        position: relative;
        transform: rotate(180deg);
        display: inline-block;
    }
    .rankingCategory{
        text-align: center;
        padding-left: 0;
    }
    .rankingCategoryWrap{
        width: calc(100% + 92px);
        /*width: 100%;*/
        left: -46px;
        padding: 7px 46px;
        margin-bottom: 24px; 
    }
    .rankingCategory li{
        padding-right: 24px;
    }
    .rankingCategory li:last-child{
        padding-right: 0;
    }
    .rankList.tops{
        margin-bottom: 0;
    }
    .rankListItem{
        position: relative;
        margin-bottom: 20px;
    }
    .rankListItem .contentBox .categoryWrap{
        visibility: visible;
        height: auto;
        margin-bottom: 10px;
    }
    .rankListItem .contentBox .categoryWrap .categoryItem{
        color: rgba(255, 255, 255, 0.8);
        font-size: 12px;
        line-height: 1.4;
    }
    .rankListItem .imgBox .rankTag{
        width: 30px;
        height: 30px;
    }
    .rankListItem .imgBox .rankTag > span{
        font-size: 18px;
        line-height: 30px;
    }
    .rankListItem .imgBox .rankTag > span > a{
        font-size: 18px;
        line-height: 30px;
    }    
    .tops .rankListItem .contentBox .categoryWrap{
        margin-bottom: 4px;
    }
    .tops .rankListItem .imgBox .imgLink{
        background: linear-gradient(0deg, #000000 11.76%, rgba(4, 4, 4, 0.75) 43.96%, rgba(18, 18, 18, 0) 100%, rgba(0, 0, 0, 0) 100%);
    }
    .tops .rankListItem .imgBox{
        margin-bottom: 0;
    }
    .tops .rankListItem .contentBox{
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 16px 20px;
    }
    .tops .rankListItem .contentBox .videoTitle{
        margin-bottom: 4px;
    }
    .tops .rankListItem .imgBox .rankTag{
        height: 7vw;
        width: 7vw;
        padding: 0;
        margin-left: 2vw;
    }
    .tops .rankListItem .imgBox .rankTag > span{
        font-weight: 900;
        font-size: 3vw;
        line-height: 4.5vw;
        position: relative;
        top: -2px;
    }
    .tops .rankListItem .imgBox .rankTag > span:before{
        display: block;
        font-weight: 900;
        font-size: 1.8vw;
        line-height: 2.6vw;
        top: 8px;
    }
    .tops .rankListItem .imgBox .rankTag > span > a{
        font-weight: 900;
        font-size: 3vw;
        line-height: 4.5vw;
        position: relative;
        top: -2px;
    }    
    .tops .rankListItem .contentBox .videoScore{
        display: block;
    }
    .rankListItem .contentBox .videoTitle a{
        font-size: 18px;
        line-height: 1.4;
    }
    .rankListItem .imgBox{
        width: 22%;
        padding-bottom: 13.28%;
        overflow: hidden;
    }
    .rankListItem .contentBox{
        width: 78%;
        padding-left: 16px;
    }
    .rankListItem .contentBox .videoScore{
        display: inline-block;
        font-size: 15px;
    }
    .rankListItem .contentBox .videoTitle{
        margin-right: 16px;
    }
    /* 各館排行榜片單 */

    /* 各館排行榜片單  end*/
}

@media screen and (min-width: 1024px){
    .emptyText{
        text-align: center;
    }
    .emptyText img, .emptyText p{
        display: inline-block;
        vertical-align: middle;
    }
    .emptyText img{
        width: 96px;
        margin: 0 8px 0 0;
    }
    .emptyText p{
        text-align: left;
    }    
    .breadcrumbs{
        visibility: visible;
        height: auto;
        color: #ccc;
    }
    .tops .rankListItem{
        width: 32.6%;
    }
    .tops .rankListItem .imgBox{
        padding-bottom: 61.03%;
    }
    .tops .rankListItem .imgBox .rankTag{
        width: 55px;
        height: 55px;
        margin-left: 16px;
    }
    .tops .rankListItem .imgBox .rankTag > span{
        font-size: 24px;
        line-height: 35px;
    }
    .tops .rankListItem .imgBox .rankTag > span:before{
        font-size: 14px;
        line-height: 20px;
    }
    .tops .rankListItem .imgBox .rankTag > span > a{
        font-size: 24px;
        line-height: 35px;
    }    
    .tops .rankListItem .contentBox .videoScore{
        display: inline-block;
    }
    .tops .rankListItem .imgWeb{
        display: block;
    }
    .tops .rankListItem .imgMobile{
        display: none;
    }    
    .tops .rankListItem:hover .imgBox .imgLink{
        opacity: 0.8;
    }
    .tops .rankListItem:hover .imgBg{
        transform: scale(1.2);
    }
    .rankListItem .contentBox .videoTitle{
        margin-right: 12px;
    }   
    .rankListItem .imgBox:hover .imgBg{
        transform: scale(1.2);
    }
    .pagingWrap{
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .pagingWrap li:not(.prev):not(.next){
        display: inline-block;
    }
    .pagingWrap li.prev:before{
        content: "";
        display: inline-block;
    }
    .pagingWrap li.next:before{
        content: "";
    }    
    /* 各館排行榜片單 */

    /* 各館排行榜片單 end*/
}

@media screen and (min-width: 1200px){
    .rankListItem .contentBox .dir,
    .rankListItem .contentBox .pList{
        visibility: visible;
        height: auto;
        display: inline-block;
    }
    .rankListItem .contentBox .dir:after{
        content: " / ";
    }
    .rankListItem .contentBox .dir span,
    .rankListItem .contentBox .dir strong,
    .rankListItem .contentBox .pList span,
    .rankListItem .contentBox .pList strong{
        font-size: 13px;
        font-weight: normal;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
    }  
    .rankListItem .contentBox .videoTitle{
        margin-bottom: 0;
    }
    .rankListItem .contentBox .videoInfo{
        margin-bottom: 10px;
    }   
    .tops .rankListItem .contentBox .dir,
    .tops .rankListItem .contentBox .pList{
        display: block;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;          
    }
    .tops .rankListItem .contentBox .dir:after{
        content: "";
    }
    .tops .rankListItem .imgBox .rankTag{
        margin-left: 24px;
    }
    .tops .rankListItem .contentBox{
        padding: 0 24px 24px;
    }
    .rankListItem .contentBox .categoryWrap{
        margin-bottom: 4px;
    }
    .tops .rankListItem .contentBox .videoInfo{
        margin-bottom: 8px;
    }
    .dirName:after,
    .pListItem:after,
    .categoryWrap .categoryItem:after{
        content: "、";
    }
    .dirName:last-child:after,
    .pListItem:last-child:after,
    .categoryWrap .categoryItem:last-child:after{
        content: "";
    }
    .rankListItem .imgBox{
        -webkit-border-radius: 8px;
                border-radius: 8px;
    }
    /* 各館排行榜片單 */

    /* 各館排行榜片單 end*/
}

@media screen and (min-width: 1366px){
    .rankListItem .contentBox .dir span,
    .rankListItem .contentBox .dir strong,
    .rankListItem .contentBox .pList span,
    .rankListItem .contentBox .pList strong{
        font-size: 15px;
    }
    /* 各館排行榜片單 */

    /* 各館排行榜片單 end*/   
}

@media screen and (min-width: 1440px){
    section.ranking-top-wrap{
        width: calc(100% + 120px);
        left: -60px;
    }
    section.ranking-top-wrap.solid{
        padding: 24px 60px;
    }
    article.topRankingArea{
        padding: 0 60px;
    } 
}

