/*
Theme Name: Avalon
Theme URI: https://www.vincentcheung.com/
Author: the WordPress team
Author URI: http://wordpress.org/
Description: Avalon is an experimental layout theme for vincentcheung.com, based on the site's customized Twenty Twelve theme.
Version: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: avalon

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 16px
	font-size: 1.142857143rem; (16 / $rembase)
	line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}


/* =Repeatable patterns
-------------------------------------------------------------- */

/* Small headers */
.archive-title,
.page-title,
.widget-title,
.entry-content th,
.comment-content th {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	text-transform: uppercase;
	color: #636363;
}

/* Shared Post Format styling */
article.format-quote footer.entry-meta,
article.format-link footer.entry-meta,
article.format-status footer.entry-meta {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}

/* Buttons */
.menu-toggle,
input[type="submit"],
article.post-password-required input[type=submit],
li.bypostauthor cite span {
	padding: 6px 10px;
	padding: 0.428571429rem 0.714285714rem;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 1.428571429;
	font-weight: normal;
	color: #7c7c7c;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}
.menu-toggle,
input[type="submit"],
article.post-password-required input[type=submit] {
	cursor: pointer;
}
.menu-toggle:hover,
input[type="submit"]:hover,
article.post-password-required input[type=submit]:hover {
	color: #5e5e5e;
	background-color: #ebebeb;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}
.menu-toggle:active,
.menu-toggle.toggled-on,
input[type="submit"]:active,
article.post-password-required input[type=submit]:active,
input[type="submit"].toggled-on {
	color: #777;
	background-color: #e1e1e1;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
	background-image: linear-gradient(top, #ebebeb, #e1e1e1);
	box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
	border: none;
}
li.bypostauthor cite span {
	color: #fff;
	background-color: #21759b;
	background-image: none;
	border: 1px solid #1f6f93;
	border-radius: 2px;
	box-shadow: none;
	padding: 0;
}

/* Form fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
	padding: 6px;
	padding: 0.428571429rem;
	font-family: inherit;
	border: 1px solid #ccc;
	border-radius: 3px;
}

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #777;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a {
	display: block;
	width: 90%;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* Navigation */
.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}
#nav-above {
	padding: 24px 0;
	padding: 1.714285714rem 0;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous,
.previous-image {
	float: left;
	width: 50%;
}
.nav-next,
.next-image {
	float: right;
	text-align: right;
	width: 50%;
}
.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 0;
	margin: 3.428571429rem 0;
}

/* Author profiles */
.author .archive-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.author-info {
	border-top: 1px solid #ededed;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	padding-top: 24px;
	padding-top: 1.714285714rem;
	overflow: hidden;
}
.author-description p {
	color: #777;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
}
.author.archive .author-avatar {
	margin-top: 0;
}


/* =Basic structure
-------------------------------------------------------------- */

/* Body, links, basics */
html {
	font-size: 97%;
}
body {
	font-size: 14px;
	font-size: 1rem;
	font-family: Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #000;
	text-align: left;
}
body.custom-font-enabled {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
a {
	outline: none;
	color: #880000;
}
a:hover {
	color: #0f3647;
}

/* Assistive text */
.skip-link,
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}

/* Page structure */
.site {
	padding: 0 24px;
	padding: 0 1.714285714rem;
	background-color: #f4f4f4;
}
.site-content {
	margin: 24px 0 0;
	margin: 1.714285714rem 0 0;
}
.widget-area {
	margin: 24px 0 0;
	margin: 1.714285714rem 0 0;
}

/* Header */
.site-header {
	padding: 24px 0;
	padding: 1.714285714rem 0;
}
.site-header h1,
.site-header h2 {
	text-align: left;
}
.site-header h1 a,
.site-header h2 a {
	color: #880000;
	display: inline-block;
	text-decoration: none;
}
.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #21759b;
}
.site-header h1 {
	font-size: 24px;
	font-size: 1.714285714rem;
	line-height: 2;
}
.site-header h2 {
	font-weight: normal;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #777;
}
.header-image {
	margin-top: 24px;
	margin-top: 1.714285714rem;
}

/* Navigation Menu */
.main-navigation {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	text-align: left;
}
.main-navigation li {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.42857143;
}
.main-navigation a {
	color: #880000;
}
.main-navigation a:hover {
	color: #21759b;
}
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	display: none;
}
.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
<!--	display: inline-block; -->
}

/* Banner */
section[role="banner"] {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
}

