/*
* 功能:javascript翻译工具
* 日期:2017/10/26
* 作者:eveningwater
*/
body,html,section,main,header,div,button,ul,li,span,textarea,footer{
	margin: 0;padding: 0;
}
body,html,section,main,header,div,button,ul,li,span,textarea,footer{
	box-sizing: border-box;
}
body,html,section,main,header,div,button,ul,li,textarea,footer{
	display: block;
}
main,.content,.t-header{
	position: relative;
	margin-left: auto;
	margin-right: auto;
}
.lang-panel{
	position: absolute;
}
button,textarea{
	outline: none;
}
ul,li{
	list-style: none;
}
.title,.result {
	font-size: 20px;
	line-height: 45px;
	color: rgb(33, 32, 32,0.99);
}
body{
	font: 16px "微软雅黑";
	overflow: hidden;
	height: 100%;
	width: 100%;
	background-color: #eee;
}
main{
	width: calc(100% - 60px);
	height: auto;
	border: 1px solid #ddd;
	box-shadow:  0 5px 10px rgba(255, 255, 255, 0.16);
	background: #efebf2;
	border-radius: 15px;
	padding: 10px;
	margin-top: 10px;
}
main .t-header{
	width: 100%;
	height: 45px;
	border-bottom: 1px solid #f2f2f2;
}
.t-header .title{
	text-align: left;
	color: #004000;
}
.t-header .result{
	text-align: right;
	color: #26a9f3;
}
.lang-panel {
	width: calc(80% - 20px);
	height: 42px;
	top: 0;left: 200px;
}
.lang-panel li{
	width: 100px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	margin-left: 16px;
	color: #6b6868;
	float: left;
	cursor: pointer;
}
.lang-panel li:hover,.lang-panel li:active{
	border-bottom: 1px solid #26a9f3;
	color: #26a9f3;
}
main .content{
	width: 100%;
	height: 400px;
	background-color: transparent;
	display: flex;
	justify-content: space-between;
}
.content textarea{
	border: 1px solid #dedfdc;
	border-radius: 15px;
	padding: 15px;
	width: 50%;
	height: 100%;
	box-sizing: border-box;
	font-size: 18px;
	resize: none;
	overflow-y: auto;
	overflow-x: hidden;
	display: block;
	margin: 0 10px;
}
textarea:disabled{
	background-color: #ffffff; 
	color: #989897;
}
::-webkit-input-placeholder {
	font-size: 16px;
	color: #373836;
	font-family: "楷体";
	letter-spacing: 2px;
}
.content .playing-btn{
	width: 25px;
	height: 25px;
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	right: 15px;
	bottom: 15px;
	cursor: pointer;
}
.content .playing-default-btn{
	background-image: url('../images/play.svg');
}
.content .playing-pause-btn{
	background-image: url('../images/pause.svg');
}
.content .playing-btn:hover,
.content .playing-btn:active{
	opacity: .8;
}
.t-footer {
	width: 100%;
	height: 45px;
}
.t-footer button{
	width: 60px;
	height: 45px;
	color: #535455;
	font-size: 16px;
	text-align: center;
	line-height: 45px;
	border: none;
	margin-right: 45px;
	float: right;
	background: transparent;
	outline:none;
	cursor: pointer;
}
.t-footer button:hover{
	color: #26a9f3;
	border-bottom: 1px solid #26a9f3;
}
.lang-panel .checked,.t-footer button.checked{
	color:#26a9f3;
	border-bottom: 1px solid #26a9f3;
}
