/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://mikei.ca/twentytwentyfivechild/
Author: Kevin K
Author URI: https://mikei.ca/
Description: Twenty Twenty-Five Child is a child theme of Twenty Twenty-Five, created by Kevin K

Template: twentytwentyfive

Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
.wp-block-site-logo.is-default-size img {
	height: auto;
	width: 100px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.wc-block-components-drawer__screen-overlay,
.miniCart {
	display: none;
}

ul {
	padding-left: 20px;
	padding-right: 20px;
}

#wpadminbar {
	background: #1d232752;
}

:where(.wp-site-blocks :focus) {
	outline-width: 0 !important;
}

.hideMe,
.mobileOnly {
	display: none !important;
}

.hideMobile {
	display: inherit !important;
}

.testimonial {
	background-image: url('./svg/testimonial-bg.svg');
	background-repeat: no-repeat;
	background-position: left center;
}

.history {
	background-image: url('./svg/history-bg.svg');
	background-repeat: no-repeat;
	background-position: left bottom;
}

.resources {
	background-image: url('./svg/swirl-graphic-bg.svg');
	background-repeat: no-repeat;
	background-position: right;
	background-size: 70%;
	padding: 0 5%;
}

.resources .wp-block-coblocks-hero__inner {
	align-items: end;
}

.recommendedReading {
	background-image: url('./svg/swirl-bg-resource.svg');
	background-repeat: no-repeat;
	background-size: 70%;
	background-position: right center;
}

.momPlanking>div {
	background-position: 26% 50% !important;
}

.rightUpperMenuR .opacity50 {
	opacity: 0.4 !important;
}

.rightUpperMenuR .opacity50:hover {
	opacity: 1 !important;
}

:where(.wp-site-blocks)>footer.wp-block-template-part {
	margin-block-start: 0 !important;
}



a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

.headerBanner p a {
	text-decoration: none !important;
}

.headerBanner .opacity50 {
	opacity: 0.4 !important;
}

.headerBanner .opacity50:hover {
	opacity: 1 !important;
}

:where(.wp-site-blocks)>footer.wp-block-template-part {
	margin-block-start: 0 !important;
}

header.wp-block-template-part {
	position: sticky;
	z-index: 24;
	top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px));
	backdrop-filter: blur(10px);
	background: #fffb;
}


/* Default state (scrollY = 0) */
.wp-block-site-logo.is-default-size img#headLogo.logo-large {
	width: 120px;
	transition: 1s ease;
}

/* Scrolled state */
.wp-block-site-logo.is-default-size img#headLogo.logo-small {
	width: 80px;
	transition: 1s ease;
}

header.logo-large {
	background: #fff;
	transition: background-color 1s ease-in;
	color: #000;
}

header.logo-small {
	background: #d4ba71a8;
	transition: background-color 2s ease-in;
	/* color: #fff; */
	font-weight: 500;
	box-shadow: #454545 0 -4px 10px 6px;
}

.wp-block-navigation-item.current-menu-item .wp-block-navigation-item__label {
	font-weight: 600;
}

#wpsl-wrap #wpsl-result-list ul li {
	font-size: 1.2rem;
}

#upperMenu.logo-large a {
	color: #000 !important;
	transition: all 1s ease-in;
}

#upperMenu.logo-large {
	transform: scale(100%);
	transition: all 1s ease, background-color 0.5s ease;
}

/* .headerLogo {
	padding-bottom: 10px;
} */

#rightUpperMenuInner {
	transition: all 1s ease, background-color 0.3s ease-in;
}

#rightUpperMenuInner.logo-small {
	background-color: #b8a368;
	background-color: #321613;
	padding: 0px 1.2rem !important;
	border-radius: 4px;
}

#rightUpperMenuInner a,
#rightUpperMenuInner button.wc-block-mini-cart__button {
	color: #000;
	transition: color 1s ease-in;
}

#rightUpperMenuInner.logo-small a,
div#rightUpperMenuInner.logo-small button.wc-block-mini-cart__button {
	color: #fff !important;
	font-weight: normal;
	transition: color 1s ease-in;
}

#upperSpacer.logo-large {
	flex-basis: 50px;
	transition: 1s ease;
}

#upperSpacer.logo-small {
	flex-basis: 10px;
	transition: 1s ease;
}

#subMenu.logo-large {
	background: #f8f4e9a1 !important;
	backdrop-filter: blur(3px);
	transition: 1s ease;
}

#subMenu.logo-small {
	/* background: #b39f669e !important; */
	background: #f8f4e9a1 !important;
	backdrop-filter: blur(3px);
	transition: 1s ease;
}