/* Sidebar */
.widget-area .widget {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
}
.widget-area .widget h3 {
	margin-bottom: 8px;
	margin-bottom: 0.571428571rem;
}
.widget-area .widget p,
.widget-area .widget li,
.widget-area .widget .textwidget {
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.4;
	text-align: left;
}
.widget-area .widget p {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.widget-area .textwidget ul {
	list-style: disc outside;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
}
.widget-area .textwidget li {
	margin-left: 36px;
	margin-left: 2.571428571rem;
}
.widget-area .widget a {
	color: #777;
}
.widget-area .widget a:hover {
	color: #21759b;
}

/* Footer */
footer[role="contentinfo"] {
	border-top: 1px solid #ededed;
	clear: both;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	max-width: 960px;
	max-width: 68.571428571rem;
	margin-top: 14px;
	margin-top: 1rem;
	margin-left: auto;
	margin-right: auto;
	padding: 18px 0;
	padding: 1.285714285rem 0;
}
footer[role="contentinfo"] a {
	color: #686868;
}
footer[role="contentinfo"] a:hover {
	color: #21759b;
}


/* =Main content
-------------------------------------------------------------- */

.entry-meta {
	clear: both;
}
.entry-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-header img.wp-post-image {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-header .entry-title {
	font-size: 20px;
	font-size: 1.428571429rem;
	line-height: 1.2;
	font-weight: normal;
}
.entry-header .entry-title a {
	text-decoration: none;
}
.entry-header .entry-format {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-weight: normal;
}
.entry-header .comments-link {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #777;
}
.comments-link a,
.entry-meta a {
	color: #777;
}
.comments-link a:hover,
.entry-meta a:hover {
	color: #21759b;
}
article.sticky .featured-post {
	border-top: 4px double #ededed;
	border-bottom: 4px double #ededed;
	color: #777;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 3.692307692;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
	text-align: center;
}
.entry-content,
.entry-summary {
	line-height: 1.714285714;
}
.entry-content h1,
.comment-content h1,
.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3,
.entry-content h4,
.comment-content h4,
.entry-content h5,
.comment-content h5,
.entry-content h6,
.comment-content h6 {
	margin: 24px 0;
	margin: 1.714285714rem 0;
	line-height: 1.714285714;
}
.entry-content h1,
.comment-content h1 {
	font-size: 21px;
	font-size: 1.5rem;
	line-height: 1.5;
}
.entry-content h2,
.comment-content h2 {
	font-size: 18px;
	font-size: 1.285714286rem;
	line-height: 1.6;
}
.entry-content h3,
.comment-content h3 {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.846153846;
}
.entry-content h4,
.comment-content h4 {
	font-size: 14px;
	font-size: 1rem;
	line-height: 1.846153846;
}
.entry-content h5,
.comment-content h5 {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.entry-content h6,
.comment-content h6 {
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.846153846;
}
.entry-content p,
.entry-summary p,
.comment-content p {
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	line-height: 1.714285714;
}
.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul {
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	line-height: 1.714285714;
}
.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}
.entry-content ul,
.comment-content ul {
	list-style: disc outside;
}
.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}
.entry-content li,
.comment-content li {
	margin: 0 0 0 36px;
	margin: 0 0 0 2.571428571rem;
}
.entry-content blockquote,
.comment-content blockquote {
	margin-bottom: 18px;
	margin-bottom: 1.285714285rem;
	padding: 18px;
	padding: 1.285714285rem;

}
.entry-content blockquote p:last-child,
.comment-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content code,
.comment-content code {
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
}
.entry-content pre,
.comment-content pre {
	border: 1px solid #ededed;
	color: #666;
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	overflow: auto;
	padding: 24px;
	padding: 1.714285714rem;
}
.entry-content pre code,
.comment-content pre code {
	display: block;
}
.entry-content abbr,
.comment-content abbr,
.entry-content dfn,
.comment-content dfn,
.entry-content acronym,
.comment-content acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
.entry-content address,
.comment-content address {
	display: block;
	line-height: 1.714285714;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
}
img.alignleft {
	margin: 12px 24px 12px 0;
	margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright {
	margin: 12px 0 12px 24px;
	margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
img.aligncenter {
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-content dl,
.comment-content dl {
	margin: 0 24px;
	margin: 0 1.714285714rem;
}
.entry-content dt,
.comment-content dt {
	font-weight: bold;
	line-height: 1.714285714;
}
.entry-content dd,
.comment-content dd {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ededed;
	color: #777;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	width: 100%;
}
.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1.142857143rem;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.entry-content td,
.comment-content td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}
.site-content article {
	padding-bottom: 24px;
	padding-bottom: 1.714285714rem;
	margin-bottom: 14px;
	margin-bottom: 1rem;

}
.page-links {
	clear: both;
	line-height: 1.714285714;
}
footer.entry-meta {
	margin-top: 24px;
	margin-top: 1.714285714rem;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #777;
}
.single-author .entry-meta .by-author {
	display: none;
}


/* =Archives
-------------------------------------------------------------- */

.archive-header,
.page-header {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
	padding-bottom: 22px;
	padding-bottom: 1.571428571rem;
	border-bottom: 1px solid #ededed;
}
.archive-meta {
	color: #777;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	margin-top: 22px;
	margin-top: 1.571428571rem;
}


/* =Single image attachment view
-------------------------------------------------------------- */

.article.attachment {
	overflow: hidden;
}
.image-attachment div.attachment {
	text-align: center;
}
.image-attachment div.attachment p {
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}
.image-attachment .entry-caption {
	margin-top: 8px;
	margin-top: 0.571428571rem;
}


/* =Aside post format
-------------------------------------------------------------- */

article.format-aside h1 {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
article.format-aside h1 a {
	text-decoration: none;
	color: #4d525a;
}
article.format-aside h1 a:hover {
	color: #2e3542;
}
article.format-aside .aside {
	padding: 24px 24px 0;
	padding: 1.714285714rem;

	border-left: 5px solid #a8bfe8;
}
article.format-aside p {
	font-size: 14px;
	font-size: 1rem;

	color: #000;
	text-align: left
}
article.format-aside blockquote:last-child,
article.format-aside p:last-child {
	margin-bottom: 0;
}


/* =Post formats
-------------------------------------------------------------- */

/* Image posts */
article.format-image footer h1 {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	font-weight: normal;
}
article.format-image footer h2 {
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
}
article.format-image footer a h2 {
	font-weight: normal;
}

/* Link posts */
article.format-link header {
	padding: 0 10px;
	padding: 0 0.714285714rem;
	float: right;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
	color: #848484;
	background-color: #ebebeb;
	border-radius: 3px;
}
article.format-link .entry-content {
	max-width: 80%;
	float: left;
}
article.format-link .entry-content a {
	font-size: 22px;
	font-size: 1.571428571rem;
	line-height: 1.090909091;
	text-decoration: none;
}

/* Quote posts */
article.format-quote .entry-content p {
	margin: 0;
	padding-bottom: 24px;
	padding-bottom: 1.714285714rem;
}
article.format-quote .entry-content blockquote {
	display: block;
	padding: 24px 24px 0;
	padding: 1.714285714rem 1.714285714rem 0;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.6;
	font-style: normal;
	color: #6a6a6a;
	background: #efefef;
}

/* Status posts */
.format-status .entry-header {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.format-status .entry-header header {
	display: inline-block;
}
.format-status .entry-header h1 {
	font-size: 15px;
	font-size: 1.071428571rem;
	font-weight: normal;
	line-height: 1.6;
	margin: 0;
}
.format-status .entry-header h2 {
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	line-height: 2;
	margin: 0;
}
.format-status .entry-header header a {
	color: #777;
}
.format-status .entry-header header a:hover {
	color: #21759b;
}
.format-status .entry-header img {
	float: left;
	margin-right: 21px;
	margin-right: 1.5rem;
}


/* =Comments
-------------------------------------------------------------- */

.comments-title {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
	font-weight: normal;
}
.comments-area article {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.comments-area article header {
	margin: 0 0 48px;
	margin: 0 0 3.428571429rem;
	overflow: hidden;
	position: relative;
}
.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}
.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 85px;
	margin-left: 6.071428571rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.42857143;
}
.comments-area article header time {
	line-height: 1.714285714;
	text-decoration: none;
	font-size: 12px;
	font-size: 0.857142857rem;
	color: #5e5e5e;
}
.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}
.comments-area article header a:hover {
	color: #21759b;
}
.comments-area article header cite a {
	color: #444;
}
.comments-area article header cite a:hover {
	text-decoration: underline;
}
.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 6px 12px;
	padding: 0.428571429rem 0.857142857rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}
.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	margin-left: 0.357142857rem;
	padding: 2px 5px;
	padding: 0.142857143rem 0.357142857rem;
	font-size: 10px;
	font-size: 0.714285714rem;
}
a.comment-reply-link {
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #686868;
}
a.comment-reply-link:hover {
	color: #21759b;
}
.commentlist .pingback {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.commentlist .children {
	margin-left: 48px;
	margin-left: 3.428571429rem;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3.428571429rem;
}
#respond h3#reply-title {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
}
#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 0.714285714rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.857142857rem;
}
#respond form {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
#respond form p {
	margin: 11px 0;
	margin: 0.785714286rem 0;
}
#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
#respond form label {
	display: block;
	line-height: 1.714285714;
}
#respond form input[type="text"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 100%;
}
#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #5e5e5e;
}
.required {
	color: red;
}
label ~ span.required {
	display: block;
	float: left;
	margin: -18px 0 0 -16px;
	margin: -1.285714286rem 0 0 -1.142857143rem;
}


