/*!
Theme Name: Old Paper & Cats
Theme URI: https://oldpaper.uglyporcelaincat.com
Author: Jeanne H. Walton
Author URI: https://uglyporcelaincat.com
Description: An off-shoot site of The Ugly Porcelain Cat, Old Paper & Cats is S. Hargrave's personal book review blog, featuring musings on antiquarian and classic books. This is a versatile blog design featuring a sidebar option.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: oldpaper
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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.

Old Paper & Cats is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*
COLOUR SCHEME
#040403 - RICH BLACK
#6b0504 - BLOOD RED
#63462c - COFFEE
#b79c6e - CAMEL (only used for comments)
#fbb726 - SELECTIVE YELLOW
#fefefc - OFF-WHITE
*/

/* Breakpoints: min-width 376px and min-width 781px */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 75%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
button,
input,
select,
optgroup,
textarea {
	color: #040403;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	clear: both;
}

p {
	line-height: 1.2;
	margin-bottom: 1.5em;
}

dfn, 
cite, 
em, 
i {
	font-style: italic;
}

dfn {
	color: #6b0504 ;
}

dt {
	color: #6b0504;
}

dd {
	color: #63462c;
	font-style: italic;
}

blockquote {
	color: #6b0504;
	font-family: 'Cormorant';
	font-style: italic;
	font-size: 1.2em;
	margin: 0 2em;
}

blockquote > em {
	font-style: normal;
}

address {
	margin: 0 0 1.5em;
}

pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, 
kbd, 
tt, 
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, 
acronym {
	border-bottom: 1px dotted #6b0504;
	color: #6b0504;
	cursor: help;
}

mark, 
ins {
	background: #fbb726;
	text-decoration: none;
}

big {
	font-size: 125%;
}

s, 
del {
	color:#6b0504;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fefefc;
	/* Fallback for when there is no custom background color defined. */
	color: #040403;
	font-family: 'Baskervville', 'Cormorant', Times, serif;
	font-size: 16px;
	line-height: 1;
}

#front-page {
	background-color: transparent;
	margin: 0;
	max-width: 100%;
}

#page {
	margin: 0;
	max-width: 100;
}

.site-content {
	background-color: #fefefc;
	margin: 0;
	max-width: 100%;
	padding: 2%;
}

header {
	margin: 0;
	padding: 0 1rem;
	text-align: left;
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	color: #6b0504;
	font-family: 'Cinzel', 'Baskervville', 'Cormorant', serif;
	font-weight: 100;
}

h1 {
	font-size: 2em;
}

h1.site-title {
	color: #fefefc;
	font-size: 2em;
	margin: 0;
}

h1.site-title a {
	color: #fefefc;
	text-decoration: none;
}

h1.site-title a:visited {
	color: #fefefc;
	text-decoration: none;
}

header.site-header {
	background-color: rgba(4, 4, 3, 0.3);
	line-height: 0.8;
	padding: 50px 3% 30px 5%;
}

/* Front Page */

