/*
Theme Name: DHWP Block 2025 Child
Theme URI: 
Author: Digital Hill Multimedia, Inc.
Author URI: 
Description: Child theme for 2025.
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.2
Version: 0.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: dhwp-block-2025
Text Domain: dhwp-block-2025-child
Tags: 
*/

/* Header Scroll Logo Transition */
body header.wp-block-template-part .wp-block-site-logo img {
	width: 160px;
	height: auto;
	transition: all .3s ease;
}
body header.wp-block-template-part.is-scrolled .wp-block-site-logo.is-default-size img {
	width: 130px;
	height: auto;
}
/* Header Scroll Other Header Transitions */
body header.wp-block-template-part > .wp-block-group > .topbar > .wp-block-group {
	transition: all .3s ease;
}
body header.wp-block-template-part.is-scrolled > .wp-block-group > .topbar > .wp-block-group {
	margin-top: -6px;
	padding-top: 0;
}

/* No space between top level child blocks unless we put it there, WordPress */
body :where(.wp-site-blocks) > * { 
	margin-block-start: 0;
}

/* Sticky applied to header */
.sticky-wrapper, .wp-site-blocks > header.wp-block-template-part {
	z-index: 10;
	width: 100vw;
}
/* Header Colors, note these can now be set in Customizer, but still overriden here. */
/* Background on Header WHEN SCROLLED */
.wp-site-blocks header.wp-block-template-part.is-scrolled .topbar,
.wp-site-blocks .sticky-wrapper.is-sticky header.wp-block-template-part .topbar {
	background-image: none;
	background-color: rgba(255,255,255,0.75) !important;
	backdrop-filter: blur(10px);
}
/* Background on Header WHEN HOVERED */
/*.wp-site-blocks header.wp-block-template-part:hover .topbar {
	/* background-color: rgba(255,255,255,0.05) !important; */
	/*backdrop-filter: blur(10px);
}*/

/* Header sub_topbar */
.sub_topbar {
	overflow: hidden;
	/* background: rgba(0,0,0,0.1); */
	background: rgba(255,255,255,0.05);
	transition: all .3s ease;
	max-height: 1000px; /* Must be set for transition off top of page. Set to larger than the element will ever be. */
	top: 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	
}
.sticky-wrapper > header.wp-block-template-part.is-scrolled .sub_topbar {
	top: -100px; /* Probably has to be set to larger than the max height of the actual element, depends on content. */
	max-height: 0;
	padding-bottom: 10px;
	padding-top: 10px;
}

/* Social Navigation */
body .wp-block-social-links {
	display: flex;
	flex-wrap: nowrap;
	/* background: rgba(0,0,0,0.1); */
	padding-top: 4px;
	padding-bottom: 4px;
}
/* Social Button Icon Colors */
body .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor, 
body .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor svg, 
body .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:active, 
body .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:hover, 
body .wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor:visited {
	/* fill: white; */
	fill: rgba(0,0,0,0.8);
	transition: all .3s ease;
}
/* Social Button Background, Border, Border Radius */
body :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link {
	/* background-color: rgba(255,255,255,0.1); */
	background-color: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 6px;
	transition: all .3s ease;
}
/* Social Buttons Hover */
body .wp-block-social-links .wp-block-social-link.wp-social-link:hover .wp-block-social-link-anchor, 
body .wp-block-social-links .wp-block-social-link.wp-social-link:hover .wp-block-social-link-anchor svg, 
body .wp-block-social-links .wp-block-social-link.wp-social-link:hover .wp-block-social-link-anchor:active, 
body .wp-block-social-links .wp-block-social-link.wp-social-link:hover .wp-block-social-link-anchor:hover, 
body .wp-block-social-links .wp-block-social-link.wp-social-link:hover .wp-block-social-link-anchor:visited {
	/* fill: white; */
	/* fill: rgba(0,0,0,0.8); */
	fill: rgba(0,0,0,0.9);
}
body :where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link:hover {
	transform: scale(1.3);
	/* background-color: var(--wp--preset--color--luminous-vivid-orange);
	border-color: var(--wp--preset--color--luminous-vivid-orange); */
	background-color: rgba(0,0,0,0.1);
}