#upperMenuWrapper.logo-large {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	transition: 1s ease;
	padding-left: 1em !important;
	padding-right: 1em !important;
}

#upperMenuWrapper.logo-small {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	padding-left: 1em !important;
	padding-right: 1em !important;
	transition: 1s ease;
}

#upperMenuWrapper>div.wp-block-column:first-child {
	display: none;
}

#upperMenuWrapper.wp-block-columns {
	max-width: 100% !important
}

#upperMenuWrapper>div.wp-block-column:nth-child(2) {
	flex: 0 0 fit-content !important;
}

#upperMenuWrapper>div.wp-block-column:nth-child(2)>div.wp-block-site-logo {
	width: max-content !important;
}

#upperMenuWrapper>div.wp-block-column:nth-child(3) {
	flex: 1 1 max-content !important;
	/* padding-bottom: 10px; */
}

#lowerMenu nav ul {
	display: flex !important;
}

.rightUpperMenu p,
.rightUpperMenu figure {
	line-height: 0;
}

.rightUpperMenuL {
	margin-right: 2rem !important;
}

/*
#upperMenu {
	align-items: center !important;
} 
*/

.animationEase {
	transition: 1s ease;
}

.fadeHomeScroller1000>div,
.fadeScroller1000>div {
	max-height: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out, max-height 1s ease-in-out;
	margin: 0;
}

.fadeHomeScroller1000>div.active,
.fadeScroller1000>div.active {
	opacity: 1;
	max-height: 1000px;
	transition: opacity 1s ease-in-out, max-height 1s ease-in-out;
}

.fadeHomeScroller1000 {
	height: 2em;
}

.fadeHomeScroller1000 a {
	text-decoration: none;
}

footer svg {
	color: #000;
}

.backdropBlur {
	backdrop-filter: blur(6px);
}

.searchBox {
	backdrop-filter: blur(10px);
}

#wpsl-search-wrap div label {
	font-size: 1.2rem;
	font-weight: 500;
	float: none !important;
	margin-left: 10px;
}

.wpsl-input label, #wpsl-radius label, #wpsl-category label {
	width: auto !important;
}

#wpsl-search-wrap div, #wpsl-search-btn {
	float: none !important
}

#wpsl-search-wrap .wpsl-input label,
#wpsl-search-wrap .wpsl-input input,
#wpsl-search-wrap #wpsl-radius,
#wpsl-search-wrap #wpsl-results,
#wpsl-search-btn,
#wpsl-search-wrap .wpsl-input,
#wpsl-search-wrap .wpsl-select-wrap,
#wpsl-search-wrap form {
	display: flex !important;
	width: auto !important;
	align-items: center !important;
}

#wpsl-search-wrap .wpsl-select-wrap {
	position: initial !important;
}

.wpsl-dropdown {
	font-size: 1rem !important
}

footer .footerUpperMenu.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	margin-bottom: 30px;
}

.wp-block-woocommerce-customer-account a,
.wc-block-mini-cart__button {
	padding: 0 !important;
}

.wc-block-mini-cart__badge {
	background-color: #b9b59e;
	color: #000;
	left: 93%;
	font-size: 0.85rem;
	height: 1rem;
	z-index: 5;
	bottom: 13px;
	border: #979797 2px solid
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail,
.woocommerce img:not(header img), .woocommerce-page img:not(header img) {
	mix-blend-mode: multiply;
}

li#tab-title-additional_information.additional_information_tab {
	display: none !important;
}

.wooProduct {
	font-size: 1rem;
}

.wooProduct h3 {
	font-size: 1.8rem;
	color: #8F8159;
	margin-bottom: 30px;
}

.wooProduct .column2,
.wooProduct .column3 {
	display: flex;
	gap: 5%;
}

.wooProduct .column2 .columnLeft,
.wooProduct .column2 .columnRight {
	flex: 0 1 45%;
}

.wooProduct .column3 .columnLeft,
.wooProduct .column3 .columnRight {
	flex: 0 1 30%;
}

.wooProduct .ingredientsList {
	padding-left: 0;
}

.wooProduct .ingredientsList li {
	padding-bottom: 10px;
	padding-top: 10px;
	list-style-type: none;
}

.wooProduct .ingredientsList li:not(:first-child) {
	border-top: #000 1px solid;
}

.woocommerce div.product div.images .flex-control-thumbs {
	margin-top: 30px;
	display: flex;
	gap: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	border: #8f8159 1px solid;
	border-radius: 6px;
}

:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked)) {
	background-color: #8F8159;
}

.relatedProducts ul.is-product-collection-layout-carousel {
	justify-content: center;
}

