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

Template: twentytwentyfive

Version: 1.0.1
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
 */

:where(.wp-site-blocks :focus) {
	outline-width: 0 !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;
}

.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: 11;
	top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px));
	backdrop-filter: blur(10px);
	background: #fffb;
}


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

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: 11;
	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;
}



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

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

#upperMenu.logo-small {
	background-color: #b8a368;
	background-color: #321613;
	padding: 5px 30px;
	border-radius: 4px;
	transition: all 1s ease, background-color 2s ease-in;
}

#upperMenu a {
	color: #000;
}

#upperMenu.logo-small a {
	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: 30px !important;
	padding-bottom: 30px !important;
	transition: 1s ease;
}

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

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

#upperMenu p,
#upperMenu figure {
	line-height: 0;
}

.animationEase {
	transition: 1s ease;
}

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

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

footer svg{
	color:#000;
}

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

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

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

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

	.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 8% !important;
	}
}

@media screen and (max-width: 640px) {
	.has-global-padding>.alignfull {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

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

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

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

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

@media screen and (max-width: 640px) {
	.history {
		background-position: left center;
	}
}

@media screen and (max-width: 499px) {
	.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;
	}
}