/*
Theme Name: Miranda
Theme URI:
Author: Carolina Nymark
Author URI: https://themesbycarolina.com/
Description: Miranda is an accessible, responsive blog theme. It has two menus (including a social menu), color options, and flexible widget areas with room for all your widgets.
Version: 1.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: Carolina Nymark 2014-2019
Text Domain: miranda
Tags: threaded-comments, custom-menu, sticky-post, editor-style, translation-ready, two-columns, three-columns, left-sidebar, right-sidebar, featured-images, accessibility-ready, rtl-language-support, custom-colors, custom-header

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer https://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ and Blueprint.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
10.0 Content
	10.1 Posts and pages
	10.2 Blocks
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%;
	overflow-y: scroll; 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	box-sizing: border-box; 
}

*,
*:before,
*:after {
	box-sizing: inherit;
	word-wrap: break-word;
}

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

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

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

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

a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: inherit;
}

h1 {
    font-size: 2.44em;
}

h2 {
    font-size: 1.95em;
}

h3 {
    font-size: 1.56em;
}

h4 {
    font-size: 1.25em;
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: .8em;
}


p {
	margin-bottom: 1.5em;
}

b,
strong {
	font-weight: bold;
}

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: 1.5rem;
	line-height: 1.6;
	margin-top: 1.6em;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: hidden;
	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: 1.5rem;
}

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

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

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

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

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. */
}

figure {
	margin: 0;
}

table {
	margin: 15px 4px 20px 4px;
	border-collapse: collapse;
	border: 1px solid #ccc;
	width: 100%;
}

td {
	border: 1px solid #ccc;
	padding: 8px;
}

th {
	background:#f5f5f5;
	padding: 8px;
	border: 1px solid #ccc;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

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

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
	outline: thin dotted;
	border: 1px solid #000;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/

a.more-link,
.nav-previous a,
.nav-next a {
	text-decoration: none;
}

.nav-next a:hover,
.nav-previous a:hover{
	text-decoration: underline;
}

.nav-previous:before {
	content: "\f060";
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font-family: 'FontAwesome';
	vertical-align: middle;
	color: #861a50;
	float: left;
	margin-right: 10px;
	text-decoration: none;
}

.more-link:after,
.nav-next:after {
	content: "\f061";
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font-family: 'FontAwesome';
	vertical-align: middle;
	color: #861a50;
	margin-top: -4px;
	margin-left: 10px;
	text-decoration: none;
}

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

.nav-previous {
	display: inline-block;
	vertical-align: top;
	padding-top: 9px;
	float: left;
	text-align: left;
	width: 30%;
	font-size:1.2rem;
	text-transform: uppercase;
}

.more-link,
.nav-next {
	display: inline-block;
	vertical-align: top;
	padding-top: 9px;
	float: right;
	text-align: right;
	width: 30%;
	font-size: 1.2rem;
	text-transform: uppercase;
}

/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #333;
}

a:visited {
	color: #333;
}

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

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
/* =Header Menu
-------------------------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	margin: 10px auto 20px auto;
	padding: 13px 0 0 0;
	text-transform: uppercase;
	z-index: 99;
	width: 95%;
	position: relative;
	height: 55px;
}

.main-navigation ul {
	background:#fff;
	list-style: none;
	margin: auto;
	padding: 0;
	width: 100%;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	letter-spacing: 2px;
	font-size: 0.8em;
	border-bottom: 3px solid transparent;
	line-height: 2.5em;
	margin-right: 0.6em;
	margin-left: 0.6em;
	padding: 3px 8px 0 8px;
	background:#fff;
}

.main-navigation a:hover,
.main-navigation a:focus {
	border-bottom:3px solid #861a50;
	background:#f5f5f5;
}

.main-navigation ul ul {
	position: absolute;
	display: block;
	width: 220px;
	top: auto;
	clear: both;
	font-size: 1em;
	padding-right: 1em;
	clip: rect(1px, 1px, 1px, 1px);
	z-index :999;
}

.main-navigation li ul a {
	line-height: 1.4em;
	padding: .5em 0 .5em 1em;
	min-width: 220px;
	width: auto;
	margin: 0;
	border-left: 3px solid #fff;
	border-right: 3px solid #fff;
	border-bottom: 1px solid #f5f5f5;
}

.main-navigation li:hover ul,
.keyboard-dropdown {
	clip: auto !important;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus,
.main-navigation ul li ul :hover > a {
	border-left: 3px solid #861a50;
	border-right: 3px solid #861a50;
	color: #000;
	border-bottom: 1px solid #f5f5f5;
}

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

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

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

	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation {
		height: auto;
	}

	.main-navigation.toggled div {
		display: inline-block;
	}

	.main-navigation ul {
		display: none;
	}

	.menu-toggle {
		margin: 2px 13px 13px 13px;
		display: inline-block;
		z-index: 9999;
	}

	.menu-toggle {
		display: block;
	}

	.menu-toggle:before {
		content: "\f0c9";
		display: inline-block;
		font: normal normal normal 14px/1 FontAwesome;
		text-rendering: auto;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		vertical-align: top;
		font-size: 2em;
		line-height: 1;
		color: #861a50;
		text-decoration: none;
	}

	.main-navigation ul li {
		width: 100%;
		float: left;
		position: relative;
	}

	.main-navigation ul li ul.sub-menu {
		display: none;
	}
}


/*--------------
Social menu
---------------*/

