/* this is the style entry point for this page */

/**
 * reset
 */

html,
body {
	width: 100%;
	height: 100vh;
	/* cursor: pointer; */
	-webkit-font-smoothing: antialiased;
	background-image: url(../img/bg.png);
	margin: 0;
	overflow: hidden;
}
* {
	margin: 0;
	padding: 0;
}
li {
	list-style: none;
}
a {
	text-decoration: none;
	color: #000;
	font-weight: bold;
}
@font-face {
	font-family: "cyls";
	src: url(../media/_.ttf);
}

body {
	background-image: url(../media/bg.png);
	background-color: #979b9d;
}

div::-webkit-scrollbar {
	width: 6px;
}

div::-webkit-scrollbar-track {
	background: rgba(204, 204, 204, 0.89);
	border-radius: 5px;
}

div::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: gray;
}

/**
 * transition
 */

.fadeOut {
	opacity: 0;
}

.fadeIn {
	opacity: 1 !important;
	transition-duration: visibility 1s;
	visibility: visible !important;
}

.flipOut {
	visibility: visible !important;
	transition-duration: visibility 1s;
	transform: rotate3d(0, 1, 0, 90deg) !important;
}

.flipIn {
	visibility: visible !important;
	transition-duration: visibility 1s;
	transform: rotate3d(0, 1, 0, 0deg) !important;
}
.slide {
	visibility: visible !important;
	transform: translateX(0%) !important;
}
/**
 * header
 */

header {
	position: relative;
	text-align: center;
	font-family: "cyls", "Microsoft Yahei";
	color: #ffffff;
}

.header-bg {
	position: relative;
	height: 52px;
	background-color: rgba(0, 0, 0, 0.5);
	transition: opacity 2s;
	/* filter: blur(3px); */
}

header h1 {
	position: absolute;
	width: 88%;
	top: 0;
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 30px;
	line-height: 52px;
	letter-spacing: 4px;
}

header .menu {
	position: absolute;
	pointer-events: all;
	left: 20px;
	top: 0;
	cursor: pointer;
	width: 28px;
	height: 52px;
	background: url(../media/menu.png) no-repeat center center;
}

header .toggle_nav{
    background: #333333;
    border-radius: 50%;
    height: 36px;
    line-height: 36px;
    width: 36px;
    text-align: center;
    margin-top: 8px;
    margin-left: 10px;
}

header .tour:hover .dropdown {
	height: 114px;
	opacity: 1;
}
header .bztype:hover .dropdown {
	height: 228px;
	/* min-height: 200px; */
	opacity: 1;
}

header .dropdown {
	font-family: "Microsoft Yahei";
	font-size: 14px;
	text-align: left;
	position: absolute;
	width: 100px;
	left: -32px;
	top: 52px;
	padding-left: 0;
	/* border-radius: 2px; */
	height: 0;
	overflow: hidden;
	transition: all 0.5s;
	opacity: 0;
}

header .dropdown li {
	letter-spacing: 1px;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0px 4px;
	transition: all 0.3s;
	line-height: 38px;
	text-align: center;
}

header .dropdown li.active {
	background-color: rgba(255, 255, 255, 0.5);
	color: #504d4d;
}

header .dropdown li:not(.active):hover {
	background-color: rgb(91, 91, 91);
}
header .header-menu-icon {
	position: absolute;
	width: 17px;
	height: 17px;
	left: -24px;
	top: 17px;
}
header .header-menu-icon.timeline_icon {
	background: url(../media/timeline.png) no-repeat center center/contain;
	position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    top: 17px;
}
header .timeline_toggle.opened{
	color:#cda854;
}
header .timeline_toggle.opened .header-menu-icon.timeline_icon {
	background: url(../media/timeline_active.png) no-repeat center center/contain;
}
header .header-menu-icon.freely {
	background: url(../media/freelyicon.png) no-repeat center center/contain;
}
header .header-menu-icon.tour {
	background: url(../media/touricon.png) no-repeat center center/contain;
}
header .header-menu-icon.summary {
	background: url(../media/summaryicon.png) no-repeat center center/contain;
}
header .header-menu-icon.share {
	left: -12px;
	background: url(../media/shareicon.png) no-repeat center center/contain;
}
header .header-menu-icon.references {
	background: url(../media/referenceicon.png) no-repeat center center/contain;
}
header .header-menu-icon.about {
	background: url(../media/abouticon.png) no-repeat center center/contain;
}
header .header-menu-icon.bztype {
	background: url(../media/bztype.png) no-repeat center center/contain;
}
header .header-menu-icon.bzlist {
	background: url(../media/bzlist.png) no-repeat center center/contain;
}
header .header-menu-icon.bgmuc {
	background: url(../media/bgmuc_on.png) no-repeat center center/contain;
}
header .header-menu-icon.bgmuc.off {
	background: url(../media/bgmuc_off.png) no-repeat center center/contain;
}
.head-menu.summary {
	right: 446px;
}
.head-menu.references {
	right: 160px;
}
.head-menu.about {
	right: 58px;
}
.head-menu.share {
	right: 255px;
}
.head-menu.timeline_toggle {
	left: 88px;
	padding-left: 24px;
}
.head-menu.freely {
	left: 200px;
}
.head-menu.tour {
	left: 300px;
}
.head-menu.bztype {
	left: 400px;
}
.head-menu.bzlist {
	right: 345px;
}
.head-menu.bgmuc {
	right: 20px;
}
/**
 * main
 */

