/*
	Theme Name: BugXia
	Theme URI: https://bugxia.com
	Description: simple blog theme
	Version: 1.0
	Author: BugXia
	Author URI: https://bugxia.com
*/

.clear {
	clear: both;
}

a {
	color: #474747;
}

a:hover,.am-comment-actions a:hover {
	color: #8ebd04;
}

body {
	font-family: "Montserrat-Light","微软雅黑",Helvetica Neue,Helvetica,PingFang SC,\5FAE\8F6F\96C5\9ED1,Tahoma,Arial,sans-serif;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

kbd, samp,blockquote {
	font-family: "Montserrat-Light";
	font-size: 14px;
}

/* FRAMEWORK */

.blog-fixed {
	max-width: 1200px;
}

.blog-text-center {
	text-align: center;
}

.blog-header {
	margin-top: 1em;
}

.blog-nav {
	padding: 0 1em 0 0.5em;
	background-color: #fff;
}

.blog-nav li a:hover {
	background-color: #fff;
	color: #8ebd04;
}

.blog-button {
	height: 100%;
	margin-left: 1.5rem;
}

.blog-entry-article {
	margin: 3rem 0;
	padding-bottom: 3rem;
	border-bottom: 1px solid #e5e5e5;
}

.blog-entry-img {
	padding: 0;
	max-width: 100%;
	height: auto;
}

.blog-entry-text {
	padding: 0 1rem;
}

.blog-entry-text h1 {
	margin-top: 0;
	color: #3d3d3d;
}

.blog-bor {
	border: 1px solid #e5e5e5;
}

.blog-sidebar {
	margin-top: 3rem;
	padding: 0 1.5rem 0 3rem;
}

.blog-sidebar-title {
	margin-top: -1.5rem;
}

.blog-sidebar-title span {
	background-color: #fff;
	padding: 0 1.5rem;
}

.blog-sidebar-widget {
	padding: 0 1rem;
	margin-bottom: 4rem;
}

.blog-sidebar-widget-center {
	text-align: center;
}

.blog-footer {
	padding: 2rem 0 2rem 0;
	margin-top: 5rem;
	background-color: #252525;
	color: #fff !important
}

.post-title h1 {
	font-weight: 500;
}

.am-nav {
	font-weight: 500;
}

.am-nav .am-active {
	background-color: #8ebd04;
}

.am-nav>li>a:focus {
	color: #474747;
	background-color: #fff;
}

.am-nav>li>a:hover {
	color: #fff;
	background-color: #8ebd04;
}

.am-topbar-nav>li.am-active>a, .am-topbar-nav>li.am-active>a:focus, .am-topbar-nav>li.am-active>a:hover {
	color: #fff;
}

a:focus, a:hover {
	color: #8ebd04;
}

hr {
	margin: 1em 0;
}


/* INDEX */
main {
	position: relative;
}

.container {
}

#large-header {
	position: fixed;
	z-index: -1;
}

header h2 {
	font-family: "Microsoft JhengHei";
	font-weight: 300;
	margin: 1em 0;
	font-size: 24px;
}

.header .logo_img {
	margin-top: 1em;
}

.am-topbar-nav>li>a {
	padding: 0 1em;
}

.am-active {
	background: #F9F9F9;
	border-radius: 2px;
}

.am-topbar-form {
	padding: 0;
}

.am-topbar-right {
	margin-right: 0;
}

.am-nav {
	margin-top: 0;
}

.settingBox {
	padding: 15px 15px 0 15px;
}

.blog-entry-img {
	margin-top: 0.5em;
}

.blog-entry-img img {
	width: 100%;
}

.post-title h1 {
	margin: 0 0 1rem 0;
}

.post-excerpt {
	margin: 1.6rem 0;
}

.post-excerpt p {
	margin: 0 0 1rem 0;
	font-size: 14px;
	text-indent: 2em;
}

.post-meta {
	font-size: 14px;
}

.post-meta .post-meta-icon {
	margin-right: 5px;
}

/* SINGLE */

blockquote {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	margin-left: 10px;
}

