/**
 * 作者:lianghaolv
 * QQ:1948712434
 * 时间:2020-09-25
 * 说明:本css文件为新闻详情页的页面样式。
 */

/* ********************************* */
body {
	background-color: #F5F5F5;
}

#main {
	position: relative;
}

#main .position {
	color: #101010;
	font-size: 12px;
	margin: 25px 0;
}


/* ********left********** */
#main .left {
	width: 850px;

}

#main .left>div {
	background-color: #fff;
	box-sizing: border-box;
	padding: 30px 30px 50px 30px;
	margin-bottom: 20px;
}

#main_cont h1 {
	font-size: 24px;
	color: 101010;
}

#main_cont .author {
	position: relative;
	text-align: left;
	padding-left: 50px;
	box-sizing: border-box;
	font-size: 12px;
	color: #101010;
	line-height: 20px;
	margin-top: 15px;
	margin-bottom: 35px;
}

#main_cont .author img {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

#main_cont .author span {
	margin-left: 30px;
}


#main_cont .author .text_info {
	position: absolute;
	bottom: 0;
	right: 0;
	padding-left: 0;
}


/* 导读 */
#ready_box,
.left .cont_text blockquote {
	position: relative;
	background-color: #F5F5F5;
	padding: 45px 20px 30px 20px;
	box-sizing: border-box;
	font-size: 14px;
	text-align: justify;
	line-height: 26px;
	color: #999;
	background-image: url(../img/yinyong.png);
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: left 20px top 20px;
}

#ready_box span {
	color: #0169CA;
}

#ready_box::before,.left .cont_text blockquote::before{
	position: absolute;
    left: 20px;
    top: 22px;
    display: inline-block;
    width: 24px;
    height: 20px;
    content: "";
    background-image: url(/template/khw/img/css_sprites_2.png);
    background-repeat: no-repeat;
    background-position: -9px -110px;
}

#main .cont_text h2,
#main .cont_text h3 {
	position: relative;
	margin-top: 25px;
	margin-bottom: 25px;
	box-sizing: border-box;
	font-size: 20px;
	color: #101010;
	padding-left: 25px;
}

#main .cont_text h2::before,
#main .cont_text h3::before {
	position: absolute;
	display: inline-block;
	content: "";
	width: 20px;
	height: 20px;
	left: 0;
	top: 5px;
	background-image: url('/template/khw/img/css_sprites_2.png');
	background-repeat: no-repeat;
	background-position: -52px -113px;
}

#main .cont_text h3::before{
	background-position:-85px -116px
}

#main .cont_text h3 span {
	background-position: left -36px top -108px;
}

#main .cont_text h3 {
	font-size: 16px;
	background-position: left 0 top 0px;
}

#main .cont_text ul,
#main .cont_text ol {
	box-sizing: border-box;
	padding-left: 60px;
	color: 16px;
	margin: 15px 0;
}

#main .cont_text ul li {
	position: relative;
	margin-bottom: 15px;
}

#main .cont_text ul li p{
	line-height: 28px;
}

#main .cont_text ul li::before {
	position: absolute;
	left: -15px;
	top: 13px;
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #0169CA;
}

#main .cont_text ol li {
	line-height: 30px;
	list-style-type: decimal;
	margin-bottom: 15px;
}

#main .cont_text p {
	line-height: 30px;
}

#main .cont_text img{
	max-width: 750px;
}

blockquote {
	margin-block-start: 15px;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0
}


/* 点赞 */
#main .like {
	color: #6F6F6F;
	font-size: 18px;
	text-align: center;
	margin-top: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid #BBBBBB;
}

#main .like a {
	position: relative;
	display: inline-block;
	width: 105px;
	height: 40px;
	border-radius: 40px;
	line-height: 40px;
	color: #fff;
	text-align: center;
	background-color: #3894FF;
	font-size: 14px;
	
	box-sizing: border-box;
	padding-left: 20px;
	margin-top: 15px;
}

#main .like a::before{
	position: absolute;
	display: inline-block;
	width: 20px;
	height: 20px;
	content: "";
	left: 25px;
    top: 9px;
	background-image: url(/template/khw/img/css_sprites_2.png);
	background-position:left -115px top -62px;
	background-repeat: no-repeat;
}

/* 标签 */
#main .tags {
	margin: 15px 0;
	text-align: justify;
}

#main .tags a {
	position: relative;
	display: inline-block;
	padding: 5px 15px 5px 33px;
	font-size: 14px;
	background-color: #F5F5F5;
	border-radius: 20px;
	margin-bottom: 10px;
}

#main .tags a::before {
	display: inline-block;
	width: 20px;
	height: 20px;
	height: 20px;
	text-align: center;
	color: #FF0000;
	left: 8px;
	top: 50%;
	transform: translateY(-10px);
	content: "#";
	background-color: #fff;
	border-radius: 50%;
	position: absolute;
}

/* 相关阅读 */
#main .relevant {
	padding: 20px;
	box-sizing: border-box;
	background-color: #F5F5F5;
	font-size: 16px;
}

#main .relevant ul {
	margin-top: 15px;
}

#main .relevant li {
	line-height: 26px;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 14px;
}


/* 最近更新 */
#lately_new {
	width: 100%;
	padding: 30px;
	text-align: justify;
	box-sizing: border-box;
	overflow: hidden;
	background-color: #fff;
	margin-bottom: 40px;
}

#lately_new .title {
	font-size: 24px;
	margin-bottom: 20px;
}

#lately_new ul {
	overflow: hidden;
}

#lately_new li {
	position: relative;
	width: calc(100%/5 - 20px);
	margin-right: 25px;
	float: left;
}

#lately_new li:nth-child(5n){
	margin-right: 0;
}
#right_ready li .mark {
	position: absolute;
	left: 0;
	bottom: 0;
	color: #999999;
	font-size: 12px;
}

#lately_new a{
	display: block;
}

#lately_new li h3,
#right_ready li h3 {
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 400;
}

#lately_new li .img {
	width: 100%;
}





/* ********right********** */
#main .right {
	top: 42px;
	right: 0;
	width: 380px;
	height: 1000px;
	position: absolute;
}

/* 栏目 */
#column,
#right_ready {
	padding: 20px;
	box-sizing: border-box;
	background-color: #ffffff;
	margin-bottom: 20px;
}

#column h2,
#right_ready h2 {
	position: relative;
	font-size: 18px;
	height: 34px;
	border-bottom: 3px solid #BBBBBB;
}

#column h2 strong,
#right_ready h2 strong {
	position: absolute;
	top: 2px;
	left: 0;
	display: inline-block;
	padding-bottom: 8px;
	border-bottom: 3px solid #0169CA;
}

#column li span {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-color: #F5F5F5;
	border-radius: 50%;
	background-image: url(/template/khw/img/css_sprites_2.png);
	background-position: -115px -10px;
	background-repeat: no-repeat;
	vertical-align: middle;
	margin-right: 5px;
}

#column li:nth-child(2) span {
	background-position: -63px -10px;
}

#column li:nth-child(3) span {
	background-position: -9px -64px;
}

#column li:nth-child(4) span {
	background-position: -63px -63px;
}

#column li:nth-child(5) span {
	background-position: -9px -9px;
}

#column li a {
	margin-top: 5px;
}

#column li {
	margin-top: 15px;
}

/* 热门阅读 */
#right_ready li {
	margin-top: 20px;
	position: relative;
}

#right_ready .cont {
	position: absolute;
	right: 0;
	top: 0;
	width: 240px;
	height: 60px;
}

#right_ready img {
	width: 90px;
}