.fun-header {
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

header.front-site-header {
	background-attachment: fixed;
	background-color: rgba(4, 4, 3, 0.8);
	background-image: url('/wp-content/themes/oldpaper/catshelfbackground375.webp');
	background-position: center top;
	background-repeat: no-repeat;
	line-height: 0.8;
	max-height: 375px;
	padding: 210px 0 75px;
}

.admin-bar header.front-site-header {
	max-height: 329px;
}

p.site-title {
	color: #040403;
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;	
	font-size: 50px;
	font-variant: small-caps;
	font-weight: 100;
	margin: 0;
}

p.site-title a {
	color: #040403;
	text-decoration: none;
}

p.site-title a:hover, 
p.site-title a:focus, 
p.site-title a:visited {
	color: #040403;
	text-decoration: none;
}

p.site-description {
	color: #fbb726;
	font-size: 17px;
	font-style: italic;
	margin: 0;
	padding: 10px 0 15px;
}

.site-branding {
	background: rgba(4, 4, 3, 0.8);
	border-top: 1px solid #fbb726;
	padding: 10px;
	text-align: center;
	width: 100%;
}

.front-posts {
	border-top: 1px solid #fbb726;
	border-left: 1px solid #fbb726;
	color: #63462c;
	margin: 1em 0;
	padding: 0 1em;
}

.entry-header {
	padding: 0;
	text-align: left;
}


@media screen and (min-width: 376px) {
	header.front-site-header {
		background-image: url('/wp-content/themes/oldpaper/catshelf780.webp');
		max-height: 400px;
		padding: 245px 5% 150px 5%;
	}
	.admin-bar header.front-site-header {
		max-height: 400px;
	}
	.site-branding {
		max-width: 375px;
		text-align: left;
		width: 375px;
	}
}

@media screen and (min-width: 781px) {
	header.front-site-header {
		background-image: url('/wp-content/themes/oldpaper/catshelfbackground.webp');
		background-size: 100%;
		max-height: 729px;
		padding: 20% 5% calc(5% - 20px) 5%;
	}
	.admin-bar header.front-site-header {
		max-height: 697px;
	}
	p.site-description {
		padding: 10px 0 0;
	}
	.site-branding {
		max-width: 100%;
		width: max-content;
		border-bottom: 1px solid #fbb726;
	}
	.front-posts {
		max-width: 48%;
	}
}

@media screen and (min-width: 1200px) {
	.front-posts {
		max-width: 32%;
	}
}

/* Archive Pages */

h1.entry-title {
	margin-bottom: 0;
}

header.archive-header {
	text-align: center;
}

.archive-description {
	text-align: left;
	text-indent: 1.5em;
}

.archive-description p:first-child {
	text-align: center;
	text-indent: 0;
}

header.entry-header-archive {
	float: left;
	margin-top: -1px;
	max-width: 50%;
	padding: 0 5px 0 0;
	text-align: left;
}

.book-author-etc {
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;
	margin: 5px 0;
}

.book-author-etc a {
	text-decoration: none;
}

h2.entry-title, 
h2.entry-title a {
	color: #040403;
	text-decoration: none;
}

h2.entry-title a:visited {
	color: #040403;
}

h2.reviews a {
	text-decoration: none;
}

h2.tax-list {
	text-align: center;
}

a.archive-excerpt {
	color: #040403;
	text-decoration: none;
}

a.archive-excerpt:hover, 
a.archive-excerpt:visited, 
a.archive-excerpt:focus {
	color: #040403;
	text-decoration: none;
}

.book-author-archive, 
.book-author-archive a {
	color: #63462c;
	font-size: 1.1em;
	line-height: 1.6;
}

.book-author-archive a:visited {
	color: #63462c;
}

.archive-thumbs {
	margin: 0 auto;
	max-width: 100%;
}

.entry-summary-archive {
	clear: both;
	padding-top: 1em;
}

br.top {
	margin-bottom: 8px
}

.book-edtrans {
	font-size: 0.8em;
	font-style: italic;
}

.book-yoe {
	font-size: 0.8em;
	font-style: italic;
}

.entry-meta {
	font-size: 14px;
	margin: 5em auto 5em;
}

.entry-meta-archive {
    font-size: 14px;
    margin: 3em auto 3em;
}

.tax-refs {
	font-size: 0.8em;
	margin: auto;
	width: 75%;
}

nav {
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;
	font-weight: 100;
}

hr {
	background-color: transparent;
	border: none;
	border-top: 3px double #6b0504;
	height: 1px;
	margin: 1.5em auto;
    max-width: 75%;	
}

hr.post-end {
	width:100%;
	max-width:100%;
}

.auth-list {
	width: 90%;
}

.tax-lists {
	width: 50%;
	margin: auto;
}

@media screen and (max-width:550px) {
	.tax-lists {
		width: 90%;
	}
}

ul, 
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: "\2767";
}

ul.era-list {
	margin: 25px 0 0;
	padding: 0;
}

ul.era-list li {
	font-size: 1.2em;
	font-weight: 600;
	list-style: none;
	margin: 0;
	margin-bottom: 15px;
	text-align: center;
}

ul.era-list li a {
	display: block;
}

ul.tax-list {
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: center;
}

ul.tax-list li {
	display: inline-block;
	float: none;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	margin: 1em 10px;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-family: 'Cinzel', 'Baskervville', Times, serif;
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

details {
	color: #63462c;
}

summary {
	color: #6b0504;
	font-family: 'Cinzel', 'Baskervville', Times, serif;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

div.hr-end-comm {
	clear: both;
	padding-top: 1em;
}

.posted-on, 
.posted-on a {
	font-variant: small-caps;
	text-decoration: none;
}

.byline, 
.byline a {
	font-variant: small-caps;
	text-decoration: none;
}

.cat-model, 
.cat-model a {
	font-size: 20px;
	font-variant: small-caps;
	text-decoration: none;
}

.tags-links, 
.tags-links a {
	font-variant: small-caps;
	text-decoration: none;
}

.edit-link {
	text-align: center;
}

.edit-link a {
	font-family: sans-serif;
	font-size: 0.8em;
	text-decoration: none;
}

.edit-link a:hover {
	color: #fbb726;
	text-decoration: underline;
}

footer {
	margin: 1em auto;
}

footer.site-footer {
	background-color: #6b0504;
	color: #fefefc;
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;
	margin: 0 auto;
	padding: 1em;
	text-align: center;
}

.site-info {
	color: #fefefc;
	font-size: 14px;
}

.site-info a, 
.site-info a:visited {
	color: #fefefc;
	font-style: italic;
}

/*Archive display for small screens*/
@media screen and (max-width:800px) {
	header.entry-header-archive {
		float: none;
		max-width: 100%;
		padding: 0;
		text-align: left;
	}
	.archive-thumbs {
		max-width: 100%;
	}
	.entry-summary-archive {
		clear: both;
		padding-top: 1em;
	}
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #6b0504;
	border: 1px solid #fefefc;
	border-radius: 0;
	color: #fefefc;
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	margin: auto;
	outline: 4px solid #6b0504;
	padding: 10px 30px;
	text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #fefefc;
	color: #6b0504;
}

button:active, 
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #63462c;
}

input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #6b0504;
	background-color: #fefefc;
	border: 1px solid #63462c;
	border-radius: 3px;
	margin: 0 auto 1em;
	padding: 5px 10px;
}

