/*
Theme Name:Blix
Theme URI:https://blog.wpjam.com/
Description:我爱水煮鱼的主题
Version:1.0
Author:Denis
Author URI:https://blog.wpjam.com/
*/
:root {
	--main-color:#009193;
	--secondary-color:#6C8C37;
	--highlight-color:#FEC42D;
	--main-bg-color:#A3C159;
	--secondary-bg-color:#EDF3DE;
	--hover-bg-color:#1BA6B2;
	--border-color:#F5F6Fa;
}

@keyframes rotation{
	from{
		transform: rotate(0deg);
	}

	to{
		transform: rotate(360deg);
	}
}

@keyframes loading-bg{
	0%{
		background-position-x: 0;
	}

	100%{
		background-position-x: 100px;
	}
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin:0;
	padding:0;
}
body{
	background:var(--border-color);
	font-family:Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-light, PingFangTC-light, "Open Sans", "Helvetica Neue", "sans-serif";
	color:#000000;
	font-size:16px;
	line-height:1.6;
	text-align:center;
}

h1, h1 a, h2, h2 a{
	color:var(--main-color);
	margin-bottom:20px;
}
h3, h3 a, h4, h4 a{
	color:var(--secondary-color);
	margin-bottom:20px;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover{
	color:var(--hover-bg-color);
}
hr{
	margin-bottom:20px;
	border:0;
	border-bottom:1px solid var(--border-color);
}
#content h1{
	font-size:22px;
	margin-top:10px;
	margin-bottom:20px;
}
#content h2{
	font-size:20px;
}
#content h3{
	font-size:18px;
}
#content h4{
	font-size:16px;
}
#content .entry-content h2,
#content .entry-content h3,
#content .entry-content h4{
	margin-top:10px;
	display:inline-block;
	padding:0 4px;
	font-weight:bold;
}
#content .entry-content h2:after,
#content .entry-content h3:after,
#content .entry-content h4:after{
	content:" ";
	clear:both;
	display:block;
	opacity:0.3;
	margin:-10px -4px 0 -4px;
}
#content .entry-content h2:after{
	border-bottom:10px solid var(--main-color);
}
#content .entry-content h3:after,
#content .entry-content h4:after{
	border-bottom:10px solid var(--secondary-color);
}
#content .entry-content h2 section,
#content .entry-content h3 section,
#content .entry-content h4 section{
	display:block;
	opacity:0.3;
	max-width:initial !important;
	margin:-10px -4px 0 -4px;
	height:10px;
}
#content .entry-content h2 section{
	background:var(--main-color);
}
#content .entry-content h3 section,
#content .entry-content h4 section{
	background:var(--secondary-color);
}
#content .entry-content p code{
	background:#efefef;
	padding:2px;
	border-radius:4px;
}

a{
	text-decoration:none;
	color:var(--secondary-color);
	outline:none;
}
a:hover{
	color:var(--main-color);
}

p{
	margin-bottom:20px;
}

table{
	margin-bottom:20px;
	border:0;
	width:100%;
}
th, th a{
	color:#FFFFFF;
}
.wp-block-table thead{
	border-bottom:none;
}
thead tr,
tfoot tr,
thead tr th,
tfoot tr th{
	background:var(--main-bg-color);
}
.wp-block-table thead tr th, .wp-block-table tfoot th{
	border-bottom:none;
}
tbody tr:nth-child(odd),
tbody tr:nth-child(odd) td{
	background:var(--secondary-bg-color);
}
tbody tr:nth-child(even),
tbody tr:nth-child(even) td{
	background:#FFFFFF;
}
tr:last-child:nth-child(even){
	border-bottom:1px solid var(--border-color);
}
th,
td,
.wp-block-table td,
.wp-block-table th{
	vertical-align:middle;
	border-right:1px solid var(--border-color);
	border-left:0;
	border-top:0;
	border-bottom:0;
	padding:6px 12px;

}
th:last-child,td:last-child{
	border-right:0;
}

