@import url("https://fonts.googleapis.com/css?family=Voltaire");

#world {
	width: 980px;
	height: 652px;
	margin: 10px auto 0;
	position: relative;
	background-color: #DBE6E6;
}

/*#gameoverInstructions {*/
/*	position: absolute;*/
/*	font-family: 'Voltaire', sans-serif;*/
/*	font-weight: bold;*/
/*	text-transform: uppercase;*/
/*	font-size: 120px;*/
/*	text-align: center;*/
/*	color: #ffc5a2;*/
/*	opacity: 0;*/
/*	left: 50%;*/
/*	top: 50%;*/
/*	width: 100%;*/
/*	-webkit-transform: translate(-50%, -100%);*/
/*	transform: translate(-50%, -100%);*/
/*	-webkit-user-select: none;*/
/*	-moz-user-select: none;*/
/*	-ms-user-select: none;*/
/*	user-select: none;*/
/*	-webkit-transition: all 500ms ease-in-out;*/
/*	transition: all 500ms ease-in-out;*/
/*}*/

/*#gameoverInstructions.show {*/
/*	opacity: 1;*/
/*	-webkit-transform: translate(-50%, -50%);*/
/*	transform: translate(-50%, -50%);*/
/*	-webkit-transition: all 500ms ease-in-out;*/
/*	transition: all 500ms ease-in-out;*/
/*}*/

#dist {
	position: absolute;
	left: 50%;
	top: 50px;
	-webkit-transform: translate(-50%, 0%);
	transform: translate(-50%, 0%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.label {
	position: relative;
	font-family: 'Voltaire', sans-serif;
	text-transform: uppercase;
	color: #ffa873;
	font-size: 12px;
	letter-spacing: 2px;
	text-align: center;
	margin-bottom: 5px;
}

#distValue {
	position: relative;
	text-transform: uppercase;
	color: #dc5f45;
	font-size: 40px;
	font-family: 'Voltaire';
	text-align: center;
}

#credits {
	position: absolute;
	width: 100%;
	margin: auto;
	bottom: 0;
	margin-bottom: 20px;
	font-family: 'Voltaire', sans-serif;
	color: #544027;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-align: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#credits a {
	color: #544027;
}

#credits a:hover {
	color: #dc5f45;
}

#instructions {
	position: absolute;
	width: 100%;
	bottom: 0;
	margin: auto;
	margin-bottom: 50px;
	font-family: 'Voltaire', sans-serif;
	color: #dc5f45;
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.lightInstructions {
	color: #5f9042;
}

.instructions-box {
	position: absolute;
	left: 50%;
	top: 38%;
	-webkit-transform: translate(-50%, -38%);
	transform: translate(-50%, -38%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: none;
	width: 614px;
	height: 440px;
}

.content-box-two {
	width: 614px;
	/* height: 356px; */
	background: #F8FFFB;
	box-shadow: 0px 3px 3px 0px rgba(94, 134, 105, 0.2);
	border-radius: 12px;
	padding: 20px 0;
}

.title-box {
	width: 614px;
	/* height: 78px; */
	background: #F8FFFB;
	box-shadow: 0px 3px 3px 0px rgba(94, 134, 105, 0.2);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;

	font-size: 20px;
	font-family: Noto Sans CJK TC;
	font-weight: bold;
	color: #393939;
	position: relative;
}
#titleText{
	text-indent: 3em;
	padding: 20px;
}

.title-num {
	width: 62px;
	height: 24px;
	background: #FD9B3C;
	border-radius: 12px 0px 12px 0px;
	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 16px;
	font-family: SimSun;
	font-weight: 400;
	color: #FEFEFE;

	position: absolute;
	top: 0;
	left: 0;
}

.line-one {
	width: 2px;
	height: 18px;
	background: #B6F3CE;
	border-radius: 1px;
	position: fixed;
	left: 100px;
	top: 72px;
}

.line-dian {
	width: 6px;
	height: 4px;
	background: #9EDFB8;
	border-radius: 50%;
}

.line-two {
	width: 2px;
	height: 18px;
	background: #B6F3CE;
	border-radius: 1px;
	position: fixed;
	right: 100px;
	top: 72px;
}

.instructions-content {
	width: 510px;
	height: 52px;
	border-radius: 26px;
	margin: auto;
	align-items: center;
	display: flex;
	justify-content: center;
	margin: 28px auto;

	font-size: 16px;
	font-family: Noto Sans CJK TC;
	font-weight: normal;
	color: #2D2D2D;
}