input,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	border-color: #6b0504;
	color: #040403;
}

select {
	background-color: #fefefc;
	border: 1px solid #63462c;
	border-radius: 3px;
	color: #63462c;
	margin: 0 auto 1em;
	min-width: 200px;
}

textarea {
	background-color: #fefefc;
	width: 100%;
}

label {
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;
	margin-top: 1em;
}

fieldset {
	color: #63462c;
	background-color: #fefefc;
	border: 1px solid #63462c;
	border-radius: 3px;
	margin: 0 auto 1em;
}

[type="search"] {
	display: inline-block;
	height: 44px;
	margin-right: 1em;
	width: 85%;
}


/* Small Screens */

@media screen and (max-width:500px) {

}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #6b0504;
}

a:visited {
	color: #6b0504;
}

a:hover, 
a:focus, 
a:active {
	color: #fbb726;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	font-size: 20px;
	width: 100%;
}

.main-navigation ul {
	background-color: rgba(4, 4, 3, 0.8);
	border-bottom: 1px solid #fbb726;
	height: 30px;
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: center;
}

.main-navigation ul li {
	display: inline-block;
}

.main-navigation li a {
	background-color: transparent;
	color: #fefefc;
	display: inline-block;
	float: right;
	position: relative;
	padding: 0 0.4em;
}

.main-navigation li a:hover, 
.main-navigation li a:focus {
	color: #fbb726;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(63, 31, 13, 0.2);
	float: left;
	left: -999em;
	position: absolute;
	text-align: left;
	top: 100%;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
	padding: 5px;
}

.main-navigation ul ul li:first-child {
	padding-top: 10px;
}

