@charset "UTF-8";

/* 	共用CSS */
h4, h5 {
	font-weight: 500 ;
}

.h5, h5 {
	font-size: 18px;
}

.film-item h5:first-child {
	margin-top: 0;
}

/* 按鈕 */
.film-item .btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 24px;
    font-size: 18px;
    line-height: 1.5;
    border-radius: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.film-item .btn-default {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}

.film-item .btn-default:hover {
    color: #000;
    background: #fff;
}

.film-block {
    position: relative;
    z-index: 0;
}

.clip-list.tv-list .info-right h5, .clip-list.tv-list .info-right p.show-name,
	.device-list .item p, .ellipsis, .film-item h5, .article-film-item a h5,
	.article-film-item a h6, .ranking-list .name, .search-result .article-film-item .info-right h4,
	.search-result .article-film-item .info-right h6, .still-block a .title {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.film-item {
	position: relative;
	background: #1e1e1e;
	width: 100%;
	margin-left: 0;
	height: auto;
	box-sizing: border-box;
	-webkit-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
	z-index: 0;
}

.film-item:hover {
	box-shadow: 0 0 50px rgba(0, 0, 0, .85);
	background: #2b2b2b;
	left: 0;
	top: 0;
	z-index: 100;
}

.film-item h5 {
	width: 100%;
	margin-top: 8px;
	margin-bottom: 0;
	color: #fff !important;
	padding-left: 0 !important;
}

.film-item:hover .info {
	max-height: inherit !important;
}

.film-item .info {
	-webkit-transition: max-height 0s ease 0s;
	transition: max-height 0s ease 0s;
	padding: 8px 6px;
	text-align: left;
	max-height: 67px;
	overflow: hidden;
}


.film-item .img-block {
	position: relative;
	overflow: hidden;
	padding-bottom: 148.148148148% !important;
}

.sort-result .movie-box .film-item {
	display: inline-block;
	float: none;
	margin-bottom: 0;
	-webkit-transition: all 0s ease 0s;
	transition: all 0s ease 0s;
}

.film-item p.note {
	font-size: 13px;
	text-align: left;
	margin-left: 0;
	margin-top: 4px;
	margin-bottom: 0;
	line-height: 1;
	color: #fff;
}

.film-item a, .film-item a:hover {
    text-decoration: none;
}

.film-item a {
    color: #fff;
}

.article .swiper-slide, .gallery-movie-premiere .swiper-slide,
	.gallery-film-wide .swiper-slide, .gallery-film .swiper-slide,
	.gallery-recommend .swiper-slide, .gallery-theme .swiper-slide,
	.ranking-list .swiper-slide {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.gallery-film {
	width: calc(100% - 48px);
	height: 420px;
	margin: 0 24px 16px;
	box-sizing: border-box;
}

/* 片單設置 及RWD 控制每行片數*/
.sort-result .movie-box .gallery-film {
	position: relative;
	float: left;
	margin: 7px !important;
	height: inherit !important;
	overflow: visible;
	width: calc(14.28571% - 14px);
}

@media ( max-width : 1499px) {
	.sort-result .movie-box .gallery-film {
		width: calc(100%/ 6 - 14px);
	}
}

@media ( max-width : 1200px) {
	.sort-result .movie-box .gallery-film {
		width: calc(20% - 14px);
	}
}

@media ( max-width : 1023px) {
	.h5, h5 {
		font-size: 14px;
	}
	.sort-result .movie-box .gallery-film {
		width: calc(25% - 14px);
	}
	.info .note {
		display: none;
	}
}

@media ( max-width : 539px) {
	.sort-result .movie-box .gallery-film {
		width: calc(33% - 14px);
	}
}

@media ( max-width : 379px) {
	.sort-result .movie-box .gallery-film {
		width: calc(50% - 14px) !important;
	}
}

/* 寬版卡片樣式 */
.movie-box .gallery-film-wide {
	float: left;
	margin-right: 8px;
	margin-left: 8px;
}

.movie-box .gallery-film-wide .film-item .img-block {
	padding-bottom: 66.666667% !important;
}

.movie-box .gallery-film-wide .film-item {
	display: block;
	position: relative;
	box-sizing: border-box;
	color: #fff;
	text-decoration: none;
	margin-bottom: 16px;
}
/* 寬版卡片輪播(4k) */
.gallery-film-wide .film-item .img-block {
    padding-bottom: 66.6666667% !important;
}
.card-wide-w .film-item .img-block {
    padding-bottom: 66.6666667% !important;
}

.sort-result .gallery-film-wide {
	text-align: center;
	margin: 10px 10px 24px !important;
	height: inherit !important;
	overflow: visible;
	width: calc(20% - 20px);
	float: left;
}

@media ( max-width : 480px) {
	.movie-box .gallery-film-wide {
		width: calc(50% - 20px);
	}
}

@media ( min-width : 481px) and (max-width: 768px) {
	.movie-box .gallery-film-wide {
		width: calc(33.33333% - 20px);
	}
}

@media ( min-width : 769px) {
	.movie-box .gallery-film-wide {
		width: calc(25% - 20px);
	}
}

/* 觀看紀錄 */
.history-list .gallery-film-wide .film-item {
    width: 100%;
    text-align: left;
    position: relative !important;
    box-shadow: none;
    float: left;
    margin-left: 0;
    -webkit-transition: all .2s ease 0s;
    transition: all .2s ease 0s;
}
.history-list .gallery-film-wide {
    height: inherit !important;
    margin: 10px;
    text-align: center;
    width: calc(20% - 20px);
    float: left;
}
@media (min-width: 2560px) {
    .history-list .gallery-film-wide {
       width: calc(10% - 20px) !important;
    }
}
.film-item a {
    color: #fff;
}
.history-list .gallery-film-wide .film-item .img-block {
    padding-bottom: 56.25% !important;
    position: relative;
    overflow: hidden;
    width: 100%;
    float: left;
}
/* 觀看紀錄中間圓圈 */
.history-list .gallery-film-wide .film-item .img-block .circle {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -30px;
    margin-left: -30px;
    z-index: 100;
}

.history-list .gallery-film-wide .film-item .img-block:before {
    width: 50px;
    height: 50px;
    background: transparent url(../img/icon/play.png) 0 0 no-repeat;
    background-size: cover;
    content: "";
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    margin-left: -25px;
    z-index: 10;
}

.history-list .gallery-film-wide .film-item .img-block:hover:before {
    background: transparent url(../img/icon/play_hover.png) 0 0 no-repeat;
    background-size: cover;
}

/* 嗑影劇 */

.article {
    width: calc(100% - 48px);
    height: 360px;
    margin: 20px 24px;
}

.article-film-item {
	background-color: #1e1e1e;
    margin-left: 0;
    position: relative;
    float: left;
    max-width: 100%;
}


@media (min-width: 480px) {
    .article-film-item {
        width: 95%;
        margin-left: 2.5%;
    }
}

@media (min-width: 992px) {
    .article-film-item {
        width: 100%;
        margin-left: 0;
    }
}

.article-film-item .img-block {
    position: relative;
    overflow: hidden;
    padding-bottom: 66.6666667% !important;
}
.article-film-item .img-block p {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    margin-top: 0;
}

.article-film-item a .info {
    padding: 10px 16px 16px;
    background: #fff;
    position: relative;
    overflow: visible;
    z-index: 12;
}

.article-film-item a p {
    min-height: 96px;  
}



.author {
    width: 65px;
    height: 65px;
    overflow: hidden;
    position: absolute;
    top: -32px;
    box-sizing: border-box;
}

.article-film-item .author img {
    height: -webkit-fill-available;
    background-color: #fff;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    vertical-align: top;
    border-radius: 100%;
    border: 2px #fff solid;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.article-film-item .img-block p span {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 11;
    font-size: 1em;
    color: #fff;
    padding: 20px 20px 40px;
}

.article-film-item .img-block p:before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0, 0, 0, .3);
    content: "";
    display: inline-block;
}

