/*
Theme Name: Matt and Sherry 2
Theme URI: https://mattandsherry.com
Author: Photricity Web Design
Author URI: https://photricity.com
Version: 1.0.2
Description: Custom website design for Matt & Sherry McPherson. (October 2019)
Text Domain: mns
*/


/* Normalize
================================ */

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	line-height: 1.15;
	scroll-behavior: smooth;
}

pre {
	font-family: monospace;
	font-size: 1em;
	overflow: auto;
}

figure {
	margin: 0;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

code,
kbd,
samp {
	font-family: monospace;
	font-size: 1em;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
}

input,
select,
button,
optgroup,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

input,
button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="reset"],
[type="button"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="button"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="radio"],
[type="checkbox"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

[hidden],
.hidden,
.screen-reader-text {
	display: none;
}

nav,
main,
aside,
header,
footer,
article,
section {
	display: block;
}

html,
body {
	overflow-x: hidden;
	overflow-y: auto;
}

footer {
	clear: both;
}


/* Variables
================================ */

:root {
	/* Colors */
	--dark-color: #78574b;
	--light-color: #fff;
	--accent-color: #c52;
	--hover-color: #c83;
	--dark-grad: linear-gradient(70deg, var(--dark-color), #b97);
	--light-grad: linear-gradient(70deg, #edc 0%, var(--light-color) 120%);
	--accent-grad: linear-gradient(70deg, var(--accent-color), var(--hover-color));

	/* Other */
	--radius: 1.5rem;
	--duration: 0.5s;
	--line-width: 2px;
	--main-padding: 5vw;
	--shadow: 0.075rem 0.075rem 0 var(--dark-color);
	--glow: 0 0 0.8rem rgba(192,93,32,0.7);
	
	/* Text */
	--title-font: "Abril Fatface", "Bodoni MT", serif;
	--normal: 400;
	--bold: 700;
}


/* Typography
================================ */

html {
	font-size: 16px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	margin: 0;
	background: var(--light-color);
	color: var(--dark-color);
	font: var(--normal) 1.3em/1.8 "Century Gothic", "Avant Garde", "Trebuchet MS", sans-serif;
	word-break: break-word;
	word-wrap: break-word;
}

@media (max-width: 1000px) {
	body {
		font-size: 1.2em;
	}
}

@media (max-width: 750px) {
	body {
		font-size: 1.1em;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--title-font);
	font-weight: var(--bold);
	line-height: 1.2;
	text-transform: lowercase;
	text-align: center;
	margin: 0 0 0.5em;
}

h1,
h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}

h4 {
	font-size: 1.5em;
}

h5 {
	font-size: 1.4em;
}

h6 {
	font-size: 1.3em;
}

h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
	content: '— ';
}

h2:after,
h3:after,
h4:after,
h5:after,
h6:after {
	content: ' —';
}

b,
strong {
	font-weight: var(--bold);
}

i,
em,
dfn,
cite {
	font-style: italic;
}

p {
	margin: 0 0 1.5em;
}

small,
.small,
.has-small-font-size {
	font-size: 0.8em;
}

big,
.big,
.has-big-font-size {
	font-size: 125%;
}

.has-huge-font-size {
	font-size: 175%;
}

blockquote,
blockquote.wp-block-quote {
	margin: 0 0 1.5em;
	padding-left: 1.5rem;
	box-sizing: border-box;
	line-height: 2;
	border: 0 solid var(--dark-color);
	border-left-width: var(--line-width);
}

blockquote p:last-of-type {
	margin-bottom: 0;
}

.wp-block-pullquote {
	box-sizing: border-box;
	border: 0 solid var(--dark-color);
	border-top-width: var(--line-width);
	border-bottom-width: var(--line-width);
	color: var(--accent-color);
}

.wp-block-pullquote blockquote {
	border: none;
	padding: 0;
	max-width: 60%;
	margin: 0 auto;
}

.wp-block-pullquote p {
	margin: 0;
}

.wp-block-pullquote.is-style-solid-color {
	color: var(--light-color);
	background-color: var(--accent-color);
}

cite {
	color: inherit !important;
	opacity: 0.7;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

::selection {
	background-color: var(--accent-color);
	color: var(--light-color);
}


/* Lists
================================ */

ul,
ol,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry ul,
.comment {
	box-sizing: border-box;
	margin-bottom: 2em;
	padding-left: 1.3em;
	border: 0 solid var(--dark-color);
	border-left-width: var(--line-width);
}

ol {
	padding-left: 1.1em;
	margin-bottom: 2em;
}

ol li {
	list-style-type: decimal;
	padding-left: 0.8em;
}

ol ol li {
	list-style-type: upper-alpha;
}

ol li,
.entry li {
	margin: 0.5em 0;
}

ol ol,
.entry ul ul {
	margin-bottom: 0;
}

ol ul li {
	list-style: none;
}

.list-reset,
.list-reset li,
ul.wp-block-gallery,
.wp-block-gallery li,
.wp-block-latest-posts.is-grid,
.wp-block-latest-posts.is-grid li {
	padding: 0;
	list-style: none;
	border: none;
}


/* Links
================================ */

a {
	-webkit-text-decoration-skip: objects;
	background-color: transparent;
	color: var(--accent-color);
	text-decoration: none;
	transition: color var(--duration) ease;
}

a:hover,
a:active,
a:focus {
	color: var(--hover-color);
	text-decoration: none;
	outline: 0;
}

a img {
	transition: var(--duration) filter ease;
}

a:hover img {
	-webkit-filter: brightness(150%);
	filter: brightness(150%);
}


/* Navigation
================================ */

#nav-bar {
	position: fixed;
	top: 0;
	z-index: 99;
	width: 100%;
	padding-bottom: 0.5em;
	opacity: 0.7;
	transition: opacity var(--duration) ease;
	text-shadow: var(--shadow);
	background: linear-gradient(rgba(159,110,85,0.7), transparent);
	font-family: var(--title-font);
}

#nav {
	text-transform: lowercase;
	float: right;
}