.wp-block-woocommerce-product-collection ul .relatedProducts ul.is-product-collection-layout-carousel {
	align-items: stretch;
}

.wp-block-woocommerce-product-collection h2,
.relatedProducts ul.is-product-collection-layout-carousel h3 {
	min-height: 3em;
}

.articles_Inner {
	padding: 0;
	margin: 0 auto;
	width: 98%;
}

.wp-block-post-date time,
.taxonomy-category a {
	color: #8F8159;
	text-decoration: none;
}

.articles_Inner h1,
.articles_Inner h2,
.articles_Inner h3,
.articles_Inner h4,
.articles_Inner h5,
.articles_Inner h6 {
	font-family: "NeueHaasUnicaW1G-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 100;
	margin-top: 50px;
	max-width: 80%;
	line-height: 1.3em
}

.articles_Inner p,
.articles_Inner ol,
.articles_Inner ul {
	font-family: "NeueHaasUnicaW1G-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	max-width: 80%;
}

.articles_Inner li {
	font-size: 18px;
	max-width 100%;
}

.wp-block-post-author__name a {
	text-decoration: none;
}

footer .wp-block-navigation .wp-block-navigation-item__label,
footer p.has-medium-font-size {
	font-size: 0.9rem !important;
	font-weight: 400 !important;
}

footer .wp-block-navigation .wp-block-navigation-item {
	line-height: 1rem !important;
}

/* .category-all ul.resourcesMenu > li.view-all,
.category-recipes ul.resourcesMenu > li.recipes ,
.category-other-health-topics  ul.resourcesMenu > li.other-health-topics,
.category-all ul.resourcesMenu > li.all,
.category-all ul.resourcesMenu > li.all {
	font-weight:500;
} */
@media screen and (max-width:1299px) {
	.grid3Columns {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media screen and (max-width:1024px) {
	.mobile2Columns {
		flex-wrap: wrap !important;
		gap: 5% !important;
	}

	.mobile2Columns li {
		flex: 0 1 28% !important;
	}


	#wpsl-search-wrap .wpsl-input label, #wpsl-search-wrap .wpsl-input input, #wpsl-search-wrap #wpsl-radius, #wpsl-search-wrap #wpsl-results, #wpsl-search-btn, #wpsl-search-wrap .wpsl-input, #wpsl-search-wrap .wpsl-select-wrap, #wpsl-search-wrap form {
		flex-wrap: wrap;
	}

	#wpsl-search-wrap div label {
		margin-left: 0;
	}
}


@media screen and (min-width: 500px) {
	.mayuzumiTable td:first-child {
		min-width: 6em;
	}
}


@media screen and (min-width: 300px) {
	#subMenu {
		position: sticky;
		z-index: 23;
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px) + 80px);
	}

}

@media screen and (min-width: 500px) {
	.mayuzumiTable td:first-child {
		min-width: 6em;
	}

	#subMenu {
		top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px) + 85px);
	}
}

