/**
 *  Theme Name: Kylee Cooks
 *  Theme URI: https://www.oncecoupled.com
 *
 *  Description: Custom Genesis child theme. Made with love!
 *  Tags: custom-made, genesis, child-theme
 *
 *  Author: Once Coupled
 *  Author URI: https://www.oncecoupled.com
 *
 *  Version: 1.0.0
 *  Template: genesis
 *  Template Version: 3.0.2
 *
 *  Text Domain: once-coupled-kylee-cooks
 *  License: All rights reserved.
 *
 *  Notes: this complements our `defaults` file and sets up
 *  a base for us by overwriting some fonts & colors #3
 */


/* ================================
[ Structure ]
================================ */

/* ---------- [ Table of Contents ] ---------- */

/**
 * Notes
 * - TOC (you are here)
 *
 * Elements
 * - Text
 * - Headings
 * - Links
 * - Forms
 *
 * Containers
 * - Content, Sidebar
 *
 * Navigation
 * - Toggles
 * - Generic Menu
 * - Pagination
 *
 * Sections
 * - Sidebar
 * - Footer
 *
 * Content
 * - Comments
 * - Search
 */


/* ================================
[ Elements ]
================================ */

/* ---------- [ Text ] ---------- */

html {
	font-family: 'Work Sans', sans-serif;
	font-size: 18px;
	line-height: 1.8;
}

/* ---------- [ Headings ] ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	line-height: 1.2;

	margin: 8px 0 12px;
}

h1 {
	font-size: 36px;
}

h2,
h5 {
	font-size: 28px;
}

h3 {
	font-size: 24px;
}

h4,
h5,
h6 {
	font-size: 20px;
}

/* ---------- [ Links ] ---------- */

a {
	text-decoration: none;
}

@media screen and (min-width: 1024px) {
	a:hover {
		opacity: 0.6;
		text-decoration: underline;
	}

	input[type='button']:hover,
	input[type='submit']:hover {
		-webkit-box-shadow: 0px 10px 15px -6px rgba(0,0,0,0.15);
		-moz-box-shadow: 0px 10px 15px -6px rgba(0,0,0,0.15);
		box-shadow: 0px 10px 15px -6px rgba(0,0,0,0.15);
	}
}

/* [ In-content Links ] */

.author-box a,
.comment-content a,
.error404 .entry-content a,
.single-entry-content a:not([class^='wp-block']),
.about-bio a,
.about-description a,
.about-faq a {
	transition: 250ms;
	color: #B24D54;
	text-decoration: underline;
}

@media screen and (min-width: 1024px) {
	.author-box a:hover,
	.comment-content a:hover,
	.error404 .entry-content a:hover,
	.single-entry-content a:hover:not([class^='wp-block']),
	.about-bio a:hover,
	.about-description a:hover,
	.about-faq a:hover {
		text-decoration: none;
		opacity: 1;
		color: #A04147;
	}

	.single-entry-content a:hover:not([class^='wp-block']),
	.about-bio a:hover,
	.about-description a:hover,
	.about-faq a:hover {
		background-color: #F5F0E9;
	}
}

/* [ More Links ] */

.more-link-container {
	display: block;

	margin-top: 8px;

	text-align: center;
}

/* ---------- [ Forms ] ---------- */

input,
select,
textarea {
	font-size: 14px;
	border: 0;
}

a.button,
.button,
input[type='button'],
input[type='submit'],
a.more-link,
.comment-reply a {
	font-family: "Oswald", sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	line-height: 1;
	display: inline-block;
	padding: 13px 20px;
	color: #000000;
	border: 2px solid #000000;
	border-radius: 3px;
}

@media screen and (min-width: 768px) {
	a.button,
	.button,
	input[type='button'],
	input[type='submit'],
	a.more-link,
	.comment-reply a {
		padding: 12px 20px;
	}
}

@media screen and (min-width: 1024px) {
	a.button:hover,
	.button:hover,
	input[type='button']:hover,
	input[type='submit']:hover,
	a.more-link:hover,
	.comment-reply a:hover {
		opacity: 1;
		color: #fff;
		background: #231f20;
	}
}