/* =Front page template
-------------------------------------------------------------- */

.entry-page-image {
	margin-bottom: 14px;
	margin-bottom: 1rem;
}
.template-front-page .site-content article {
	border: 0;
	margin-bottom: 0;
}
.template-front-page .widget-area {
	clear: both;
	float: none;
	width: auto;
	padding-top: 24px;
	padding-top: 1.714285714rem;
	border-top: 1px solid #ededed;
}
.template-front-page .widget-area .widget li {
	margin: 8px 0 0;
	margin: 0.571428571rem 0 0;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.4;
	list-style-type: none;
	list-style-position: inside;
}
.template-front-page .widget-area .widget li a {
	color: #777;
}
.template-front-page .widget-area .widget li a:hover {
	color: #21759b;
}
.template-front-page .widget-area .widget_text img {
	float: left;
	margin: 8px 24px 8px 0;
	margin: 0.571428571rem 1.714285714rem 0.571428571rem 0;
}


/* =Widgets
-------------------------------------------------------------- */

.widget-area .widget ul ul {
	margin-left: 12px;
	margin-left: 0.857142857rem;
}
.widget_rss li {
	margin: 12px 0;
	margin: 0.857142857rem 0;
}
.widget_recent_entries .post-date,
.widget_rss .rss-date {
	color: #aaa;
	font-size: 11px;
	font-size: 0.785714286rem;
	margin-left: 12px;
	margin-left: 0.857142857rem;
}
#wp-calendar {
	margin: 0;
	width: 100%;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #686868;
}
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: left;
}
#wp-calendar #next {
	padding-right: 24px;
	padding-right: 1.714285714rem;
	text-align: right;
}
.widget_search label {
	display: block;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
.widget_twitter li {
	list-style-type: none;
}
.widget_twitter .timesince {
	display: block;
	text-align: right;
}


/* =Plugins
----------------------------------------------- */

img#wpstats {
	display: block;
	margin: 0 auto 24px;
	margin: 0 auto 1.714285714rem;
}