.viewer-root {
	height: 100%;
	position: relative;
}
.openseadragon-btns{
	position: absolute;
    left: 0;
    bottom: 28vh;
    width: 30px;
    z-index: 1;
}
.openseadragon-btns>div{
	width:30px;
	height: 30px;
	background:rgba(0,0,0,0.5);
	color: #FFFFFF;
	font-size: 22px;
	text-align: center;
	line-height: 30px;
	cursor: pointer;
}
.openseadragon-btns>div:first-child{
	border-bottom: 1px solid #EFEFEF;
}
.openseadragon-btns>div.zoom-out{
	font-size: 32px;
}
.root {
	position: absolute;
	z-index: 100;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
}

.cover {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	filter: blur(4px);
	z-index: 200;
	opacity: 0;
	transition: opacity 0.6s ease-in-out, visibility 0.6s;
	visibility: hidden;
}
.cover.show {
	opacity: 1;
	visibility: visible;
}

.video-player {
	position: absolute;
    top: 15vh;
    width: 75vw;
    height: 70vh;
    left: 12.5vw;
	pointer-events: all;
	z-index: 300;
	visibility: hidden;
	transition: opacity 1s, visibility 0s;
	/* transition: all 2s; */
	opacity: 0;
}

.video-player video {
	width: 100%;
	height: 100%;
}

/**
 * overlay
 */

span.osd-overlay {
	display: block;
	width: 18px;
	height: 34px;
	cursor: pointer;
	background: url(../media/white.png) no-repeat center center;
	background-size: contain;
	transition: transform, opacity 0.3s;
	will-change: transform;
	z-index: 9;
}
span.osd-overlay.white {
	background-image: url("../media/white.png");
}
span.osd-overlay.orange {
	background-image: url("../media/orange.png");
}
span.osd-overlay.red {
	background-image: url("../media/red.png");
}
span.osd-overlay.green {
	background-image: url("../media/green.png");
}
span.osd-overlay.brown {
	background-image: url("../media/brown.png");
}

.overlay-container {
	transition: opacity 2s, visibility 0.3s;
}

.overlay-container.hide {
	visibility: hidden;
}

span.osd-overlay.white.visited {
	background-image: url("../media/white_visited.png");
}
span.osd-overlay.orange.visited {
	background-image: url("../media/orange_visited.png");
}
span.osd-overlay.red.visited {
	background-image: url("../media/red_visited.png");
}
span.osd-overlay.green.visited {
	background-image: url("../media/green_visited.png");
}
span.osd-overlay.brown.visited {
	background-image: url("../media/brown_visited.png");
}
span.osd-overlay:hover {
	transform: scale(1.2, 1.2);
	opacity: 1 !important;
}

.mouse-on span.osd-overlay:not(:hover) {
	opacity: 0.2;
}

/**
 * overlay-info
 */

.overlay-title {
	font-size: 60px;
	font-family: "cyls", "Microsoft Yahei";
	color: #ffffff;
	text-align: center;
	position: absolute;
	width: 100%;
	top: 35%;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s ease-in-out, visibility 0s linear 2s;
}

.overlay-title.shown {
	opacity: 1;
	transition-delay: 1.5s, 0s;
	visibility: visible;
}

.overlay-title.hide {
	opacity: 0;
	transition-delay: 0.2s, 0s;
	visibility: hidden;
}