/* Footer */
footer .dhwp-footer > .wp-block-columns.alignwide .wp-block-column > .wp-block-group > .wp-block-columns > .wp-block-column {
	min-width: 150px;
}
@media screen and (max-width: 782px) {
	footer .dhwp-footer > .wp-block-columns.alignwide .wp-block-column > .wp-block-group > .wp-block-columns {
		width: 100%;
	}
}


/* Copyright color */
.wp-block-digital-hill-dhwp-copyright-block {
	color: inherit !important;
	font-size: inherit !important;
}


/* DHWP NAVIGATION BLOCK OVERRIDE EXAMPLES **********************************************/

/* Top Level */
/* UL */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container {
    /* background: rgba(0,0,0,0.1); */
	/* font-size: 18px; */
}
/* UL LI */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item {
    /* background: rgba(0,0,0,0.1); */
}
/* UL LI A */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > a.wp-block-navigation-item__content {
    /* background: rgba(0,0,0,0.1); */
}

/* 2nd Level */
/* UL LI UL */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container {
	/* background-color: rgba(0,0,0,0.1); */
}
/* UL LI UL LI */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item {
	/* background-color: rgba(0,0,0,0.1);
	margin-bottom: 2px; */
}
/* UL LI UL LI A */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > a.wp-block-navigation-item__content {
	/* background-color: rgba(0,0,0,0.1); */
}

/* 3rd Level */
/* UL LI UL LI UL */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container {
	/* background-color: rgba(0,0,0,0.1); */
}
/* UL LI UL LI UL LI */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item  > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item {
	/* background-color: rgba(0,0,0,0.1); */
}
/* UL LI UL LI A */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > a.wp-block-navigation-item__content {
	/* background-color: rgba(0,0,0,0.1); */
}

/* 4th Level */
/* UL LI UL LI UL LI UL */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container {
	/* background-color: rgba(0,0,0,0.1); */
}
/* UL LI UL LI UL LI UL LI */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item  > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item {
	/* background-color: rgba(0,0,0,0.1); */
}
/* UL LI UL LI UL LI UL LI A */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container > li.wp-block-navigation-item > a.wp-block-navigation-item__content {
	/* background-color: rgba(0,0,0,0.1); */
}

/* ALL Submenus */
.dhwp-navigation nav.wp-block-navigation ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container {
	/* background: rgba(0,0,0,0.1); */
}
/* All Submenu LIs */
.dhwp-navigation nav.wp-block-navigation ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item {
	/* background: rgba(0,0,0,0.1); */
	background: #323536;
	color: #fff;
}
.dhwp-navigation nav.wp-block-navigation ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item:hover {
	background: #65272b;
}
.dhwp-navigation nav.wp-block-navigation ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item a:hover {
	color: #fff !important;
}
/* All Submenu LI As */
.dhwp-navigation nav.wp-block-navigation ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item a.wp-block-navigation-item__content {
	/* background: rgba(0,0,0,0.1); */
}

/* Horizontal Only use "nav.wp-block-navigation.is-horizontal" Examples: */
/* Align the drop downs to the right side on horizontal navs */
.dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container > li.wp-block-navigation-item.active > ul.wp-block-navigation__submenu-container {
    right: 0;
}
/* Add current menu item marker to horizontal navs, its off by default */
.dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container li.current-menu-item > a {
	/* padding-left: 30px; */
}
.dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container li.current-menu-item > a:before {
    /* content: "\f139";
    font-family:"dashicons";
    font-size: 24px;
    line-height: 24px;
    position: absolute;
    left: 0;
    top: 0px;
    width: 34px;
    height: 100%;
    display: grid;
    align-self: center;
    align-content: center;
    justify-self: center;
    justify-content: center; */
}
/* Text align right on horizontal navs, set width with calc to align right to the pixel */
.dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item > a {
	text-align: right;
	width: calc(100% - 5px);
}

/* Vertical Only use "nav.wp-block-navigation.is-vertical" Examples: */
/* Add background to 2nd level submenut, but only on vertical navs. */
.dhwp-navigation nav.wp-block-navigation.is-vertical > ul.wp-block-navigation__container > li.wp-block-navigation-item > ul.wp-block-navigation__submenu-container {
	/* background: rgba(0,0,0,0.1); */
}

