/*
Theme Name: Kvarken
Theme URI:
Author: Carolina Nymark
Author URI:
Description: A responsive customizable theme that works out of the box. -Leave the options as is or go wild and change them all! Two widget areas, header image and menu placement, logo upload, sticky posts, threaded comments and unlimited colors. Change details such as breadcrumb navigation, rounded corners and icons. Includes several header images related to the Kvarken Archipelago and Swedish translation.
Version: 3.0
Tags: blog, custom-logo, custom-colors, threaded-comments, custom-menu, sticky-post, custom-header, custom-background, two-columns, right-sidebar, left-sidebar, editor-style, featured-images, accessibility-ready
Text Domain: kvarken
License: GNU General Public License (GPL), v2 (or newer)
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Kvarken includes code from Underscores https://underscores.me/, (C) 2012-2019 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/
*/

/*--------------------------------------------------------------
# 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: 80%;
}

/**
 * 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
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #666;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

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

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	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;
	word-wrap: break-word;
	white-space: pre-wrap;
}

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

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

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em .5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 0.9rem;
	line-height: 1;
	padding: .6em 1em .5em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3)
}

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: #aaa #bbb #bbb;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3)
}

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: 3px;
}

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;
	border: 1px solid #000;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*---------------------*/
body {
	margin: 0;
	line-height: 1;
	border-top: 5px solid #314a69;
}

a {
	text-decoration: underline; 
	color: #314a69;
}

a:hover,
a:focus {
	text-decoration: none;
}

.wrapper {
	margin: 0 auto;
	width: 70%;
	overflow-wrap: anywhere;
}

/* =Header
-------------------------------------------------------------- */
#header {
	margin-top: 2em;
	margin-bottom: 45px;
	position: relative;
}

.site-title {
	font-size: 2.8em;
	font-weight: bold;
	margin: 0;
	font-family: 'Oswald', sans-serif;
}

.site-title a:hover,
.site-title a:focus {
	text-decoration: none;
}

.site-description {
	font-size: 1.6em;
	line-height: 1.65em;
	font-weight: bold;
	margin-top: 0.8em;
	font-family: 'Open Sans', sans-serif;
	width: 100%;
}

table {
	margin: 4px 4px 10px 4px;
	border-collapse: collapse;
}

td {
	border: 1px solid #f5f5f5; padding: 4px;
}

th {
	background: #f5f5f5;
}

.border,
.widget,
#header img {
	border: 3px solid #f7f7f7;
}

.radius,
.widget,
.comment-body {
	border-radius: 4px;
}

/* =Header Menu
-------------------------------------------------------------- */
#header-menu {
	display: inline-block;
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 15px;
}

#header-menu ul {
	display: block;
	background: #fff;
	list-style: none;
	margin: auto;
	padding: 0;
}

#header-menu li {
	float: left;
	position: relative;
	margin: 0;
	text-align: left;
}

#header-menu a {
	display: block;
	line-height: 4em;
	margin-right: 0.7em;
	margin-left: 0.7em;
	text-decoration: none;
}

#header-menu li:first-child a {
	margin-left: 0;
}

#header-menu a:hover {
	text-decoration: none;
}

#header-menu a:focus {
	text-decoration: underline;
}

#header-menu ul ul a {
	line-height: 1.3em;
	padding: 1em;
	min-width: 167px;
	margin: 0;
	border-left: 3px solid #f5f5f5;
	border-bottom: 1px solid #f5f5f5;
}

/*sub menu levels */
#header-menu ul ul {
	position: absolute;
	left: 0;
	top: 100%;
	display: block;
	clip: rect(1px, 1px, 1px, 1px);
	line-height: 4em;
	z-index: 99999;
	font-size: 0.9rem;
}

#header-menu li:hover > a:before {
	content:"{";
	display: block;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	font-size: 30px;
	text-align: center;
	padding: 0;
	line-height: 1em;
	margin-bottom: -30px;
	color:#314a69;
}

#header-menu li:hover > a:after {
	content:"}";
	display: block;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	font-size: 30px;
	text-align: center;
	padding: 0;
	line-height: 1em;
	margin-top: -30px;
	color:#314a69;
}