@media (min-width: 561px) {
	#nav-bar:hover {
		opacity: 1;
	}

	#nav {
		margin-top: 0.6em;
		font-size: 1.2em;
	}

	#nav:after {
		content: '';
		display: block;
		clear: both;
		margin-top: 2.1em;
		height: var(--line-width);
		background: var(--light-color);
		box-shadow: var(--shadow);
	}

	#nav-bar a {
		color: var(--light-color);
	}

	#nav-bar li {
		float: left;
		margin-right: 1em;
	}

	#nav-bar li:last-of-type {
		margin-right: 0;
	}

	.mobile-nav,
	.mobile-nav-container {
		display: none;
	}
}

@media (max-width: 560px) {
	#nav {
		position: fixed;
		padding: 2rem;
		max-width: 70%;
		width: 20rem;
		right: -30rem;
		opacity: 0;
		top: 0;
		bottom: 0;
		z-index: 99;
		overflow-x: hidden;
		overflow-y: auto;
		font-size: 1.4em;
		text-shadow: none;
		background-color: var(--light-color);
		box-shadow: 0 0 2rem rgba(0,0,0,0.3);
		transition: var(--duration) right ease-in-out, var(--duration) opacity ease-in-out;
	}

	.mobile-nav.open {
		position: relative;
		top: 0;
		float: right;
		font-size: 2.2em;
		color: var(--light-color);
	}

	.mobile-nav.close {
		font-size: 3em;
		margin: 0 0 0.5em 0;
		line-height: 0;
		cursor: pointer;
	}
}


/* Tables
================================ */

table {
	width: 100%;
	margin-bottom: 1.5em;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
}

table th,
table td {
	padding: 0.25em 0.5em;
	vertical-align: top;
	text-align: left;
	border: 0;
	word-break: break-all;
}

table th {
	font-weight: var(--bold);
	background: var(--dark-color);
	color: var(--light-color);
	text-transform: uppercase;
}

tr:nth-child(odd) {
    background: #dcd4cb;
}

tr:nth-child(even) {
    background: none;
}