.wp-block-table{
	width:100%;
	position:relative;
	overflow:scroll;
}
.wp-block-table > table{
	width:100%;
}
.wp-block-table > table tr > th:first-child,
.wp-block-table > table tr > td:first-child,
table th.fixed-column,
table td.fixed-column{
	position:sticky;
	left:0;
	z-index:2;
	box-shadow:inset -3px 0 3px 0 var(--border-color);
		border-right:0;
}
.wp-block-table > table tr > th,
.wp-block-table > table tr > td {
	white-space:nowrap;
	text-wrap:nowrap !important;
	word-wrap:normal !important;
	overflow-wrap:normal !important;
}
.wp-block-table > table tr > td p{
	white-space:wrap;
}

blockquote{
	background:var(--secondary-bg-color);
	margin:20px;
	padding:8px;
}
blockquote	p{
	margin:10px;
}
pre p{
	margin:0;
}


a img{
	border:none;
}

#container{
	background:#FFFFFF url(./i/container_bg.gif) 680px 0 repeat-y;
	width:1000px;
	padding:0 20px;
	margin:0 auto;
	border-top:20px #FFFFFF solid;
	text-align:left;
}

header{
	height:120px;
	display:block;
}
#logo{	
	padding:15px 15px 0;
}
#logo img{
	width: 160px;
}
#wpjam_blog_728x90{
	float:right;
	padding:15px 10px 0 0;	
}

#navigation{
	display:flex;
	justify-content:space-between;
	line-height:2.5;
	background:var(--main-bg-color);
	border-bottom-right-radius:6px;
}
#navigation ul{
	display:flex;
}
#navigation ul li{
	list-style-type:none;
	border-right:1px solid var(--border-color);
	white-space:nowrap;
	background:var(--main-bg-color);
	zoom:1;
	z-index:999;
}
#navigation ul li a{
	display:block;
	padding:0 10px;
	color:#FFFFFF;
	text-decoration:none;
}
#navigation ul li.current-menu-item,
#navigation ul li.current-menu-parent,
#navigation ul li:hover{
	background:var(--hover-bg-color);
	text-decoration:none;
	position:relative;
}
#navigation ul ul{
	visibility:hidden;
	position:absolute;
	flex-direction:column;
}
#navigation ul li:hover > ul{
	visibility:visible;
}
#navigation ul ul li{
	border-top:1px solid var(--border-color);
}
#navigation ul ul ul{
	left:100%; top:0;
}
#navigation ul ul ul li{
	border-top:0;
	border-bottom:1px solid var(--border-color);
	border-left:1px solid var(--border-color);
}

#navigation form{
	display:flex;
	justify-content:space-evenly;
	padding:6px 20px;
	width:300px;;
	border-left:1px solid var(--border-color);
	background:var(--highlight-color);
	border-bottom-right-radius:5px;
}
#navigation #s{
	padding:0 5px;
	width:230px;
}
#navigation #searchbutton{
	line-height:100%;
	height:100%;
	padding:0 5px;
	border:1px solid var(--border-color);
	color:#FFFFFF;
	background:var(--main-bg-color);
	border-bottom-right-radius:5px;
	-webkit-appearance:none;
}

.layout-wrap{
	display:flex;
	justify-content:space-between;
}

#content{
	width:640px;
	padding:30px 0 0 0px;
}

ul.breadcrumb{
	color:var(--secondary-color);
	border-bottom:1px solid var(--border-color);
}

.entry{
	margin-bottom:20px;
	border-bottom:1px solid var(--border-color);
}

.entry-thumb .wp-post-image{
	border:1px solid var(--border-color);
	display:block;
	width:100px;
	height:100px;
	max-width:initial;
}
.entry figure,
.entry iframe{
	margin:0;
	margin-bottom:20px;
}
.entry figure.wp-block-image{
	padding:6px;
}
.entry figure.wp-block-image img{
	box-shadow:0 0 6px 0 #999;
}
.entry img{
	max-width:100%;
	background:#FFFFFF;
}
.entry-img{
	display:table;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}