.button a {
	color: #231f20;
}

a .icon-font {
	font-size: 80%;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #000;
}

::-moz-placeholder { /* Firefox 19+ */
	color: #000;
}


/* ================================
[ Containers ]
================================ */

/* ---------- [ Content, Sidebar ] ---------- */

.content-sidebar-wrap {
	margin: 0 auto 32px;
}

.page-template-default:not(.home) .content-sidebar-wrap {
	margin-top: 20px;
}

@media screen and (min-width: 1024px) {
	.content-sidebar-wrap {
        margin-bottom: 0;
	}
	.page-template-default:not(.home) .content-sidebar-wrap {
		margin-top: 25px;
	}
}


/* ================================
[ Navigation ]
================================ */

/* ---------- [ Toggles ] ---------- */

.generic-toggle {
	font-size: 22px;
}

.sub-menu-toggle {
	font-size: 18px;
}

/* ---------- [ Generic Menu ] ---------- */

.menu .menu-item {
	display: inline;

	margin: 2px;
}

@media screen and (min-width: 1024px) {
	.menu .menu-item {
		display: inline-block;

		margin: 0;
	}
}

.menu .menu-item a {
	position: relative;

	display: inline-block;

	padding: 8px 12px; /* for improved tap target sizing */
}

@media screen and (min-width: 1024px) {
	.menu .menu-item a {
		display: block;
	}
}

/* [ Sub-menus ] */

.menu .sub-menu {
	display: inline;
}

@media screen and (min-width: 1024px) {
	.menu .sub-menu {
		display: none;

		background: #343434;
	}

	.menu .sub-menu a {
		font-size: 50%;

		color: #fff;
	}

	.menu > .menu-item > .sub-menu .menu-item:first-of-type > a {
		padding-top: 12px;
	}

	.menu > .menu-item > .sub-menu .menu-item:last-of-type > a {
		padding-bottom: 12px;
	}

	.menu .sub-menu .menu-item:hover > a {
		opacity: 1;
		background: #231f20;
	}
}

/* [ First sub-menu ] */

@media screen and (min-width: 1024px) {
	.menu > .menu-item > .sub-menu {
		top: calc(1em + 24px); /* height of menu item (line height + padding) + any psuedo-elements */
	}
}

/* [ Sub-menu Arrows ] */

 @media screen and (min-width: 1024px) {
	.genesis-nav-menu > .menu-item > .sub-menu > .menu-item:first-of-type::before,
	.genesis-nav-menu > .menu-item > .sub-menu > .menu-item:first-of-type::after {
		position: absolute;
		top: -8px;
		left: 0;
		width: 50%;
		content: '';
		border-top: 8px solid transparent;
		-webkit-transition: 400ms;
		transition: 400ms;
		z-index: 9;
	}

	.genesis-nav-menu > .menu-item > .sub-menu > .menu-item:first-of-type::before {
		border-right: 8px solid #343434;
	}

	.genesis-nav-menu > .menu-item > .sub-menu > .menu-item:first-of-type::after {
		right: 0;
		left: auto;
		border-left: 8px solid #343434;
	}

	.genesis-nav-menu > .menu-item > .sub-menu > .menu-item:first-of-type:hover::before {
		border-right-color: #231f20;
	}

	.genesis-nav-menu > .menu-item > .sub-menu > .menu-item:first-of-type:hover::after {
		border-left-color: #231f20;
	}
}

/* [ Second sub-menu ] */

@media screen and (min-width: 1024px) {
	.menu .sub-menu {
		background: #231f20;
	}

	.menu .sub-menu .menu-item:hover > a {
		background: #343434;
	}
}

/* ---------- [ Pagination ] ---------- */

.pagination {
	line-height: 1;
}

/* [ Adjacent Entry Pagination ] */

.adjacent-entry-pagination {
	display: flex;

	margin: 28px -8px;
}

.adjacent-entry-pagination .pagination-previous,
.adjacent-entry-pagination .pagination-next {
	margin: 0 8px;

	flex: 0 1 calc(50% - 16px);
}

.adjacent-entry-pagination .pagination-previous a:hover,
.adjacent-entry-pagination .pagination-next a:hover {
	color: #666;
	opacity: 1;
}