.table-center,
#wp-calendar th,
#wp-calendar td {
	text-align: center;
}


/* Forms
================================ */

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.wp-block-file__button,
.comment-navigation a,
.comment-reply-link,
.post-edit-link,
.more-link {
	box-sizing: border-box;
	margin-bottom: 0.5em;
	transition: all var(--duration) ease;
	border-radius: var(--radius) !important;
	font-size: inherit;
	line-height: 1.2;
	outline: none;
	/* ^^ Same as input */
	font-family: var(--title-font);
	padding: 0.3em 1em 0.4em;
	background: var(--accent-grad) !important;
	color: var(--light-color) !important;
	border: var(--line-width) solid var(--light-color);
	font-weight: var(--normal);
	text-decoration: none;
	text-transform: lowercase;
	box-shadow: var(--glow);
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-block-file__button:hover,
.comment-navigation a:hover,
.comment-reply-link:hover,
.post-edit-link:hover,
.more-link:hover {
	color: var(--light-color) !important;
	filter: brightness(1.3);
	background: none;
	cursor: pointer;
}

.button.small,
.small .button,
input.small,
.small input,
.wp-block-button.small a,
.wp-block-file__button,
.comment-reply-link,
.post-edit-link,
.more-link {
	font-size: 0.8em;
}

.more-link {
	display: table;
	margin: 1em 0;
	clear: both;
}

.page-numbers,
.post-page-numbers,
.page-numbers.current,
.post-page-numbers.current {
	margin: 0 0.2rem;
	padding: 0.2rem 0.7rem;
}

.page-numbers.current,
.post-page-numbers.current {
	margin: 0 0.5rem;
}

ul.page-numbers li {
	float: left;
}

.wp-block-file__button {
	display: table;
	margin-left: 0 !important;
}

button[disabled],
input[type="submit"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

textarea,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="color"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"] {
	box-sizing: border-box;
	margin-bottom: 0.5em;
	transition: all var(--duration) ease;
	border-radius: var(--radius) !important;
	font-size: inherit;
	line-height: 1.2;
	outline: none;
	/* ^^ Same as button */
	font-family: inherit;
	-webkit-backface-visibility: hidden;
	-webkit-appearance: none;
	padding: 0.3em 1em 0.4em;
	width: 100%;
	max-width: 20rem;
	color: inherit;
	border: var(--line-width) solid var(--dark-color);
	background: var(--light-color);
}

textarea {
	display: block;
	width: 100%;
	max-width: 40rem;
	resize: vertical;
	line-height: 1.5;
	padding: 1em;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]: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="color"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus {
	outline: none;
	border-color: var(--accent-color);
}

select {
	width: auto !important;
	max-width: 40rem;
}

input[type="search"]::-webkit-search-decoration {
	display: none;
}

::placeholder {
	color: var(--dark-color);
	opacity: 0.6;
}


/* Layout
================================ */

.clear {
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.center {
	margin-left: auto;
	margin-right: auto;
}

.flex-center {
	display: flex;
	align-items: center;
}

.no-margin {
	margin: 0;
}

.grid-2,
body.two-col .posts-list {
	display: grid;
	grid-gap: 4rem 2rem;
	margin-bottom: 2rem;
}

.grid-3,
body.three-col .posts-list {
	display: grid;
	grid-gap: 2rem;
	margin-bottom: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
	display: grid;
	grid-gap: 2rem;
	margin-bottom: 0rem;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@media (min-width: 460px) {
	.grid-2,
	body.two-col .posts-list {
		grid-template-columns: repeat(auto-fit, minmax(425px, 1fr));
	}
}

.row-span-2 {
	grid-row: span 2;
}

.row-span-3 {
	grid-row: span 3;
}


/* Content
================================ */

hr,
hr.wp-block-separator {
	box-sizing: border-box;
	margin: 3em auto 3em;
	width: 100%;
	height: var(--line-width);
	background-color: var(--dark-color);
	overflow: visible;
	border: 0;
}

.wp-block-separator.is-style-dots:before {
	font-size: 30px;
}

.wrap {
	margin: 0 auto;
	padding: 0 var(--main-padding);
	width: 100%;
	max-width: 1500px;
	box-sizing: border-box;
}

/*.wrap:after {*/
/*	content: '';*/
/*	display: block;*/
/*	clear: both;*/
/*}*/

#header {
	position: relative;
	z-index: 0;
	padding: 8rem 0 6rem;
	box-sizing: border-box;
	background: var(--dark-color) url(images/bg-mns.jpg) no-repeat 75% 19%;
	background-size: cover;
	color: var(--light-color);
}

#header:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: linear-gradient(30deg, rgba(159,110,85,0.8) 30%, transparent 90%);
}

.home #header {
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100); /* Requires js */
	min-height: 25em;
	padding: 5rem 0;
	display: flex;
	align-items: center;
}