.entry-meta{
	display:flex;
	background:var(--secondary-bg-color);
	padding:8px 6px;
	margin-bottom:20px;
	font-size:14px;
	line-height:1;
}
.entry-meta span{
	border-right:1px solid #414141;
	padding-right:9px;
	margin-right:10px
}
.entry-meta span:last-child{
	border-right:none;
}

.entry span.more{
	border:none;
	margin-right:0;
	padding:0;
	float:right;
}
.entry span.moretext{
	padding-right:23px;
}
.entry div.more{
	float:right;
	width:400px;
}
.entry-card{
	display:flex;
	align-items:center;
	padding-bottom:20px;
	gap:20px;
}
#content .entry-card h2{
	font-size:18px;
	overflow:hidden;
	text-overflow:ellipsis;
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
}
.entry-card .entry-content{
	margin:-10px 0 0 0;
}
.entry-card .entry-content p{
	margin-bottom:0;	
	overflow:hidden;
	text-overflow:ellipsis;
	display:-webkit-box;
	-webkit-line-clamp:3;
	-webkit-box-orient:vertical;
}

.entry ol, .entry ul{
	margin-bottom:20px;
	margin-left:20px;
}
.entry li{
	margin-bottom:6px;
}
.entry-list li{
	margin-bottom:20px;
}

.entry td p{
	margin:6px 0;
}

.entry .entry-content pre{
	font-size:13px;
	margin-top:0;
	margin-bottom:20px;
}
.entry th{
	font-size:15px;
}
.entry td{
	font-size:14px;
}

div.post-password-content-template{
	padding:10px;
	background:var(--secondary-bg-color);
	margin-bottom:20px;
}
div.post-password-content-template p:last-child{
	margin-bottom:0;
}
form.content-template-post-password-form:after{
	display:block;
	content:" ";
	clear:both;
}
form.content-template-post-password-form img{
	float:left;
	margin-right:10px;
}
form.content-template-post-password-form p{
	padding-top:5px;
}
form.content-template-post-password-form input[type="password"]{
	border:1px solid var(--border-color);
	padding:6px;
}
form.content-template-post-password-form input[type="submit"]{
	padding:8px;
	background:var(--hover-bg-color);
	color:#FFFFFF;
	border:0;
	text-shadow:none;
	line-height:1;
}
ul ul,
ul ol,
ol ol,
ol ul{
	padding:0;
}

#toc{
	padding:9px;
	margin-bottom:20px;
	border:1px solid var(--border-color);
	border-radius:6px;
	display:table;
}
#toc .toc-title{
	margin-bottom:4px;
	border-bottom:1px solid var(--border-color);
	padding-bottom:4px;
}
#toc .toc-controller{
	padding-left:4px;
	cursor:pointer;
}
#toc ul{
	margin-left:20px;
	margin-bottom:0px;
}
#toc > ul{
	margin:0;
}
#toc li{
	margin:2px 0;
	list-style:none;
}

.entry-content{
	counter-reset:subtitle-level2;
}
h2.toc-index::before{
	counter-increment:subtitle-level2;
	content:counter(subtitle-level2) ". ";
}
h2.toc-index{
	counter-reset:subtitle-level3;
}
h3.toc-index::before{
	counter-increment:subtitle-level3;
	content:counter(subtitle-level2) "." counter(subtitle-level3) " ";
}
h3.toc-index{
	counter-reset:subtitle-level4;
}
h4.toc-index::before{
	counter-increment:subtitle-level4;
	content:counter(subtitle-level2) "." counter(subtitle-level3) "." counter(subtitle-level4) " " ;
}

#toc{
	counter-reset:toc-level2;
}
li.toc-level2 > a::before{
	counter-increment:toc-level2;
	content:counter(toc-level2) ". ";
}
li.toc-level2 > ul{
	counter-reset:toc-level3;
}
li.toc-level3 > a::before{
	counter-increment:toc-level3;
	content:counter(toc-level2) "." counter(toc-level3) " " ;
	counter-reset:toc-level4;
}
li.toc-level3 > ul{
	counter-reset:toc-level4;
}
li.toc-level4 > a::before{
	counter-increment:toc-level4;
	content:counter(toc-level2) "." counter(toc-level3) "." counter(toc-level4) " " ;
}

