﻿@charset "utf-8";

/*==========public class=========*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden
}
.clear {
	clear: both
}
.fl {
	float: left
}
.fr {
	float: right
}
.bn {
	border: none!important
}
.pd {
	padding: 1.5em
}
.mb {
	margin-bottom: 20px
}
.mt {
	margin-top: 20px
}
.mr {
	margin-right: 20px
}
.br {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px
}
.sb {
}

.container {
	max-width: 1240px;
	margin: 0 auto
}
.transition {
	-webkit-transition: all ease .4s;
	-moz-transition: all ease .4s;
	-ms-transition: all ease .4s;
	-o-transition: all ease .4s;
	transition: all ease .4s
}
.img-cover {
	object-fit: cover
}
/*单行文本溢出省略*/
.ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap
}
/*两行文本溢出省略*/
.multi-ellipsis {
	position: relative;
	line-height: 1.4em!important;
	height: 2.8em!important;
	overflow: hidden
}
.multi-ellipsis:after {
	content: "";
	font-weight: 700;
	position: absolute;
	bottom: 0;
	right: 0;
	padding-left: 20px;
	background: -webkit-linear-gradient(left, transparent, #fff 62%);
	background: -o-linear-gradient(right, transparent, #fff 62%);
	background: -moz-linear-gradient(right, transparent, #fff 62%);
	background: linear-gradient(to right, transparent, #fff 62%)
}
/*hover时提升按钮颜色明度*/
.brightness:hover {
	-webkit-filter: brightness(1.2);
	filter: brightness(1.2);
	-webkit-transition: all ease .4s;
	-moz-transition: all ease .4s;
	-ms-transition: all ease .4s;
	-o-transition: all ease .4s;
	transition: all ease .4s
}
/*修改不同视口下公共类属性的值*/
@media screen and (max-width:1200px) {
.mb {
	margin-bottom: 10px
}
.m-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap!important
}
.m-multi-ellipsis {
	position: relative;
	line-height: 1.4em!important;
	height: 2.8em!important;
	overflow: hidden
}
.m-multi-ellipsis:after {
	content: "";
	font-weight: 700;
	position: absolute;
	bottom: 0;
	right: 0;
	padding-left: 20px;
	background: -webkit-linear-gradient(left, transparent, #fff 62%);
	background: -o-linear-gradient(right, transparent, #fff 62%);
	background: -moz-linear-gradient(right, transparent, #fff 62%);
	background: linear-gradient(to right, transparent, #fff 62%)
}
}
/*不同视口下对html的显隐*/
.hidden {
	display: none
}
@media screen and (max-width:1200px) {
.hidden-sm-md-lg {
	display: none!important
}
}
@media screen and (max-width:768px) {
.hidden-sm {
	display: none!important
}
}
@media screen and (min-width:769px) and (max-width:992px) {
.hidden-md {
	display: none!important
}
}
@media screen and (min-width:993px) and (max-width:1200px) {
.hidden-lg {
	display: none!important
}
}
@media screen and (min-width:1201px) {
.hidden-xl {
	display: none!important
}
}
/*你懂的*/
.fuck-ie {
	position: fixed;
	z-index: 1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: #fff;
	z-index: 99
}
.fuck-ie .tips {
	position: absolute;
	width: 700px;
	height: 100px;
	color: #c57602;
	border: 1px solid #fe9219;
	text-align: center;
	line-height: 100px;
	left: 50%;
	top: 50%;
	margin-left: -350px;
	font-size: 16px;
	margin-top: -50px;
	background: #fffedc;
	z-index: 999
}
/*animate.css*/
@-webkit-keyframes fadeInUpMenu {
from {
opacity:0;
visibility:hidden;
-webkit-transform:translate3d(0, 20px, 0);
transform:translate3d(0, 20px, 0)
}
to {
	opacity: 1;
	visibility: visible;
	-webkit-transform: none;
	transform: none
}
}
@keyframes fadeInUpMenu {
from {
opacity:0;
visibility:hidden;
-webkit-transform:translate3d(0, 20px, 0);
transform:translate3d(0, 20px, 0)
}
to {
	visibility: visible;
	opacity: 1;
	-webkit-transform: none;
	transform: none
}
}
.fadeInUpMenu {
	-webkit-animation-name: fadeInUpMenu;
	animation-name: fadeInUpMenu
}
.animated-fast {
	-webkit-animation-duration: .5s;
	animation-duration: .5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both
}
.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both
}
@media (prefers-reduced-motion) {
.animated {
	-webkit-animation: unset!important;
	animation: unset!important;
	-webkit-transition: none!important;
	transition: none!important
}
}
/*==========【复用模块】图片放大transform=========*/
.img-post img, #aside_hot_comment img, #aside_new img, #aside_random img, .double-list .item img, .recommend-b .thumbnail img, .article-list .figure img, .recommend-c .figure img, .full-post .figure img, .recommend-a .item img, .related-item .img {
	-webkit-transition: all .4s;
	transition: all .4s
}
.img-post .a:hover img, #aside_hot_comment .list:hover img, #aside_new .list:hover img, #aside_random .list:hover img, .double-list .item:hover img, .recommend-b .item:hover img, .article-list:hover img, .recommend-c .img-list:hover img, .full-post .img-list:hover img, .recommend-a .item:hover img, .related-item:hover img {
	border-radius: 0;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
	-ms-transform: scale(1.2)
}
/*==========【复用模块】图片左移transform===========*/
/*
.article-list .figure img,.full-post .figure img,.recommend-a .item img,.related-item .img{position:relative;max-width:none;width:calc(100% + 40px);-webkit-transition:opacity .35s,-webkit-transform .45s;transition:opacity .35s,transform .45s;-webkit-transform:translate3d(-40px,0,0);transform:translate3d(-40px,0,0)}
.article-list:hover img,.full-post .img-list:hover img,.recommend-a .item:hover img,.related-item:hover img{filter:alpha(opacity=60);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}*/
/*========【复用模块】模块标题栏样式========*/
.double-list, .flink, .full-post, .text-post, .img-post, .post-comment, .recommend-a, .recommend-b, .recommend-c, .related-art, .widget {
}

.double-list:hover .c-title::after, .flink:hover .c-title::after, .full-post:hover .c-title::after, .text-post:hover .c-title::after, .img-post:hover .c-title::after, .new-post:hover .c-title::after, .post-comment:hover .c-title::after, .recommend-a:hover .c-title::after, .recommend-b:hover .c-title::after, .recommend-c:hover .c-title::after, .related-art:hover .c-title::after, .widget:hover .c-title::after {
	width: 70px
}


@-webkit-keyframes swiper-preloader-spin {
100% {
-webkit-transform:rotate(360deg)
}
}
@keyframes swiper-preloader-spin {
100% {
transform:rotate(360deg)
}
}

/*--首页推荐模块A--*/
.recommend-a .item i.iconfont {
	padding-right: 5px;
	color: #666
}
.recommend-a .item:nth-child(3n+0) {
	margin-right: 0
}
.recommend-a .item {
	width: 31.2%;
	margin-top: 1.5em;
	margin-right: 3.2%;
	position: relative
}
.recommend-a .thumbnail {
	height: 160px;
	width: 100%;
	display: block;
	overflow: hidden;
	margin-bottom: 1em
}
.recommend-a .thumbnail img {
	height: 160px;
	width: 100%
}
.recommend-a .num {
	padding: 0 5px;
	color: #999
}
.recommend-a .category {
	position: absolute;
	top: .5em;
	left: .5em;
	z-index: 1;
	background-color: #0084ff;
	opacity: .9;
	padding: .1em .5em;
	color: #fff;
	font-size: 12px
}
.recommend-a .item .title {
	width: 100%;
	font-weight: 400;
	padding: 0 5px;
	font-size: 16px
}
.recommend-a .author, .recommend-a .comment, .recommend-a .thumb, .recommend-a .view {
	padding-right: 1em;
	max-width: 8em
}
.recommend-a .thumb {
	padding-right: 0
}
.recommend-a time {
	padding-top: 2px
}

/*==========responsive==========*/
@media screen and (max-width:1200px) {

.double-list, .flink, .full-post, .post-comment, .recommend-a, .recommend-b, .related-art, .widget {
	/* padding: 20px 15px 15px 15px */
}
#mainbox {
	width: 100%
}

.recommend-a .item {
	width: 48.4%;
	display: none
}
.recommend-a .item:nth-child(-n+2) {
	display: block
}
.recommend-a .item:nth-child(2) {
	margin-right: 0
}
.recommend-a .thumbnail {
	height: 30vw
}
.recommend-a .thumbnail img {
	height: 30vw
}
.recommend-a .item .title {
	font-size: 14px
}
}