@font-face {
  font-family: 'FontAwesome';
  src: url('fonts/fontawesome-webfont.eot?v=4.2.0');
  src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.social-menu {
	width: 100%;
	margin: 20px auto 20px auto;
	text-align: center;
	padding: 0;
} 

.social-menu ul {
	margin: 0;
}

.social-menu ul li {
	list-style-type: none;
	display: inline;
}

.social-menu li a,
.social-menu li a:hover {
	text-decoration: none;
}

.social-menu li a:hover:before {
	color:#333;
}

.social-menu li a:before {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	vertical-align: top;
	font-size: 2em;
	line-height: 1;
	color: #861a50;
	text-decoration: none;
	margin: 5px;
}

.social-menu li a[href*="dribbble.com"]::before { content: '\f17d'; }
.social-menu li a[href*="facebook.com"]::before { content: '\f09a'; }
.social-menu li a[href*="flickr.com"]::before { content: '\f16e'; }
.social-menu li a[href*="foursquare.com"]::before { content: '\f180'; }
.social-menu li a[href*="github.com"]::before { content: '\f09b'; }
.social-menu li a[href*="plus.google.com"]::before { content: '\f0d5'; }
.social-menu li a[href*="instagram.com"]::before { content: '\f16d'; }
.social-menu li a[href*="jsfiddle.com"]::before { content: '\f1cc'; }
.social-menu li a[href*="linkedin.com"]::before { content: '\f0e1'; }
.social-menu li a[href*="pinterest.com"]::before { content: '\f0d2'; }
.social-menu li a[href*="reddit.com"]::before { content: '\f1a1'; }
.social-menu li a[href*="soundcloud.com"]::before { content: '\f1be'; }
.social-menu li a[href*="stackoverflow.com"]::before { content: '\f16c'; }
.social-menu li a[href*="tumblr.com"]::before { content: '\f173'; }
.social-menu li a[href*="twitter.com"]::before { content: '\f099'; }
.social-menu li a[href*="vimeo.com"]::before { content: '\f194'; }
.social-menu li a[href*="vine.co"]::before { content: '\f1ca'; }
.social-menu li a[href*="yelp.com"]::before { content: '\f1e9'; }
.social-menu li a[href*="youtube.com"]::before { content: '\f167'; }
.social-menu li a[href*="wordpress.com"]::before { content: '\f19a'; }
.social-menu li a[href*="paypal.com"]::before { content: "\f1ed"; }
.social-menu li a[href*="lastfm.com"]::before { content: "\f202"; }
.social-menu li a[href*="behance.net"]::before { content: "\f1b4"; }
.social-menu li a[href*="deviantart.com"]::before { content: "\f1bd"; }
.social-menu li a[href*="spotify.com"]::before { content: "\f1bc"; }
.social-menu li a[href*="skype.com"]::before { content: "\f17e"; }
.social-menu li a[href*="slack.com"]::before { content: "\f198"; }

/*--------------------------------------------------------------
6.0 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:hover,
.screen-reader-text:active,
.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: 1.4rem;
	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 */
}

/*--------------------------------------------------------------
7.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: 0 auto;
}

/*--------------------------------------------------------------
8.0 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;
}

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


/*----------------------------
9.0 widgets
----------------------------*/
.widget-area {
	padding: 12px;
}

.site-footer .widget-area {
	display: grid;
	grid-gap: 2em;
	grid-template-columns: repeat(4, 1fr);
	justify-items: center;
}

.widget {
	display: inline-block;
	min-width: 300px;
	width: 100%;
	vertical-align: top;
	list-style: none;
	position: relative;
	padding: 18px;
	margin: 0 0.5em 20px 0;
	font-size: 1.8rem;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background:#f5f5f5;
	border-bottom: 1px solid #eaeaea;
}

