/**
 * Theme Name: Essence
 * Theme URI: http://essencetheme.com/
 * Description: Essence is an advanced WordPress Theme that is easy to use as a base to build your own theme
 * Author: Xavisys
 * Author URI: http://xavisys.com/
 * License: GNU General Public License
 * License URI: license.txt
 * Version: 0.2.1
 * Tags: gray, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
 */

h1,
h2,
h3,
h4,
h5,
h6 {
	/*text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);*/
}

label {
	display: inline;
}

.row {
	width: 1140px;
}

body .container {
	padding-top: 1em;
}

#content {
	background-color:#FFF;
}

/* Hide visually but not from screen readers */
.screen-reader-text,
.screen-reader-text span {
	position: absolute;
	left: -1000em;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/**
 * Error, alert, notice, success, and info boxes
 */
.info {
	background:#f6f6f6;
	border-color:#ddd;
	color:#222;
}
.info a {
	color:#06C;
}
.error,
.alert {
	background:#ffebe8;
	border-color:#c00;
	color:#c00;
}
.error a,
.alert a {
	color:#c00;
}

/**
 * End Error, alert, notice, success, and info boxes
 */

.rounded-box {
	background: #F6F6F6;
	border: 1px solid #DDD;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding:5px;
}

/**
 * Footer
 */

#footer {
	clear:both;
	margin-bottom:20px;
}
#colophon {
	overflow:hidden;
	padding:18px 0;
}
#site-info {
	font-weight:bold;
}
#site-info a {
	color:#000;
	text-decoration:none;
}
#site-generator {
	font-style:italic;
	position:relative;
	text-align:right;
}
#site-generator a {
	/**
	 * @todo Add an Essence logo - make one first :-)
	 */
	/*background:url(images/wordpress.png) center left no-repeat;*/
	color:#666;
	display:inline-block;
	line-height:16px;
	padding-left:20px;
	text-decoration:none;
}
#site-generator a:hover {
	text-decoration:underline;
}
img#wpstats {
	display:block;
	margin:0 auto 10px;
}

/* Images */
#content img {
	max-width:100%;
}
.entry-content .wp-caption {
	max-width: 97.5%;
}
img.size-full {
	width: auto; /* Prevent stretching of full-size images in IE8 */
}

#nav-above {
	display: none;
	padding: 0 0 1.5em;
}
.paged #nav-above {
	display: block;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

#site-title {
	font-size:30px;
	line-height:normal;
	margin:12px 0 0 0;
}

#site-title a {
	color:#666;
	text-decoration:none;
}

.header-image a {
	display:block;
	margin:0 auto;
}

#site-description {
	margin-bottom:10px;
}

blockquote {
	padding:10px 10px 0;
}

/**
 * Posts
 */
#content .entry-title {
	margin-bottom:0.1em;
}
.entry-title a:link,
.entry-title a:visited {
	color:#222;
	text-decoration:none;
}
.entry-title a:active,
.entry-title a:hover {
	color:#06C;
}
.entry-meta {
	margin-bottom:5px;
}
.entry-meta,
.entry-utility {
	color:#888;
	font-size:12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border:none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom:1px dotted #666;
}
.entry-utility {
	border-top:1px solid #DDD;
	clear:both;
	margin-top:5px;
}
.hentry {
	margin-bottom:42px;
}
.home .sticky {
	background:#F6F6F6;
	border: 2px solid #DDD;
	padding:10px;
}
.page-link {
	clear:both;
}
/**
 * End Posts
 */

#entry-author-info {
	margin:1em 0;
	padding:1%;
}
#entry-author-info #author-avatar {
	float: left;
	margin-right:30px;
}
#entry-author-info #author-description h2 {
	margin-bottom:.25em;
}
#entry-author-info #author-link {
	text-align:right;
	margin-top:.25em;
}

.author-contact {
	list-style: none;
	margin:0;
	padding:0;
}

/**
 * Comments
 */