/* Caret */
/* All Caret Background */
.dhwp-navigation nav.wp-block-navigation ul.wp-block-navigation__container li.wp-block-navigation-item.has-child::after {
	background-color: rgba(0,0,0,0) !important;
}
/* Top Caret Background */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item.has-child::after {
	/* background-color: rgba(0,0,0,0) !important; */
}
/* Caret Icon */
/* Uses Dashicons by Default, change caret to a different Dashicon */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item.has-child::before {
	/* font-family: "dashicons";
	content: "\f140" !important;
	font-size: 26px; */
}
/* Use Material Icons, change caret to a different Material Icon for top level items. */
.dhwp-navigation nav.wp-block-navigation > ul.wp-block-navigation__container > li.wp-block-navigation-item.has-child::before {
	/* font-family: "Material Symbols Outlined" !important;
    content: '\e313' !important;
	font-size: 26px; */
}
/* Use Material Icons, change caret to a different Material Icon for all items. */
.dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container li.wp-block-navigation-item.has-child::before {
	/* font-family: "Material Symbols Outlined" !important;
    content: '\e7cd' !important;
	font-size: 26px; */
}

/* Current Menu Item */
.dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a {
    /* Change CSS attributes about the current menu item. */
    /* padding-left: 28px !important;
    color: red; */
}
/* Use different dashicon to mark current menu item. */
.dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a:before {
    /* content: "\f313";
    font-family:"dashicons"; */
}
/* Use Material Icons, change current menu item marker icon. */
/*.dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a:before {
    font-family: "Material Symbols Outlined" !important;
    content: '\e866' !important;
	font-size: 20px;
	width: 16px;
}*/
/* Set a Special Material Icon for the current menu item, but only for the homepage. Horizontal. */
/*.dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a {
	padding-left: 22px !important;
}
body.home .dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a:before {
    font-family: "Material Symbols Outlined" !important;
    content: '\e88a' !important;
	font-size: 20px;
	width: 20px;
}
body .topbar > div:not(.sub_topbar) .dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container li.current-menu-item a {
	color: var(--wp--preset--color--luminous-vivid-orange) !important;
}
body footer .dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item a {
	color: var(--wp--preset--color--luminous-vivid-orange) !important;
}*/

/* Set a Special Material Icon for the Homepage, Horizontal. */
/*body .topbar > div:not(.sub_topbar) .dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container > li:first-child > a {
	display: grid;
	align-items: top;
	grid-template-columns: auto 1fr;
	column-gap: 5px;
}*/
/*body .topbar > div:not(.sub_topbar) .dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container > li:first-child > a:before {
    font-family: "Material Symbols Outlined" !important;
    content: '\e88a' !important;
	font-size: 20px;
	line-height: 26px;
	width: 20px;
	display: inline-block;
}*/


/* Site Wide Styles */
.wp-site-blocks main {
	margin-bottom: 0;
}
.arrange-top {
	position: relative;
	z-index: 2 !important;
}
.shadow .wp-block-column {
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.4);
}
.wp-block-button__link {
	transition: all .3s ease-in-out;
}
.wp-block-button__link:hover {
	background-color: #65272b !important;
	color: #fff !important;
}
.wp-block-button__link.has-contrast-background-color:hover {
	background-color: #481115 !important;
}
.hide {
	display: none !important;
}


/* Header Styles */
.topbar-button .wp-block-button__link {
	transition: all .3s ease-in-out;
}
.topbar-button  .wp-block-button__link:hover {
	background-color: #65272b !important;
	color: #fff !important;
}
.main-header-button .wp-block-button__link {
	width: 300px;
}
.wp-block-navigation-item__content {
	font-size: 0.875rem;
}
.dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a:before {
	display: none !important;
}
.dhwp-navigation nav.wp-block-navigation.is-vertical ul.wp-block-navigation__container li.current-menu-item > a {
	padding-left: 4px !important;
}
.dhwp-navigation nav.wp-block-navigation.is-horizontal ul.wp-block-navigation__container li.wp-block-navigation-item ul.wp-block-navigation__submenu-container li.wp-block-navigation-item > a {
	text-align: left;
}
.dhwp-navigation nav.wp-block-navigation.is-horizontal:not(.depth-1) ul.wp-block-navigation__container > li.wp-block-navigation-item.active > ul.wp-block-navigation__submenu-container {
	min-width: 205px;
}