.adjacent-entry-pagination .pagination-text-container {
	display: flex;
	flex-direction: column;
    justify-content: center;
}

.adjacent-entry-pagination .pagination-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    margin-bottom: 8px;
}

.adjacent-entry-pagination .pagination-title {
	font-size: 16px;
	line-height: 1.3;
}

.adjacent-entry-pagination .pagination-label .icon-font {
	margin: 0;
	position: relative;
	top: -0.1em;
}

/* [ Archive Pagination ] */

.archive-pagination {
	width: 100%; /* flexbox fix */
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-size: 15px;
	margin-top: 12px;
	margin-bottom: 16px;
}

.archive-pagination a,
.archive-pagination .pagination-omission {
	line-height: 23px;

	width: 24px;
	height: 24px;

	color: #343434;
	border-radius: 24px;
}

@media screen and (min-width: 1024px) {
	.archive-pagination {
		margin-top: 16px;
		margin-bottom: 32px;
	}

	.archive-pagination a:hover {
		opacity: 1;
		color: #fff;
		background: #b24d54;
	}
}

.archive-pagination .active a {
	color: #fff;
	background: #343434;
}

.archive-pagination .pagination-previous a,
.archive-pagination .pagination-next a {
	width: auto;
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: #000;
}

@media screen and (min-width: 1024px) {
	.archive-pagination .pagination-previous a:hover,
	.archive-pagination .pagination-next a:hover {
		color: #666;
		background: transparent;
	}
}

.archive-pagination .pagination-previous .icon-font::before {
	font-size: 120%;
	top: 0.15em;
	margin-right: 4px;
	margin-left: -0.1em;
}

.archive-pagination .pagination-next .icon-font::before {
	font-size: 120%;
	top: 0.1em;
	margin-right: -0.1em;
	margin-left: 4px;
}

/* [ Comment Pagination ] */

.comments-pagination {
	line-height: 1.2;

	display: flex;

	margin: 0 -8px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
}

.comments-pagination .pagination-previous,
.comments-pagination .pagination-next {
	margin: 0 8px;

	flex: 0 1 calc(50% - 16px);

	display: flex;
}

.comments-pagination .pagination-next {
	justify-content: flex-end;
}

.comments-pagination .pagination-previous a,
.comments-pagination .pagination-next a {
	display: flex;

	align-items: center;

	border: 2px solid #000;
	border-radius: 3px;
	padding: 8px 16px;
}

.comments-pagination .pagination-previous a:hover,
.comments-pagination .pagination-next a:hover {
	background-color: #343434;
	border-color: #343434;
	color: #fff;
	opacity: 1;
}

.comments-pagination .pagination-previous .icon-font::before {
	margin-right: 8px;
	margin-left: -0.1em;
}

.comments-pagination .pagination-next .icon-font::before {
	margin-right: -0.1em;
	margin-left: 8px;
}

/* [ Entry Pagination @todo confirm ] */

.entry-pagination {
	margin-top: 20px;
}

.entry-pagination .post-page-numbers {
	line-height: 23px;

	display: inline-block;

	width: 24px;
	height: 24px;

	border-radius: 24px;
}

.content .entry-pagination.pagination .post-page-numbers {
	color: #343434;
}

.entry-pagination .post-page-numbers:first-child {
	margin-left: 4px;
}

.entry-pagination .post-page-numbers.current {
	background: #343434;
}

@media screen and (min-width: 1024px) {
	.content .entry-pagination.pagination a.post-page-numbers:hover {
		text-decoration: none;

		color: #fff;
		background: #b24d54;
	}
}


/* ================================
[ Sections ]
================================ */

/* ---------- [ Sidebar ] ---------- */

.widget {
	margin-bottom: 28px;
}

/* ---------- [ Footer ] ---------- */

.site-credits-container {
	display: inline-block;
}

.site-credits-box {
	font-family: 'Work Sans', sans-serif;
	text-transform: none;
	letter-spacing: 0;
	bottom: 28px; /* @todo confirm */

	color: #fff;
	background: #343434;
}