#comments-title {
	margin-bottom:.5em;
	text-transform: uppercase;
}
.commentlist {
	clear:both;
	list-style: none;
	margin:0;
	padding:0;
}
.commentlist > li.comment {
	background: #f6f6f6;
	border: 1px solid #ddd;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 0 1.625em;
	padding: 1.625em;
	position: relative;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .comment .reply a {
	-moz-border-radius: 3px;
	background-color:#999;
	border-radius: 3px;
	color:#fff;
	font-size:1.1em;
	font-weight:bold;
	padding:5px;
	text-decoration:none;
}
.commentlist .comment .reply a:hover {
	background-color:#666;
}
.commentlist .children li.comment {
	background: #fff;
	border-left: 1px solid #ddd;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	margin: 1.625em 0 0;
	padding: 1.625em;
	position: relative;
}

.commentlist .bypostauthor {
}

#respond {
	-moz-border-radius: 3px;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding:20px;
}

.required {
	color: red;
}

#commentform textarea {
	margin-top:0;
	width:99%;
}

#commentform input {
	margin-top:0;
	width:100%;
}
/**
 * End Comments
 */

/**
 * Images
 */
img.centered ,
img.alignnone,
img.alignleft,
img.alignright {
	display:inline;
	padding:0;
}

img.centered  {
	display:block;
	margin:0 auto 10px auto;
}

img.alignnone {
	margin:0 0 10px 0;
}

img.alignleft {
	margin:0 10px 10px 0;
}

img.alignright {
	margin:0 0 10px 10px;
}

.aligncenter {
	display:block;
	margin:0 auto 10px;
}

.alignleft {
	float:left;
	margin:0 10px 0 0;
}

.alignright {
	float:right;
	margin:0 0 0 10px;
}

.widget-container h2,
.widget-container h3,
.widget-container h4,
#breadcrumbs,
blockquote,
.wp-caption {
	background:#F6F6F6;
	border:1px solid #DDD;
}
.wp-caption {
	padding:5px;
	text-align:center;
}

.wp-caption img {
}

.wp-caption p.wp-caption-text {
	font-size:.9em;
	line-height:1em;
	margin:0;
}

img.wp-smiley, img.wp-wink {
	float:none;
	border:none;
	margin:0;
	padding:0;
}
/**
 * End Images
 */

#breadcrumbs {
	border-top:none;
	padding:5px 10px;
}

/**
 * Menus
 */
.navigation .menu {
	border-bottom:1px solid #999;
	clear:both;
	height:30px;
	line-height:20px;
	margin:0;
	overflow:hidden;
	padding:0;
	text-transform:uppercase;
}