.article-film-item .img-block img {
    -webkit-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9;
}

.article-film-item a.active .img-block img, .article-film-item a:active .img-block img, .article-film-item a:focus .img-block img, .article-film-item a:hover .img-block img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: .5;
}

.classification-list li, .item-shadow, .film-item, .article-film-item, .search-result .article-film-item a {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    z-index: 0;
}

.article-film-item a {
    color: #000;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.article-film-item a h5 {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 8px;
    padding-left: 0;
    font-size: 1em;
    font-weight: 700 !important;
    color: #000 !important;
    float: left;
}

.article-film-item a h6 {
    font-size: 1em;
    padding-left: 75px;
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
}

@media (max-width: 767px) {
	.article-film-item a .info {
        padding: 8px 10px 16px 10px;
    }
    
    .article-film-item a h5 {
    	float: none;
	}
	
    .article-film-item a p {
	    display: -webkit-box;
	    overflow: hidden;
        text-overflow: ellipsis;
    	-webkit-line-clamp: 3;
    	-webkit-box-orient: vertical;
    	margin-top: 0;
    	margin-bottom: 0;
        line-height: 1.4;
    	font-size: 14px;
    	min-height: 58px;
    }
    
    .article-film-item a h5 {
        margin-top: 0;
    	margin-bottom: 0;
    	font-size: 14px;
    	font-weight: 500 !important;
    }
    
    .article-film-item a h6 {
    	font-size: 12px;
	}
}
/* 卡片圖片css */
.film-item {
	width: 100%;
	margin-bottom: 0;
}