#header-menu ul ul a:hover:after,
#header-menu ul li ul :hover > a:after,
#header-menu ul ul a:hover:before,
#header-menu ul li ul :hover > a:before {
	content:"";
	margin: 0;
}

#header-menu ul ul a:hover,
#header-menu ul li ul :hover > a
#header-menu ul ul a:focus,
#header-menu ul li ul :focus > a {
	background: #f3f3f3;
	border-left: 3px solid #314a69;
	text-decoration: underline;
}

#header-menu li:hover > ul,
.keyboard-dropdown {
	clip: auto !important;
}

/* Small menu. */
#header-menu.toggled ul {
	display: block;
}

.menu-toggle {
	display: none;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	#header-menu ul {
		display: block;
	}
}

/*------------------*/

#header img {
	border-radius: 6px;
	position: relative;
	z-index: 7;
}

.header-image {
	z-index: 6; 
	margin: 0 auto 15px auto;
	display: block;
}

#header .custom-logo {
	float: left;
	margin-bottom: 10px;
	border: none; 
	border-radius: 0;
}

/* ----------- *
Grid and sidebars 
*/

#rightsidebar .custom-logo {
	border: none;
	margin: 0 auto 2em auto;
}

#footer .custom-logo {
	float: left; 
	margin-bottom: 20px;
	margin-right: 25px;
	margin-left: 0; 
	border: none;
}

.wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 2rem;
}

.wrapper header,
#footer {
	grid-column: span 3;
}

#main {
	grid-column: span 2;
}

/* Full width if the sidebar is inactive: */
.no-sidebar .wrapper #main {
	width: 100%;
	grid-column: span 3;
}

.left-sidebar .wrapper #rightsidebar {
	grid-row: 2;
	grid-column: 1/1;
}

.left-sidebar #main {
	grid-column: 2 / span 2;
}

/* =Content
-------------------------------------------------------------- */
/*Width at 93% if the sidebar is active: */
.post,
.type-page,
.type-attachment {
	line-height: 1.8;
	margin-bottom: 40px; 
	margin-left: 0;
	width: 100%;
	padding: 1em;
	background:#fff;
	font-family: Verdana,Georgia,Serif;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	overflow: hidden;
}

.post-title, .archive-title {
	display: block;
	font-size: 2.5em;
	padding-bottom: 0.5em;
	padding-top: 0;
	margin: 0;
	clear: both;
	color:#314a69;
	font-family: 'Oswald', sans-serif;
}

.archive-title {
	padding-bottom: 0.9em;
}

.crumbs {
	clear: both;
	margin-bottom: 1.5em;
}

.crumbs a:hover,
.crumbs a:focus {
	text-decoration: none;
}

.meta {
	clear: both;
	padding: 15px; 
	width: 100%;
	margin: 30px 0 5px 0;
	background:#f5f5f5;
	font-size: 0.9em;
	line-height: 1.8;
	display: block;
	box-sizing: border-box;
}

.attachment_nav_clear {
	float: right;
	clear: both;
	margin: 4px;
}

.fullimg {
	width: 100%;
	float: left;
	clear: both;
	margin: 6px;
}

/*author info
-------------------------------------------------------------- */
.author-info {
	color:#314a69;
	clear: both;
	font-size: 1em;
	line-height: 20px;
	overflow: hidden;
	min-height: 45px;
	margin: 1em 0 0 0;
}

.author-info .author-link {
	padding-top: 6px;
}

.author-info.author-link a {
	color:#314a69;
}

.author-info .author-avatar {
	float: left;
	height: 60px;
	width: 60px;
	margin: 10px;
	border-radius:4px;
}

.author-info .author-description {
	float: left;
	margin: 10px;
	font-size: 1em;
}

.author-info h2 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
}

/* Stickies*/
.sticky {
	position: relative;
	z-index: 7;
	float: left;
	padding: 1em;
	background: #f5f5f5; 
	margin: 0 7px 50px 0;
}