.navigation .menu,
.navigation .menu li a {
	background-color:#666; /* Fallback */
	background-image:-ms-linear-gradient(top, #999 0%, #666 50%); /* IE10 */
	background-image:-moz-linear-gradient(top, #999 0%, #666 50%); /* Mozilla Firefox */
	background-image:-o-linear-gradient(top, #999 0%, #666 50%); /* Opera */
	background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #999), color-stop(.5, #666)); /* Webkit (Safari/Chrome 10) */
	background-image:-webkit-linear-gradient(top, #999 0%, #666 50%); /* Webkit (Chrome 11+) */
	background-image:linear-gradient(top, #999 0%, #666 50%); /* Proposed W3C Markup */
	color:#FFF;
}

.navigation .menu ul {
	float:left;
	list-style:none;
	width:100%;
}

.navigation .menu li {
	float:left;
	list-style:none;
	margin-bottom: 0;
}

.navigation .menu li a {
	border-right:1px solid #999;
	display:block;
	margin:0;
	padding:5px 10px 5px;
	position:relative;
	text-decoration:none;
}

.navigation .menu li a:hover,
.navigation .menu li a:active,
.navigation .menu .current_page_item a {
	background-color:#333; /* Fallback */
	background-image:-ms-linear-gradient(top, #666 0%, #333 50%); /* IE10 */
	background-image:-moz-linear-gradient(top, #666 0%, #333 50%); /* Mozilla Firefox */
	background-image:-o-linear-gradient(top, #666 0%, #333 50%); /* Opera */
	background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #666), color-stop(.5, #333)); /* Webkit (Safari/Chrome 10) */
	background-image:-webkit-linear-gradient(top, #666 0%, #333 50%); /* Webkit (Chrome 11+) */
	background-image:linear-gradient(top, #666 0%, #333 50%); /* Proposed W3C Markup */
	color:#FFF;
}

.navigation .menu li a.sf-with-ul {
	padding-right:20px;
}

.navigation .menu li a .sf-sub-indicator {
	background-image:url(images/arrow-down.png);
	display:block;
	height:9px;
	overflow:hidden;
	position:absolute;
	right:5px;
	text-indent:-9999px;
	top:50%;
	width:9px;
	-o-transform:      translate( 0,-50% );
	-moz-transform:    translate( 0,-50% );
	-webkit-transform: translate( 0,-50% );
	transform:         translate( 0,-50% );
}

.navigation .menu li li a,
.navigation .menu li li a:link,
.navigation .menu li li a:visited {
	background-color:#666;
	border:1px solid #999;
	border-top:none;
	color:#FFF;
	font-size:.9em;
	margin:0 0 0 -1px;
	padding:6px 10px;
	position:relative;
	width:158px;
}

.navigation .menu li li a:hover,
.navigation .menu li li a:active {
	background:#333;
}

.navigation .menu li li a .sf-sub-indicator {
	background-image:url(images/arrow-right.png);
}

.navigation .menu li ul {
	height:auto;
	left:-999em;
	margin:0;
	padding:0;
	position:absolute;
	width:180px;
	z-index:9999;
}

.navigation .menu li ul a {
	width:160px;
}

.navigation .menu li ul a:hover,
.navigation .menu li ul a:active {
}

.navigation .menu li ul ul {
	margin:-33px 0 0 179px;
}

.navigation .menu li:hover ul ul,
.navigation .menu li:hover ul ul ul,
.navigation .menu li.sfHover ul ul,
.navigation .menu li.sfHover ul ul ul {
	left:-999em;
}

.navigation .menu li:hover ul,
.navigation .menu li li:hover ul,
.navigation .menu li li li:hover ul,
.navigation .menu li.sfHover ul,
.navigation .menu li li.sfHover ul,
.navigation .menu li li li.sfHover ul {
	left:auto;
}

.navigation .menu li:hover,
.navigation .menu li.sfHover {
	position:static;
}
/**
 * End Menus
 */

/**
 * Widget Areas
 */
.widget-area ul {
	list-style:none;
	margin:0;
	padding:0;
}
.widget-area ul ul {
	list-style-type:square;
	margin:10px;
	padding-left:15px;
}

.widget-container {
	background:#FFF;
	border:1px solid #DDD;
	margin-bottom:1em;
}

.widget-container p,
.widget-container > div {
	margin:0;
	padding:10px;
}

.widget-container ul.gform_fields {
	margin:0;
	padding:0;
}
.widget-container h2,
.widget-container h3,
.widget-container h4 {
	border-width:0 0 1px 0;
	display:block;
	margin-bottom:0;
	padding:5px 10px;
}

.widget-title {
}
.widget-title a {
	color:#222;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration:none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration:underline;
}

.widget_search #s { /* This keeps the search inputs in line */
	width:70%;
}
.widget_search label {
	font-weight:bold;
	color:#222;
	display:block;
}
.widget_search label {
	color:#CCC;
	left:5px;
	position:absolute;
	top:5px;
}

.widget-area ul li.widget_search:first-child {
	padding-top:10px;
}
.widget-area ul li.widget_search:first-child,
.widget-area ul li.widget_search:first-child div {
	border-top:none;
	margin-top:0;
}
.widget_search div {
	margin:10px;
	padding:0;
	position:relative;
}

#searchsubmit {
	background-color:#666;
	border:1px solid #999;
	color:#FFF;
}
#searchsubmit:hover {
	background-color:#333;
}

#wp_tag_cloud div {
	line-height:1.6em;
}
#wp-calendar {
	width:100%;
}
#wp-calendar caption {
	border:1px solid #FFF;
	color:#222;
	font-weight:bold;
	padding-bottom:4px;
	text-align:left;
}
#wp-calendar thead {
}
#wp-calendar tbody td,
#wp-calendar thead th {
	border:1px solid #FFF;
	text-align:center;
}
#wp-calendar tbody {
	color:#999;
}
#wp-calendar tbody td {
	background:#F6F6F6;
	padding:3px 0 2px;
}
#wp-calendar tbody .pad {
	background:none;
}
#wp-calendar tfoot #next {
	text-align:right;
}
.widget_rss .widget-title img {
	height:11px;
	width:11px;
}

/**
 * End Widget Areas
 */

/**
 * Twitter Widget Pro styles
 */
.widget_twitter div {
	padding:0;
}