pre.pure-highlightjs {
	border: 1px solid #f9f9f9;
	box-shadow: 1px 1px 5px 0px #d4d4d4;
	border-radius: 2px;
}

.blog-content hr {
	border-top: 1px solid #f7f7f7;
}

.blog-content img,.single-content img {
	max-width: 100%;
	height:auto;
}

.single-meta .single-meta-details {
	margin-right: 10px;
}

.single-meta .post-meta-icon {
	margin: 0 5px;
}

.single-content {
	font-size: 16px;
	word-wrap: break-word;
}

.single-content h1,.single-content h2,.single-content h3,.single-content h4,.single-content h5 {
	margin: 1.5em 0;
	border-left: 7px #f3cc10 solid;
	padding-left: 10px;
	background-color: #f3f3f3;
}

.single-content p {
	line-height: 1.5;
}

.single-content p a {
	text-decoration: underline;
	color: #8ebd04;
	margin: 0 5px;
}

.single-content p a:hover {
	opacity: 0.8;
}

.single-copyright-info {
}

.single-tags span {
	margin-right: 5px;
	font-size: inherit;
	font-weight: normal;
}

.single-tags span a {
	color: #fff;
}

.single-coment-box {
}

.single-coment-box p {
	margin: 0.2em 0;
}

.comments ul,.comments li {
	list-style: none;
}

.am-comment-avatar {
	border: 1px solid #dedede;
	padding: 2px;
	transition: transform 0.5s ease-out;
}

.am-comment-avatar:hover {
	transform: rotateZ(360deg);
}

.comment-awaiting-moderation {
	font-size: 12px;
	color: #ff7800;
}

.page-navigator a,.page-navigator span {
	margin-top: 2em;
	display: inline-block;
}

.page-navigator .page-numbers {
	display: inline-block;
	padding: 2px 5px;
	line-height: 1;
	background-color: #5eb95e;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
}

.page-navigator .current {
	background-color: #ccc;
}

.comment-form {
	margin-top: 1em;
}

.comment-form fieldset {
	margin-bottom: 0;
}

.comment-form>.am-g {
	margin-left: 0;
	margin-right: 0;
}

#cancel-comment-reply-link {
	font-size: 14px;
	text-decoration: underline;
	color: #dd514c;
}

.am-comment-bd {
	padding: 5px 15px;
	font-size: 14px;
}

.comment-respond .submitBtn {
}

.am-comments-list-flip .am-comment-main {
	margin-right: 0;
}

.am-comment-meta a {
	margin-right: 5px;
	color: #000000;
	font-weight: normal;
	font-size: 13px;
}

.am-comment-meta .am-icon-check-circle {
	margin-left: 2px;
}

.comment-admin {
	color: #ffa700;
	font-weight: bold;
}

.comment-admin .am-icon-check-circle {
	color: #ffa700;
}
/* SIDEBAR */
.widget_search {
	padding-bottom: 1.5rem;
}

#searchsubmit {
	display: none;
}

.aboutme img {
	padding: 0;
	max-width: 100%;
	height: auto;
}

.blog-bor {
}

.blog-bor p {
	margin: 1em 0;
}

.siderbar-comment {
	padding-left: 0;
}

.siderbar-comment .am-g {
	margin: 0;
	margin-bottom: 1em;
}

.sidebar_newcomment_avatar {
	padding: 0;
}

.sidebar_newcomment_content {
	padding: 0;
}

.sidebar_newcomment_com_excerpt {
	display: block;
	border: 1px solid #dedede;
	font-size: 12px;
	padding: 5px;
	background-color: #f3f3f3a3;
	box-shadow: 1px 1px 5px #ddd;
	color: #757575;
	margin-top: 10px;
}

.siderbar-comment li {
	list-style: none;
}

.siderbar-comment img {
	border-radius: 50%;
	max-width: 32px;
}

.widget_recent_entries ul {
	padding-left: 1.5em;
}

.widget_recent_entries li,.recentcomments {
	list-style: circle;
}

/* FOOTER */

.footer-beian {
	font-size: 12px;
}

.footer-beian span {
	margin: 0 3px;
}

.footer-beian a {
	color: #b3b3b3;
}