.film-item .img-block img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 0;
}

/*     卡片列表寬度 */
.sort-result {
	width: calc(100vw - 30px);
}

@media ( max-width : 767px) {
	.sort-result {
		width: 100%;
	}
}

/*    卡片tag 樣式設定 大小網共用*/
.film-item .tag-top {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1em;
}

.film-item .tag-top span {
	display: block;
	padding: 0 8px;
	margin: 0;
	color: #fff;
	line-height: 1.4;
	background: #5d4a88;
	font-size: unset;
}
.film-item .tag-btm {
	display: inline-block;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 10;
	font-size: 1em;
	color: #fff;
	margin: 0;
	text-align: right;
}

/* 輪播 swiper css */
.sort-result .swiper-container .swiper-wrapper {
    position: relative;
    width: fit-content;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    box-sizing: content-box;
}

.film-item .tag-btm span {
	display: inline-block;
	clear: both;
	float: right;
	line-height: 1.4;
	font-size:initial;
	position: relative;
	left: auto;
	top: auto;
	padding: 0px 6px 0px 0px;
/* 	padding-right: 6px; */
	margin-top: 4px;
}

.film-item .tag-btm {
	bottom: 0px !important;
}

@media ( max-width : 767px) {
	.film-item .tag-top {
	   font-size: 12px; /* 移除 font-size: 1em */
    }

	.film-item .tag-btm span {
		font-size: 12px;
		padding: 0 8px;	
		padding-right: 6px; 
    }
}


.film-item .tag-btm span:before {
	width: calc(100% + 12px);
	height: 100%;
	position: absolute;
	content: "";
	display: inline-block;
	background: #1b62b4;
	z-index: -1;
	left: -6px;
}

@media ( max-width : 767px) {
	.film-item .tag-btm span:before {
	  left: unset;
	}
}
.black .tag.tag-free, .detal .tag-free {
	background: #C04983;
}
.film-item .tag-top .tag-note {
    background: #b70b0b;
}
.film-item .tag-btm span.tag-free:before {
	background: #C04983;
}

.black .tag.tag-usetic, .detal .tag-usetic {
	background: #313F9A;
}