.icon {
	text-align: left;
	float: left;
	margin-top: 0.2em;
	color: var(--light-color);
}

.header-container {
	width: 23em;
	max-width: 75%;
}

#header .logo {
	fill: var(--light-color);
	margin-bottom: 0.5em;
}

#header .logo line {
	stroke: var(--light-color);
}

#footer .logo {
	fill: var(--dark-color);
}

#footer .logo line {
	stroke: var(--dark-color);
}

.tagline {
	margin-bottom: 1em;
}

.scroll {
	position: absolute;
	bottom: 0.5em;
	width: 100%;
}

.scroll a {
	display: block;
	width: 5rem;
	margin: 0 auto;
}

@keyframes bounce {
	0% { transform: translateY(0); }
	50% { transform: translateY(8px); }
	100% { transform: translateY(0); }
}

.bounce {
	animation-name: bounce;
	animation-duration: 3s;
	animation-iteration-count: infinite;
}

.hero {
	position: relative;
	z-index: 0;
	padding: 8rem 0;
}

.hero.light:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: rgba(255,234,214,0.8);
}

.hero.dark {
	background: var(--dark-color);
	color: var(--light-color);
}

.hero.dark:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: linear-gradient(-30deg, rgba(159,110,85,0.8) 30%, transparent 110%);
}

#music {
	background: url(images/bg-grass.jpg) no-repeat center center;
	background-size: cover;
}

#videos {
	background: url(images/bg-concert.jpg) no-repeat center 30%;
	background-size: cover;
}

@media (max-width: 1100px) {
	#header {
		background-image: url(images/bg-mns-sm.jpg);
	}

	#music {
		background-image: url(images/bg-grass-sm.jpg);
	}

	#videos {
		background-image: url(images/bg-concert-sm.jpg);
	}
}

#main {
	padding: var(--main-padding) 0;
}

#footer {
	padding: 5em 0;
	opacity: 0.6;
}

#footer .wrap {
	display: grid;
	grid-gap: 6rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

}

#footer .wrap > div {
	padding: 0 4rem;
}

.a2a_kit {
	margin-bottom: 1rem;
	text-align: center;
}

.a2a_svg {
	background-color: var(--accent-color) !important;
	border-radius: var(--radius) !important;
	width: 45px !important;
	height: 45px !important;
	padding: 0.3em !important;
	box-sizing: border-box;
}

.a2a_kit a {
	float: none !important;
	display: inline-block;
}

/*.a2a_svg path {*/
	/*fill: var(--light-color) !important;*/
/*}*/


/* Posts
================================ */

.sticky .title:before {
	content: '\00bb';
	margin-right: 0.3em;
	color: var(--dark-color);
}

.sticky .entry-date {
	display: none;
}

.title {
	margin-bottom: 1em;
}

#page-header {
	margin-bottom: 2rem;
}

.posts-list .entry {
	margin-bottom: 3rem;
}

.posts-list .entry:last-of-type {
	margin-bottom: 0;
}

.pagination {
	margin: 1em 0;
	clear: both;
}

.entry-info {
	font-size: 80%;
}

.subtitle {
	text-align: center;
	font-size: 130%;
	margin-top: -1em;
}


/* Comments
================================ */

#comments,
#respond {
	margin-top: 5rem;
}

.comment {
	margin-top: 2rem;
}