.overlay-info {
	width: 380px;
	position: absolute;
	right: 0;
	top: 52px;
	background-color: rgba(255, 255, 255, 0.9);
	bottom: 2px;
	transition: transform 1s;
	transform-origin: right center;
	transform: rotateY(90deg);
	/* display: none; */
	pointer-events: all;
	border-radius: 2px;
	transform: rotate3d(0, 1, 0, -90deg);
	visibility: hidden;
}

.overlay-info .article {
	padding: 30px 15px 0 20px;
	position: absolute;
	top: 0;
	bottom: 0;
	overflow-y: auto;
	font-size: 16px;
	line-height: 28px;
	color: #504d4d;
	overflow-x: hidden;
	user-select: none;
	/* pointer-events:; */
	/* text-align: center; */
}

.overlay-info .article strong {
	text-indent: 0em;
}

.overlay-info .article p img {
	display: block;
}

.overlay-info .close {
	position: absolute;
	top: 5px;
	right: 16px;
	width: 20px;
	height: 20px;
	border-radius: 2px;
	background: url(../media/close.png) no-repeat center center;
	background-size: contain;
	cursor: pointer;
	z-index: 2;
}

.overlay-info .video-btn {
	position: absolute;
	top: 40px;
	right: 40px;
	background: url(../media/video.png) no-repeat center center;
	background-color: rgba(152, 152, 152, 0.9);
	width: 35px;
	height: 30px;
	border-radius: 2px;
	color: #fff;
	text-align: right;
	font-size: 12px;
	padding: 0 6px;
	line-height: 35px;
	cursor: pointer;
	display: none;
	z-index: 2;
	pointer-events: all;
}

/**
 * 左侧菜单
 */

.controller {
	position: absolute;
	left: 0;
	color: #fff;
	top:130px;
	width: 72px;
	pointer-events: none;
	z-index: 1;
}

.controller .controller-box {
	width: 70px;
	height: 70px;
	overflow: hidden;
	text-align: center;
	font-size: 12px;
	pointer-events: all;
	margin-top: 8px;
	transition: transform 1s ease-in-out, visibility 0s;
}

.controller .exit-view {
	background-color: rgba(0, 0, 0, 0.5);
	text-align: center;
	font-size: 12px;
	transform-origin: left center;
	perspective: 300px;
	transform: rotate3d(0, 1, 0, -90deg);
	visibility: hidden;
}

.controller .exit-view .c-icon {
	display: block;
	margin: 12px auto;
	width: 24px;
	height: 24px;
	background: url(../media/back.png);
	background-size: cover;
	cursor: pointer;
}

.controller .c-icon:hover {
	transform: scale(1.05, 1.05);
}

.controller .control-music {
	transform-origin: left center;
	background-color: rgba(213, 180, 127, 0.6);
	transform: rotate3d(0, 1, 0, -90deg);
	visibility: hidden;
}

.controller .control-music .c-icon {
	display: block;
	margin: 8px auto;
	width: 32px;
	height: 32px;
	background: url(../media/play.png);
	cursor: pointer;
}

.controller .control-music .c-icon.pause {
	background: url(../media/pause.png);
}

.controller .step-view {
	height: 30px;
	/* width: 72px; */
	margin-top: 0;
	background-color: rgba(144, 78, 25, 0.5);
}

.controller .step-view-container {
	transform-origin: left center;
	transform: rotate3d(0, 1, 0, -90deg);
	transition: transform 1s ease-in-out, visibility 0s;
	visibility: hidden;
}
.controller .step-view .tour-name {
	margin-top: 3px;
}
.controller .step-view .c-icon {
	display: block;
	margin: 8px auto;
	width: 32px;
	height: 32px;
	/* background: url(../media/step.png) no-repeat center center; */
	/* background-size: contain; */
}

.controller .step-switch {
	height: 40px;
	width: 70px;
	background-color: rgba(176, 111, 60, 0.5);
	vertical-align: middle;
	pointer-events: all;
}

.controller .step-switch .line {
	width: 2px;
	height: 16px;
	display: inline-block;
	background-color: #dfd4cd;
	transform: translateY(3px);
}

.controller .step-switch .step-btn {
	width: 29px;
	height: 100%;
	vertical-align: middle;
	display: inline-block;
	background: url(../media/step-btn.png) no-repeat center center;
	transition: all 0.3s;
	cursor: pointer;
	pointer-events: all;
}

.controller .step-switch .step-btn.disable {
	opacity: 0.4;
	pointer-events: none;
}

.controller .step-switch .step-btn.disable:hover {
	background-color: rgba(147, 112, 88, 0.5);
}

