html,body {
	height: 100%;
}
body,p {
	margin: 0;
}
.cleafix {
	clear: both;
	content:'';
	display: table;
}
.main {
	min-height: 100%;
	position: relative;
	width: 980px;
	margin:0 auto;
	padding-bottom: 60px;
	box-sizing: border-box;
}
/* =========chat========= */
.tail-right {
	position: absolute;
	bottom: 0;
	right: -15px;
	border: 2px solid;
	border-width: 15px;
	border-color: transparent transparent lightgray transparent;
}
.tail-left {
	position: absolute;
	bottom: 0;
	left: -15px;
	border: 2px solid;
	border-width: 15px;
	border-color: transparent transparent lightgray transparent;
}

.user,
.userNext {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 15px;
}
.user {
	float: left;
	background-color: lightgray;
	position: relative;
}
.userNext{
	float: right;
	background-color: lightgray;
	position: relative;
}
 /* =========chat========= */
.link {
	position: absolute;
	top: 0;
	left: 0;
	background-color: orange;
	border-bottom-right-radius: 20px;
	padding-bottom: 25px;
	line-height: 1;
	
}
/* =========news========= */
.news {
	display: inline-block;
	position: relative;
	margin: 10px 0 10px 0;
	text-align: right;
}
.news .info-img,
.news .info-img img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
}
.news .info-img {
	float: left;
	border: 5px solid pink;
}

.info {
	top: 20px;
	left: 40px;
	margin-left: 15px;
	background-color: pink;
	margin-top: 20px;
	padding: 0 20px 10px 0;
	border-radius: 10px;
}
.info p {
	text-align: left;
	padding: 10px;
	color: gray;
}
.info a {
	text-align: right;
	color: black;
	padding-right: 10px;
	padding-bottom: 10px;
}

/* =========news========= */
.link a {
	display: inline-block;
	margin: 10px 30px 10px 30px;
	text-decoration: none;
	color: white;
	padding-bottom: 5px;
	z-index: 5;
}
.link a:hover {
	background-color: #fff;
	width:;
	color: red;
}
footer {
	position: absolute;
	height: 50px;
	line-height: 50px;
	background-color: orange;
	margin-top: -50px;
	width: 100%;
	text-align: center;
}
footer a {
	padding: 0 5px 0 5px;
	color: white;
}