ul.post-list{
	margin-left:0;
	margin-bottom:20px;
}
ul.post-list li{
	list-style:none;
	padding-left:0px;
}
ul.post-list li:before {
	font-family: remixicon!important;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	content: "\ed0f";
	margin-right: 6px;
	color: var(--highlight-color);
}
ul.post-list li:nth-child(10n){
	margin-bottom:20px;
}

#series_posts{
	border-top:1px solid var(--border-color);
	padding-top:20px;
}
#series_posts p{
	margin-bottom:10px;
}
#series_posts ul{
	margin-left:0;
}

.coupon{
	background:var(--secondary-bg-color);
	padding:10px;
}
#coupon-copy{
	color:var(--main-color);
	margin-left:10px;
}

a.visitbutton{
	background:var(--main-bg-color);
	color:#FFFFFF;!important;
	padding:4px 6px;
}

div.entry-tags{
	margin-bottom:20px;
	line-height:2;
}
.entry-tags a{
	padding:2px 4px;
	margin:0 4px;
	background:var(--secondary-bg-color);
}
.entry-tags a:hover{
	background:var(--main-bg-color);
	color:#FFFFFF;
}
.entry-extend div{
	border-bottom:1px solid var(--border-color);
	padding-bottom:20px;
	margin-bottom:20px;
}
.entry-extend div p{
	margin-bottom:4px;
}

ul.horizontal{
	background:#FFFFFF;
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-start;
	gap:20px;
	margin:0;
}
ul.horizontal li{
	list-style:none;
	text-decoration:none;	
	cursor:pointer;
	width:112px;
	padding: 0 4px;
}
ul.horizontal li:hover{
	background:var(--secondary-bg-color);
}
ul.horizontal li img{
	display: block;
	border:1px solid var(--border-color);
	padding:1px;
	margin:0 0 4px 0;
	width:104px;
	height: auto;
	height:auto;
}
ul.horizontal li h4{
	line-height:1.5;
	margin-bottom:10px !important;
	margin-top:0 !important;
	-webkit-line-clamp:4;
}

ul.horizontal li h4, ul.vertical li h4{
	font-size:14px !important;
	font-weight:normal;
	border-bottom:0;
	overflow:hidden;
	text-overflow:ellipsis;
	display:-webkit-box;
	-webkit-box-orient:vertical;
}

ul.vertical li{
	clear:both;
	list-style:none;
	border-bottom:1px solid var(--border-color);
	padding:6px 0;
}
ul.vertical li:last-child{
	border-bottom: none;
}
ul.vertical li:hover{
	background:var(--secondary-bg-color);
}
ul.vertical li a{
	display:flex;
	align-items:center;
}
ul.vertical li img{
	width:62px;
	height:62px;
	border:1px solid var(--border-color);
	padding:1px;
	margin-right:10px;
}
ul.vertical li h4{
	-webkit-line-clamp:3;
	margin:0;
	padding:0;
}

.sidebar{
	width:300px;
	padding:20px 0 0 20px;
	background:url(./i/sidebar_bg.gif) left top no-repeat;
}

.sidebar div.widget{
	margin:10px 0 20px 0;
}

.sidebar div.widget .widget-title{
	background:var(--main-bg-color);
	color:#FFFFFF;
	font-size:16px;
	padding:4px 10px;
	width:280px;
	margin-bottom:10px;
	border-bottom-right-radius:5px;
}
.sidebar h3:before{
	font-family:remixicon!important;
	font-style:normal;
	-webkit-font-smoothing:antialiased;
	content:"\eae4";
	margin-right:6px;
}
.sidebar ul li{
	color:var(--secondary-color);
	padding:6px 2px;
	list-style:none;
	font-size: 15px;
}

.sidebar p{
	margin-bottom:0;
}

.widget_media_image img{
	max-width:280px;
	height:auto;
}

