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

	Theme Name: Rams
    Text Domain: rams
	Theme URI: https://andersnoren.se/teman/rams-wordpress-theme/
	Version: 2.1.1
	Description: A clean, minimalist and responsive theme for bloggers. It features a responsive design, support for the gallery and quote post formats, Block Editor support, custom accent color support, Jetpack infinite scroll integration, and editor styles. Demo: https://andersnoren.se/themes/rams/
	Tags: blog, two-columns, left-sidebar, custom-colors, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
	Author: Anders Norén
	Author URI: https://andersnoren.se
	License: GNU General Public License version 2.0
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Requires PHP: 5.6
	Tested up to: 6.0

	All files, unless otherwise stated, are released under the GNU General Public License
	version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

-----------------------------------------------------------------------------------

	0.	CSS Reset & Clearfix
	1.	Document Setup
	2.  Structure
	3.	Header
	4.	Blog
	5.	Post Formats
	6.  Single Post
	7.	Post Content
	8.	Comments
	9.	Respond
	10.	Pagination
	11. Responsive

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


/* -------------------------------------------------------------------------------- */
/*	0. CSS Reset
/* -------------------------------------------------------------------------------- */

html, body {
	border: none;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, tr, th, td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}

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


/* -------------------------------------------------------------------------------- */
/*	1. Document setup
/* -------------------------------------------------------------------------------- */


body {
	background-color: #f5f5f5;
	color: #333;
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	-webkit-text-size-adjust: 100%;
}

a {
	color: #6AA897;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased; 
}

.hidden { display: none; }
.clear { clear: both; }
.left { float: left; }
.right { float: right; }

.fleft { float: left; }
.fright { float: right; }

::selection {
	background: #222;
	color: #FFF;
}