@media screen and (min-width: 1024px) {
	.site-credits-box {
		bottom: 24px; /* @todo confirm */
	}
}


/* ================================
[ Content ]
================================ */

/* ---------- [ Comments ] ---------- */

/* [ Comment Form ] */

.comment-respond,
.nf-form-cont {
	text-align: center;
	font-size: 14px;
	overflow: hidden;
	background: #f5f2f0;
	border-radius: 12px;
	padding: 28px 20px;
	margin: 20px 0 0; /* best spacing for replying to comments */
	position: relative;
}

@media screen and (min-width: 768px) {
	.comment-respond {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 448px;
		padding: 40px 340px 40px 20px;
		position: relative;
	}
}

@media screen and (min-width: 1024px) {
	.nf-form-cont { 
		margin-bottom: 40px;
	}
}

.comment-respond .comment-reply-title,
.nf-form-cont .nf-form-title h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	font-size: 36px;
	line-height: 1;
	margin-bottom: 12px;
}

.comment-respond .comment-reply-title::before {
	content: '';
	display: block;
	width: 244px;
	height: 80px;
	background: url(/wp-content/themes/once-coupled-kylee-cooks/assets/images/embellishment-comment.svg) right center no-repeat;
	background-size: contain;
	margin: 0 auto 12px;
}

.comment-reply-title a {
	display: inline-block;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 10px;
	padding: 8px 0;
	margin-top: -8px;
}

.comment-respond p {
	margin-bottom: 12px;
	line-height: 1.3;
}

@media screen and (min-width: 768px) {
	.comment-respond p {
		margin-bottom: 20px;
	}
}

.comment-form-url {
	display: none; /* removed via php, but hidden with css just in case */
}

.comment-form-comment,
.comment-form-author,
.comment-form-email {
	position: relative;
}

@media screen and (min-width: 768px) {
	.comment-form-comment,
	.comment-form-author,
	.comment-form-email,
	.comment-respond .form-submit {
		position: absolute;
		top: 40px;
		right: 20px;
		width: 300px;
	}

	.comment-respond .comment-form-comment,
	.comment-respond .comment-form-author,
	.comment-respond .comment-form-email,
	.comment-respond .form-submit {
		margin: 0;
	}
}

.comment-respond .comment-form-comment {
	margin-top: 24px;
}

