/*.text-center::after{content: ' '; display: inline-block; width: 0; height: 100%; vertical-align: middle; margin-top: 4px;}*/
body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    background-color: #ededed;
    font-family: "UKIJ Ekran", "Microsoft YaHei", "宋体", Arial, "新宋体";
}

javascript:;

/*.clearfix::after{ content:""; display:block; clear:both;}*/
input:focus,
textarea:focus {
	outline: none;
	outline-offset: 0;
}

.content {
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.contentTop {
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	background: white;
	border-bottom: 1px solid #e4e4e4;
	box-sizing: border-box;
}

.contentMiddle {
	width: 100%;
	height: calc(100vh - 45px);
	overflow-x: hidden;
	overflow-y: auto;
}

.contentBottom {
	position: relative;
	width: 100%;
	height: 50px;
	overflow: hidden;
	background: #e2e2e2;
	font-size: 15px;
	color: grey;
	border-top: 1px solid #ccc;
	box-sizing: border-box;
}

.textContent {
	width: calc(100% - 135px);
	margin: 5px 0 5px 20px;
	height: 40px;
	padding: 10px;
	resize: none;
	font-size: 14px;
	line-height: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: white;
	box-sizing: border-box;
}

.textContent:hover {
	/*border:1px solid grey;*/
	box-sizing: border-box;
	box-shadow: 0 0 5px 1px royalblue;
}


.sendTextButton {
	position: absolute;
	z-index: 2px;
	top: 8px;
	right: 10px;
	width: 50px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 10px;
	background: #1b9e35;
	color: white;
}

.sendPictureButton {
	position: absolute;
	z-index: 2px;
	top: 6px;
	right: 65px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	box-sizing: border-box;
	overflow: hidden;
}

.sendPicture {
	position: absolute;
	z-index: 2px;
	top: 5px;
	right: 70px;
	width: 50px;
	height: 40px;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-sizing: border-box;
	overflow: hidden;
	opacity: 0;
}

.textContent:focus {
	border: 1px solid royalblue;
	box-sizing: border-box;
	transform: 0.5s ease;
}

.sendTextButton:hover {
	background: rgba(0, 0, 0, 0.8);
}


.messageStyle {
	margin: 10px;
	height: auto;
	overflow: hidden;
}

.messageStyleLeft1 {
	float: left;
	width: 45px;
}

.messageStyleLeft1P {
	width: 45px;
	height: 45px;
	border-radius: 10px;
}

.messageStyleLeft2 {
	position: relative;
	float: left;
	margin: 0px 0 0 15px;
	min-width: 20px;
	max-width: calc(110vw - 140px);
}

.messageStyleLeft2T {
	padding: 10px;
	background: white;
	border-radius: 5px;
	text-overflow: ellipsis;
	white-space: pre-wrap;
	overflow-wrap: break-word;
	min-height: 20px;
	text-align: justify;
    unicode-bidi: plaintext;
}

.messageStyleRight1 {
	float: right;
	width: 45px;
}

.messageStyleRight1P {
	width: 45px;
	height: 45px;
	border-radius: 10px;
}

.messageStyleRight2 {
	position: relative;
	float: right;
	margin: 3px 15px 0 0;
	min-width: 20px;
	max-width: calc(100vw - 140px);
	text-align: left;
}

.messageStyleRight2T {
	padding: 10px;
	background: #89d961;
	border-radius: 5px;
	text-overflow: ellipsis;
	white-space: pre-wrap;
	overflow-wrap: break-word;
	min-height: 20px;
	text-align: justify;
    unicode-bidi: plaintext;
}


.rightArrow {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 12px solid #89d961;
	position: absolute;
	top: 10px;
	right: -10px;
}

.leftArrow {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 12px solid white;
	position: absolute;
	top: 10px;
	left: -10px;
}