.sticky .crumbs, 
.sticky .meta {
	display: none;
}

.sticky img {
	margin: 0 auto;
}

.search-post {
	margin-top: 0;
	clear: both;
	overflow: hidden;
	padding: 12px;
	min-height: 5px;
	background:#f5f5f5; 
	position: relative;
}

/* Navigation 
----------------------------------------*/
.more-link {
	clear: both;
	padding-top: 3px;
}

.page-link {
	clear: both;
	padding-top: 3px;
	padding-bottom: 12px;
}

.page-link a {
	color: #666;
}

.page-link a:hover,
.page-link a:focus,
.more-link a:hover,
.more-link a:focus {
	text-decoration: none;
}

.older-posts,
.newer-posts {
	font-family: 'Oswald', sans-serif;
	background:#e6e6e6;
	min-width: 170px;
	padding: 18px;
	min-height: 15px;
	margin: 0 0 40px 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	word-break: break-all;
}

.newer-posts {
	float: right;
}

.older-posts {
	float: left;
}

.navigation.comments-pagination,
.paged-comments {
	background: #e6e6e6;
	width: 140px; 
	padding: 6px; 
	margin-bottom: 25px;
	margin-top: 43px;
	min-height: 15px;
	font-family: 'Oswald', sans-serif;
}

/* =Images and objects
-------------------------------------------------------------- */
img,
object {
	max-width: 100%;
	height: auto;
}

a img {border: none;}
p img {margin: 0.5em;}

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; 
	height: auto;
}

.attachment-thumbnail {
	border-radius: 4px;
}

.type-attachment .attachment-thumbnail {
	margin: 8px;
}

img.alignleft {
	margin-right: 1em;
}

img.alignright {
	margin-left: 1em;
}

.wp-caption {
	padding: 5px;
	text-align: center;
	max-width: 100%;
}

.wp-caption img {
	margin: 5px;
}

dl.gallery-item,
.wp-caption,
.wp-caption-text {
	color: #314a69;
	font-size: 0.9em;
}

.gallery-caption {

}

.wp-smiley {
	margin: 0;
}

object {
	margin: 15px;
}

blockquote {
	border-left: 3px solid #314a69;
	padding: 5px 0 5px 10px;
}

/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
	width: 100%;
	padding-top:35px;
}

#comments .navigation {
	padding: 0 0 18px 0;
}

h2#comments-title {
	padding-left: 0;
	padding-bottom: 3px;
	margin-top: 5px;
	text-decoration: none;
	font-family: 'Oswald', sans-serif;
	font-weight: bold;
	font-size: 26px;
	color:#314a69;
}

.commentlist {
	list-style: none;
	margin: 0 0 1.5em 0;
	padding: 0;
}

.commentlist .children {
	list-style: none;
	margin: 0;
}

.comment a:hover,
.comment a:focus {
	text-decoration: none;
}

.comment-body {
	padding: 1.5em;
	min-height: 5px;
	line-height: 1.5;
	margin-bottom: 30px;
	background: #f5f5f5; 
	overflow: hidden;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.comment-body p {
	margin: 0;
	padding: 0;
}

.comment-body a {
	color:#314a69;
	text-decoration: underline;
}

.comment-meta {
	margin-bottom: 20px;
	margin-top: 20px;
}

.comment-author {
	margin: 0;
	padding: 0;
	font-weight: bold; 
	font-size: 1em;
}

.comment-author a {
	color:#314a69;
}

.commentlist .avatar {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	border: 1px solid #ccc;
	margin-right: 10px;
}

.comment-edit-link {
	color:#314a69;
	font-size: .9em;
}

.bypostauthor .comment-body {
	border-left: 2px solid #314a69;
}

.comment-form-cookies-consent label {
	margin-left: 10px;
}

.reply a {
	background: #314a69;
	border-radius: 4px;
	padding: 8px;
	float: right;
	font-weight: bold;
	font-size: .9em;
	color: #fff;
	text-decoration: underline;
}

.reply a:hover,
.reply a:focus {
	color: #fff;
	text-decoration: none;
}

.children li.depth-5 .reply {
	visibility: hidden;
}

.pingback {
	color: #314a69;
}

.pingback a {
	text-decoration: underline;
}

.comment .fn {
	font-style: normal;
}

/* Comments form
-------------------------------------------------------------- */

#respond {
	overflow: hidden;
	position: relative;
	background:#314a69;
	color:#fff;
	padding: 19px; 
	border-radius: 4px;
	margin-bottom: 30px;
}

