/**

 @Name：layinfoAdmin
 @Author：hyfeng 1278675785@qq.com
 @Site：http://www.layinfo.com/
 @License：LPPL
 
 */
 
/* 全局 */
:root {
	--theme-color: #2C3E50;
	--txt-color: #333;
	--gray-color:#999;
	--active-color: #FF6B6B;
	--border-color: #e5e7eb;
}
body{ 
	color: #374151;
    font-family: "Satoshi-Variable", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

a{ 
	transition: 0.2s ease-in-out;
	color: var(--theme-color);	
	background-color: transparent;
}
a:hover{ 
	color: var(--active-color);
	text-decoration: underline;
}
.active{
	color: #fff;
	background-color: var(--active-color)!important;
}
.disabled{
	border-color: #eee !important;
    background-color: #fbfbfb !important;
    color: #d2d2d2 !important;
    cursor: not-allowed !important;
    opacity: 1;
}
.error{
	color: red;
}

.widget{
	margin-bottom: 20px;
	border:1px solid var(--border-color);
	border-radius: 6px;
}

.main{
	margin:0px auto;
	max-width: 1024px;
	padding:0px 20px;
	position: relative;
}

.header{
	border-bottom: 1px solid var(--border-color);
	background-color:#fff;
	box-shadow: 0px 0px 10px 0 rgba(25, 27, 35, 0.15);
}
.header .main{
	display: flex;
	align-items: center;
	height: 60px;
}
.header .main>div{
	flex: 1;
	display:flex;
	align-items: center;
	justify-content: right;
}
.header .logo{
	display:block;
	width:180px;
}
.header .logo img{
	max-width:100%;
}
.header ul li{
	display: inline-block;
	margin-right:35px;
	position:relative;
	height:60px;
	line-height:60px;
}
.header ul li a{
	color: #374151;
	font-family: "GeneralSans-Variable","Helvetica Neue",Helvetica,Arial,sans-serif;
	font-weight: 600;
}
.header ul li dl dd a{
	font-weight: 500;
}
.header ul li a:hover{
	text-decoration: underline;
	color: var(--active-color);
}

.header ul li i.icon{
	margin:0px;
	width: 8px;
}
.header ul li dl{
	display: none;
	position:absolute;
	top: 60px;
	left:0px;
	border:1px solid var(--border-color);
	background-color: #fff;
	border-radius: 4px;
	width:200px;
	z-index: 2;
}
.header ul li:hover dl{
	display: block;
}
.header ul li dl dd a{
	display:block;
	padding:8px 20px;
	border-bottom:1px solid var(--border-color);
	line-height:1.5em;
}
.header form input{
	padding:6px 30px 6px 10px;
	border: 1px solid var(--border-color);
	max-width: 150px;
	border-radius:4px;
}
.header form button{
	position:absolute;
	top:20px;
	right:24px;
	background: none;
	border:none;
	cursor: pointer;
}
.header form button i.icon{
	display:inline-block;
	padding:2px;
	color: #666;
}
.header form button i.icon svg{
	width: 16px;
	height:16px;
}

.header .drop-menu{
	position: fixed;
    z-index: -1;
    padding-top: 60px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	border-top: 1px solid #ced4da;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.header .drop-menu>div{
	position:relative;
	display:none;
}
.header .drop-menu>div.show{
	display:block;
}
.header .drop-menu>div h2{
	position: relative;
	padding:10px 20px 10px 40px;
}
.header .drop-menu>div h2 i.layui-icon{
	position:absolute;
	top:0px;
	right:10px;
	font-size:1em;
	cursor: pointer;
	opacity: 0.7;
	z-index:10;
}
.header .drop-menu>div h2 i.layui-icon:hover{
	opacity: 1;
}
.header .drop-menu ul li{
	position: static;
	display:flex;
	margin:0px;
	height: 100%;
    max-width: 230px;
	overflow: hidden;
}
.header .drop-menu ul li p{
	flex:0 0 150px;
	display:flex;
	justify-content:space-between;
	padding:0px 20px 0px 40px;
    border-radius: 6px;
    height:50px;
	line-height:50px;
	opacity: 0.7;
	cursor: pointer;
}
.header .drop-menu ul li.active{
	color: #000;
    background-color: #fff !important;
}
.header .drop-menu ul li.active p,
.header .drop-menu ul li p:hover{
	color: #fff;
    background-color: var(--active-color) !important;
	opacity: 1;
}
.header .drop-menu ul li>div{
	flex:1;
	position:absolute;
	top:10px;
	left:230px;
	padding-top:10px;
	height:100vh;
	border-left: 1px solid #ced4da;
	display:none;
	flex-wrap:wrap;
	justify-content: flex-start;
    align-content: flex-start;
	overflow: auto;
}
.header .drop-menu ul li.active>div{
	display:flex;
}
.header .drop-menu ul li>div a{
	flex:0 0 33.3333%;
	display:block;
	text-decoration: none;
	line-height:1em;
}
.header .drop-menu ul li>div a>span{
	line-height: 1.5em;
}
.header .drop-menu ul li>div a>span:first-child{
	display:block;
	margin:15px 15px 0px 15px;
	font-weight: 700;
}
.header .drop-menu ul li>div a>span:last-child{
	display:block;
	margin:8px 15px 15px 15px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 3em;
	font-weight: 500;
}
.header .drop-menu ul li>div a:hover>span:last-child{
	color:#000;
}
.drop-active .header .drop-menu{
	opacity: 1;
    visibility: visible;
}
.drop-active .home,
.drop-active .articles,
.drop-active .footer,
.menu-expand .home,
.menu-expand .articles,
.menu-expand .footer{
	display:none;
}

.header-mobile{
	display:none;
	justify-content: center;
    align-items: center;
}
.header-mobile .menu-search,
.header-mobile .menu-toggle{
	height:20px;
	cursor: pointer;
}
.header-mobile .menu-search svg{
    margin-right:20px;
	-webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    width: auto;
    height: 26px;
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}
.menu-toggle>i{
	margin-top:10px;
	display: block;
    position: relative;
    width: 24px;
    height: 1px;
    background-color: black;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.menu-toggle>i::before, .menu-toggle>i::after {
    content: "";
    width: 24px;
    height: 1px;
    display: block;
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: black;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.menu-toggle>i::before{
	-webkit-transform: translateY(calc(7px / -1));
    -moz-transform: translateY(calc(7px / -1));
    -ms-transform: translateY(calc(7px / -1));
    transform: translateY(calc(7px / -1));
}
.menu-toggle>i::after {
	-webkit-transform: translateY(7px);
    -moz-transform: translateY(7px);
    -ms-transform: translateY(7px);
    transform: translateY(7px);
}
.menu-expand .menu-toggle>i{
	background-color: transparent !important;
}
.menu-expand .menu-toggle>i::before{
	transform: translateY(0px) rotate(-45deg) !important;
}
.menu-expand .menu-toggle>i::after{
	transform: translateY(0px) rotate(45deg) !important;
}
.menu-expand .header .main ul{
	display:block;
	position:absolute;
	top:70px;
	left:0px;
	width:100%;
	z-index:2;
}
.menu-expand ul li{
	display:block;
	margin-left:35px;
	height:50px;
	line-height:50px;
	font-size:1.2em;
}
.menu-expand.drop-active .main ul,
.menu-expand .home,
.menu-expand .footer{
	display:none;
}
.menu-expand .header .drop-menu ul li.active>div,
.menu-expand.drop-active .drop-menu ul{
	display:block;
}
.search-show form.layui-form{
	position: absolute;
    top: 60px;
    background-color: #fff;
    border: 1px solid #CCD3E8;
    padding: 10px 70px 10px 24px;
    border-radius: 6px;
    margin-top: 8px;
    box-shadow: 0 1px 12px 0 rgba(25, 27, 35, 0.15);
    -webkit-transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
	z-index:100;
}
.search-show form.layui-form:before{
    content: '';
    display: block;
    position: absolute;
    top: -10px;
    right: 50px;
    width: 0;
    height: 0;
    border: 1px solid #CCD3E8;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #fff transparent;
    -webkit-transition: right 0.1s linear;
    transition: right 0.1s linear;
}
.search-show form.layui-form input{
	padding: 10px 30px 10px 10px;
	max-width:none;
	width:100%;
}
.search-show form.layui-form button{
	right:35px;
}
.search-show form.layui-form button svg{
	-webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}


.home h2{
	margin:50px auto 20px auto;
	font-size:2em;
	color: var(--theme-color);
	text-align:center;
	position:relative;
}
.home h2 a{
	display:block;
	position:absolute;
	right:0px;
	bottom:0px;
	padding:6px 15px;
	border:1px solid var(--border-color);
	border-radius:8px;
	font-size:0.5em;
	font-weight:200;
}
.home h2 a:hover{
	background-color:var(--active-color);
	color:#fff;
	text-decoration: none;
}
.home .ast{
	display:flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.home .ast .widget{
	flex: 0 0 24%;
	background-color: #F7F7F6;
	border-radius:6px;
    border: 1px solid var(--border-color);
	overflow:hidden;
	transition: box-shadow .4s, translate .4s;
}
.home .ast .widget:hover{
	border: 1px solid var(--active-color);
	box-shadow: 0 0 15px rgba(0,0,0,.12);
	text-decoration: none;
}
.home .ast.tools .widget:hover{
	border: 1px solid var(--border-color);
}
.home .ast .widget a{
	display: block;
	position:relative;
	padding:1em 2em;
	height: 220px;
	color: #000;
}
.home .ast.tools .widget a{
	display: flex;
	flex-direction:column;
	height:280px;
}
.home .ast .widget a:hover{
	text-decoration: none;
}
.home .ast .widget a .star{
	display:flex;
}
.home .ast .widget a .star cite{
	padding-right:6px;
}
.home .ast .widget a span{
	position: absolute;
    font-weight: 800;
    font-size: 5rem;
    top: -1rem;
    right: 1rem;
    background: linear-gradient(180deg, #DCDCDC 0%, #F7F7F6 83.85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.4;
}
.home .ast .widget a h3{
	margin-bottom:10px;
	color: var(--theme-color);
	display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.home .ast .widget a p{
	color: var(--gray-color);
	display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.home .ast .widget a img{
	margin-bottom:15px;
	padding-bottom:5px;
	max-width:100%;
	height:50px;
	border-bottom:1px solid var(--border-color);
}
.home .ast .widget a button{
	padding:12px 15px;
	width:100%;
	color: #fff;
	font-weight:600;
	background-color: var(--active-color);
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.cst{
	display:flex;
	justify-content:space-between;
	flex-wrap: wrap;
}
.cst .widget{
	flex:0 0 23%;
	overflow:hidden;
	transition: box-shadow .4s, translate .4s;
}
.cst .widget:hover{
	text-decoration: none;
	color: var(--txt-color);
	box-shadow: 0 8px 24px 8px hsla(3,11%,44%,.161),0 4px 8px 0 hsla(3,11%,44%,.239);
}
.cst .widget a{
	display:block;
}
.cst .widget a:hover{
	text-decoration: none;
}
.cst .widget img{
	max-width:100%;
}
.cst .widget p{
	padding:10px;
	color: var(--gray-color);
	font-size:0.8em;
}
.cst .widget h3{
	margin:0px 10px 10px 10px;
	line-height:1.33em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}
.aut{
	display:flex;
	justify-content: space-between;
	margin: 50px 0px;
}
.aut .author{
	flex:0 0 40%;
	padding-right: 20px;
}
.aut .author img{
	max-width:100%;
	border-radius: 10px;
}
.aut .info{
	flex:0 0 60%;
}
.aut .info h2{
	margin:0px 0px 15px;
	text-align: left;
}
.aut .info p{
	margin-bottom:15px;
}
.aut .info .mate{
	margin-top: 25px;
	padding-top:15px;
	border-top:1px solid var(--border-color);
	display: flex;
	justify-content: space-between;
}
.aut .info .mate a{
	display: flex;
	align-items: center;
}
.aut .info .mate a svg{
	padding-right: 6px;
}
.aut .info .mate a:hover svg path{
	fill: var(--active-color);
}

/*article*/
.articles header{
	margin-bottom: 30px;
	padding: 48px 0;
    position: relative;
    color: #fff;
    text-align: center;
    background-color: #293a5c;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}
.articles header h1{
	margin:0px auto;
	max-width:800px;
	line-height:1.33em;
}
.articles header div{
	display:flex;
	justify-content:center;
}
.articles header span{
	display:flex;
	align-items: center;
	padding:10px;
}
.articles header span cite{
	font-style:normal;
}
.articles header span i.layui-icon{
	padding-right:6px;
}
.articles header span picture{
	margin-right:6px;
	width: 24px;
    height: 24px;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
	display: inline-block;
}
.articles header span picture img{
	width:100%;
	height:100%;
}

.articles .content{
	position: relative;
	margin:0px auto;
	max-width: 800px;
	font-size:18px;
	align-items: flex-start;
    display: flex;
}
.articles .content .left{
	margin-left: -75px;
    padding-right: 35px;
    position: sticky;
    top: 80px;
}
.articles .content h2{
	margin-top: 3rem !important;
    margin-bottom: 1rem !important;
}
.articles .content h3{
	margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
}
.articles .content h4{
	margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}
.articles .content h5{
	margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.articles .content p{
	margin-bottom: 1.3rem;
	line-height: 1.8rem;
}
.articles .content img{
	max-width:100%;
}
.articles .content pre{
	margin-bottom: 15px;
	line-height: 1.5em;
}
.articles .content a{ 
	color: var(--active-color);
	text-decoration: underline;
}
.articles .content ul, .articles .content ol, .articles .content dl{
	margin-bottom: 15px;
	line-height:1.8em;
}
.articles .content ul>li{
	margin-left:20px;
	margin-bottom:10px;
	list-style-type: disc;
    list-style-position: outside;
    list-style-image: none;
}
.articles .content ol>li{
	margin-left:20px;
	margin-bottom:10px;
	line-height:1.8em;
	list-style-type: decimal;
    list-style-position: outside;
    list-style-image: none;
}
.articles .content ul>li ol>li {
    margin-left: 0;
	list-style-type: none;
}
.articles .content dl dd{
	margin-left:20px;
	margin-bottom:10px;
	line-height:1.8em;
	list-style-type: square;
    list-style-position: outside;
    list-style-image: none;
}
.articles .content table{
	margin:15px 0px;
	width: 100%;
	border-collapse: collapse;
}
.articles .content table th, .articles .content table td{
	padding:6px 10px;
	border:1px solid var(--border-color);
	text-align: left;
}
.articles .content blockquote{
	margin:15px 0px;
	padding-left:15px;
	color: #6a737d;
    border-left: .25em solid #eaecef;
}
.reader-disclosure{
	padding: 10px;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    background-color: #f4f4f4;
    color: #999;
	font-size:0.9em;
}

/*share*/
.blog-share .social-share-text{
	margin-bottom:10px;
	text-align:center;
	line-height:1.2em;
}
.blog-share ul{
	display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
}
.blog-share ul li{
    margin:0px 0px 10px 0px!important;
	background: #fff;
    border-radius: 3px;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .06);
    color: var(--active-color);
    display: flex;
    height: 45px;
	width: 45px;
    justify-content: center;
	align-items: center;
    margin-bottom: 8px;
    transition: all .3s;
	cursor: pointer;
}
.blog-share ul li svg{
	width:20px;
	height:20px;
}
.blog-share ul li:hover{
	background-color: var(--active-color);
	color: #fff;
}

.articles .main{
	display:flex;
}
.articles .main .lists{
	flex:1;
	margin-right: 20px;
}
.articles .main .side{
	flex:0 0 30%;
}

.post-item{
	margin-bottom: 20px;
	border:1px solid var(--border-color);
	border-radius: 6px;
	overflow: hidden;
}
.post-item img{
	width:100%;
}
.post-item h2 a{
	display: block;
	margin: 15px;
	color: #111827;
}
.post-item .resume{
	margin:0px 15px;
}
.post-item .read-more a{
	margin:15px;
	display:flex;
	color: var(--active-color);
}
.post-item .read-more a i{
	padding:2px 0px 0px 4px;
}

.pageing, .pageing ul{
	display: flex;
	justify-content: center;
}
.pageing ul li{
	margin-right: 10px;
	width: 32px;
	height:32px;
	border-radius: 50%;
	background-color: #f3f4f6;
}
.pageing ul li span,
.pageing ul li a{
	display:block;
	width: 32px;
	height:32px;
	margin:4px auto;
	text-align:center;
}

/*tool*/
.read-bar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	height:5px;
	z-index: 10001;
}
.read-bar>div{
	height: 100%;
	background-color: var(--active-color);
    width: 0%;
	transition: width 0.3s ease;
}
.helpful{
	margin:30px 0px;
	padding:30px 0px;
	border-top:1px solid var(--border-color);
	border-bottom:1px solid var(--border-color);
}
.helpful .helpful-title{
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:1.6em;
}
.helpful .helpful-title p{
	margin-right:25px;
	margin-bottom:0px;
}
.helpful .helpful-title svg{
	margin-left:20px;
	width:50px;
	height:50px;
	cursor: pointer;
	border:1px solid var(--border-color);
	border-radius:50%;
}
.helpful .helpful-title svg.smile:hover path,
.helpful .helpful-title svg.smile.checked path{
	fill: #16b777;
}
.helpful .helpful-title svg.cry:hover path,
.helpful .helpful-title svg.cry.checked path{
	fill: #ff5722;
}
.helpful .layui-form{
	margin-top:15px;
}
.helpful .text-group{
	position:relative;
}
.helpful .text-group .char-number{
	position:absolute;
	right:8px;
	bottom:0px;
	color: #999;
	z-index:2;
}
.helpful .input-group{
	display:flex;
	justify-content:space-between;
}
.helpful .input-group input.layui-input{
	margin:15px 0px;
	flex: 0 0 48%;
	font-size:0.9em;
}
.helpful .text-group textarea.layui-textarea{
	font-size:0.9em;
}
.author-box{
	display:flex;
	margin-bottom:30px;
	padding:30px;
	background-color: #000;
	color: #999;
}
.author-box img{
	margin:0px 25px 25px 0px;
	width:100px;
	height:100px;
	border-radius:50%;
}
.author-box h4{
	margin:0px 0px 10px 0px;
}
.author-box p{
	margin:0px;
}
.reply>h3{
	text-align:center;
	margin-top:50px;
	margin-bottom:20px;
	padding-bottom:20px;
	border-bottom:1px solid var(--border-color);
}
.reply>div{
	display:flex;
	flex-direction: row;
}
.reply .avatar{
	margin-right: 15px;
	padding: 2px;
	flex: 0 0 32px;
	display: flex;
	justify-content:center;
	align-items: center;
	width:32px;
	height:32px;
	border-radius:50%;
	border:1px solid var(--border-color);
	overflow:hidden;
}
.reply .avatar img,
.reply .avatar strong{
	width:100%;
	height:100%;
	border-radius:50%;
}
.reply .avatar strong{
	display: flex;
	justify-content:center;
	align-items: center;
	background-color: #31bdec;
	color: #fff;
}
.reply .comment{
	flex: 1;
}
.reply .comment h5{
	margin-bottom:6px;
}
.reply .reply-item{
	margin-left: 50px;
}

.side h4{
	padding:20px 20px 0px 20px;
}
.side ul{
	padding: 15px;
}
.side ul li{
	margin-bottom: 10px;
	padding-bottom:10px;
	line-height: 1.5em;
	border-bottom:1px solid var(--border-color);
}
.side ul li:last-child{
	margin-bottom: 0px;
	border-bottom: none;
}

.side form.email-form{
	padding:15px;
}
.side form.email-form input{
	display:block;
	width:100%;
	max-width:100%;
	background-color: #f9fafb;
    border: 1px solid #e5e7eb;
	border-radius: 6px;
    padding:12px;
    font-weight: 500;
	margin-bottom: 15px;
	box-sizing: border-box;
}
.side form.email-form button{
	width: 100%;
	height: 48px;
	border:none;
	border-radius: 6px;
	background-color: var(--active-color);
	color: #fff;
	font-weight:600;
	cursor: pointer;
}

.footer .copyright{
	padding:20px 0px;
	border-top:1px solid var(--border-color);
	text-align:center;
	font-size: 0.9em;
	display: flex;
    align-items: center;
    justify-content: center;
}
.footer .copyright a{
	display:inline-block;
	margin-left: 8px;
	text-decoration: underline;
}

@media screen and (max-width: 800px) {
    .header ul,
	.header form,
	.articles .main .side {
		display:none;
	}
	.header-mobile{
		display:flex;
	}
	.search-show .header form{
		display:block;
	}
	
	.home .ast .widget{
		flex:0 0 49%;
	}
	.cst .widget,
	.aut .info{
		flex:0 0 100%;
	}
	.aut .author, .home h2 a{
		display:none;
	}
	
	.main {
		padding:0px 10px;
	}
	.articles .main .lists{
		margin-right: 0px;
	}
	
	.footer .copyright{
		display:block;
	}
}