@media screen and (min-width: 768px) {
	.comment-respond .comment-form-comment {
		top: 40px;
		margin-top: 0;
	}

	.logged-in .comment-respond .comment-form-comment {
		top: 40px;
	}

	.comment-form-author {
		top: 248px;
	}

	.comment-form-email {
		top: 304px;
	}

	.comment-respond .form-submit {
		top: 360px;
	}
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.nf-form-cont .nf-form-content label {
	display: block;
	position: absolute;
	font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
	top: 16px;
	left: 16px;
	line-height: 1.2;
}

.comment-form-comment label .required,
.comment-form-author label .required,
.comment-form-email label .required,
.nf-form-cont .ninja-forms-req-symbol,
.nf-form-cont .nf-form-fields-required {
	display: none;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
	display: block;
	padding: 12px 16px 12px 72px;
	min-height: 48px;
	font-size: 15px;
	line-height: 1;
}

.comment-respond textarea {
	padding-top: 44px;
	padding-left: 16px;
}

@media screen and (min-width: 768px) {
	.comment-respond textarea {
		height: 200px;
	}

	.logged-in .comment-respond textarea {
		height: 310px;
	}
}

.comment-respond .form-submit input,
.nf-form-cont .nf-form-content input[type="button"],
.nf-form-cont .nf-form-content input[type="button"]:hover {
	width: 100%;
	color: #fff;
	background: #b24d54;
	border: 0;
	border-radius: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
	height: 48px;
}

@media screen and (min-width: 1024px) {
	.comment-respond .form-submit input:hover,
	.nf-form-cont .nf-form-content input[type="button"]:hover {
		color: #fff;
		background: #a04147;
		transform: scale(0.95);
    }
}

.nf-form-cont .nf-field .field-wrap {
	display: flex;
	align-items: center;
	background-color: #fff;
	flex-direction: row !important;
	flex-flow: row !important;
	padding-left: 12px;
}

.nf-form-cont .nf-field .submit-wrap {
	background-color: transparent;
	padding: 0;
}

.nf-form-cont .nf-field-container {
	margin-bottom: 8px;
}

.nf-form-cont .label-above .nf-field-label {
	flex: 1 0 auto;
	margin-bottom: 0 !important;
}

.nf-form-cont .nf-field-label label {
	position: static;
}

.nf-form-cont  .nf-field-label:empty {
	display: none;
}

.nf-form-cont .field-wrap.textarea-wrap {
	flex-direction: column !important;
	flex-flow: column !important;
	align-items: flex-start;
	padding: 12px 0 0 0;
}

.nf-form-cont .field-wrap.textarea-wrap label {
	padding-left: 12px;
}

.nf-form-cont .nf-form-content input:not([type="button"]),
.nf-form-cont .nf-form-content textarea {
	background-color: transparent;
	border: none;
	color: #000 !important;
}

.nf-form-cont .nf-error-msg,
.nf-form-cont .nf-error .nf-error-msg {
	color: #b24d54;
}

.nf-form-cont .nf-error.field-wrap .nf-field-element::after {
	background-color: #b24d54;;
}

/* [ Cookie Consent ] */

.comment-form-cookies-consent input {
	float: left;
	margin-top: 6px;
	margin-right: 8px;
}

@media screen and (min-width: 768px) {
	.comment-respond .comment-form-cookies-consent {
	    text-align: left;
	    margin-bottom: 0;
	    font-size: 80%;
	}
}

/* [ Discussion ] */

.entry-comments {
	margin: 32px 0 24px;
    font-size: 14px;
}

.comment-list .comment {
	border-top: 1px solid #eaeaea;
}

.comment-list .comment.bypostauthor,
.comment-list > .comment:first-of-type {
	border-top: 0;
}

.comment.bypostauthor > article {
	background: transparent;
	border: 2px solid #000;
	border-radius: 3px;
}

.comment:not(.bypostauthor) > articles > .comment-header {
	padding-right: 112px; /* space for ratings to display... assumes author won't rate own recipes. */
}

.avatars-disabled .comment:not(.bypostauthor) > articles > .comment-header {
	margin-bottom: 0;
}

.comment-author {
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	font-size: 18px;
	margin: 8px 0 0;
}

.avatars-disabled .comment-header::before {
	content: none;
}

.avatars-disabled .bypostauthor > article .comment-header {
	margin-top: 12px;
	margin-bottom: 12px;
}

.avatars-disabled .comment-header::before {
	width: 40px;
	height: 40px;
}

.avatars-disabled .bypostauthor > article .comment-header::before {
	content: '';
	background-image: url(/wp-content/themes/once-coupled-kylee-cooks/assets/images/avatar-author.jpg);
	background-size: contain;
	position: relative;
	top: -4px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.avatars-disabled .bypostauthor > article .comment-header::before {
		background-image: url(/wp-content/themes/once-coupled-kylee-cooks/assets/images/avatar-author@2x.jpg);
	}
}

.comment-content {
	margin-top: 8px;
}

.bypostauthor > article .comment-content,
.bypostauthor > article .comment-reply {
    padding-left: 62px;
}

.comment-time-link,
.comment-edit-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 9px;
}

.comment-reply .comment-reply-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
	font-size: 12px;
	padding: 4px;
	color: #fff;
    background: #b24d54;
    border: 0;
}

@media screen and (min-width: 1024px) {
	.comment-reply .comment-reply-link:hover {
		background: #a04147;
	}
}

/* ---------- [ Search ] ---------- */

.search-form {
	border: 2px solid #000;
}

.search-form input {
	line-height: 36px;

	height: 36px;
	padding: 8px 16px;
}

.search-form input,
.search-form input:hover {
	background: transparent;
	border: 0;
}

.search-submit-icon {
	font-size: 22px;

	top: -2px;
}

@media screen and (min-width: 1024px) {
	.search-form-submit:hover + * + .search-submit-icon {
		color: #b24d54;

		transform: rotate(8deg);
	}
}