/* =Media queries
-------------------------------------------------------------- */

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	.author-avatar {
		float: left;
		margin-top: 8px;
		margin-top: 0.571428571rem;
	}
	.author-description {
		float: right;
		width: 80%;
	}
	.site {
		margin: 0 auto;
		max-width: 960px;
		max-width: 68.571428571rem;
		overflow: hidden;
	}
	.site-content {
		float: left;
		width: 65.104166667%;
	}
	body.template-front-page .site-content,
	body.single-attachment .site-content,
	body.full-width .site-content {
		width: 100%;
	}
	.widget-area {
		float: right;
		width: 26.041666667%;
	}
	.site-header h1,
	.site-header h2 {
		text-align: left;
	}
	.site-header h1 {
		font-size: 26px;
		font-size: 1.857142857rem;
		line-height: 1.846153846;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		border-bottom: 1px solid #ededed;
		border-top: 1px solid #ededed;
		display: inline-block !important;
		text-align: left;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
	}
	.main-navigation li a {
		border-bottom: 0;
		color: #800000;
		line-height: 3.692307692;
		text-transform: uppercase;
		font-weight: bold;
	}
	.main-navigation li a:hover {
		color: #000;
	}
	.main-navigation li {
		margin: 0 40px 0 0;
		margin: 0 2.857142857rem 0 0;
		position: relative;
	}
	.main-navigation li ul {
		display: none;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul {
		border-left: 0;
		display: block;
	}
	.main-navigation li ul li a {
		background: #efefef;
		border-bottom: 1px solid #ededed;
		display: block;
		font-size: 11px;
		font-size: 0.785714286rem;
		line-height: 2.181818182;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
	}
	.main-navigation li ul li a:hover {
		background: #e3e3e3;
		color: #444;
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #636363;
		font-weight: bold;
	}
	.menu-toggle {
		display: none;
	}
	.menu-custom {
		display: none;
	}
	.entry-header .entry-title {
		font-size: 22px;
		font-size: 1.571428571rem;
	}
	#respond form input[type="text"] {
		width: 46.333333333%;
	}
	#respond form textarea.blog-textarea {
		width: 79.666666667%;
	}
	.template-front-page .site-content,
	.template-front-page article {
		overflow: hidden;
	}
	.template-front-page.has-post-thumbnail article {
		float: left;
		width: 47.916666667%;
	}
	.entry-page-image {
		float: right;
		margin-bottom: 0;
		width: 47.916666667%;
	}
	.template-front-page .widget-area .widget,
	.template-front-page.two-sidebars .widget-area .front-widgets {
		float: left;
		width: 51.875%;
		margin-bottom: 24px;
		margin-bottom: 1.714285714rem;
	}
	.template-front-page .widget-area .widget:nth-child(odd) {
		clear: right;
	}
	.template-front-page .widget-area .widget:nth-child(even),
	.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
		float: right;
		width: 39.0625%;
		margin: 0 0 24px;
		margin: 0 0 1.714285714rem;
	}
	.template-front-page.two-sidebars .widget,
	.template-front-page.two-sidebars .widget:nth-child(even) {
		float: none;
		width: auto;
	}
}

