﻿@charset "utf-8";

html,
footer .view-bar-group,
footer .view-bar {
	background: black;
}

footer,
.view-film-item {
	padding-bottom: env(safe-area-inset-bottom);
	box-sizing: border-box;
}

.view-film-item {
	padding-right: env(safe-area-inset-right);
}

.view-lt,
footer {
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
	box-sizing: border-box;
}

.fixed,
.view-nook-top,
footer {
	width: 100%;
	position: fixed;
	right: 0;
}

.fixed {
	height: 100%;
	font-size: .6rem;
	color: white;
	overflow-x: hidden;
}

.view-lt.active .view-nook-top,
.view-lt.active footer,
.view-lt.active {
	right: 7rem;
}

.view-lt.active .view-film-menu figure img {
	content: url(../icon/close.png);
}

footer {
	bottom: 0;
}

header ul,
.view-bar ul,
.view-bar-group ul li {
	height: 3.45rem;
}

header ul,
.view-nook ul,
.view-bar ul,
.view-bar-group ul li,
.view-win-group ol li {
	box-sizing: border-box;
}

header ul {
	border-bottom: 1px solid;
}

figure,
.fa-caret-left,
.fa-caret-right,
.progress span {
	cursor: pointer;
}

figure img {
	height: 1.3rem;
	width: auto;
	object-fit: scale-down;
}

figure figcaption {
	margin-top: 4px;
	white-space: nowrap;
}


/*.view-bar-group,*/

.view-film-item,
header figcaption,
figure figcaption:empty,
.view-win-group {
	display: none;
}

.view-body {
	height: calc(100% - (3.45rem*2));
	position: relative;
}

.view-film-body {
	height: calc(100% - 3.45rem);
}

.view-body,
.view-film-body {
	overflow-y: auto;
}

.view-bar,
.view-bar-group,
.view-film-body li+li figure {
	border-top: 1px solid;
}

header ul,
.view-bar,
.view-bar-group,
.view-film-body li+li figure,
.view-win-group ol li+li figure {
	border-color: rgba(255, 255, 255, .1) !important;
}

.view-bar-group ul li {
	text-align: center;
	display: flex;
	display: -webkit-flex;
	justify-content: space-around;
	align-items: center;
	width: auto !important;
}

.view-bar-group ul li+li {
	margin-left: 1.6rem;
}

.view-bar-group>div {
	overflow-x: auto;
}

.view-win figure img,
.view-bar-group figure img {
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
}

.view-win-group ol li.active figure img,
.view-bar-group ul li.active figure img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.view-win-group ol li.active,
.view-bar-group ul li.active {
	color: #FFFF00;
}

.view-bar li+li,
.progress {
	flex: 1;
}

.view-bar li+li {
	margin-left: 1.3rem;
}

.fa-caret-left,
.fa-caret-right {
	font-size: 1.7rem;
	width: auto;
}

.fa-caret-left:active,
.fa-caret-right:active {
	color: #3c98fa;
}

.progress,
.progress b {
	border-radius: 1rem;
	height: .3rem;
}

.progress {
	margin: auto 1.3rem;
	background: white;
	font-size: 0;
	position: relative;
}

.progress b,
.progress span {
	display: block;
	background: #3c98fa;
}

.progress b {
	width: 1%;
}

.progress span {
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	position: absolute;
	top: -.35rem;
	left: 1%;
	margin-left: -.5rem;
}

.view-nook ul li {
	line-height: 2;
}

.view-nook ul li+li {
	text-align: right;
}

.view-nook ul {
	padding: 8px 20px;
}

.view-film-item {
	width: 7rem;
	background: #262626;
}

.view-film-item header ul li {
	text-align: left;
}

.view-film-body figure img {
	height: 4.3rem;
	width: 100%;
	object-fit: cover;
}

.view-film-body figure figcaption {
	/* flex: 1; */
	/* margin-left: 15px; */
	/* margin-top: 0; */
	/* line-height: 2; */
	font-size: .7rem;
    text-align:center;
}

.view-film-body li {
	padding-left: 20px;
}

.view-film-body li figure {
	padding: 15px 20px 15px 0;
}

.view-film-body li:hover,
.view-film-body li:active {
	background: rgba(0, 0, 0, .1);
}

.view-win {
	position: relative;
}

.view-win-group {
	position: absolute;
	top: 3.45rem;
	left: 50%;
	margin-left: -5rem;
	background: #262626;
	width: 100%;
	min-width: 10rem;
	z-index: 1;
	font-size: .8rem;
	border-radius: 4px;
}

.view-win-group figure figcaption {
	display: block;
	margin-top: 0;
}

.view-win-group figure {
	display: flex;
	display: -webkit-flex;
	justify-content: space-between;
	align-items: center;
	direction: rtl;
	padding: 15px 0;
}

.view-win-group ol li {
	padding: 0 20px;
}

.view-win-group ol li+li figure {
	border-top: 1px solid;
}

.loading legend i {
	font-size: 8rem;
}

.loading legend img {
	width: 8rem;
}

.loading legend {
	font-size: .8rem;
}

.loading {
	position: absolute;
	top: 0;
	background: black;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#texts {
	margin-top: 1rem;
}

.id_loaddian {
	min-width: 1rem;
	display: inline-block;
	text-align: left;
}

/* 2019-08-22 start */
.view-lt header ul li {
	flex: 1;
}

.view-lt header ul li:not(:first-child) {
	text-align: center;
}

/* end */

@media only screen and (min-width: 1200px) {
	.view-film-item {
		width: 20% !important;
	}

	.view-lt.active .view-nook-top,
	.view-lt.active footer,
	.view-lt.active {
		right: 20%;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
	.view-film-item {
		width: 30% !important;
	}

	.view-lt.active .view-nook-top,
	.view-lt.active footer,
	.view-lt.active {
		right: 30%;
	}
}

@media only screen and (max-width: 768px) {
	.view-win-group {
		min-width: 13rem;
		margin-left: -6.5rem;
		overflow: hidden;
		font-size: inherit;
	}

	.view-win-group ol {
		margin-right: -2px;
		margin-bottom: -1px;
	}

	.view-win-group ol li {
		float: left;
		width: calc(100%/3);
		border-right: 1px solid rgba(255, 255, 255, .1);
		border-bottom: 1px solid rgba(255, 255, 255, .1);
		text-align: center;
		padding: 0;
	}

	.view-win-group ol li figure {
		display: inline-block;
		text-align: center;
		border-top: none !important;
	}

	.view-win-group figure figcaption {
		margin-top: 4px;
	}
}



/*针对 iphone X*/

@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .view-bar {
        padding-bottom: 1.4rem;
    }

    .view-body {
        height: calc(100% - 8rem);
    }

    .view-film-body {
        height: calc(100% - 4.7rem);
    }
}

