@import url("https://fast.fonts.net/cssapi/5f4b6647-cfd2-427a-adeb-9c3fa2b6d7c3.css");
@import url("./sweetalert2.min.css");
@import url("./animate.css");

/* CSS Document */
html {
	overflow: hidden;
	width: 768px;
	height: 984px;
	max-width: 768px;
	max-height: 984px;
	-webkit-font-smoothing: antialiased;
}

.words.selected {
	color: #f00 !important;
}

/* From Content */
body {
	width: 768px;
	height: 984px;
	margin: 0;
}
#play-overlay {
	background-color: rgba(200, 200, 200, .5) ;
	width: 768px;
	height: 984px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}
#play-start {
	background: url("./images/spinner.gif") no-repeat;
	background-size: 150px 150px;
	width: 150px;
	height: 150px;
	margin: auto;
	margin-top: 55%;
}
#book-view {
	width: 768px;
	height: 984px;
	overflow: visible;
	margin: auto;
	position: relative;
}
.outer-wrap {
	height: 984px;
	width: 768px;
	margin: auto;
}
.text-block {
	margin: 0;
	font-weight: normal;
	visibility: hidden;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 40px #fff, 0 0 40px #fff, 0 0 40px #fff, 0 0 40px #fff; 
	border-radius: 50px;
	padding: 10px;
	opacity: 0;
	transition: visibility 0s linear 0.5s, all .5s;
	-moz-transition: visibility 0s linear 0.5s, all .5s;
	-webkit-transition: visibility 0s linear 0.5s, all .5s;
}
.text-block-fi {
	transform: translateY(-5px);
	-moz-transform: translateY(-5px);
	-webkit-transform: translateY(-5px);
	visibility: visible;
	opacity: 1;
}
.text-block-fo {
	transform: translateY(5px);
	-moz-transform: translateY(5px);
	-webkit-transform: translateY(5px);
	visibility: hidden;
	opacity: 0;
}
.text {
	font-size: 1em;
	display: none;
	margin: 15px;
}
.simp-p {
	display: block;
	position: relative;
}
.trad-p {
	display: none;
	position: relative;
}
.book-content {
	position: relative;
	width: 768px;
	height: 984px;
}
.slick-arrow, .slick-arrow:active, .slick-arrow:focus, .slick-arrow:link, .slick-arrow:visited {
	width: 75px;
	height: 75px;
	position: absolute;
	top: 47%;
	background-color: transparent !important;
	background-color: transparent !important;
	border: none !important;
	z-index: 1003;
	cursor: pointer;
	font-size: 6em;
	color: white;
	opacity: 0.8;
	text-shadow: 1px 1px 3px #000;
}
@media only screen and (min-width: 800px) {
	.slick-arrow:hover {
		opacity: 1;
		text-shadow: 5px 0px 10px #666;
	}
}
.slick-prev:before {
	content: "❰";
	font-size: 85px;
}
.slick-prev {
	left: 30px;
	text-align: right;
}
.slick-next:before {
	content: "❱";
	font-size: 85px;
}
.slick-next {
	right: 30px;
	text-align: left;
}
.slick-disabled {
	display: none !important;
}
span.words {
	white-space: normal;
}
span:not([class*="words"]) {
	font-size: 1em;
	margin: .1em;
}
.para {
	clear: both;
	line-height: 1em;
	padding: .25em 0;
	white-space: nowrap;
}
.words ruby {
	font-size: 1.1em;
}
.words ruby rb {
	font-size: 1em;
	margin: .05em;
}
.words ruby rt {
	font-family: Arial;
	font-size: 44%;
	display: ruby-text-container !important;
}
.words, .tt-hook, .tt-content {
	line-height: 1.7em;
}

/* Tooltip */
.tt-hook {
	width: 1em;
	height: 1em;
	background: transparent url('./images/vocab.png') no-repeat;
	background-size: 1em;
	vertical-align: text-top;
	margin: -3px .15em 0;
}
.tt-text {
	color: #f0f;
}
.tt-hook {
	display: inline-block;
}
.tt-style {
	padding: 1em;
	background-color: #FC6;
	border: 2px solid #FC6;
}
.tt-content {
	display: none;
	padding: .5em;
	font-size: 1.1em;
	top: 40% !important;
	width: 60%;
	border-radius: 15px;
}
.tt-content>div {
	font-size: .8em;
	line-height: 1em;
	text-align: center;
}
.tt-content .tt-content-text {
	font-weight: bold;
	font-size: 1.1em;
}
.tt-content .tt-contnet-pinyin {
	font-size: 1.1em;
}
.tt-content .tt-content-type {
	font-size: .9em;
}
.tt-content .tt-content-translate {
	padding-top: .8em;
}
#speed-control {
	display: block;
	position: absolute;
	top: 25px;
	right: 50px;
	z-index: 1003;
}
.play-ctrl {
	width: 50px;
	height: 50px;
	float: left;
	background-size: 50px;
	cursor: pointer;
	margin: 0 3px;
}
#play-slow {
	background-image: url(./images/playslow_s.png);
}
#play-normal {
	background-image: url(./images/playnormal_s.png);
}
#play-fast {
	background-image: url(./images/playfast_s.png);
}
.play-slow-on {
	background-image: url(./images/playslow_on.png) !important;
}
.play-normal-on {
	background-image: url(./images/playnormal_on.png) !important;
}
.play-fast-on {
	background-image: url(./images/playfast_on.png) !important;
}
.fullpage {
	margin: 0 !important;
	padding: 0 !important;
}