.film-item .tag-btm span.tag-usetic:before {
	background: #313F9A;
}

.tag-btm span.tag-drama:before {
	background: #e5a232;
}

.tag-btm span.tag-usetic:before {
	background: #313F9A;
}

.black .tag.tag-pili, .detal .tag-pili {
	background: #17846a;
}

.film-item .tag-btm span.tag-pili:before {
	background: #17846a;
}

.tag-btm span.tag-pili:before {
	background: #17846a;
}

.tag-4K {
	display: inline-block;
	margin: 0;
	padding: 0px 6px;
	font-size: 1em;
	line-height: 1.4;
	color: #ffffff;
	background: #dd6332 !important;
	min-width: 44px;
	text-align: center;
}
/* 輪播 swiper css 主要提供給小網使用*/
.sort-result .swiper-container .swiper-wrapper {
	position: relative;
	width: fit-content;
	height: 100%;
	z-index: 1;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
	box-sizing: content-box;
}

.sort-result .swiper-container .swiper-slide .film-item {
	position: relative;
	width: 100%;
	margin-left: 0;
	height: auto;
	box-sizing: border-box;
	-webkit-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
	z-index: 0;
}

/* 卡片內文字樣式 */
.film-item h5 {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.movie-box::after {
	content: '';
	display: table;
	clear: both;
}

/* 卡片下方立即觀看 (大網按鈕)*/
.film-item .btn-box {
	-webkit-transition: all 0s ease 0s;
	transition: all 0s ease 0s;
	text-align: center;
	max-height: 0;
	opacity: 0;
}

.film-item .btn {
	display: inline-block;
	margin-top: 5px;
	margin-bottom: 15px;
	max-width: 140px;
}

.film-item:hover .btn-box {
	max-height: inherit;
	opacity: 1;
}

/* 輪播樣式 */
.new-list .container-fluid .movie-block .gallery-film {
	height: 380px;
}
.container-fluid .film-block .gallery-film {
    height: 380px;
}


/* 4k卡片 */
.gallery-movie-wide .film-item .img-block {
    padding-bottom: 66.6666667% !important;
}

.spec-list .film-item .info {
    position: absolute;
    z-index: 10;
    margin-left: 20px;
    bottom: 10px;
}

.common-list .gallery-film.gallery-film-wide {
    margin-top: 0;
    height: 360px;
}

.film-item .info {
    -webkit-transition: max-height 0s ease 0s;
    transition: max-height 0s ease 0s;
    padding: 8px 6px;
    text-align: left;
    max-height: 67px;
    overflow: hidden;
}

.film-item .info.great {
    max-height: 106px;
}

@media (min-width: 1366px) {
    .spec-list .film-item .info h5 {
        font-size: 22px;
    }
}

.spec-list .film-item .img-block {
    border-radius: 8px;
}

.spec-list .film-item .spec-cover {
    z-index: 9;
    padding: 0;
    margin: 0;
    height: 101%;
}

.spec-list .film-item .btn-box {
    background-color: #11152A;
}


.film-item .info-hide {
    -webkit-transition: opacity 0s ease 0s;
    transition: opacity 0s ease 0s;
    color: #fff !important;
    font-size: .875em;
    opacity: 0;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.film-item:hover .info-hide {
    opacity: 1;
    height: auto;
    margin-top: 4px;
    margin-bottom: 4px;
}

.spec-list .film-item .info-hide {
    text-align: left;
    margin-left: 20px;
    margin-top: -14px;
    z-index: 9;
    position: absolute;
}

.film-item .btn {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 15px;
    max-width: 140px;
}

.film-item p img {
    vertical-align: middle;
    margin-top: -2px;
}

.cabinet-title{
	margin-top: 10px;
	margin-bottom: 30px;
	text-align: center;
}

.cabinet-title h1{
	font-size: 2.25em;
	color: #A3B2BF;
	
}

.tab-content{
	padding: 15px
}