.controller .step-switch .step-btn:hover {
	background-color: rgba(147, 112, 88, 0.8);
}

.controller .step-switch .step-btn.left {
	transform: rotateZ(180deg);
}

.bookmark {
	width: 58px;
	height: 60px;
	cursor: pointer;
	pointer-events: all;
	/* background:url(../media/bookmark.png) no-repeat 6px center; */
	position: absolute;
	transform: translateX(100%);
	background-color: rgba(176, 111, 60, 0.8);
	border-radius: 2px;
	right: 0;
	/* visibility: hidden; */
	transition: transform 1s, visibility 0s;
}

/*Button Two*/

.bookmark i {
	width: 32px;
	height: 32px;
	position: absolute;
	left: 11px;
	top: 4px;
	background: url(../media/bookmark.png) no-repeat 6px center;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}
.bookmark span {
	font-size: 12px;
	color: #fff;
	/* letter-spacing: 2px; */
	display: inline-block;
	position: relative;
	top: 36px;
	left: 4px;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

.share {
	pointer-events: all;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 100px;
	pointer-events: all;
	width: 48px;
	height: 52px;
	/* background: url('./media/share.png') center center no-repeat; */
	/* background-size: cover; */
}
.share .social-share {
	position: absolute;
	top: 50px;
	left: -36px;
	background-color: rgba(91, 91, 91, 0.8);
	width: 100px;
	border-radius: 2px;
	opacity: 0;
	visibility: hidden;
	transform: all 0.6s;
}
.share .social-share a {
	display: block;
	margin-left: 36px;
}

.head-menu {
	position: absolute;
	pointer-events: all;
	top: 0;
	cursor: pointer;
	line-height: 52px;
	/* width: 28px; */
	height: 52px;
	font-family: "Microsoft Yahei";
	font-size: 14px;
	color: #edebeb;
}

.references-wrap {
	height: 0;
	border-radius: 1px;
	overflow-y: auto;
	width: 735px;
	position: absolute;
	top: 0;
	background-color: #fff;
	transform: translateX(-50%);
	margin-left: 50%;
	padding: 0 270px 0;
	transition: all 0.6s ease-in-out;
	z-index: 300;
}
.references-wrap .references-content {
	padding-top: 72px;
}
.references-wrap.show {
	margin-top: 72px;
	height: 785px;
}

.text-wrap {
	height: 0;
	border-radius: 1px;
	overflow-y: auto;
	width: 80vw;
	position: absolute;
	top: 0;
	background-color: rgba(247, 248, 248, 0.95);
	margin-left: 8vw;
	padding: 0 2vw;
	transition: all 0.6s ease-in-out;
	z-index: 300;
}
.text-wrap:not(:last-of-type){
	width: 70vw;
	margin-left: 13vw;
}
.text-wrap .text-wrap-close {
	width: 24px;
	height: 24px;
	background: url(../media/close.png) no-repeat center center;
	position: absolute;
	right: 20px;
	top: 10px;
	cursor: pointer;
}
.text-wrap .text-wrap-content {
	padding-top: 42px;
	padding-bottom: 30px;
	/* text-align: center; */
}
.text-wrap .text-wrap-content .img-wrap {
	height: 320px;
	text-align: center;
	padding: 20px 0;
}
.text-wrap .text-wrap-content .img-wrap .img {
	height: 300px;
}
.text-wrap .text-wrap-content .img-wrap .img img {
	max-height: 100%;
	max-width: 100%;
}
.text-wrap .text-wrap-content .img-wrap .img-title {
	display: block;
	font-size: 12px;
	color: #7f7f7f;
	padding: 10px 0;
}
.text-wrap.show {
	margin-top:6vh;
    height: 88vh;
    overflow-y: scroll;
}

.text-wrap-content h4 {
	text-align: center;
	font-size: 32px;
	font-weight: normal;
	line-height: 32px;
	color: #191919;
	padding: 10px 0;
	/* margin-bottom: 10px; */
}
.text-wrap-content h5 {
	font-size: 20px;
	font-weight: bold;
	line-height: 26px;
	color: #494949;
	padding-top: 10px;

	/* margin-bottom: 10px; */
}
.text-wrap-content p {
	font-size: 16px;
	line-height: 34px;
	/* text-indent: 2em; */
	margin-top: 10px;
	color: #6e6e6e;
}
.text-wrap-content p:first-of-type {
	margin-top: 0px;
}
.text-wrap-content a {
	text-decoration: underline;
}
.text-wrap-content table {
	border-collapse: collapse;
	color: #6e6e6e;
	font-size: 14px;
	line-height: 18px;
	/* width: 90%; */
	margin: 10px auto;
}
.text-wrap-content table td {
	border: 1px solid #191919;
	padding: 5px;
}

/*左侧导航*/
div.left_nav{
	width: 22%;
	position: absolute;
	left: -500px;;
	top: 8vh;
	bottom: 6vh;
	background: #E1DBCD;
	min-height: 250px;
	font-size: 14px;
	overflow-y: scroll;
	z-index: 1;
}
.leftnav_header{
	overflow: hidden;
	border-bottom: 1px solid #C9C0AE;
}
.leftnav_header>li{
	float: left;
	width: 20%;
	text-align: center;
	color: #918F8B;
	padding: 10px 0 16px;
	font-size: 13px;
	cursor: pointer;
}
.leftnav_header>li.active{
	color: #333;
}
.leftnav_header>li img{
	width: 60%;
	margin-bottom: 5px;
}
.nav_content{
	color: #717070;
	padding:0 10px;
}
.nav_content .item{
	overflow: hidden;
	cursor: pointer;
	padding: 10px 0;
}
.nav_content .item:not(:last-child){
	border-bottom: 1px solid #DAD1C2;
}
.nav_content .item:hover,.nav_content .active_item{
	background: #D6CEBC;
}
.nav_content .item .item_name{
	float: left;
	margin-left:10px;
	line-height: 70px;
	width: 48%;
}
.nav_content .item .item_name p{
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav_content .item .item_img{
	float: right;
	margin-right:10px;
}
.nav_content .item img{
	width: 120px;
    height: 70px;
}
.btns{
	text-align: center;
	color: #F5EDE0;
	margin-top: 20px;
}
.btns button{
	margin: 0 12px;
    width: 66px;
}
.btns .previous{
	background: #CCC8BF;
}
.btns .next{
	background: #CDA854;
}
.btns span{
	color: #717070;
}
.btns span i:first-child{
	color: #C18912;
}

/*右侧画面解读*/
#overlay-info{
	background: #E1DBCD;
}
#overlay-info #marked{
	position: absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	padding-bottom: 10px;
}
#marked>h2:nth-child(2),#marked>p:nth-child(3){
	display: none;
}
#marked>p:first-child,#marked>h2:first-child{
	font-size: 20px;
	text-align: center;
	line-height: 48px;
	margin-bottom: 10px;
}
#marked>p img{
	width: 84%;
	max-height:60vh;
    margin: 0 auto;
}
#marked>h4:not(first-child){
	font-size: 15px;
    color: #222222;
    margin: 14px 0 4px;
    border-left: 2px solid #CDA854;
    padding-left: 8px;
    line-height: 24px;
}
#marked>p:not(first-child){
	font-size: 14px;
	color: #444444;
	line-height: 26px;
}