#cancel-comment-reply-link {
	font-size:.9em;
	font-weight: normal;
}

#respond a {
	color: #fff;
}

#respond .logged-in-as {
	padding-bottom: 1.5em;
	font-size: .9em;
}

#respond .logged-in-as a {
	color: #fff;
}

#respond .comment-notes {
	margin-bottom: 1em;
}

#respond .required {
	color:#fff;
	font-weight: bold;
}

#respond textarea {
	display: block;
	padding: 6px;
	width: 90%;
	float: left;
	clear: both;
	margin: 0 1.5em 1.5em;
}

#respond input[type="text"]:hover,
#respond input[type="checkbox"]:hover,
#respond input[type="url"]:hover,
#respond input[type="submit"]:hover,
#respond textarea:hover,
#respond input[type="text"]:focus,
#respond input[type="checkbox"]:focus,
#respond input[type="url"]:focus,
#respond input[type="submit"]:focus,
#respond textarea:focus {
	outline-offset: 4px;
	outline: 1px solid #fff;
}

.comment-form label {
	margin-right: 0.5em;
}

.comment-form-comment label {
	display: block;
	padding: 1.5em;
}

#respond .form-allowed-tags {
	margin-top: 14px;
	margin-bottom: 14px;
	font-size: .9em;
	line-height: 1em;
	float: left;
	clear: both;
}

#respond .form-submit {
	margin: 12px 0;
	display: block;
	clear: both;
}

/* =Widgets
-------------------------------------------------------------- */
#rightsidebar ul {
	margin: 0 0 1.5em 0;
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
	padding-inline-start: 0;
}

.widget {
	width: 100%;
	list-style: none;
	position: relative;
	z-index: 2;
	float: right;
	margin-bottom: 40px;
	background: #f5f5f5;
	padding: 1em;
	color: #314a69;
	font-size: 1.2em;
	line-height: 1.5em;
}

.widget:hover {
	background: #e6e6e6;
}

.widgettitle {
	margin-left: 9px;
	margin-top: 9px;
	margin-bottom: 15px;
	font-weight: bold;
	font-family: 'Oswald', sans-serif;
	font-size: 1.5em;
}

.widget ul {
	font-size: .9em;
	padding: 0;
	margin: 0;
	float: left;
	border-radius: 4px;
	width: 100%;
}

.widget ul li {
	list-style: none;
	font-weight: normal;
	margin-left: 9px;
	margin-top: 6px;
	margin-bottom: 9px;
	padding: 0;
	text-align: left;
	color:#314a69;	
}

#calendar_wrap {
	padding-top: 5px;
	font-size: .9em;
}

.widget_calendar .widgettitle {
	display: none;
}

#wp-calendar {
	color:#314a69; 
	font-weight: normal;
	padding: 5px;
}

#wp-calendar a {
	color:#314a69;
	text-decoration: underline;
}

#wp-calendar caption {
	font-family: 'Oswald', sans-serif;
	font-size: 18px;
	margin-bottom: 8px;
}

.tagcloud {
	padding: 10px;
}

.widget ul li a,
.tagcloud a {
	color: #314a69;
}

.textwidget {
	color:#314a69;
	padding: 10px;
	background: #f5f5f5;
	overflow: hidden;
}

.widget_search form,
.searchform form {
	margin-top: 3px;
}

.widget_rss ul li {
	margin-bottom: 25px;
	width: 97%;
}

.rssSummary {
	width: 90%;
}

.rss-date {
	width: 90%;
	float: left;
	clear: both;
}

/* =Footer
-------------------------------------------------------------- */