.widget-title {
	margin-bottom: 10px;
	padding-bottom: 5px;
	font-size: 1.3rem;
	text-transform: uppercase;
	border-bottom: 3px solid #861a50;
	font-weight: bold;
}

.widget ul {
	padding: 0;
	margin: 0;
	float: left;
	width: 100%;
}

.widget ul li {
	list-style: none;
	font-weight: normal;
	margin-left: 9px;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
	text-align: left;
}

#calendar_wrap {
	padding-top: 5px;
	font-size: 1.2rem;
}

.widget_calendar .widgettitle {
	display: none;
}

table#wp-calendar,
#wp-calendar {
	font-weight: normal;
	padding: 5px;
	border: 5px solid #e9e9e9;
	margin-bottom: 25px;
}

#wp-calendar th {
	padding: 5px;
}

#wp-calendar td {
	padding: 5px;
	border: 1px solid #e9e9e9;
	font-size: 1.2em;
}

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

#wp-calendar caption {
	font-size: 1.2em;
	margin-bottom: 8px;
}

.widget ul li a,
.tagcloud a {
	text-decoration: none;
}

.widget ul li a:hover,
.tagcloud a:hover {
	text-decoration: underline;
}

.textwidget {
	padding: 10px;
	overflow: hidden;
}

.widget_search input,
.search-post input, #s {
	margin: 3px;
}

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

.rssSummary {
	width: 90%;
}

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

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

.site-header {
	width: 100%;
	margin: 0 0 40px 0;
	padding: 0;
	text-align: center;
	display: block;
}

.site-title a {
	font-size: 2em; 
	line-height: 1; 
	margin: 0 auto; 
	color: #861a50; 
	text-decoration: none;
}

.site-description {
	font-size: 1.8em; 
	margin: 0 auto 30px auto;
}

.site-title a:hover {
	color:#333;
}

.site-footer {
	margin-top: 50px; 
	margin-bottom: 4px;
}

.site-info {
	width: 90%;
	margin: 0 auto 15px auto;
	font-size: 1.2rem;
	text-align: center;
	text-transform: uppercase;
}

/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/

.post{
	margin: 0 0 4.5em;
}

.sticky {
	display: block;
}

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

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

article {
	margin: 1.5em 0 0;
}

.entry-title {
	color:#861a50;
	margin-top: 0;
	font-size: 2.44em;
}

.entry-title a {
	color:#861a50;
	text-decoration: none;
}

.entry-title a:hover {
	color:#333;
}

.reply,
.page-links,
.entry-meta,
.entry-footer {
	background:#f5f5f5;
	border-bottom: 1px solid #eaeaea;
	padding: 4px 4px 4px 7px;
	font-size:1.2rem;
	color:#666;
	text-transform: uppercase;
}

.reply,
.page-links {
	display: inline-block;
	padding-right: 7px;
	clear: both;
	margin: 0 0 1.5em;
}

.entry-meta {
	margin:-10px 0 25px 0;
}

.entry-footer {
	margin: 20px 0 25px 0;
}

.search .type-page .entry-footer {
	padding: 2px;
}

.logged-in .entry-footer {
	padding:4px 4px 4px 7px;
}

.entry-content a {
	text-decoration: underline;
}

.entry-content a:hover{
	text-decoration: none;
}

.comment-metadata a,
.reply a,
.entry-meta a,
.entry-footer a,
.site-footer a,
.page-links a{
	color:#333;
	text-decoration: none;
}

.comment-metadata a:hover,
.reply a:hover,
.entry-meta a:hover,
.entry-footer a:hover,
.page-links a:hover,
.site-footer a:hover {
	text-decoration: underline;
}

.comment-reply-title a:hover,
.logged-in-as a:hover {
	text-decoration: none;
}

.cat-links,
.tags-links{
	margin-right: 6px;
}

/*--------------------------------------------------------------
10.2 Blocks
--------------------------------------------------------------*/
.wp-block-pullquote {
	margin: 1.5em 40px;
}

.wp-block-media-text,
.wp-block-cover,
.wp-block-image {
	margin-bottom: 2em;
}

ul.wp-block-gallery {
	margin-left: 0;
}

.entry-content p.has-drop-cap:first-letter {
	margin: 0 .13em 0 0;
	font-size: 6em;
}

/* Increase text color contrast */
.wp-block-latest-comments__comment-date {
	color: #333; 
}

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

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

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comments-area {
	margin-top: 60px;
}

.comment-list,
.children {
	list-style: none;
}