/* Minimum width of 960 pixels. */
@media screen and (min-width: 960px) {
	html {
		font-size: 87.5%;
	}
	body {
		font-size: 14px;
		font-size: 1rem;
		background-color: #f4f4f4;
		color: #000;
		text-align: justify;
	}
	body .site {
		padding: 0 40px;
		padding: 0 2.857142857rem;
		margin-top: 0px;
		margin-top: 0rem;
		margin-bottom: 0px;
		margin-bottom: 0rem;

	}
	body.custom-background-empty {
		background-color: #fff;
	}
	body.custom-background-empty .site,
	body.custom-background-white .site {
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
		box-shadow: none;
	}

}






/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		font-size: 10pt;
	}
	footer a[rel=bookmark]:link:after,
	footer a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	a {
		text-decoration: none;
	}
	.entry-content img,
	.comment-content img,
	.author-avatar img,
	img.wp-post-image {
		border-radius: 0;
		box-shadow: none;
	}
	.site {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	.site-header {
		margin-bottom: 72px;
		margin-bottom: 5.142857143rem;
		text-align: left;
	}
	.site-header h1 {
		font-size: 21pt;
		line-height: 1;
		text-align: left;
	}
	.site-header h2 {
		font-size: 10pt;
		text-align: left;
	}
	.author-avatar,
	#colophon,
	#respond,
	.commentlist .comment-edit-link,
	.commentlist .reply,
	.entry-header .comments-link,
	.entry-meta .edit-link a,
	.page-link,
	.site-content nav,
	.widget-area,
	img.header-image,
	.main-navigation {
		display: none;
	}
	.wrapper {
		border-top: none;
		box-shadow: none;
	}
	.site-content {
		float: left;
		margin: 0;
		width: 100%;
	}
	.site-content {
		margin: 0;
		width: auto;
	}
	.singular .entry-header .entry-meta {
		position: static;
	}
	.singular .site-content,
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular .comments-title {
		margin: 0;
		width: 100%;
	}
	.entry-header .entry-title,
	.entry-title,
	.singular .entry-title {
		font-size: 21pt;
	}
	footer.entry-meta,
	footer.entry-meta a {
		color: #444;
		font-size: 10pt;
	}
	.author-description {
		float: none;
		width: auto;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		position: relative;
		width: auto;
	}
	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}
	.comments-area article header cite,
	.comments-area article header time {
		margin-left: 50px;
		margin-left: 3.57142857rem;
	}
}


/* =IE 7 and 8
----------------------------------------------- */

.ie .skip-link,
.ie .screen-reader-text,
.ie .assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE7 */
}
.ie .site {
	margin: 48px auto;
	max-width: 960px;
}
.ie .site-content {
	float: left;
	width: 65.104166667%;
}
.ie .full-width .site-content {
	float: none;
	width: 100%;
}
.ie .widget-area {
	float: right;
	width: 26.041666667%;
}
.ie img.size-full,
.ie img.size-large,
.ie img.header-image,
.ie img.wp-post-image {
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
}