#footer {
	margin: 0 auto;
	width: 100%;
	display: inline-block;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 2rem;
}

.footer-extras {
	grid-column: 1;
}

#footer .site-title {
	font-weight: normal;
	font-size: 2em;
}

#footer .site-description {
	font-size: 1em;
}

#footer .widget {
	width: 100%;
	box-sizing: border-box;
}

/* Alignment 
-------------------------------------------------------------- */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	max-width: 700px;
}

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

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

/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/
.wp-block-latest-posts__post-date,
.wp-block-latest-comments__comment-date {
	color: #666;
	font-size: 0.9em;
}

p.has-drop-cap:first-letter {
	margin: .07em .13em 0 0;
}

.wp-block-latest-posts.has-dates li {
	margin-bottom: 10px;
}

.wp-block-image img {
	display: block;
	max-width: 100%;
}

.wp-block-image.alignright {
	max-width: 50%;
	margin-left: 60px;
}

.wp-block-image.alignleft {
	max-width: 50%;
	margin-right: 60px;
}

.wp-block-image figcaption {
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.wp-block-button {
	margin-bottom: 1em;
}

.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:visited,
.wp-block-button__link {
	text-decoration: underline;
}

.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
	text-decoration: none;
}

.wp-block-media-text{
	margin-bottom: 1.5em;
}


pre.wp-block-verse,
.wp-block-verse pre {
	color: #666;
	white-space: nowrap;
	font-family: inherit;
	font-size: inherit;
	padding: 1em;
	background:none;
}

.wp-block-code {
	border: 1px solid #f7f7f7;
	border-radius: 4px;
	background: none;
}

.wp-block-pullquote {
	border-left: none;
}

.wp-block-pullquote>p {
	font-family: "Noto Serif",serif;
}

.wp-block-quote footer {
	color:#000;
}

.wp-block-table.alignfull {
	padding: 0 2em;
}

.wp-block-column {
	margin: 1em;
}

.wp-block-quote.is-large, 
.wp-block-quote.is-style-large {
	border-left: none;
	margin-bottom: 1.5em;
}

.wp-block-quote.is-large cite, 
.wp-block-quote.is-large footer, 
.wp-block-quote.is-style-large cite, 
.wp-block-quote.is-style-large footer {
    font-size: 13px;
	text-align: left;
	padding-top: 0;
	margin-top: 0;
}

.wp-block-pullquote blockquote {
	border-left: none;
}

/* Increase text color contrast */
.wp-block-video figcaption,
.wp-block-latest-comments__comment-date {
	color: #666;
}

.wp-block-audio figcaption {
	margin-bottom: 1.5em;
	color: #666;
}

.wp-block-quote cite {
	display: block;
	font-size: 13px;
	color: #666;
}

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

	.wp-block-columns {
		display: block;
	}

	.has-2-columns .wp-block-column,
	.has-3-columns .wp-block-column,
	.has-4-columns .wp-block-column,
	.has-5-columns .wp-block-column,
	.has-6-columns .wp-block-column {
		width: 100%;
	}
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

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


/* Responsive 
-------------------------------------------------------*/
@media screen and (max-width:1440px){
	.wrapper{width:80%;}
	#header {background-size:100%;}
}

@media screen and (max-width:1200px) {
	#footer {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width:1024px){
	#rightsidebar,
	.left-sidebar .wrapper #rightsidebar {width:100%; margin:10px auto; float:left;}

	#footer,
	.wrapper {
		display: block;
	}

	#rightsidebar ul {
		margin: 0 0 1.5em 0;
		padding-inline-start: 0;

	}
	
	#rightsidebar .widget {
		float: left;
	}

	.sticky {
		width: 100%;
		margin: 0 0 50px 0;
	}
}

@media screen and (max-width:780px){
	.wrapper{width:90%;}
	.site-title {font-size:2.6em;}
	#header{width:99.5%;}
	#header{background:none;}
}

@media screen and (max-width:600px){
	.wrapper{padding:10px; margin:0 auto; width:90%;}
	#header{width:98.5%;}
	.header-logo, .site-title{clear:both;}
}