/* Inner Page Styles */
.cabinet-products img {
	width: 100%;
}
#areas-served {
	scroll-margin-top: 100px;
}


/* Gravity Forms */
.gform_wrapper.gravity-theme input[type=color],
.gform_wrapper.gravity-theme input[type=date],
.gform_wrapper.gravity-theme input[type=datetime-local],
.gform_wrapper.gravity-theme input[type=datetime],
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=month],
.gform_wrapper.gravity-theme input[type=number],
.gform_wrapper.gravity-theme input[type=password],
.gform_wrapper.gravity-theme input[type=search],
.gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=time],
.gform_wrapper.gravity-theme input[type=url],
.gform_wrapper.gravity-theme input[type=week],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
	background-color: #eee;
	border: none;
	border-radius: 8px;
	padding: 16px !important;
}
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer input {
	background-color: #fff;
	border: 1px solid #65272b !important;
	color: #65272b;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 1rem;
	text-transform: uppercase;
	border: none;
	border-radius: 50px;
	padding: 0.66em 1.33em;
	transition: all .3s ease-in-out;
}
.gform_wrapper.gravity-theme .gform_footer input:hover,
.gform_wrapper.gravity-theme .gform_page_footer input:hover {
	background-color: #65272b;
	color: #fff !important;
	cursor: pointer;
}
#gform_submit_button_2 {
	background-color: #65272b;
	border: none;
	border-radius: 50px;
	font-family: 'Nunito Sans', sans-serif;
}
#input_2_1 {
	border-radius: 50px;
}
.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
	background-color: #65272b !important;
}


/* Accordion Styles */
body .wp-block-esab-accordion-child > .esab__body {
	color: #fff !important;
	border-top: 1px solid rgba(255,255,255,0.2) !important;
}


/* Gallery */
.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 1; /* squared size thumbnails */
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0; /* width fix */ 
}
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption {
	display: none;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
	max-height: 10%;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: #65272b;
}


/* Woocommerce Products */
.woocommerce header.dhheader { border-bottom: 1px solid #cccccc; }
.woocommerce header.dhheader:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
	background-image: url('http://dev.kountrywood.com/wp-content/uploads/2022/06/woocommerce-product-hero.jpg');
	background-repeat: no-repeat;
}
.woocommerce header.dhheader .content-area { z-index: 2; }

.woocommerce .dhmain { padding: 4em 0 3em; }
.woocommerce .woocommerce-breadcrumb,
.woocommerce div.product .single_variation_wrap { display: none !important; }
.woocommerce table.variations tr { display: flex; flex-flow: column; align-items: flex-start; }
.woocommerce .pswp--animated-in .pswp__bg { opacity: 0.9 !important; }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { text-align: center; }
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button { display: none; }

.woocommerce div.product div.summary { margin-bottom: 4em; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }


/* Footer Styles */
.wp-block-digital-hill-dhwp-copyright-block {
	font-size: 0.875rem !important;
}


@media screen and (max-width:1024px) {
	
	.main-header-button {
		display: none !important;
	}
	
}


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

	.wp-block-cover.alignfull:first-child {
		min-height: 500px !important;
		padding-left: 50px !important;
		padding-right: 50px !important;
	}
	.columns-full-width {
		flex-wrap: wrap !important;
	}
	.columns-full-width .wp-block-column {
		flex-basis: 100% !important;
		padding: 0 40px;
	}
	
}


@media screen and (max-width:600px) {
	
	main .wp-block-button {
		width: 100% !important;
	}
	.wp-block-media-text__media {
		text-align: center;
		width: 150px;
		margin: 0 auto 20px !important;
	}
	.wp-block-media-text__content {
		text-align: center;
	}
	footer .wp-block-group.is-content-justification-space-between {
		justify-content: center !important;
		text-align: center;
	}
	.gform-theme--foundation .gform_fields {
		display: flex;
	}
	
}