@media screen and (min-width: 800px) {
	#subMenu {
		top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px) + 120px);
	}
}


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

	.wp-block-site-logo.is-default-size img#headLogo.logo-small {
		padding-top: 5px;
		padding-bottom: 5px;
		width: 70px !important
	}

	.wp-block-site-logo.is-default-size img#headLogo.logo-large {
		padding-top: 10px;
		padding-bottom: 10px;
		width: 100px !important;
	}

	.mobileOnly {
		display: contents !important;
	}

	.hideMobile {
		display: none !important;
	}

	.mobile2Columns {
		flex-wrap: nowrap !important;
		gap: 5% !important;
	}

	.mobile2Columns li {
		flex: 0 0 auto !important
	}

	#subMenu.subMenuFilter {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		padding-left: 30px;
		padding-right: 30px;
		justify-content: flex-start !important;
	}

	#subMenu.subMenuFilter>div {
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		justify-content: flex-start !important;
		overflow: scroll;
	}

	#modal-3.is-menu-open {
		height: 90vh !important;
		background-image: url('./svg/mobile-menu-bg.svg');
		background-repeat: no-repeat;
		background-position: left top;
	}

	.grid3Columns {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}


	#upperMenuWrapper.logo-large,
	#upperMenuWrapper.logo-small {
		transition: 1s ease;
		padding: 0 !important;
	}

	#upperMenuWrapper.wp-block-columns {
		gap: 0;
	}

	#rightUpperMenuInner.logo-small {
		background-color: transparent !important;
	}

	.rightUpperMenuL {
		margin-right: 0 !important;
	}

	#upperMenuWrapper.logo-small a,
	div#rightUpperMenuInner.logo-small svg.wc-block-mini-cart__icon {
		color: #000 !important;
	}

	#upperMenuWrapper>div.wp-block-column {
		display: block;
		flex: 1 1 33.34% !important;
	}

	#upperMenuWrapper>div.wp-block-column {
		flex: 1 1 33.34% !important;
		text-align: center;
	}

	#upperMenuWrapper .headerLogo>div.logo-large,
	#upperMenuWrapper .headerLogo>div.logo-small {
		margin: 0 auto;
	}

	#upperMenuWrapper>div.wp-block-column:first-child {
		display: block;
	}

	#upperMenuWrapper>div.wp-block-column:nth-child(1),
	#upperMenuWrapper>div.wp-block-column:nth-child(2),
	#upperMenuWrapper>div.wp-block-column:nth-child(3) {
		flex: 1 1 33.34% !important;
	}


	.wp-block-navigation__responsive-container.hidden-by-default {
		height: 100vh;
		max-height: 100vh;
		background-image: url('./svg/mobile-menu-bg.svg');
		background-repeat: no-repeat;
		background-position: left top;
	}


	.rightIconMenuSpacer,
	.headerBanner figure:not(:first-of-type) {
		display: none;
	}

	#upperMenuWrapper>div.wp-block-column:nth-child(3) {
		align-self: stretch;
	}

	.rightUpperMenu {
		height: 100%;
	}

	#rightUpperMenuInner {
		flex-wrap: wrap !important;
		flex-direction: column-reverse;
		height: 100%;
		justify-content: flex-start;
		align-items: flex-end;
		padding-right: 10px !important;
	}

	#rightUpperMenuInner>div {
		gap: 0.8rem;
	}

	#rightUpperMenuInner.logo-small {
		padding: 0 !important;
	}

	.rightUpperMenuR img {
		width: 30px !important
	}

	footer .footerUpperMenu {
		gap: 0;
	}

	footer .footerUpperMenu.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex: 1 1 50% !important;
	}

}

@media screen and (max-width:781px) {
	.mobileCentre781 {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		text-align: center;

	}
}

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

	.searchBox {
		max-width: 90vw;
	}


	div#n2-ss-2 .n2-ss-slider-3 {
		overflow: visible !important;
		padding-bottom: 45%;
	}

	div#n2-ss-2 .n2-ss-slide {
		top: 100% !important;
		align-content: first baseline !important;
	}

	div#n2-ss-2 .n2-ss-slider {
		min-height: 300px !important
	}

	.n2-ss-item-content,
	.n2-ss-text,
	.n2-ss-text p {
		padding: 5px 10px !important;
	}

	.wp-block-spacer {
		max-height: 30px !important
	}

	.n2-ss-slider .n2-ow, .n2-ss-slider .n2-ow-all * {
		font-size: 1rem !important;
	}

	.wp-block-media-text>.wp-block-media-text__content {
		padding: 30px 10px !important;
	}
}

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

	header svg {
		width: 24px !important;
		height: 24px !important;
	}

	.has-global-padding>.alignfull {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.has-global-padding {
		padding-right: 0px !important;
		padding-left: 0px !important;
	}

	.testimonial.has-global-padding {
		padding-right: 2% !important;
		padding-left: 2% !important;
	}

	.wp-block-column h1,
	.wp-block-column h2,
	.wp-block-column h3,
	.wp-block-column h4,
	.wp-block-column h5,
	.wp-block-column h6,
	.wp-block-column p,
	.wp-block-column blockquote,
	.wp-block-column caption,
	.wp-block-column figcaption,
	.wp-block-column figure,
	.articleSummaries,
	details,
	footer ul {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	ul {
		padding-left: 25px !important
	}

	.history {
		background-position: left center;
	}

	.upperMenuWrapper .wp-block-navigation__responsive-container-open {
		padding-left: 10px;
	}

	#rightUpperMenuInner.logo-larger,
	#rightUpperMenuInner.logo-small {
		padding-right: 10px !important;

	}

	#rightUpperMenuInner.logo-small {
		gap: 0 !important;

	}

}

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

	.rightUpperMenuR img {
		width: 26px !important
	}


	.has-global-padding>.alignfull {
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.mayuzumiTable Table tr {
		display: flex;
		flex-wrap: wrap;
		gap: 0;
	}

	.mayuzumiTable Table tr td {
		flex: 0 1 100%;
		padding: 0;
	}

	.mayuzumiTable Table tr td:last-child {
		padding-bottom: 10px;
	}

}

@media screen and (max-width: 349px) {
	footer .footerUpperMenu.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex: 1 1 100% !important;
	}
}