.main-navigation ul ul li:last-child {
	padding-bottom: 10px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.site-main .comment-navigation, 
.site-main .posts-navigation, 
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

@media screen and (min-width: 376px) {
	.main-navigation {
		width: 375px;
	}
	.main-navigation ul {
		text-align: left;
	}
}

@media screen and (min-width: 781px) {
	.main-navigation {
		display: flex;
		flex-direction: row-reverse;
		margin-top: 10px;
		width: 100%;
	}
	.main-navigation ul {
		border-top: 1px solid #fbb726;
		height: 40px;
		padding: 10px;
		text-align: right;
		width: max-content;
	}
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #6b0504;
	box-shadow: 0 0 2px 2px rgba(4, 4, 3, 0.7);
	clip: auto !important;
	clip-path: none;
	color: #fefefc;
	display: block;
	font-size: 18px;
	font-size: 1.4rem;
	font-variant: small-caps;
	font-weight: normal;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 25px 15px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

#wpadminbar .screen-reader-shortcut:focus {
	background: #6b0504;
	box-shadow: 0 0 2px 2px rgba(4, 4, 3, .6);
	color: #fefefc;
	font-size: 18px;
	left: 5px;
	padding: 15px 25px 15px;
	top: 37px;
}

@media screen (min-width: 780px) {
	#wpadminbar .screen-reader-shortcut:focus {
		top: 37px;
	}
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

body.page {
	margin:0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.main-front-posts {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.bypostauthor .comment-author, 
.bypostauthor .comment-author a {
	color: #fefefc;
}

.bypostauthor .comment-author a:visited {
	color: #fefefc;
}

.bypostauthor .comment-body {
	background-color: #6b0504;
	border-left: 4px solid  #040403;
}

.comment-meta {
	color: #fefefc;
	padding-left: 10px;
	text-align: left;
}

.comment-meta a {
	color: #fefefc;
}

.comment-meta a:visited {
	color: #fefefc;
}

.comment-author, 
.comment-author a {
	color: #63462c;
	font-family: 'Cinzel', 'Baskervville', serif;
	padding-top: 10px;
}

.comment-author a:visited {
	color: #63462c;
}

.comment-metadata {
	font-size: 0.6em;
	line-height: 1;
	padding-top: 10px;
}

.comment-metadata .edit-link {
	padding-left: 30px;
}

.says {
	display: none;
	height: 0;
	width: 0;
}

.comment-body {
	background-color: #b79c6e;
	border-left: 4px solid  #63462c;
}

.comment-content {
	background-color: #fefefc;
	line-height: 1.2;
	padding: 10px;
}

.comment-content p {
	margin: 0;
	padding-bottom: 10px;
}

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

ol.comment-list {
	list-style-type: none;
	margin: 0;
	padding-left: 10px;
}

li > ol.children {
	padding-left: 10px
}

.reply {
	background-color: #fefefc;
	padding: 20px 10px 5px;
}	

.pagination {
	font-family: 'Cinzel', 'Baskervville', Georgia, serif;
	text-align: right;
}

.pagination-bottom {
	padding-top: 25px;
	padding-bottom: 25px;
}

.pagination a.next {
	padding-left: 15px;
	text-decoration: none;
}

.pagination a.prev {
	padding-right: 15px;
	text-decoration: none;
}

/* Tighten reply lists on small screens and add bigger 'Post Comment' button.*/

@media screen and (max-width:800px) {
	ol.comment-list {
		padding-left: 0;
	}
	li > ol.children {
		padding-left: 5px;
		margin-left: 10px;
	}
	form.comment-form input.submit {
		width: 100%;
	}
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

img.attachment-post-thumbnail {
	border-top: 4px solid #6b0504;
	border-bottom: 4px solid #6b0504;
}

.wp-block-image {
	margin: 1em auto 2em;
	text-align: center;
	width: 75%;
}

.wp-block-image img {
	border: 2px solid #6b0504;
}

.wp-block-image figcaption {
	color: #6b0504;
	font-size: 0.85em;
	font-style: italic;
}

.wp-block-gallery .blocks-gallery-item figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption {
	bottom: auto;
	color: #fefefc;
	font-size: 1.2em;
}

.wp-block-gallery .blocks-gallery-item figcaption a,
.blocks-gallery-grid .blocks-gallery-item figcaption a {
	color: #fefefc;
}

.wp-block-gallery .blocks-gallery-item figcaption a:hover,
.blocks-gallery-grid .blocks-gallery-item figcaption a:hover,
.wp-block-gallery .blocks-gallery-item figcaption a:active,
.blocks-gallery-grid .blocks-gallery-item figcaption a:active {
	color: #fbb726;
}

.wp-block-gallery.is-cropped .blocks-gallery-item a {
	display: block;
	width: 100%;
}


/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

@media screen and (max-width:1100px) {
	.wp-block-image {
		width: 100%;
	}
}


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* Old Safari gallery block fix */

.wp-block-gallery .blocks-gallery-image figure, 
.wp-block-gallery .blocks-gallery-item figure { 
	height: auto; 
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

section.widget {
	border: 2px double #63462c;
	color: #63462c;
}

section.widget a {
	text-decoration: none;
	word-wrap: break-word;
}

aside.widget-area > section:first-child {
	border:none;
}

.widget-media-image {
	margin:0 auto -1.5em;
	width:100%;	
}

.widget-media-image img {
	border: none;
}

.widget_search {
	border: none;
}

.widget h4 {
	color: #040403;
	margin: 1em;
}

.widget h4 a, 
.widget h4 a:visited {
	color: #040403;
}

.content-area {
	float: left;
	margin: 0 -25% 0 0;
	width: 100%;
}

.site-main {
	margin: 60px 25% 0 0;
	padding: 0 5%;
}
.site-content .widget-area {
	float: right;
	overflow: hidden;
	width: 25%;
}

.widget-area {
	text-align: center;
}

aside.widget-area {
	margin-top: 60px;
}

.widget_search input.search-submit {
	width: 85%;
}

.widget_search [type="search"] {
	width: 100%;
}

.widget-area ul {
	line-height: 1;
	margin: 10px;
	text-align: left;
	list-style: "\2767";
}

.widget-area ul li {
	padding-bottom: 10px;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
	list-style: "\2767";	
}

.cloudwidget {
	padding: 0 1em 10px;
}

.tag-cloud-link {
	padding-right: 2px;
}

.site-footer {
	clear: both;
	width: 100%;
}

.no-sidebar .content-area {
	float: none;
	margin-right: auto;
	margin-left: auto;
}
.no-sidebar .site-main {
	margin-right: 0;
}

/* Compress sidebar padding on small screens  */
@media screen and (max-width:1100px) {
	.cloudwidget {
		padding: 0 0.1em 10px;
	}
}

/* Hide sidebar on very small screens */
@media screen and (max-width: 800px) {
	.content-area {
		margin: 0 -25% 0 0;
	}
	.site-main {
		margin: 60px 0;
	}
	.site-content .widget-area {
		height: 0;
		visibility: hidden;
		width: 0;
	}
}