/* =Avalon layout
----------------------------------------------- */

:root {
	color-scheme: dark;
	--avalon-bg: #111111;
	--avalon-bg-soft: #161616;
	--avalon-panel: rgba(21, 21, 21, 0.88);
	--avalon-border: rgba(255, 255, 255, 0.09);
	--avalon-border-strong: rgba(255, 255, 255, 0.14);
	--avalon-text: #f4f4f4;
	--avalon-muted: #b9b9b9;
	--avalon-link: #ff6268;
	--avalon-link-hover: #ff7272;
	--avalon-link-deep: #800000;
	--avalon-topbar-height: 58px;
	--avalon-sidebar-width: 286px;
	--avalon-content-width: 720px;
}

:root[data-avalon-theme="light"] {
	color-scheme: light;
	--avalon-bg: #f4f4f4;
	--avalon-bg-soft: #ffffff;
	--avalon-panel: rgba(255, 255, 255, 0.94);
	--avalon-border: rgba(0, 0, 0, 0.11);
	--avalon-border-strong: rgba(0, 0, 0, 0.18);
	--avalon-text: #111111;
	--avalon-muted: #555555;
	--avalon-link: #800000;
	--avalon-link-hover: #0f3647;
	--avalon-link-deep: #800000;
}

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

body,
body.custom-background-empty,
body.custom-background-white {
	background:
		radial-gradient(circle at 54% -18%, rgba(255, 255, 255, 0.07), transparent 34rem),
		linear-gradient(180deg, var(--avalon-bg-soft) 0%, var(--avalon-bg) 42%, var(--avalon-bg) 100%);
	color: var(--avalon-text);
	text-align: left;
}

:root[data-avalon-theme="light"] body,
:root[data-avalon-theme="light"] body.custom-background-empty,
:root[data-avalon-theme="light"] body.custom-background-white {
	background: var(--avalon-bg);
}

a,
.entry-content a,
.comment-content a {
	color: var(--avalon-link);
}

a:hover,
.entry-content a:hover,
.comment-content a:hover {
	color: var(--avalon-link-hover);
}

body .site,
body.custom-background-empty .site,
body.custom-background-white .site {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.avalon-legacy-branding,
.avalon-legacy-navigation,
.header-image {
	display: none;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	padding: 0;
	background: var(--avalon-panel);
	border-bottom: 1px solid var(--avalon-border);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(16px);
}

.avalon-topbar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--avalon-topbar-height);
	padding: 0 28px;
}

.avalon-site-title {
	color: var(--avalon-link);
	display: inline-block;
	font-family: Cinzel, Georgia, serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transform: translateY(2px);
	white-space: nowrap;
}

.avalon-site-title:hover,
.avalon-site-title:focus {
	color: var(--avalon-link);
}

.avalon-main-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.avalon-main-nav a,
.avalon-nav-menu a {
	border-radius: 6px;
	color: var(--avalon-text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.avalon-main-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
}

.avalon-main-nav a:hover,
.avalon-main-nav a:focus,
.avalon-nav-menu a:hover,
.avalon-nav-menu a:focus {
	background: rgba(255, 255, 255, 0.06);
	color: var(--avalon-text);
}

:root[data-avalon-theme="light"] .avalon-main-nav a:hover,
:root[data-avalon-theme="light"] .avalon-main-nav a:focus,
:root[data-avalon-theme="light"] .avalon-nav-menu a:hover,
:root[data-avalon-theme="light"] .avalon-nav-menu a:focus {
	background: rgba(0, 0, 0, 0.06);
}

.avalon-sidebar-toggle,
.avalon-nav-toggle {
	display: none;
	width: 38px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--avalon-border);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
}

.avalon-sidebar-toggle span,
.avalon-nav-toggle span {
	display: block;
}

.avalon-nav-toggle {
	margin-left: auto;
}

.avalon-sidebar-toggle {
	position: relative;
}

.avalon-sidebar-toggle span:first-child {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 18px;
	border: 2px solid var(--avalon-text);
	border-radius: 2px;
	transform: translate(-50%, -50%);
}

.avalon-sidebar-toggle span:last-child {
	position: absolute;
	top: 50%;
	left: calc(50% - 4px);
	width: 2px;
	height: 14px;
	border-radius: 99px;
	background: var(--avalon-text);
	transform: translateY(-50%);
}

.avalon-nav-toggle span {
	width: 0;
	height: 0;
	margin: 0 auto;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 7px solid var(--avalon-text);
	transform: translateY(1px);
}