.comment p:last-of-type {
	margin-bottom: 0;
}

.reply {
	clear: both;
}

.comment-respond {
	margin-top: 2rem;
}

.comment-metadata {
	font-size: 80%;
}

.bypostauthor .fn:before {
	content: '\00bb';
	position: relative;
	top: -0.1em;
	margin-right: 0.3em;
	color: var(--dark-color);
}

img.avatar {
	margin-right: 0.5em;
	vertical-align: middle;
}


/* Media
================================ */

embed,
iframe,
object {
	max-width: 100%;
}

svg:not(:root) {
	overflow: hidden;
}

audio,
video {
	display: inline-block;
	background: none !important;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

.wp-block-embed,
.wp-block-audio {
	max-width: 100%;
	/*overflow: scroll;*/
}

img {
	max-width: 100%;
	height: auto;
	border-style: none;
	position: relative;
}

.alignleft,
.alignright,
.size-thumbnail {
	/*max-width: 49%;*/
}

.alignleft {
	float: left;
	margin-right: 1em;
}

.alignright {
	float: right;
	margin-left: 1em;
}

.aligncenter {
	clear: both;
	display: table;
	margin: 0 auto;
}

.alignnone {
	margin: 0;
}

.alignwide {
	position: relative;
	left: calc(50% - 50vw);
	width: 90vw;
	max-width: 90vw;
	margin: 2rem 5vw;
	box-sizing: border-box;
}

.alignfull {
	position: relative;
	left: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	margin: 2rem 0;
}

@media (max-width: 946px) {
	.alignwide,
	.alignfull {
		position: relative;
		left: calc(50% - 50vw);
		width: 100vw;
		max-width: 100vw;
		margin: 2rem 0;
	}
}

.wp-block-image.alignwide {
	display: block;
}

.wp-caption {
	display: block;
	margin-bottom: 1rem;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text,
.gallery-caption {
	margin: 0;
	padding: 0.5rem;
	font-size: 0.8em;
	line-height: 1.4;
	text-align: center;
}

.posts-list .attachment-post-thumbnail {
	display: inline;
	float: left;
	margin: 0 1em 1em 0;
}

.search .attachment-post-thumbnail,
.posts-list .attachment-post-thumbnail {
	max-width: 20rem;
}

.single .attachment-post-thumbnail,
body.page .attachment-post-thumbnail {
	margin: 0 auto 1.5em;
	display: block;
}

.card img {
	width: 100%;
}

figcaption {
	box-sizing: border-box;
	margin-top: 0;
}

svg {
	fill: var(--dark-color);
	font-family: var(--title-font);
}

img,
.wp-block-cover,
.wp-block-video,
.wp-block-embed__wrapper,
.is-cropped .blocks-gallery-item {
	border-radius: 0.3rem;
	box-shadow: var(--glow);
	overflow: hidden;
}

.no-shadow,
.no-shadow img,
.is-cropped .blocks-gallery-item img {
	box-shadow: none;
	text-shadow: none;
}


/* Browser Preferences
================================ */

@media (prefers-reduced-motion: reduce) {
	:root {
		--duration: 0s;
	}
}

/*@media (prefers-color-scheme: dark) {*/
/*	body {*/
/*		background: #26201e;*/
/*		color: #fff;*/
/*	}*/

/*	#footer svg {*/
/*		fill: #fff !important;*/
/*	}*/
/*}*/


/* Print
================================ */

@media print {
	body,
	#main,
	#header,
	#footer {
		background: #fff !important;
		color: #000;
	}

	.menu,
	.reply,
	.nav-links,
	.mobile-nav,
	.search-form,
	.post-nav-links,
	.post-edit-link,
	#respond,
	#footer hr,
	#footer-widgets {
		display: none;
	}

	.wrap,
	#main,
	#footer,
	#header {
		margin: 0;
		padding: 0;
	}

	a,
	img,
	iframe,
	blockquote,
	.wp-block-cover,
	.wp-block-pullquote {
		page-break-inside: avoid;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	.wp-block-cover {
		min-height: 0;
	}
}