.instructions-content-one {
	background: linear-gradient(0deg, #74B687, #9CDFB6);
	box-shadow: 0px -4px 0px 0px rgba(116, 182, 135, 0.3), 0px 4px 0px 0px rgba(212, 255, 232, 0.5);

}

.instructions-content-two {
	background: linear-gradient(0deg, #FD9B3C, #FFB268);
	box-shadow: 0px -4px 0px 0px rgba(235, 135, 38, 0.3), 0px 4px 0px 0px rgba(255, 248, 241, 0.5);
}

.instructions-content-three {
	background: linear-gradient(180deg, #FF836C, #FF5948);
	box-shadow: 0px -4px 0px 0px rgba(202, 128, 112, 0.3), 0px 4px 0px 0px rgba(255, 196, 182, 0.5);
}

.instructions-content-four {
	background: linear-gradient(0deg, #74B687, #9CDFB6);
	box-shadow: 0px -4px 0px 0px rgba(116, 182, 135, 0.3), 0px 4px 0px 0px rgba(212, 255, 232, 0.5);
}

.successText {
	width: 274px;
	height: 29px;
	font-size: 30px;
	font-family: Noto Sans CJK TC;
	font-weight: bold;
	color: #FFC5A2;

	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/*width: 500px;*/
	/*height: 300px;*/
	/*background-color: #fff;*/
	display: none;
}

.gameoverInstructions {
	width: 507px;
	height: 327px;
	background: #F8FFFB;
	box-shadow: 0px 3px 3px 0px rgba(94, 134, 105, 0.2);
	border-radius: 12px;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: absolute;
	top: 50%;
	left: 50%;
	display: none;
	z-index: 100;
}

.gameOverImg {
	position: fixed;
	top: 0;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gameOverBox {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding-top: 110px;
}

.gameOverText {
	width: 286px;
	height: 24px;
	font-size: 24px;
	font-family: Noto Sans CJK TC;
	font-weight: bold;
	color: #393939;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-bottom: 90px;
}

.gameOverButton {
	width: 196px;
	height: 52px;
	background: linear-gradient(0deg, #74B687, #9CDFB6);
	box-shadow: 0px -4px 0px 0px rgba(116, 182, 135, 0.3), 0px 4px 0px 0px rgba(212, 255, 232, 0.5);
	border-radius: 26px;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 24px;
	font-family: Noto Sans CJK TC;
	font-weight: 500;
	color: #2D2D2D;
}


.idiom-banner-box {
	width: 100%;
	height: 890px;
	background-image: url(../img/icon-idiom-banner.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding: 20px 0;
	position: relative;
}

.idiom-box {
	width: 1020px;
	height: 790px;
	background: #FFFFFF;
	border-radius: 10px;
	margin: 0 auto;
	padding: 15px 20px;
	position: relative;
}

.idiom-box .idiom-title {
	font-size: 18px;
	font-family: Noto Sans CJK TC;
	font-weight: normal;
	color: #2D2D2D;
}

.souye-button {
	cursor: pointer;
	z-index: 999;
}

.souye-button p {
	font-size: 14px;
	font-family: Source Han Serif CN;
	font-weight: 400;
	color: #2D2D2D;
    margin-top: 10px;
}


.w-31-28 {
	width: 31px;
	height: 28px;
}

.w-24-27 {
	width: 24px;
	height: 27px;
}

.w-24-26 {
	width: 24px;
	height: 26px;
}

.w-30-25 {
	width: 30px;
	height: 25px;
}

.w-26-31 {
	width: 26px;
	height: 31px;
}


.ranking-box {
	width: 950px;
	height: 652px;
	background-image: url(../img/selectGrade.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	margin: 25px auto 0;
	padding: 20px 30px;
	position: absolute;
	z-index: 999;
	top: 50px;
	/* display: none; */
}

.ranking-box .ranking-mask {
	background-color: rgba(0, 0, 0, .2);
	width: 950px;
	height: 652px;
	position: absolute;
	top: 0;
	left: 0;
}

.rankingList-box {
	width: 564px;
	height: 519px;
	background-image: url(../img/rankingList.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: relative;
	z-index: 9;
	margin: -40px auto 0;
	overflow-y: scroll;
	padding: 58px 85px 26px;
}

.rankingList-box::-webkit-scrollbar {
	display: none;
}

.ranking {
	background-image: url(../img/ranking.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 263px;
	height: 102px;
	text-align: center;
	font-size: 30px;
	font-family: Noto Sans CJK TC;
	font-weight: 900;
	color: #FFFFFF;
	line-height: 120px;
	position: relative;
	margin: 0 auto;
	z-index: 9999;
	top: -12px;
}


.rankingList-item {
	padding: 15px 0;
	border-bottom: 1px solid #FFD4A9;
}

.rankingList-img {
	width: 48px;
	height: 44px;
	font-size: 24px;
	font-family: Noto Sans CJK TC;
	font-weight: bold;
	color: #F78B2E;
	line-height: 44px;
	text-align: center;
}

.rankingList-name {
	font-size: 18px;
	font-family: Noto Sans CJK TC;
	font-weight: 500;
	color: #87591F;
	margin-left: 26px;
}

.img-fraction {
	width: 26px;
	height: 26px;
}

.rankingList-fraction {
	font-size: 24px;
	font-family: Noto Sans CJK TC;
	font-weight: bold;
	color: #FF7100;
	line-height: 47px;
	margin-left: 7px;
}

.ranking-close {
	background-image: url(../img/close.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 13px;
	height: 13px;
	position: absolute;
	top: 73px;
	right: 160px;
}



.idiom-box .rule-box {
	width: 248px;
	height: 372px;
	background: #FFFFFF;
	position: absolute;
	right: -272px;
	bottom: 0;
	padding: 18px;
}

.idiom-box .rule-box h1 {
	font-size: 18px;
	font-family: Noto Sans CJK TC;
	font-weight: 500;
	color: #2D2D2D;
}

.idiom-box .rule-box .rule-title {
	font-size: 14px;
	font-family: Source Han Serif CN;
	font-weight: 400;
	color: #2D2D2D;
	line-height: 28px;
	margin-top: 10px;
}

.idiom-box .rule-box .rule-details {
	font-size: 12px;
	font-family: Source Han Serif CN;
	font-weight: 400;
	color: #2D2D2D;
	line-height: 24px;
	margin-left: 13px;
}

.cancel {
	width: 20px;
	height: 20px;
	cursor: pointer;
}