.avalon-nav-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 28px;
	display: none;
	min-width: 150px;
	padding: 6px;
	border: 1px solid var(--avalon-border);
	border-radius: 8px;
	background: var(--avalon-panel);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.avalon-nav-menu a {
	display: block;
	padding: 9px 10px;
}

body.avalon-nav-open .avalon-nav-menu {
	display: block;
}

#main.wrapper {
	display: grid;
	grid-template-columns: var(--avalon-sidebar-width) minmax(0, 1fr);
	min-height: calc(100vh - var(--avalon-topbar-height));
	padding-top: var(--avalon-topbar-height);
	border-top: 0;
}

.site-content {
	grid-column: 2;
	grid-row: 1;
	float: none;
	width: auto;
	margin: 0;
	min-width: 0;
	padding: 24px 36px 82px;
}

#content {
	width: min(100%, var(--avalon-content-width));
	margin: 0 auto;
}

body.full-width .site-content {
	grid-column: 2;
}

body.full-width #secondary.widget-area + .site-content,
body.full-width .site-content:first-child {
	grid-column: 1 / -1;
}

.widget-area {
	float: none;
	width: auto;
	margin: 0;
}

#secondary.widget-area {
	grid-column: 1;
	grid-row: 1;
	position: sticky;
	top: var(--avalon-topbar-height);
	align-self: start;
	height: calc(100vh - var(--avalon-topbar-height));
	height: calc(100dvh - var(--avalon-topbar-height));
	border-right: 1px solid var(--avalon-border);
	background: rgba(21, 21, 21, 0.74);
	overflow: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.template-front-page #secondary.widget-area {
	padding-top: 0;
	border-top: 0;
}

:root[data-avalon-theme="light"] #secondary.widget-area {
	background: rgba(255, 255, 255, 0.86);
}

.avalon-sidebar-inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 24px 28px 38px;
}

.widget-area .widget:empty,
.widget-area .widget_text:has(.textwidget:empty),
.widget-area .widget_text .textwidget:empty {
	display: none;
}

.widget-area .widget {
	margin: 0 0 22px;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--avalon-border);
}

.widget-area .widget h3 {
	color: var(--avalon-text);
	font-size: 11px;
	font-weight: bold;
	line-height: 1.4;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.widget-area .widget p,
.widget-area .widget li,
.widget-area .widget .textwidget {
	color: var(--avalon-text);
	font-size: 14px;
	line-height: 1.4;
	text-align: left;
}

.widget-area .widget a,
.widget-area .widget a:link,
.widget-area .widget a:visited,
.widget-area .widget li a,
.widget-area .widget li a:link,
.widget-area .widget li a:visited {
	color: var(--avalon-text) !important;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
}

.widget-area .arpw-widget-random a,
.widget-area .arpw-widget-random a:visited,
.widget-area .arpw-widget-random .arpw-title,
.widget-area .arpw-widget-random .arpw-title:visited {
	color: var(--avalon-text) !important;
	text-decoration: none;
}

.widget-area .widget a:hover {
	color: var(--avalon-link) !important;
	text-decoration: none;
}

.widget-area .arpw-widget-random a:hover,
.widget-area .arpw-widget-random .arpw-title:hover {
	color: var(--avalon-link) !important;
}

.widget-area .textwidget p a,
.widget-area .widget_text p a {
	color: var(--avalon-link) !important;
	text-decoration: none;
}

.widget-area .textwidget p a font,
.widget-area .textwidget p a font[color],
.widget-area .widget_text p a font,
.widget-area .widget_text p a font[color] {
	color: var(--avalon-link) !important;
	text-decoration: none;
}

.widget-area .textwidget p a:hover,
.widget-area .widget_text p a:hover {
	color: var(--avalon-link-hover) !important;
}

.widget-area .textwidget p a:hover font,
.widget-area .textwidget p a:hover font[color],
.widget-area .widget_text p a:hover font,
.widget-area .widget_text p a:hover font[color] {
	color: var(--avalon-link-hover) !important;
	text-decoration: none;
}

.avalon-sidebar-utility {
	margin-top: auto;
	padding-top: 10px;
}

.avalon-theme-toggle {
	position: relative;
	width: 42px;
	height: 22px;
	padding: 0;
	border: 1px solid var(--avalon-border-strong);
	border-radius: 999px;
	background: #252525;
	cursor: pointer;
}

.avalon-theme-toggle-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #f4f4f4;
	box-shadow: inset -4px -2px 0 #b9b9b9;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

:root[data-avalon-theme="light"] .avalon-theme-toggle {
	background: #f4f4f4;
}

:root[data-avalon-theme="light"] .avalon-theme-toggle-knob {
	background: #800000;
	box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.12);
	transform: translateX(20px);
}