/* 底部时间轴 */
.time_line{
	position: absolute;
	left: 110%;
	right: 0;
	bottom: 2vh;
    height: 96px;
	z-index: 1;
	color: #FFFFFF;
	padding-right: 20px;
}
.time_line .time_btn{
	width: 36px;
	height: 36px;
	line-height: 36px;
	background: #333333;
	border-radius: 50%;
	text-align: center;
	color: #FFFFFF;
	font-size: 16px;
	margin-bottom: 30px;
	cursor: pointer;
}
.time_line #lastNode{
	position: absolute;
	left: 0;
	bottom: 0;
}
.time_line #nextNode{
	position: absolute;
	right: 0;
	bottom: 0;
}
.time_line .time_axis{
	position: absolute;
    left: 46px;
    right: 46px;
    bottom: 0;
    overflow: hidden;
    height: 96px;
}
.time_line .time_axis div.line{
    height: 6px;
    background: #937d65;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 43px;
}
.time_line .time_axis ul{
    height: 96px;
	position: relative;
	left: 0;
}
.time_line .time_axis ul li{
	text-align: center;
	width: 70px;
	cursor: pointer;
	position: absolute;
	bottom: 0;
}
.time_axis ul li .node{
	width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #937d65;
    margin: 10px auto;
}
.time_axis ul li.active .node{
	border: 4px solid #cda854;
}
.time_axis ul li .dynasty{
	display: block;
	padding: 6px 18px;
	border-radius: 2px;
	margin: 0 auto;
	color: #636262;
	background: #dcdcdc;
}
.time_axis ul li.active .dynasty{
	color: #ffffff;
	background: #cda854;
}