.footer-beian a:hover {
	color: #8ebd04;
}

/* 其他 */
#page-404 {
	text-align: center;
}

#page-404 h1 {
	font-size: 20em;
}

pre code {
	position: relative;
}

.am-icon-clipboard {
	color: #eaeaea;
	cursor: pointer;
	font-size: 16px;
}

.float_copy {
	position: absolute;
	display: none;
}

#smileBox {
	margin: 10px 0;
}

#smileBox i {
	font-size: 20px;
	cursor: pointer;
}

.smileBox {
	display: none;
}

.friendLink {
	padding-left: 1.5em;
}

.friendLink li {
	float: left;
	width: 50%;
}

::selection {
	background: #8ebd04;
	color: #fff;
}

::-webkit-scrollbar:hover {
	cursor: pointer
}

::-webkit-scrollbar {
	width: 12px
}

::-webkit-scrollbar-thumb {
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,.2);
	background: #8ebd04
}

::-webkit-scrollbar-track {
	background: #fbfbfb
}

.butterBar {
	margin-left: 36%;
	max-width: 640px;
	position: fixed;
	text-align: center;
	top: 10px;
	width: 58%;
	z-index: 99999;
}

.butterBar--center {
	left: 50%;
	margin-left: -320px
}

.butterBar-message {
	background: rgba(94, 185, 94, 0.8);
	border-radius: 4px;
	display: inline-block;
	margin-bottom: 0;
	padding: 15px 30px;
	color: #fff;
}

.butterBar-message-alert {
	background: rgba(249, 80, 42, 0.8);
}

.ajax_loading_body {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 999999;
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: 0.8;
	filter: alpha(opacity=10);
}

.spinner {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 100px;
	left: 50%;
}

.double-bounce1, .double-bounce2 {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #8ebd04;
	opacity: 0.6;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-animation: sk-bounce 2.0s infinite ease-in-out;
	animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
	0%, 100% {
		-webkit-transform: scale(0.0)
	}

	50% {
		-webkit-transform: scale(1.0)
	}
}

@keyframes sk-bounce {
	0%, 100% {
		transform: scale(0.0);
		-webkit-transform: scale(0.0);
	}

	50% {
		transform: scale(1.0);
		-webkit-transform: scale(1.0);
	}
}

/* 字体 */
@font-face {
	font-family: 'Montserrat-Regular';
	src: url('./asset/fonts/Montserrat-Regular.woff');
}

@font-face {
	font-family: 'Montserrat-Light';
	src: url('./asset/fonts/Montserrat-Light.woff');
}

/*自适应*/
@media (max-width:1920px) {
}

@media (max-width:1660px) {
}

@media (max-width:1440px) {
}

@media (max-width:1280px) {
	
	aside,.single-meta-com,.single-meta-time,header {
		display: none;
	}

	main {
		width: 95%!important;
		margin-left: 2.5%;
	}

	.wrap {
		margin: auto;
		margin-top: 15px;
	}

	.am-pagination {
		text-align: center;
	}
}

@media (max-width:768px) {
	.blog-entry-img {
		display: none;
	}

	.single-content {
		font-size: 12px;
	}

	.am-comment-bd,.am-comment-meta {
		font-size: 12px;
	}

	.butterBar {
		margin: auto;
		max-width: 640px;
		position: fixed;
		text-align: center;
		top: 20px;
		width: 90%;
		z-index: 99999;
	}

	.butterBar--center {
		left: 0;
		margin-left: 5%;
	}

	.logo_img_sm {
		height: 2.5em;
	}

	.post-title h1 {
		font-size: 20px;
		font-weight: bold;
	}

	.blog-nav-sm .am-fl {
		font-size: 20px;
	}

	.blog-button {
		margin-top: 0.5em;
	}

	.blog-footer {
		margin-top: 1rem;
	}

	.blog-entry-article {
		text-align: left;
		margin: 1.5rem 0;
	}

	#page-404 h1 {
		font-size: 10em;
	}
}

@media (max-width:640px) {
	.blog-nav li {
		text-align: center;
	}

	.blog-entry-article {
		padding-bottom: 1rem;
		text-align: center;
	}
}