.avalon-sidebar-copyright,
.avalon-sidebar-edit {
	margin-top: 14px;
	color: var(--avalon-muted);
	font-size: 11px;
	line-height: 1.4;
}

.avalon-sidebar-edit {
	margin-top: 6px;
}

.avalon-sidebar-edit a {
	color: var(--avalon-muted);
}

.avalon-sidebar-edit a:hover {
	color: var(--avalon-link);
}

footer[role="contentinfo"] {
	display: none;
}

.site-content article {
	margin-bottom: 14px;
	padding-bottom: 24px;
}

.entry-title,
.entry-header .entry-title,
.entry-content,
.entry-summary,
.comment-content,
footer.entry-meta,
.nav-single,
.comments-area {
	color: var(--avalon-text);
}

.entry-title,
.entry-header .entry-title {
	font-weight: 600;
}

.entry-content p,
.entry-summary p,
.comment-content p {
	color: var(--avalon-text);
	font-size: 16px;
	line-height: 1.7;
}

.entry-content .avalon-book-title {
	color: var(--avalon-link);
}

.entry-content pre,
.comment-content pre {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--avalon-border);
	color: var(--avalon-text);
}

:root[data-avalon-theme="light"] .entry-content pre,
:root[data-avalon-theme="light"] .comment-content pre {
	background: #ffffff;
}

.template-front-page #content {
	width: 100%;
	max-width: none;
}

.template-front-page .site-content {
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	height: calc(100vh - var(--avalon-topbar-height));
	min-height: 0;
	padding: 24px 36px;
}

.avalon-home-image {
	width: 100%;
	height: calc(100vh - var(--avalon-topbar-height) - 48px);
	margin: 0 auto;
}

.avalon-home-image picture,
.avalon-home-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.avalon-home-image img {
	object-fit: contain;
	object-position: center;
}

.avalon-sidebar-scrim {
	display: none;
}

@media screen and (min-width: 1180px) {
	.site-content {
		padding-right: calc(var(--avalon-sidebar-width) + 36px);
	}

	.template-front-page .site-content {
		padding-right: 36px;
	}
}

@media screen and (max-width: 880px) {
	:root {
		--avalon-topbar-height: 56px;
	}

	.avalon-topbar {
		padding: 0 22px;
	}

	.avalon-sidebar-toggle {
		display: block;
	}

	.avalon-site-title {
		font-size: 18px;
	}

	#main.wrapper {
		display: block;
	}

	.site-content {
		grid-column: auto;
	}

	#secondary.widget-area {
		position: fixed;
		z-index: 35;
		top: var(--avalon-topbar-height);
		left: 0;
		width: min(82vw, 310px);
		transform: translateX(-100%);
		transition: transform 180ms ease;
		box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
		background: var(--avalon-panel);
	}

body.avalon-sidebar-open #secondary.widget-area {
	transform: translateX(0);
}

	body.avalon-sidebar-open {
		overflow: hidden;
	}

	.avalon-sidebar-scrim {
		position: fixed;
		z-index: 30;
		inset: var(--avalon-topbar-height) 0 0;
		inset: var(--avalon-topbar-height) 0 auto 0;
		height: calc(100dvh - var(--avalon-topbar-height));
		display: block;
		border: 0;
		background: rgba(0, 0, 0, 0.46);
		opacity: 0;
		pointer-events: none;
		transition: opacity 180ms ease;
	}

	body.avalon-sidebar-open .avalon-sidebar-scrim {
		opacity: 1;
		pointer-events: auto;
	}

	.site-content {
		padding: 42px 22px 70px;
	}

	.template-front-page .site-content {
		padding: 12px 18px;
	}

	.template-front-page .avalon-home-image {
		height: calc(100vh - var(--avalon-topbar-height) - 24px);
		height: calc(100dvh - var(--avalon-topbar-height) - 24px);
	}
}

@media screen and (max-width: 680px) {
	.avalon-main-nav {
		display: none;
	}

	.avalon-nav-toggle {
		display: block;
	}
}

@media screen and (max-width: 520px) {
	.site-content {
		padding-left: 18px;
		padding-right: 18px;
	}
}