.widget_media_image .wp-caption-text{
	margin:0 auto 20px auto;
	text-align:center;
}

footer{
	width:1000px;
	text-align:left;
	clear:both;
	padding:0px 20px 20px 20px;
	margin:0 auto;
	display:block;
	color:var(--secondary-color);
	background-image:linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 50%, #FFFFFF00 90%);
}
#container footer{
	padding:0 0 20px 0;
}
footer:before{
	content:" ";
	display:block;
	background:url(./i/footer_bg.gif) 660px 0 no-repeat;
	margin:0px;
	display:block;
	height:35px;
}
footer:after{
	content:" ";
	display:block;
	height:60px;
	margin-top:-50px;
}

footer hr{
	border-bottom:6px solid #E9F7F6;
	margin-bottom:40px;
}

footer ul{
	display:flex;
	flex-wrap:wrap;
	margin-bottom:20px;
}

footer ul li{
	list-style:none;
	margin:0 6px 6px 0;
	border-right:1px solid #ccc;
	padding-right:6px;
	line-height:1;
}

footer ul li:last-child{
	margin-right:0;
	border-right:0;
	padding-right:0;
}

footer ul:before{
	margin-bottom:6px;
	line-height:1;
}

footer ul.footer-links:before{
	content:"快速链接：";
	font-weight:bold;
}

footer ul.blogroll:before{
	content:"友情链接：";
	font-weight:bold;
}

footer #optimized_by_wpjam_basic{
	display:inline-block;
}

.clearfix{
	clear:both;
}
.green{
	color:green;
}
.red{
	color:red;
}
.yellow{
	color:yellow;
}
.blue{
	color:blue;
}

.button{
	background:var(--main-bg-color);
	border-radius:5px;
	padding:5px 10px;
	color:#ffffff;
	cursor:pointer;
	display:inline-block;
}
.button a{
	color:#FFFFFF;
	text-decoration:none;
}
.button:hover{
	background:var(--hover-bg-color);
}
.load-posts-wrap{
	display:flex;
	justify-content:center;
	margin-top:20px;
}
.load-posts.loading i{
	display: inline-block;
	line-height: 1;
	animation: rotation 1s infinite linear;
}
.load-posts.loading span{
	color: transparent;
	background: linear-gradient(270deg, #FFFFFF, #CCCCCC);
	background-clip: text;
	-webkit-background-clip: text;
	animation: loading-bg 3s linear infinite;
}


body.full-width #container{
	background:#FFFFFF;
}
body.full-width #content{
	width:100%;
	padding:30px 10px 0 10px;
}
body.full-width .sidebar{
	display:none;
}
body.full-width footer:before{
	background:none;
}

@media only screen and (max-width:767px), only screen and (min-device-width :768px) and (max-device-width :1024px) and (orientation :portrait){
	.mobile-hide,
	.sidebar,
	.entry-card .entry-content,
	.entry-meta .author,
	#wpjam_blog_728x90,
	#navigation li ul,
	#entrynavigation,
	#copyright{
		display:none;
	}

	#container{
		background:#FFFFFF;
		border-top:10px solid var(--border-color);
	}

	#container, footer{
		padding:0 10px;
		width:100%;
	}

	#container header{
		height:90px;
	}

	#container header #logo img{
		width:120px; height:auto;
	}

	#navigation > ul{
		display:flex;overflow-x:auto;
	}

	#navigation form{
		position:absolute;
		top:20px;
		right:20px;
		width:initial;
		background:none;
		border:none;
	}

	#navigation form input#s{
		width:160px;
	}

	#navigation #searchbutton{
		height:30px;
	}

	#content{
		width:100%;
		padding:20px 0 0 0;
	}

	#content .entry-card{
		margin-bottom:10px;
		padding-bottom:10px;
	}

	#content .entry-card h2{
		margin-bottom:0;
	}

	#content .entry-thumb .wp-post-image{
		width:75px;
		height:75px;
	}

	#content .entry-thumb{
		margin-right:10px;
	}
}