::-webkit-input-placeholder { color: #A9A9A9; }
:-ms-input-placeholder { color: #A9A9A9; }

/* Clearing ---------------------------------- */

.clear:after,
.group:after,
.post-content:after,
[class*="__inner-container"]:after {
	clear: both;
	content: "";
	display: block;
}

/* Transitions ------------------------------- */

body a {
	transition: all 0.1s ease-in-out;
}

input,
textarea,
.post-title a,
.format-standard .featured-media a img,
.flex-direction-nav a,
.post-quote,
#infinite-handle span,
.post-nav a,
.post-content a.more-link {
	transition: all .2s ease-in-out;
}

.header .blog-title,
.post-meta-toggle,
.post-meta-toggle p,
.post-meta-toggle .bar,
.nav-toggle .bar,
.nav-toggle p {
	transition: all .4s ease-in-out;
}

/* Screen Reader Text --------------------------------------- */

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


/* -------------------------------------------------------------------------------- */
/*	X.	Element Base
/* -------------------------------------------------------------------------------- */


p {
	line-height: 1.5;
	margin: 0 0 1em 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #222;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 50px 0 20px;
}

h1 { font-size: 1.6em; }
h2 { font-size: 1.45em; }
h3 { font-size: 1.3em; }

h4 {
	font-size: 1.15em;
	font-weight: 600;
}

h5 {
	font-size: 1em;
	font-weight: 600;
}

h6 {
	color: #666;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .125em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

/* Separator --------------------------------- */

hr {
	display: block;
	width: 96px;
	height: 3px;
	background: #ddd;
	background: rgba( 0, 0, 0, 0.1 );
	margin: 40px auto;
	border: none;
}

hr.is-style-wide,
hr.is-style-dots {
	width: 100%;
}

/* Block Quote ------------------------------- */

blockquote {
	background: #f6f6f6;
	background: rgba( 0, 0, 0, 0.05 );
	padding: 30px 30px 30px 90px;
	position: relative;
}

blockquote:before {
	color: #aaa;
	content: '”';
	display: block;
	font-family: 'Georgia', 'Times New Roman', serif;
	font-size: 72px;
	font-weight: 700;
	line-height: 72px;
	position: absolute;
		left: 0px;
		top: 32px;
	text-align: center;
	width: 90px;
	-webkit-font-smoothing: antialiased;
}

blockquote p {
	color: #666;
	font-style: italic;
}

cite {
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 700;
	line-height: 140%;
	text-transform: uppercase;
	letter-spacing: 1px;
}

cite:before { 
	content: "— "; 
}

blockquote cite {
	display: block;
	margin-top: 25px;
}

/* Monospace --------------------------------- */

code,
kbd,
pre,
tt {
	font-size: 15px;
	background: #EEE;
	font-family: Menlo, Monaco, monospace;
}

kbd,
code,
tt {
	padding: 5px;
	border-radius: 3px;
}

dl { line-height: 160%; }

dl dt {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Lists ------------------------------------- */

ul,
ol {
	margin: 5px 0 30px 30px;
}

li {
	line-height: 1.5;
	margin: 5px 0 5px 20px;
}

li > ul,
li > ol {
	margin: 5px 0 5px 20px;
}

.reset-list-style,
.reset-list-style ul,
.reset-list-style ol {
	list-style: none;
	margin: 0;
}

.reset-list-style li {
	margin: 0;
}

dt,
dd {
	line-height: 1.5;
}

dt {
	font-weight: 700;
}

dt + dd { margin-top: 5px; }
dd + dt { margin-top: 15px; }

.post-content address {
	padding: 3% 3.5%;
	background: #f1f1f1;
	font-family: Montserrat, sans-serif;
	font-size: 0.85em;
	line-height: 200%;
	font-weight: 400;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.post-content pre {
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
	line-height: 140%;
	padding: 2% 2.5%;
	background: #FAFAFA;
	border: 1px solid #DDD;
	color: #333;
	font-size: 0.7em;
}

.post-content abbr,
.post-content acronym {
	border-bottom: 1px dashed #ccc;
}

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

figure {
	margin: 0;
}

iframe {
	border: none;
	display: block;
	max-width: 100%;
}

svg,
img,
embed,
object {
	display: block;
	height: auto;
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
figcaption {
	color: #666;
	font-size: 18px;
	font-style: italic;
	margin: 15px 0 0;
	text-align: center;
}

.gallery-caption {
	font-size: 16px;
	line-height: 24px;
}

/* Tables ------------------------------------ */

table {
	border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
	font-family: Montserrat, sans-serif;
	font-size: 0.95rem;
	margin: 2em 0;
    width: 100%;
}

th,
td {
	border-bottom: 1px solid #eee;
	line-height: 120%;
	margin: 0;
	overflow: visible;
	padding: 2%;
}

tr:last-child td { 
	border-bottom: none; 
}

caption {
	color: #444;
	text-align: center;
	padding: 2%;
}

thead {
	vertical-align: bottom;
	white-space: nowrap;
}

th {
	font-size: 1rem;
	font-weight: 700;
}

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

legend,
label,
input,
textarea { 
	font-family: Montserrat, sans-serif;
}

fieldset {
	padding: 25px;
	border: 2px solid #eee;
	margin-bottom: 1em;
}

legend {
	font-size: 0.9rem;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #666;
	padding: 10px 12px;
	background: #666;
	color: #fff;
}

label {
	color: #666;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}

input,
textarea { 
	margin: 0;
}

input[type="file"] {
	padding: 12px;
	background: #fdfdfd;
	border: 1px solid #eee;
	border-radius: 3px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
textarea {
	background-color: #fdfdfd;
	border: 2px solid #eee;
	border-radius: 0;
	box-shadow: none;
	color: #444;
	display: block;
	font-size: 0.8em;
	line-height: normal;
	outline: none;
	padding: 20px;
	transition: background-color 0.2s ease-in-out;
	-webkit-appearance: none;
	width: 100%;
}

textarea {
	height: 180px;
	line-height: 1.4;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
textarea:focus {
	background-color: #666;
	color: #fff;

}

button,
.button,
.faux-button,
.wp-block-button__link,
:root .wp-block-file__button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #444;
	border: none;
	border-radius: 0;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	outline: none;
	padding: 16px 20px;
	text-decoration: none;
	-webkit-appearance: none;
}

.wp-block-button.is-style-outline .wp-block-button__link, 
.wp-block-button__link.is-style-outline {
	border-width: 2px;
	color: #444;
	padding: 14px 18px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover, 
.wp-block-button__link.is-style-outline:hover {
	color: #6AA897;
}

button:hover,
.button:hover,
.faux-button:hover,
.wp-block-button__link:hover,
:root .wp-block-file__button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
.button:focus,
.faux-button:focus,
.wp-block-button__link:focus,
:root .wp-block-file__button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background-color: #6AA897;
	color: #fff;
	cursor: pointer;
}


/* -------------------------------------------------------------------------------- */
/*	2.	Structure
/* -------------------------------------------------------------------------------- */


.wrapper { 
	margin: 6% 0 6% 300px; 
}

.wrapper-inner {
	width: 800px;
	max-width: 84%;
	margin: 0 auto;
}

/* Sections ---------------------------------- */

.bg-light { background: #fafafa; }
.bg-dark { background: #444; }

/* Grid Structure ---------------------------- */

.one-half,
.one-third,
.two-thirds {
	float: left;
	margin-left: 5%;
}

.one-half { width: 47.5%; }
.one-third { width: 30%; }
.two-thirds { width: 65%; }

.one-half:first-child,
.one-third:first-child,
.two-thirds:first-child {
	margin-left: 0;
}


/* -------------------------------------------------------------------------------- */
/*	3.	Site Header
/* -------------------------------------------------------------------------------- */


.sidebar {
	background-color: #6AA897;
	display: flex;
	height: 100%;
	overflow: auto;
	padding: 80px 40px 0 40px;
	position: fixed;
		left: 0;
		top: 0;
	width: 300px;
}

.sidebar a {
	color: #fff;
	text-decoration: none;
}

.sidebar-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
}

.sidebar-top,
.sidebar-bottom {
	width: 100%;
}

.sidebar-bottom {
	padding-bottom: 40px;
}

.blog-title {
	font-size: 1.5em;
	line-height: 1;
	font-weight: 700;
	margin: 0;
	text-align: right;
}

.blog-title:after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin: 30px 0;
	background: #fff;
	background: rgba( 255, 255, 255, 0.2 );
}

/* Main Menu --------------------------------- */

.main-menu li {
	position: relative;
	text-align: right;
	margin-top: 20px;
}

.main-menu > li:first-child { 
	margin-top: 0; 
}

.main-menu .sub-menu { 
	margin-right: 20px; 
}

.main-menu a {
	color: rgba( 255, 255, 255, 0.75 );
	display: block;
	font-size: 0.9em;
	font-weight: 700;
}

.main-menu a:hover,
.main-menu .current_menu_item > a,
.main-menu .current_page_item > a { 
	color: #fff; 
}

/* Credits ----------------------------------- */

.credits {
	color: rgba( 255, 255, 255, 0.75 );
	font-size: 13px;
	margin: 40px 0 0;
	text-align: right;
}

.credits a {
	color: inherit;
}

.credits a:hover { 
	color: #fff; 
}


/* -------------------------------------------------------------------------------- */
/*	4.	Post: Archive
/* -------------------------------------------------------------------------------- */


/* Archive Header ---------------------------- */

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

.archive-title {
	color: #666;
	margin: 0;
	text-align: center;
}

.archive-description {
	line-height: 1.3;
	margin-top: 20px;
	text-align: center;
}

.archive-description p {
	line-height: inherit;
	text-align: inherit;
}

/* Search Form ------------------------------- */

.searchform {
	margin-top: 40px;
}

.searchform > div {
	display: flex;
}

.searchform input + input {
	margin-left: 10px;
}

/* Post Styling ------------------------------ */

.post,
.posts .page,
.single-attachment .attachment {
	background: #fff;
}

.posts .post,
.posts .page {
	margin-bottom: 10%;
}

.sticky .is-sticky { 
	display: inline; 
}

.post-inner { 
	padding: 8%; 
}

/* Featured Media ---------------------------- */

.featured-media img,
.featured-media a {
	display: block;
}

.featured-media img {
	margin: 0 auto;
}

.format-standard .featured-media a:hover img {
	opacity: 0.8;
}

/* Post Header ------------------------------- */

.post-header { 
	margin-bottom: 40px; 
}

.post-header a {
	text-decoration: none;
}

.post-header:last-child { 
	margin-bottom: 0; 
}

.post-date {
	display: block;
	font-size: 0.9em;
	font-weight: 600;
	margin-bottom: 10px;
	color: #767676;
}

.post-date a { color: inherit; }
.post-date a:hover { color: #333; }

.post-date .sep {
	font-weight: 400;
	color: #ddd;
	margin: 0 5px;
}

.post-title {
	font-size: 2em;
	line-height: 120%;
	margin: 0;
	word-break: break-word;
	-ms-word-break: break-word;
}

.post-title a { color: inherit; }
.post-title a:hover { color: #6AA897; }

/* Format: Gallery --------------------------- */

.flexslider {
	position: relative;
	overflow: hidden;
}

.flexslider img {
	width: 100%;
}

.flex-direction-nav {
	list-style: none;
	margin: 0;
	position: absolute;
		left: 0;
		right: 0;
		top: 50%;
	margin-top: -25px;
}

.flex-direction-nav li {
	margin: 0;
}

.flex-direction-nav a {
	display: block;
	width: 50px;
	height: 50px;
	background: #444 no-repeat center;
	background-size: auto 10px;
	position: absolute;
}

.flex-direction-nav .flex-prev {
	left: 0;
	background-image: url( assets/images/icons/chevron-left_w.png );
}

.flex-direction-nav .flex-next {
	right: 0;
	background-image: url( assets/images/icons/chevron-right_w.png );
}

.flex-direction-nav a:hover { background-color: #6AA897; }

.flex-direction-nav .flex-prev:active { margin-left: -2px; }
.flex-direction-nav .flex-next:active { margin-right: -2px; }

/* Format: Quote ----------------------------- */

.post.format-quote,
.post.format-quote + .post { 
	border-top: none; 
}

.post-quote {
	background: #444;
	color: #fff;
	display: block;
	text-decoration: none;
}

.post-quote blockquote,
.post-quote blockquote p {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 150%;
}

.post-quote blockquote {
	background-color: transparent;
}

.post-quote blockquote:before {
	color: inherit;
}

.post-quote cite {
	font-size: 1.1rem;
	display: block;
	margin-top: 30px;
}

.post-quote cite:before { 
	content: "— "; 
}

a.post-quote:hover {
	background: #6AA897;
	color: #fff;
}


/* -------------------------------------------------------------------------------- */
/*	6.	Post: Single
/* -------------------------------------------------------------------------------- */


/* Page Links -------------------------------- */

.page-links {
	background: #eee;
	display: flex;
	color: #767676;
	font-size: 0.9em;
	padding: 0 8%;
}

.page-links > span,
.page-links > a {
	display: inline-block;
	padding: 3.5% 4.5%;
}

.page-links span.title {
	padding-left: 0;
	background: none;
	color: #767676;
}

.page-links > span {
	background: #E6E6E6;
	color: #666;
}

.page-links a:hover {
	background: #6AA897;
	color: #fff;
}

/* Post Meta --------------------------------- */

.post-meta-toggle {
	background: #e6e6e6;
	color: #666;
	display: block;
	padding: 6% 4%;
}

.post-meta-toggle-inner {
	display: block;
	text-align: center;
	margin: 0 auto;
	position: relative;
}

.post-meta-toggle p,
.post-meta-toggle .bars {
	vertical-align: middle;
}

.post-meta-toggle p {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	line-height: 11px;
	margin: 0 0 0 4px;
	text-transform: uppercase;
}

.post-meta-toggle .bars {
	display: inline-block;
	height: 10px;
	position: relative;
	width: 15px;
}

.post-meta-toggle .bar {
	background-color: currentColor;
	height: 2px;
	position: absolute;
		left: 0;
		top: 0;
	width: 15px;
}

.post-meta-toggle .bar:nth-child(2) { top: 4px; }
.post-meta-toggle .bar:nth-child(3) { top: 8px; }

.post-meta-toggle:hover { cursor: pointer; }

/* active state */

.post-meta-toggle.active { background: #555; }

.post-meta-toggle.active p { color: #fff; }
.post-meta-toggle.active .bar { background: #fff; }

.post-meta-toggle.active .bar:nth-child(1),
.post-meta-toggle.active .bar:nth-child(3) { top: 4px; }

.post-meta-toggle.active .bar:nth-child(2) {
	opacity: 0;
}

.post-meta-toggle.active .bar:nth-child(1) {
	transform: rotate(45deg);
}

.post-meta-toggle.active .bar:nth-child(3) {
	transform: rotate(-45deg);
}

/* POST META INNER */

.no-js .post-meta-toggle { display: none; }
.no-js .post-meta-inner { display: block; }

.post-meta-inner {
	display: none;
	background: #444;
	padding: 8%;
	font-size: 0.95em;
	text-align: center;
	color: #fff;
}

.post-meta-inner a { 
	color: #fff; 
	text-decoration: none;
}

.post-meta-inner a:hover { 
	color: #6AA897; 
}

.post-meta-inner p {
	display: inline-block;
	width: 46%;
	margin: 20px 5% 20px 0;
	vertical-align: top;
	text-align: center;
	line-height: 130%;
}

.post-meta-inner p:nth-child(2n),
.post-meta-inner p:last-child { 
	margin-right: 0; 
}

.post-meta-inner p strong {
	display: block;
	margin-bottom: 4px;
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	color: #999;
	text-align: center;
}

/* Post Navigation --------------------------- */

.post-nav {
	padding-top: 20px;
	border-top: 2px solid #555;
	margin-top: 20px;
}


/* -------------------------------------------------------------------------------- */
/*	X.	Blocks
/* -------------------------------------------------------------------------------- */


/* Block Editor Colors ----------------------- */

:root .has-accent-color { color: #6AA897; }
:root .has-black-color { color: #272F38; }
:root .has-dark-gray-color { color: #444; }
:root .has-medium-gray-color { color: #666; }
:root .has-light-gray-color { color: #888; }
:root .has-accent-background-color { background-color: #6AA897; }
:root .has-white-color { color: #fff; }

:root .has-black-background-color { background-color: #272F38; }
:root .has-dark-gray-background-color { background-color: #444; }
:root .has-medium-gray-background-color { background-color: #666; }
:root .has-light-gray-background-color { background-color: #888; }
:root .has-white-background-color { background-color: #fff; }

/* Block Editor Font Sizes ------------------- */

:root .has-small-font-size { font-size: .842em; }
:root .has-regular-font-size { font-size: 1em; }

:root .has-large-font-size,
:root .has-larger-font-size {
	line-height: 1.45;
}

:root .has-large-font-size { font-size: 1.2em; }
:root .has-larger-font-size { font-size: 1.4em; }

/* Block: Button ----------------------------- */
/* Block: Quote ------------------------------ */

.post-content blockquote,
.post-content .wp-block-quote.is-large,
.post-content .wp-block-quote.is-style-large {
	margin-bottom: 1.25em;
	padding: 30px 30px 30px 90px;
}

.post-content blockquote p:last-child {
	margin-bottom: 0;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 1.33em;
	line-height: 1.5;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-style-large cite {
	display: block;
	font-size: 0.8em;
	text-align: inherit;
}

/* Block: Pullquote -------------------------- */

.wp-block-pullquote,
.wp-block-pullquote blockquote {
	background: none;
	border: none;
	padding: 0;
}

.wp-block-pullquote blockquote {
	margin-bottom: 0;
}

.wp-block-pullquote.is-style-solid-color blockquote {
	max-width: calc( 100% - 40px );
}

.wp-block-pullquote.is-style-solid-color blockquote cite {
	text-transform: uppercase;
}

.wp-block-pullquote blockquote:before {
	content: none;
}

.wp-block-pullquote cite {
	color: #666;
}

/* Block: Gallery ---------------------------- */

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	margin: 0;
	padding-bottom: 10px;
}

.post-content .wp-block-gallery.alignfull {
	padding: 0 8px;
}

.post-content ul.wp-block-gallery:not(.alignfull) {
	margin-left: 0;
}

/* Block: Image ------------------------------ */

.wp-block-image .aligncenter > figcaption,
.wp-block-image .alignleft > figcaption,
.wp-block-image .alignright > figcaption,
.wp-block-image.is-resized > figcaption {
	display: block;
}

/* Block: Cover Image ------------------------ */

.wp-block-cover-image.alignfull {
	min-height: 75vh;
}

.wp-block-cover-image p {
	font-weight: 400;
}

/* Block: Audio ------------------------------ */

.wp-block-audio audio {
	width: 100%;
}

/* Block: Social ----------------------------- */

.wp-block-social-links.is-style-logos-only .wp-social-link svg {
	max-width: none;
}

/* Block: File ------------------------------- */

.wp-block-file {
	align-items: center;
	background: rgba( 0, 0, 0, 0.05 );
	border-radius: 4px;
	display: flex;
	font-family: Montserrat, sans-serif;
	justify-content: space-between;
	margin: 30px 0;
	padding: 20px;
}

.wp-block-file a:not(.wp-block-file__button) {
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.wp-block-file__button {
	font-weight: 700;
	flex-shrink: 0;
}


/* -------------------------------------------------------------------------------- */
/*	7.	Post Content
/* -------------------------------------------------------------------------------- */


.post-content {
	font-family: 'Crimson Text', 'Times New Roman', 'Times', serif;
	font-size: 1.25em;
	color: #444;
}

.post-content > *:first-child { margin-top: 0 !important; }
.post-content > *:last-child { margin-bottom: 0 !important; }

.post-content p.has-drop-cap:first-letter {
	font-size: 5.8em;
}

/* Post Content Media ------------------------ */

.wp-caption,
.post-content img {
	max-width: 100%;
}

.alignnone,
.alignleft,
.alignright,
.aligncenter {
	max-width: 100%;
}

.alignnone,
.aligncenter,
.alignfull,
.alignwide {
	margin-bottom: 2.5rem;
	margin-top: 2.5rem;
}

:root .alignfull {
	margin-left: calc( ( 800px ) * -0.08 );
	max-width: 800px;
	width: 800px;
}

.post-content .alignleft,
.post-content .alignright {
	margin-bottom: 1em;
	max-width: 45%;
}

.post-content .alignleft {
	float: left;
	margin-right: 1.5em;
}

.post-content .alignright {
	float: right;
	margin-left: 1.5em;
}

.post-content .aligncenter,
.post-content .aligncenter img {
	margin-left: auto;
	margin-right: auto;
}

/* JETPACK TILES GALLERY */

.tiled-gallery .tiled-gallery-caption {
	color: #666;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	padding: 10px;
	text-transform: uppercase;
	text-align: center;
}


/* -------------------------------------------------------------------------------- */
/*	8.	Comments
/* -------------------------------------------------------------------------------- */


.comments,
.comment-respond {
	padding: 8%;
	background: #fff;
}

.comment-respond { 
	margin-top: 8%; 
}

.comments-title-container {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
	margin: 8% 0;
	position: relative;
}

.comments-title,
.comments-subtitle {
	margin: 0;
}

.comments-title {
	font-size: 1.75em;
	font-weight: 700;
}

.comments-subtitle {
	font-size: 1em;
	margin-left: 20px;
}

.comments-subtitle a { text-decoration: none; }
.comments-subtitle a:hover { text-decoration: underline; }

/* Comment ----------------------------------- */

.commentlist .children { 
	margin-left: 8%; 
}

div.comment {
	margin-top: 40px;
	border-top: 2px solid #eee;
	padding-top: 40px;
	position: relative;
}

li.comment { 
	position: relative; 
}

.commentlist > li.comment:first-child > div.comment:first-child {
	margin: 0;
	border: none;
	padding: 0;
}

.comment .avatar-container {
	display: block;
	width: 60px;
	position: absolute;
	left: 0;
}

.comment .avatar {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 999px;
	position: relative;
	z-index: 2;
}

.bypostauthor > .comment .avatar { 
	border: 4px solid #6AA897; 
}

.comment-inner { 
	margin-left: 80px; 
}

/* COMMENT HEADER */

.comment-header {
	padding: 8px 0 20px;
	position: relative;
}

.comment-header a {
	text-decoration: none;
}

.comment-header h4 {
	font-size: 1em;
	font-weight: 700;
	margin: 0;
}

.comment-header h4 a { color: #333; }
.comment-header h4 a:hover { color: #6AA897; }

.comment-date {
	font-size: .9em;
	font-weight: 600;
	margin: 6px 0 0;
}

.comment-date a { color: #666; }
.comment-date a:hover { color: #333; }

/* COMMENT ACTIONS */

.comment-actions {
	font-size: 0.9em;
	font-weight: 600;
	margin-top: 20px;
}

.comment-actions p { 
	display: inline-block;
	margin: 0;
}

.comment-actions p + p:before {
	content: "/";
	display: inline-block;
	margin: 0 10px 0 7px;
	color: #ddd;
}

.comment-actions a { 
	color: #666; 
	text-decoration: none;
}

.comment-actions a:hover { 
	color: #6AA897; 
}

/* Comment Navigation ------------------------ */

.comments-nav {
	border-top: 2px solid #eee;
	display: flex;
	font-size: 0.9em;
	font-weight: 700;
	justify-content: space-between;
	margin-top: 40px;
	padding-top: 40px;
}

.comments-nav a { 
	color: #666; 
	text-decoration: none;
}

.comments-nav a:hover { 
	color: #6AA897; 
}


/* -------------------------------------------------------------------------------- */
/*	9.	Comment Respond
/* -------------------------------------------------------------------------------- */


.commentlist .comment-respond {
	border-top: 2px solid #eee;
	margin-top: 40px;
	padding: 40px 0 0;
}

.comment-reply-title {
	font-size: 1.75em;
	font-weight: 700;
	margin: 0 0 40px;
}

#cancel-comment-reply-link {
	font-size: 1rem;
	font-weight: 700;
	margin-left: 5px;
}

#cancel-comment-reply-link:hover { 
	text-decoration: underline; 
}

/* Comment Form ------------------------------ */

.comment-form p {
	margin-bottom: 30px;
}

.comment-form > p:last-of-type {
	margin-bottom: 0;
}

.comment-form p.logged-in-as,
.comment-form p.comment-notes {
	color: #666;
	margin: -25px 0 40px;
}

.comment-form p.logged-in-as a,
.comment-form p.comment-notes a { 
	color: inherit; 
	text-decoration: none;
}

.comment-form p.logged-in-as a:hover,
.comment-form p.comment-notes a:hover {
	color: #6AA897;
}

.comment-form label {
	display: block;
	margin: 0 0 5px 0;
}

.comment-form-author,
.comment-form-email {
	float: left;
	width: 47.5%;
}

.comment-form-author { 
	margin-right: 5%; 
}

.comment-form input[type="checkbox"] + label {
	display: inline;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 0 0 5px;
	text-transform: none;
}

.comment-form label .required {
	margin-left: 2px;
	color: red;
}

.comment-form p.comment-subscription-form { margin: 30px 0 0; }
.comment-form p.comment-subscription-form + p.comment-subscription-form { margin: 10px 0 0; }
.comment-subscription-form label { font-size: 12px; }


/* -------------------------------------------------------------------------------- */
/*	10.	Pagination
/* -------------------------------------------------------------------------------- */


.infinite-scroll .archive-nav { 
	display: none; 
}

.archive-nav {
	display: flex;
	font-weight: 700;
	justify-content: space-between;
}

.archive-nav.only-next {
	justify-content: flex-end;
}

.archive-nav a {
	color: #666;
	text-decoration: none;
}

.archive-nav a:hover { 
	color: #6AA897; 
}

/* Jetpack Infinite Scroll ------------------- */

#infinite-handle { 
	text-align: center; 
}

#infinite-handle span {
	background-color: #444;
	border-radius: 0;
	color: #fff;
	display: inline-block;
	font-size: 0.8em;
	padding: 16px 20px;
}

#infinite-handle span:hover { 
	background: #6AA897; 
}

.infinite-loader .spinner {
	display: block;
	margin: 0 auto;
}


/* -------------------------------------------------------------------------------- */
/*	11.	Responsive
/* -------------------------------------------------------------------------------- */


@media ( max-width: 1254px ) {

	/* Post Content --------------------------------------- */

	.post-content .alignfull {
		margin-left: calc( ( ( 100vw - 300px ) * .84 ) * -0.08 );
		max-width: calc( ( 100vw - 300px ) * .84 );
		width: calc( ( 100vw - 300px ) * .84 );
	}

}

@media ( max-width: 1100px ) {

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

	.sidebar {
		padding: 60px 25px 0 25px;
		width: 250px;
	}

	.sidebar-bottom {
		padding-bottom: 30px;
	}

	.wrapper {
		margin-left: 250px;
	}

	/* Post Content -------------------------- */

	.post-content .alignfull {
		margin-left: calc( ( ( 100vw - 250px ) * .84 ) * -0.08 );
		max-width: calc( ( 100vw - 250px ) * .84 );
		width: calc( ( 100vw - 250px ) * .84 );
	}

}

@media ( max-width: 930px ) {

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

	.sidebar {
		padding: 30px 0;
		position: relative;
			bottom: auto;
			right: auto;
			top: auto;
		width: 100%;
	}

	.sidebar-inner {
		margin: 0 auto;
		max-width: 86%;
	}

	.wrapper-inner {
		margin: 0;
		max-width: none;
		width: auto;
	}

	.wrapper {
		margin: 7%;
	}

	/* Site Header --------------------------- */

	.blog-title {
		text-align: left;
	}

	.blog-title:after,
	.main-menu,
	.sidebar-bottom {
		display: none;
	}

	.sidebar-top {
		align-items: center;
		display: flex;
		justify-content: space-between;
	}

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

	.nav-toggle {
		display: block;
		flex-shrink: 0;
		margin-left: 20px;
	}

	.nav-toggle,
	.nav-toggle:hover {
		background-color: #444;
	}

	.nav-toggle .bars {
		float: right;
		height: 10px;
		position: relative;
		width: 15px;
	}

	.nav-toggle .bar {
		background-color: #fff;
		height: 2px;
		position: absolute;
			left: 0;
			top: 0;
		width: 15px;
	}

	.nav-toggle .bar:nth-child(2) { top: 4px; }
	.nav-toggle .bar:nth-child(3) { top: 8px; }

	.nav-toggle p {
		color: #fff;
		float: right;
		font-size: 14px;
		font-weight: 700;
		line-height: 10px;
		margin: 0 8px 0 0;
		text-align: right;
		text-transform: uppercase;
	}

	.nav-toggle .close { 
		display: none; 
	}

	.nav-toggle:hover { 
		cursor: pointer; 
	}

	.nav-toggle.active .bar:nth-child(1),
	.nav-toggle.active .bar:nth-child(3) { 
		top: 4px; 
	}

	.nav-toggle.active .bar:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle.active .bar:nth-child(1) { transform: rotate( 45deg ); }
	.nav-toggle.active .bar:nth-child(3) { transform: rotate( -45deg ); }

	.nav-toggle.active .menu { display: none; }
	.nav-toggle.active .close { display: block; }

	/* MOBILE MENU */

	.mobile-menu { 
		padding: 40px 7%; 
	}

	.mobile-menu li { 
		margin-top: 25px; 
	}

	.mobile-menu > li:first-child { 
		margin-top: 0; 
	}

	.mobile-menu .sub-menu { 
		margin-left: 25px; 
	}
	
	.mobile-menu a {
		color: #bbb;
		display: block;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: 1px;
		text-decoration: none;
		text-transform: uppercase;
	}

	.mobile-menu a:hover { 
		color: #fff; 
	}

	/* Post Content -------------------------- */

	.post-content .alignfull {
		margin-left: calc( ( 100vw * .86 ) * -0.08 );
		max-width: calc( 100vw * .86 );
		width: calc( 100vw * .86 );
	}

}

@media ( max-width: 700px ) {

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

	.wrapper,
	.wrapper-inner {
		margin: 0;
		max-width: none;
		width: auto;
	}

	/* Site Header --------------------------- */

	.sidebar {
		padding: 25px 0;
	}

	.sidebar-inner {
		max-width: 90%;
	}

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

	.nav-toggle {
		right: 5%;
	}

	.mobile-menu {
		padding: 35px 5%;
	}

	.mobile-menu a {
		font-size: 14px;
	}

	/* Post: Archive ------------------------- */

	.archive-header {
		margin: 7% 0;
	}

	.post-header {
		margin-bottom: 30px;
	}

	.posts .post,
	.posts .page {
		margin-bottom: 0;
	}

	.post + .post {
		border-top: 10px solid #eee;
	}

	.post-inner,
	.archive-nav {
		padding: 40px 5%;
	}

	.page-links {
		padding: 0 5%;
	}

	.page-links > span,
	.page-links > a {
		padding: 15px 20px;
	}

	/* Post: Single -------------------------- */

	.post-meta-inner {
		padding: 40px 5%;
	}

	/* Post Content -------------------------- */

	.post-content .alignfull {
		margin-left: -5vw;
		max-width: 100vw;
		width: 100vw;
	}

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

	.comments-title-container {
		padding: 35px 5%;
		margin: 0;
		background: #fff;
		border-bottom: 2px solid #eee;
	}

	.comments,
	.comment-respond {
		padding: 40px 5%;
	}

	.comment-respond {
		margin-top: 0;
		border-top: 2px solid #eee;
	}

	.no-comments {  margin: 10% 0; }

	/* Pagination ---------------------------- */

	#infinite-handle,
	.infinite-loader {
		margin: 7% 0;
	}

}

@media ( max-width: 600px ) {

	body {
		font-size: 16px;
	}

	/* Element Base -------------------------- */

	h1 { font-size: 1.5em; }
	h2 { font-size: 1.25em; }
	h3 { font-size: 1.1em; }
	h4 { font-size: 1em; }
	h5 { font-size: 0.9em; }
	h6 { font-size: 0.7em; }

	input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="url"],
	input[type="date"],
	input[type="month"],
	input[type="time"],
	input[type="datetime"],
	input[type="datetime-local"],
	input[type="week"],
	input[type="number"],
	input[type="search"],
	input[type="tel"],
	input[type="color"],
	textarea {
		padding: 13px;
		font-size: 0.8em;
	}

	/* Post: Archive ------------------------- */

	/* FORMAT: GALLERY */

	.flex-direction-nav {
		margin-top: -16px;
	}

	.flex-direction-nav a {
		height: 32px;
		width: 32px;
	}

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

	.comments-title,
	.comment-reply-title {
		font-size: 1.4em;
	}

	#cancel-comment-reply-link {
		margin-left: 3px;
		font-size: 0.9rem;
	}

	div.comment,
	.comments-nav {
		margin-top: 25px;
		padding-top: 25px;
	}

	.comment-inner {
		margin-left: 64px;
	}

	.comment > .avatar-container {
		width: 44px;
	}

	.comment-header {
		padding-top: 4px;
	}

	/* Comment Respond ----------------------- */

	.comment-reply-title { 
		margin-bottom: 35px; 
	}

	.comment-form p.logged-in-as,
	.comment-form p.comment-notes {
		margin: -25px 0 30px;
	}

	.comment-form p { 
		margin-bottom: 20px; 
	}

	.comment-form-author,
	.comment-form-email {
		float: none;
		width: 100%;
		margin-left: 0;
	}

}

@media ( max-width: 500px ) {

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

	.sidebar {
		padding: 20px 0;
	}

	.blog-title {
		font-size: 1.25em;
	}

	/* Post: Archive ------------------------- */

	.post-header {
		margin-bottom: 20px;
	}

	.post-title {
		font-size: 1.75em;
	}

	/* FORMAT: QUOTE */

	.post-quote blockquote,
	.post-quote blockquote p {
		font-size: 1.25rem;
	}

	/* Post Content -------------------------- */

	.post-content blockquote,
	.post-content .wp-block-quote.is-large,
	.post-content .wp-block-quote.is-style-large {
		padding: 25px;
	}

	.post-content .wp-block-pullquote,
	.post-content .wp-block-pullquote blockquote {
		padding: 0;
	}

	.post-content blockquote:before {
		content: none;
	}

	.post-content .alignleft,
	.post-content .alignright {
		float: none;
		margin: 2em auto;
		max-width: 100%;
	}

	.post-content .alignleft img,
	.post-content .alignright img {
		margin: 0 auto;
	}

}

@media ( max-width: 400px ) {

	/* Post: Single -------------------------- */

	.post-meta-toggle {
		padding: 30px 4%;
	}

	.post-meta-date span {
		display: none;
	}

	.post-content a.more-link {
		padding: 12px 16px;
	}

}

@media ( max-width: 350px ) {

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

	.comment .avatar-container {
		display: none;
	}

	.comment-inner {
		margin-left: 0;
	}

}