/*
Theme Name: Harm's Workshop
Theme URI: https://www.harmsworkshop.com
Author: Harm op den Akker (based on Scaffold by DannyCooper)
Author URI: https://www.harmsworkshop.com
Description: Custom Theme for Harm's Workshop.com
Version: 1.0.0
License: Private
Text Domain: harmsworkshop
License URI: 
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog, e-commerce
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Structure
# Header
# Primary Nav
# Content
	## Posts and Pages
	## Content Navigation
	## Comments
# Sidebar
	## Widgets
# Footer
# Infinite Scroll
# Media
	## Captions
	## Galleries
# Responsive
--------------------------------------------------------------*/

:root {
	--menu-background-color: rgba(255,255,255,0);
	--color-vallejo-goblin-green: rgb(34,38,20);
	--color-goblin-green: rgb(64,182,84);
	--color-citadel-skrag-brown: rgb(139,72,7);
	--color-matomo-opt-out: rgb(110, 175, 63);
	--color-dark-orange: rgb(213, 119, 12);
	
	--color-link: #253e80;
	--color-link-hover: #3c59a9;
}

/* ---------- Fonts ---------- */

@font-face {
    font-family: 'Libre Baskerville';
    src: url(assets/fonts/LibreBaskerville-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url(assets/fonts/LibreBaskerville-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url(assets/fonts/LibreBaskerville-Italic.ttf);
    font-weight: normal;
	font-style: italic;
}

@font-face {
    font-family: 'Garamond';
    src: url(assets/fonts/Garamond-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: 'Garamond';
    src: url(assets/fonts/Garamond-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: 'Garamond';
    src: url(assets/fonts/Garamond-Italic.ttf);
    font-weight: normal;
	font-style: italic;
}

@font-face {
    font-family: 'CasablancaAntique';
    src: url(assets/fonts/CasablancaAntique.ttf);
    font-weight: normal;
}

@font-face {
    font-family: 'NewText';
    src: url(assets/fonts/Newtext-Regular.ttf);
    font-weight: normal;
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html {
	font-family: 'Garamond';
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a:active,
a:hover {
	outline: 0;
	color: var(--color-link-hover);
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

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

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body {
	color: #303135;
	font-family: 'Garamond';
	font-size: 20px;
	overflow-wrap: break-word;
	background-image: url("assets/img/paper-pattern.png");
  	background-repeat: repeat;
}

nav,
label,
input {
	font-family: 'Garamond';
	font-size: 14px
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Garamond';
	line-height: 1.25;
	color: #2d2e33;
}

h2.wp-block-heading {
	margin-top: 20px;
}

h3.wp-block-heading {
	line-height: 1.0;
	font-size: 1.1em;
	margin-top: 40px;
}

/* These are used for the Tutorial page (the heading links in the Media+Image blocks) */
.wp-block-media-text__content h2 {
	margin-top: 0px;
}

h3.wp-block-heading a {
	font-size: 1.2em;
	text-decoration: none;
	color: var(--color-link);
	
}

h3.wp-block-heading a:hover {
	text-decoration: none;
	color: var(--color-link-hover);
}

p {
	margin: 0 0 0.75em;
	text-align: justify;
	font-size: 1.15em;
}

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

blockquote {
	display: block;
	margin: 0px 10px 15px 10px;
	background-color: #fbe36a;
	padding: 5px;
	border: 1px solid black;
	font-size: 0.9em;
}

blockquote p {
	margin: 0;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	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;
}

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

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# 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 http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background-color: #fff; /* Fallback for when there is no custom background color defined. */
}

hr.wp-block-separator {
	width: 75%;
    margin: 0 auto;
	border: 0;
	border-top: none;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
	margin-top: 20px;
	margin-bottom: 20px;
}

.widget ul,
.widget ol {
	margin: 0;
	padding: 0 0 0 1em
}

.comments-area ol {
	list-style: none;
	padding: 0
}

ul {
	list-style: disc;
	font-size: 1.15em;
}

ol {
	list-style: decimal;
	font-size: 1.15em;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

/* Featured Images in the overview and on the page itself */
div.wp-block-latest-posts__featured-image img,
div.post-thumbnail img {
	border: 1px solid black;
	margin-bottom: 1.0em !important;
}

.post-thumbnail img {
  width: 100%;
  max-width: 1040px;
  height: auto; 
}

/* Images in general, and in image galleries */
figure.wp-block-gallery figure,
div.wp-block-image figure {
	border: 2px solid black;
}

/* Specific 'Warhammer Quest' Images */

div.whquest-image figure {
	outline-offset: 5px;
	outline: 1px solid rgb(148, 130, 14);
	box-shadow: none !important;
}

/* Images in the "Tutorial" Page (Media & Text blocks) */
figure.wp-block-media-text__media {
	border: 1px solid black;
}

/* Exception for the photo on the About page */
div.about-harm figure {
	border: none;
	box-shadow: none;
}

h2.wp-block-post-title {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(245,226,0);
	background-color: rgb(218,55,55);
	padding-top: 10px;
	padding-bottom: 0px;
	display: block;
	margin-bottom: 8px;
}

h2.wp-block-post-title a {
	color: rgb(245,226,0);
}

h2.wp-block-post-title a:hover {
	color: rgb(246, 242, 203);
}

figure.wp-block-post-featured-image {
	margin-bottom: 8px;
}

div.wp-block-latest-posts__post-excerpt {
	padding-bottom: 20px;
    background-image: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(0,0,0,1) 50%, rgba(255,255,255,0) 100%);
    background-size: 90% 1px;
    background-position: bottom center;
    background-repeat: no-repeat;
}

table {
	font-family: 'Garamond';
	margin: 0 0 1.5em;
	width: 100%;
	font-size: 0.8em;
}

table th {
	border-bottom: 2px solid;
	padding: 10px;
	text-align: left
}

table td {
	padding: 10px 10px 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

label {
	font-size: 14px;
	color: #9e9e9e;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background-color: #e6e6e6;
	padding: 8px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #eee #ddd #ccc;
}

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

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: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px;
}

select {
	border: 1px solid #ccc;
}

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 {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	background-color: transparent;
	color: var(--color-link);
	font-weight: bold;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: var(--color-link-hover);
}

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

.sidebar-1 a {
	text-decoration: none
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

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

.screen-reader-text {
	display: none;
}

/*--------------------------------------------------------------
# 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,
.wrapper:before,
.wrapper:after,
.navigation:before,
.navigation:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.wrapper:after,
.navigation:after {
	clear: both;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/

.wrapper {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
}

.site-content {
	padding-bottom: 25px
}

.page-template-full-width .content-area,
.post-template-full-width .content-area {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	text-align: center;
	min-height: 173px;
	padding: 50px 0;
}

.site-title {
	margin: 0;
	font-family: 'Garamond';
	font-weight: normal;
	font-size: 40px;
	line-height: 1.2
}

.site-title a {
	text-decoration: none;
	color: #253e80;
}

.site-description {
	color: #8e8e8e;
	margin: 0
}

img.custom-logo {
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	max-width: 60%;
}

/*--------------------------------------------------------------
# Primary Nav
--------------------------------------------------------------*/

.menu-1 {
	font-size: 1.4em;
	margin-bottom: 50px;
	background-color: transparent !important;
}

.menu-1 {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.menu-1 ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.menu-1 li {
	float: left;
	position: relative;
}

/* Align the navigation with the rest of the content. */
.menu-1 .nav-menu > li:first-child {
	margin-left: -20px
}

.menu-1 a {
	display: block;
	text-decoration: none;
	color: var(--color-dark-orange);
	padding: 20px;
}

.menu-1 ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
}

.menu-1 ul ul ul {
	left: -999em;
	top: 0;
}

.menu-1 ul ul a {
	width: 200px;
	text-align: left;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-1 ul ul li {
	background-color: transparent;
}

.menu-1 li:hover,
.menu-1 li.focus {
	background-color: none !important;
	text-decoration: underline !important;
}

.menu-1 ul li:hover > ul,
.menu-1 ul li.focus > ul {
	left: auto;
}

.menu-1 ul ul li:hover > ul,
.menu-1 ul ul li.focus > ul {
	left: 100%;
}

.menu-1 .sub-menu li:hover {
	background-color: #0c1a40
}

.menu-1 li.page_item_has_children > a:after,
.menu-1 li.menu-item-has-children > a:after {
	content: '\25bc';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}
.menu-1 li li.page_item_has_children > a:after,
.menu-1 li li.menu-item-has-children > a:after {
	content: '\25b6';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}


.menu-1 {
	background-color: transparent !important;
}
.menu-1 li:hover, .menu-1 li.focus {
	background-color: transparent !important;
}
.menu-1 ul ul li {
	background-color: transparent !important;
}
.menu-1 .sub-menu li:hover {
	background-color: transparent !important;
}
.menu-toggle {
	background-color: transparent !important;
}
.toggled .menu-toggle {
	background-color: transparent !important;
}


/* Small menu. */
.menu-toggle {
	display: none
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.content-area {
	width: 600px;
	float: left;
}

.post-thumbnail {
	margin-bottom: 16px
}

.entry-header {
	margin-bottom: 16px
}

.entry-title a {
	text-decoration: none;
	color: black;
}

.entry-meta {
	font-size: 14px;
	color: #929292
}
.entry-meta a {
	color: #929292;
	text-decoration: none
}

.edit-link {
	float: right;
}

.page .edit-link {
	float: none;
}

.entry-footer {
	border-bottom: 1px solid #e4e4e4;
	border-top: 1px solid #e4e4e4;
	padding: 20px 0;
	margin: 0 0 50px;
	font-size: 14px;
}

.entry-footer span {
	display: block;
}
.entry-footer a {
	text-decoration: none;
	color: #303135
}

.comments-closed .entry-footer {
	margin-bottom: 0;
}

.more-link {
	text-decoration: none;
}

/*--------------------------------------------------------------
## Posts and Pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.blog .hentry {
	margin: 0 0 3em;
}

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

.single .byline,
.group-blog .byline {
	display: inline;
}

/*--------------------------------------------------------------
## Archives
--------------------------------------------------------------*/

.archive-header {
	margin-bottom: 25px;
}

.archive-header .archive-title {
	font-size: 24px
}

.archive-header .archive-description {
	font-size: 16px;
	border-bottom: 1px solid #e4e4e4;
}

.archive .post {
	margin-bottom: 50px;
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 26px;
}

/*--------------------------------------------------------------
## Content Navigation
--------------------------------------------------------------*/

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

.post-navigation,
.posts-navigation {
	margin-bottom: 25px;
}

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

.nav-links a {
	text-decoration: none;
	color: #303135;
}

.post-navigation .nav-links a  {
	font-weight: bold
}
.post-navigation .nav-links a span {
	text-decoration: underline;
	font-weight: normal
}

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

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

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comments-area .comment-body {
	border-bottom: 1px solid #e4e4e4;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.comments-area ul.children {
	margin: 0 0 0 25px;
	padding: 0;
	list-style: none;
}

.comments-area .children .comment-body  {
	padding: 0 0 25px 0;
	margin: 25px 0;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comment-meta {
	margin-bottom: 16px
}

.comment-meta a {
	text-decoration: none
}
.comment-author a {
	color: #303135;
	text-decoration: none;
	font-weight: bold;
}

.comment-author img {
	float: left;
	margin-right: 10px;
}

.comment-author cite {
	font-style: normal;
	color: #303135;
	font-weight: bold
}

.comment-metadata a {
	color: gray;
	font-size: 14px;

}

.logged-in-as a {
	text-decoration: none;
	color: gray;
	font-size: 14px
}

.comment-reply-link {
	text-decoration: none
}

#cancel-comment-reply-link {
	text-decoration: none;
	color: #bb0404;
	font-weight: normal;
	font-style: italic;
	float: right;
}

.comment-respond input {
	width: 100%;
}

.comment-form-author {
	width: 47.5%;
	float: left;
	margin-right: 5%;
}
.comment-form-email {
	width: 47.5%;
	float: left;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/

.sidebar-1 {
	width: 300px;
	float: right;
	font-size: 14px;
}

/*--------------------------------------------------------------
## Widgets
--------------------------------------------------------------*/

.widget {
	margin: 0 0 25px;
}

.widget-title {
	margin-top: 0;
	margin-bottom: .5em
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer .site-info {
	padding: 25px 0;
	font-size: 14px;
	text-align: right;
	width: 80%;
}

hr.wd-footer {
	background-color: var(--color-citadel-skrag-brown);
	border: 2px solid var(--color-citadel-skrag-brown);
	width: 100%;
    margin: 0 auto 10px 0;
}

/*--------------------------------------------------------------
# Infinite Scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

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

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

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

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: 14px
}

.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;
}

.wp-element-caption {
	background: none !important;
	color: black !important;
	font-size: 0.9em !important;
	font-weight: normal !important;
	font-style: italic;
}

/*--------------------------------------------------------------
# Matomo
--------------------------------------------------------------*/

#matomo-opt-out {
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
    background-color: var(--color-matomo-opt-out);
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
	padding: 20px 10px 20px 20px;
}

#matomo-opt-out input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  margin-left: 10px;
  margin-right: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}

#matomo-opt-out label {
	color: black;
}

/*--------------------------------------------------------------
# Ko-Fi
--------------------------------------------------------------*/

img.kofi-share {
	width: 150px;
	border: none;
	padding-top: 15px;
	padding-bottom: 25px;
}

/*--------------------------------------------------------------
# Mike McVey Painting Guide Style
--------------------------------------------------------------*/

.entry-title {
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	font-size: 3.6em;
	margin: 0;
	border-bottom: 3px solid rgb(0, 0, 0);
	width: 100%;
	display: block;
}

h1.ems-title {
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	font-size: 3.0em;
	margin: 0;
	border-bottom: 3px solid rgb(0, 0, 0);
	width: 100%;
	display: block;
}

.ems-orc-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(245,226,0);
	background-color: var(--color-goblin-green);
	padding-top: 10px;
	padding-bottom: 0px;
}

.ems-dwarf-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(245,226,0);
	background-color: rgb(56,97,161);
	padding-top: 10px;
	padding-bottom: 0px;
}

.ems-empire-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(245,226,0);
	background-color: rgb(218,55,55);
	padding-top: 10px;
	padding-bottom: 0px;
}

.ems-high-elf-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(245,226,0);
	background-color: rgb(18,133,186);
	padding-top: 10px;
	padding-bottom: 0px;
}

.ems-undead-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(245,238,249);
	background-color: rgb(166,116,163);
	padding-top: 10px;
	padding-bottom: 0px;
}

.ems-chaos-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(199,58,69);
	background-color: rgb(38,30,31);
	padding-top: 10px;
	padding-bottom: 0px;
}

.ems-quest-heading {
	font-size: 1.6em;
	line-height: 1.0em;
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	color: rgb(100,100,100);
	padding-bottom: 0px;
	margin-bottom: 8px;
    border-bottom: 3px solid rgb(100,100,100);
}

h1.ems-quest-title {
	font-family: 'CasablancaAntique';
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	font-size: 3.6em;
	color: rgb(100,100,100);
	padding-top: 10px;
	padding-bottom: 0px;
    border-bottom: 3px solid rgb(100,100,100);
}

.ems-quest-text {
	font-family: 'NewText';
}

.ems-dwarf-heading a,
.ems-orc-heading a,
.ems-empire-heading a,
.ems-high-elf-heading a {
	color: rgb(245,226,0);
	font-weight: normal;
}

.ems-dwarf-heading a:hover,
.ems-orc-heading a:hover,
.ems-empire-heading a:hover,
.ems-high-elf-heading a:hover {
	color: rgb(246, 242, 203);
}

/* 'Eavy Metal Style "Intro Paragraph" - the bold, slightly larger text right below a title */
.ems-intro-paragraph {
	font-weight: bold;
	line-height: 1.0;
	font-size: 1.4em;
}

.ems-two-column {
  -moz-column-count: 2;
  -moz-column-gap: 1.5em;
  -moz-column-rule: none;
  -webkit-column-count: 2;
  -webkit-column-gap: 1.5em;
  -webkit-column-rule: none;
  column-count: 2;
  column-gap: 1.5em;
  column-rule: none;
}

.no-top-padding {
	padding-top: 0px;
}

.wp-block-columns {
		margin-bottom: 0 !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 781px) {
	/* Make sure that 2-column layouts that are stacking on mobile don't have the excessive 2em gap between them. */
	.wp-block-columns.is-layout-flex {
		gap: 0 !important;
	}

    /** "Auto 2-Column Paragraphs" should revert to single column on mobile. */
	.ems-two-column {
      -moz-column-count: 1;
      -webkit-column-count: 1;
      column-count: 1;
    }

}

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

	.menu-top-menu-container::before {
		content: '';
		display: inherit;
		width: 65%;
		margin: 2px auto;
		margin-bottom: 10px;
		border-bottom: 1px rgb(44, 41, 41) solid;
	}

	.menu-top-menu-container::after {
		content: '';
		display: inherit;
		width: 60%;
		margin: 2px auto;
		border-top: 1px rgb(44, 41, 41) solid;
	}

	.menu-top-menu-container ul {
		width: 100%;
		display: table;
		text-align: center;
	}

	.menu-1 a {
		padding-top: 2px;
		padding-bottom: 2px;
	}

	.menu-1 li {
		display: inline-block;
		float: none;
	}

	.menu-item {
		font-size: 0.8em;
	}

	img.custom-logo {
		max-width: 85%;
	}

	.site-footer .site-info {
		width: 95%;
	}

	/* Figures that are "right aligned" should never be wider than 200, otherwise there is no
	   space for text to flow alongside it. */
	figure.alignright {
		max-width: 200px;
	}

	/* These are used for the Tutorial page (the heading links in the Media+Image blocks) */
	.wp-block-media-text__content h2 {
		font-size: 1.2em;
	}

	h1.ems-title {
		font-size: 1.5em;
	}

	h1.ems-quest-title {
		font-size: 1.5em;
	}

}

@media screen and (max-width: 1040px) {
	.site-content,
	.content-area,
	.sidebar-1 {
		width: 100%;
		float: none
	}

	.site-content,
	.site-info {
		padding: 0 20px;
	}

	.menu-1 .nav-menu > li:first-child {
	  margin-left: 0;
	}

	.entry-title {
		font-size: 2.0em !important;
	}

	/* 'Eavy Metal Style "Intro Paragraph" - the bold, slightly larger text right below a title */
	.ems-intro-paragraph {
		font-size: 1.1em;
	}

	.ems-quest-text {
		font-size: 0.8em;
		line-height: 0.9em;
	}

	h2.ems-quest-heading {
		font-size: 1.0em;
	}

	h2.wp-block-post-title {
		font-size: 1.2em;
	}

	p.wp-block-post-excerpt__excerpt {
		font-size: 0.9em;
	}

}