.widget_twitter .widget-title {
	background-image:url(images/twitter-bird.png);
	background-position:99% 2px;
	background-repeat:no-repeat;
}

.widget_twitter ul li {
	margin-bottom:5px;
}

.widget_twitter .follow-button,
.widget_twitter .xavisys-link {
	margin:0 10px 10px 25px;
}

.widget_twitter .entry-meta {
	display:block;
	font-size:80%;
}

.widget_twitter .intent-meta a {
	background: url(images/everything-spritev2.png); /** from Twitter ressources */
	display: inline-block;
	height: 16px;
	text-indent: -9999px;
	width: 16px;
}
.widget_twitter .intent-meta a.in-reply-to {
	background-position: 0 center;
}
.widget_twitter .intent-meta a:hover.in-reply-to {
	background-position: -16px center;
}
.widget_twitter .intent-meta a.favorite {
	background-position: -32px center;
}
.widget_twitter .intent-meta a:hover.favorite {
	background-position: -48px center;
}
.widget_twitter .intent-meta a.retweet {
	background-position: -80px center;
}
.widget_twitter .intent-meta a:hover.retweet {
	background-position: -96px center;
}

/**
 * End Twitter Widget Pro styles
 */



/**
 * Gallery styles
 */
.format-gallery .size-thumbnail img,
.category-gallery .size-thumbnail img {
	border:10px solid #F6F6F6;
	margin-bottom:0;
}
.format-gallery .gallery-thumb,
.category-gallery .gallery-thumb {
	float:left;
	margin-right:20px;
	margin-top:-4px;
}
.home #content .format-gallery .entry-utility,
.home #content .category-gallery .entry-utility {
	padding-top:4px;
}

.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 10px solid #F6F6F6;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery dd {
	display:none;
}
.gallery br+br {
	display: none;
}
/**
 * End gallery styles
 */


/**
 * Assistive text
 * @props Twenty Eleven
 */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}

/**
 * Mobile Safari ( iPad, iPhone and iPod Touch )
 * @props Twenty Ten
 */
pre {
	-webkit-text-size-adjust:140%;
}

code {
	-webkit-text-size-adjust:160%;
}

#access, .entry-meta, .entry-utility, .widget_search label, .navigation, .widget-area {
	-webkit-text-size-adjust:120%;
}

#site-description {
	-webkit-text-size-adjust:none;
}

#site-info {
	float:left;
	font-weight:bold;
}

#site-generator {
	float:right;
}

/* Blog visual refresh: restrained technology style, presentation layer only. */
:root {
	--tech-ink: #172337;
	--tech-muted: #66758a;
	--tech-line: #dce5ef;
	--tech-surface: #ffffff;
	--tech-bg: #f4f7fb;
	--tech-blue: #155eef;
	--tech-cyan: #0aa6c7;
	--tech-focus: rgba(21, 94, 239, .28);
}

html {
	background: var(--tech-bg);
}

body {
	background:
		radial-gradient(circle at 8% 0%, rgba(21, 94, 239, .08), transparent 30rem),
		var(--tech-bg);
	color: var(--tech-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}

img,
video {
	max-width: 100%;
	height: auto;
}

::selection {
	background: rgba(21, 94, 239, .16);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--tech-focus);
	outline-offset: 2px;
}

a,
#site-title a {
	color: var(--tech-blue);
	transition: color .2s ease;
}

a:hover,
#site-title a:hover {
	color: var(--tech-cyan);
}

.container {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 16px;
}

/* 1360px 内容画布：减少两侧空白，同时给文章保留舒适阅读宽度。 */
.row {
	box-sizing: border-box;
	max-width: 100%;
	width: min(1328px, calc(100% - 32px));
}

/* 主内容约 3:1，右侧仅保留搜索和连接等辅助信息。 */
.row > .columns.eight {
	box-sizing: border-box;
	width: 74%;
}

.row > .columns.four.sidebar-right {
	box-sizing: border-box;
	width: 26%;
}

.container > .row:first-child {
	padding: 42px 0 28px;
}

#branding {
	border-left: 4px solid var(--tech-cyan);
	padding-left: 22px;
}

#site-title {
	font-size: 34px;
	font-weight: 700;
	letter-spacing: .02em;
	margin: 0;
}

#site-title a {
	color: var(--tech-ink);
}