.comment-body {
	margin-bottom: 25px;
	border-bottom: 1px solid #f5f5f5;
}

.comments-title {
	padding-top: 16px;
	border-top: 1px solid #f5f5f5;
}

.comment-navigation {
	padding-bottom: 10px;
	border-bottom: 1px solid #f5f5f5;
}

.comment-list {
	margin-top: 45px;
	margin-left: 12px;
}

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

.comment-metadata {
	text-transform: uppercase;
	font-size: 1.2rem;
	margin: 15px;
	display: block;
}

.reply{
	margin: 15px;
}

.bypostauthor {
	display: block;
}

.bypostauthor .fn,
.bypostauthor .says {
	color: #861a50;
}

.comment-respond {
	margin-left: 20px;
	margin-bottom: 55px;
	width: 70%;
	border-bottom: 1px solid #f5f5f5;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-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;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.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%;
}

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

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

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

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

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

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

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

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

/* Both sidebars */
.has-both-sidebars .site-content {
	width: 98%;
	margin: 45px auto;
	display: grid;
	grid-gap: 2em;
	grid-template-columns: repeat(4, 1fr);
	justify-items: center;
}

.has-both-sidebars .site-content .sidebar-1 {
	grid-column: 1 / span 1;
}

.has-both-sidebars .content-area {
	grid-column: 2 / span 2;
	padding: 0;
}

.has-both-sidebars .site-content .sidebar-2 {
	grid-column: 4 / span 1;
}

/* Left sidebar */
.has-left-sidebar .site-content {
	width: 95%;
	margin: 45px auto;
	display: grid;
	grid-gap: 2em;
	grid-template-columns: repeat(3, 1fr);
}

.has-left-sidebar .site-content .sidebar-1 {
	grid-column: 1 / span 1;
}

.has-left-sidebar .content-area {
	grid-column: 2 / span 2;
	padding: 0;
}

/* right sidebar */

.has-right-sidebar .site-content {
	width: 95%;
	margin: 45px auto;
	display: grid;
	grid-gap: 2em;
	grid-template-columns: repeat(3, 1fr);
}

.has-right-sidebar .site-content .sidebar-2 {
	grid-column: 3 / span 1;
}

.has-right-sidebar .content-area {
	grid-column: 1 / span 2;
	padding: 0;
}

/* No sidebar */

.no-sidebar .site-content {
	width: 95%;
	margin: 45px auto;
	display: block;
}

.no-sidebar .content-area {
	max-width: 43em;
	margin: 0 auto;
}

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

/** Responsive */

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

	/* Both sidebars are displayed, but the right hand sidebar, sidebar-2, is displayed below the posts */
	.has-both-sidebars .site-content {
		grid-template-columns: repeat(3, 1fr);
	}

	.has-both-sidebars .site-content .sidebar-1 {
		grid-row: 1;
		grid-column: 1 / span 1;
	}

	.has-both-sidebars .content-area {
		grid-row: 1;
		grid-column: 2 / span 2;
	}

	.has-both-sidebars .site-content .sidebar-2 {
		grid-row: 2;
		grid-column: 1 / span 3;

		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 2em;
	}

	.widget-area {
		padding: 0;
	}

	.site-footer .widget-area {
		padding: 12px;
	}
}

@media screen and (max-width: 800px) {
	/* Display the sidebars as block, not grid. */
	.site-content {
		width: 90% !important;
		display: block !important;
	}

	.site-footer .widget-area {
		display: block;
	}

	.has-right-sidebar .site-content .sidebar-2,
	.has-left-sidebar .site-content .sidebar-1,
	.has-both-sidebars .site-content .sidebar-1
	.has-both-sidebars .site-content .sidebar-2 {
		display: block;
		padding: 0;
	}

	.comment-navigation .nav-previous,
	.paging-navigation .nav-previous,
	.posts-navigation .nav-previous,
	.post-navigation .nav-previous {
		width: 100%;
		margin-bottom: 10px;
	}

	.widget,
	.comment-navigation .nav-next,
	.paging-navigation .nav-next,
	.posts-navigation .nav-next,
	.post-navigation .nav-next {
		width: 100%;
	}

	.site-main {
		max-width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.site-title a {
		font-size: 1.5em;
	}

	.wp-custom-header {
		width: auto;
		border: 0;
	}

	.has-right-sidebar .site-content .sidebar-2,
	.has-left-sidebar .site-content .sidebar-1,
	.has-both-sidebars .site-content .sidebar-2,
	.has-both-sidebars .site-content .sidebar-1 {
		display: block;
	}
}
