@charset "UTF-8";
/* CSS Document */
html,body {
	height: 100%;
}

.appEng-text-overflow {
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}	
#appEng-box {
	background-color: #fff;
	margin: auto;
	box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
	position:relative;
	width: 100%;
	height: 100%;
	max-width: 700px;
	max-height: 430px;
	display: flex;
	flex-direction: column;
}
.appEng-header {
	padding: 10px;
	background-color: rgb(63,81,181);
	flex: 0 0 40px;
	display:flex;
	align-items: center;
}
.appEng-title {
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	flex: 1 1 auto;
}
#appEng-close-button {
	color: #fff;
	font-size: 32px;
	flex:0 0 20px;
	cursor: pointer;
	margin-right : 5px;
}
#appEng-close-button:hover {
	color: yellow;
}
.appEng-content {
	flex: 1 1 auto;
	display: flex;

	flex-flow: row;
	/*flex-direction: column;*/
	height: 100%;
}
.appEng-fixtext {
	flex: 1 1 auto;
	padding: 8px;
	overflow: hidden;
	overflow-y: auto;
	display: none;
}
.appEng-footer {
	background-color: lightblue;
	padding: 0px 30px;
	text-align: center;
	flex: 0 0 45px;	
	align-items: center;
	display: flex;
	justify-content:space-between;
}
.left-arrow, .right-arrow, .info-button, .play-button {
	font-size: 36px;
	cursor: pointer;
}
.disabled-button {
	opacity: 0.3;
	cursor: auto !important;
}
.appEng-left-side {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.appEng-right-side {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.appEng-content-word {
	flex: 0 0 36px;
	text-align: center;
	background-color: #eee;
	font-size: 20px;
	font-weight: bold;
	line-height: 36px;
}
.appEng-content-img {
	flex: 1;
	display: flex;
	margin-right: 4px;
	border-right: 1px solid #eee;
}	

.appEng-content-img > img {
	width: auto;
	display: block;
	margin: auto;
	height: 100%;
}
.appEng-content-linkword {
	flex: 0 0 30px;
	text-align: center;
	line-height: 30px;
	background-color: lightblue;
	font-size: 15px;
	font-weight: bold;
	color: red;
}.appEng-content-meaning {
	flex: 0 0 40px;
	background-color: yellow;
	padding: 3px;
	font-size: 13px;
}
.appEng-content-exp {
	flex: 1;
	padding: 8px;
	overflow: hidden;
	overflow-y: scroll;
}
.appEng-test {
	flex: 1 1 auto;
	padding: 8px;
	overflow: hidden;
	overflow-y: auto;
	display: none;
}
.appEng-test-title {
	text-align: center;
	font-weight: bold;
	color:#190041;
}
.appEng-test-exp {
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	color:#000F6E;
	margin-bottom: 8px;
}
.appEng-test-words {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	padding: 10px;
}
.appEng-test-word {
	flex: 1 1 50%;
	display: flex;
	padding: 3px;
}

.appEng-test-word > label {
	flex: 0 0 110px;
	text-align: right;
	padding-right: 8px;
}

.appEng-test-word > select {
	flex: 1 1 auto;
}
.appEng-test-result {
	flex: 1 1 auto;
	padding: 8px;
	overflow: hidden;
	overflow-y: auto;
	display: none;
}

.appEng-test-result p{
 margin:0;
 line-height:1.5;
}



.appEng-result-boxes {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-around;
}
.appEng-result-box {
	width: 140px;
	height: 74px;
	background-color: #C5C5C5;
	border: 1px solid #929292;
	box-shadow: 0 2px 2px rgba(0, 0, 0, .3);
	margin: 5px;
}

.appEng-result-box-cap {
	height: 30px;
	background-color: #9AC7EC;
	display: flex;
	align-items: center;
	padding: 5px;
	border-bottom: 1px solid #929292;
}

.appEng-result-box-cap > i {
	font-size:20px;
	margin-right: 10px;	
}

.appEng-result-box-correct,.appEng-result-box-answer {
	font-size: 12px;
	height: 22px;
	text-align: center;
	padding: 3px;
}

.appEng-green {
	color: darkgreen;
}

.appEng-red {
	color: red;
}

@media (max-width: 640px) , (max-height: 450px) {
	#appEng-box {
		max-width: 100%;
		max-height: 100%;
	}
	.appEng-content-img {
		margin-right: 0px;
		border-right: 0px;
	}
	.appEng-test-word {
		flex: 1 1 100%;
	}
}