#site-description {
	color: var(--tech-muted);
	font-size: 14px;
	letter-spacing: .08em;
	margin: 4px 0 0;
}

.navigation .menu {
	background: var(--tech-ink);
	border: 0;
	border-radius: 6px;
	box-shadow: 0 8px 20px rgba(23, 35, 55, .14);
	height: auto;
	line-height: 1.5;
	text-transform: none;
}

.navigation .menu,
.navigation .menu li a {
	background-color: var(--tech-ink);
	background-image: none;
}

.navigation .menu li a {
	border: 0;
	color: #dce8f7;
	font-size: 14px;
	font-weight: 600;
	padding: 13px 18px;
}

.navigation .menu li a:hover,
.navigation .menu li a:active,
.navigation .menu .current_page_item a,
.navigation .menu .current-menu-item a {
	background: linear-gradient(135deg, #1d73f2, #087fbd);
	color: #fff;
}

#content {
	background: var(--tech-surface);
	border: 1px solid var(--tech-line);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(39, 64, 96, .06);
	box-sizing: border-box;
	margin-top: 26px;
	padding: 34px 38px;
}

.hentry {
	border-bottom: 1px solid var(--tech-line);
	margin-bottom: 34px;
	padding-bottom: 28px;
}

.hentry:last-child {
	border-bottom: 0;
}

#content .entry-title {
	font-size: 27px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 8px;
}

.entry-title a:link,
.entry-title a:visited {
	color: var(--tech-ink);
}

.entry-title a:hover {
	color: var(--tech-blue);
}

.entry-meta,
.entry-utility {
	color: var(--tech-muted);
	font-size: 13px;
}

.entry-content {
	color: #35445a;
	font-size: 18px;
	letter-spacing: .01em;
	line-height: 1.95;
}

.entry-content p {
	font-size: 18px;
	line-height: 1.95;
	margin: 0 0 1.35em;
}

.entry-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content table {
	border-collapse: collapse;
	margin: 1.5em 0;
	max-width: 100%;
	width: 100%;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--tech-line);
	padding: 9px 12px;
	text-align: left;
}

.entry-content th {
	background: #f4f7fb;
	color: var(--tech-ink);
	font-weight: 600;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--tech-ink);
	line-height: 1.45;
	margin-top: 1.6em;
}

blockquote {
	background: #f2f8fc;
	border: 0;
	border-left: 4px solid var(--tech-cyan);
	color: #4b6078;
	margin: 1.5em 0;
	padding: 14px 20px;
}

pre,
code {
	font-family: SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

pre {
	background: #162337;
	border-radius: 6px;
	color: #d8e6f5;
	overflow-x: auto;
	padding: 18px 20px;
}

.widget-container h2,
.widget-container h3,
.widget-container h4,
#breadcrumbs,
.wp-caption {
	background: transparent;
	border: 0;
}

.widget-container {
	border-bottom: 1px solid var(--tech-line);
	margin: 26px 0;
	padding-bottom: 18px;
}

.widget-container h2,
.widget-container h3,
.widget-container h4 {
	border-left: 3px solid var(--tech-cyan);
	color: var(--tech-ink);
	font-size: 16px;
	padding-left: 10px;
}

#breadcrumbs {
	color: var(--tech-muted);
	font-size: 13px;
	padding: 10px 0;
}

#footer {
	color: var(--tech-muted);
	margin: 28px 0 20px;
}

#site-info a,
#site-generator a {
	color: var(--tech-muted);
}

@media only screen and (max-width: 767px) {
	.container {
		padding: 0 12px;
	}

	.row,
	.row > .columns.eight,
	.row > .columns.four.sidebar-right {
		width: 100%;
	}

	.container > .row:first-child {
		padding: 26px 0 18px;
	}

	#site-title {
		font-size: 27px;
	}

	.navigation .menu li,
	.navigation .menu li a {
		float: none;
	}

	.navigation .menu li a {
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}

	#content {
		margin-top: 18px;
		padding: 24px 20px;
		width: 100%;
	}

	#content .entry-title {
		font-size: 23px;
	}

	.entry-content {
		font-size: 16px;
		line-height: 1.85;
	}

	.entry-content p {
		font-size: 16px;
		line-height: 1.85;
	}

	pre {
		margin-left: -4px;
		margin-right: -4px;
		padding: 14px 16px;
	}
}
