/*
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: 0;
	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 {
	/* background-color: rgba(255,255,255,0.05) !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); */
	background: transparent;
	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); */
	fill: #ffc20d;
	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;
}
:root :where(.wp-block-social-links .wp-social-link a) {
	padding: 0;
}
.wp-block-social-links .wp-social-link svg {
	height: 1.25em;
	width: 1.25em;
}
/* 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); */
	fill: #ffc20d;
}
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: 0.875rem !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); */
}
/* 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% - 30px);
}

/* 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-block-button__link {
	transition: all .3s ease-in-out;
}
.wp-block-button__link:hover {
	background-color: #80141a;
	color: #fff;
}
.clip-path-right {
	clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}
.clip-path-left {
	clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}
.hide {
	display: none !important;
}


/* Search Styles */
:root :where(.wp-block-search .wp-block-search__input) {
	border: 1px solid #ccc;
}
.wp-block-search__button.has-icon {
	padding: 10px 30px;
	transition: all .3s ease-in-out;
	margin-left: 0.5rem;
	background-color: #80141a;
	color: #fff;
}
.wp-block-search__button.has-icon:hover {
	background-color: #022034;
	color: #fff;
}


/* Home Styles */
.home-high-quality-tack .wp-block-media-text__media img {
	border-left: 10px solid #fff;
}
.home-gallery {
	position: relative !important;
	height: 620px;
	justify-content: center;
}
.first-angle,
.second-angle {
	width: 56.4% !important;
	height:620px;
}
.first-angle {
	position: absolute !important;
	left: 0;
	top: 0;
	clip-path:polygon(0 0, 100% 0, 75% 100%, 0 100%);
}
.second-angle {
	position: absolute !important;
	right: 0;
	top: 0;
	clip-path:polygon(25% 0, 100% 0%, 100% 100%, 0 100%);
}


/* Inner Page Styles */
.product-categories a {
	transition: all .3s ease-in-out;
}
.product-categories a:hover {
	transform: scale(1.1);
}
.measurement-table td {
	border: 0;
	border-bottom: 2px solid #ffc20d;
	padding: 1em 0;
}
.size-chart-table thead,
.size-chart-table th,
.size-chart-table td {
	border: 1px solid #80141a;
}
.size-chart-table th {
	padding: .5em;
}
.size-chart-table th {
	background-color: #ffc20d;
	font-family: 'Anton', sans-serif;
	font-weight: 900;
	font-size: 1.5rem;
	letter-spacing: 1px;
}
.size-chart-table td {
	padding: 1.25em;
}
.size-chart-table > table > tbody > tr:nth-child(1) > td:nth-child(1),
.size-chart-table > table > tbody > tr:nth-child(2) > td:nth-child(1),
.size-chart-table > table > tbody > tr:nth-child(3) > td:nth-child(1),
.size-chart-table > table > tbody > tr:nth-child(1) > td:nth-child(2),
.size-chart-table > table > tbody > tr:nth-child(2) > td:nth-child(2),
.size-chart-table > table > tbody > tr:nth-child(3) > td:nth-child(2) {
	font-family: 'Anton', sans-serif;
	font-weight: 900;
	font-size: 1.5rem;
	letter-spacing: 1px;
}


/* Gravity Forms Styles */
.gform_wrapper.gravity-theme .gform_footer input {
	background-color: #ffc20d;
	color: #80141a;
	font-family: 'Arimo', sans-serif;
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
	border: 0;
	border-radius: 10px;
	padding: 10px 30px;
	transition: all .3s ease-in-out;
}
.gform_wrapper.gravity-theme .gform_footer input:hover {
	background-color: #80141a;
	color: #fff;
	cursor: pointer;
}
.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 {
	border: 1px solid #ccc;
	border-radius: 10px;
}


/* WooCommerce Styles */
.woocommerce div.product form.cart table.variations th {
	vertical-align: top;
}
.wc-block-components-product-image a {
	text-align: center;
}
.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
}
.woocommerce div.product div.images .flex-control-thumbs li {
	width: 15%;
	border: 10px solid #fff;
}
.woocommerce div.product form.cart button.single_add_to_cart_button {
	border-radius: 10px;
}
.wp-block-query-pagination-numbers span {
	padding: .25em;
	border: 1px solid #999;
	border-radius: 6px;
}
.wp-block-query-pagination-numbers a.page-numbers {
	padding: .25em;
	border: 1px solid #80141a;
	border-radius: 6px;
	background-color: #80141a;
	color: #fff;
	text-decoration: none;
}
ul.wc-block-product-categories-list {
	list-style-type: none;
	padding: 0;
	margin-bottom: 0;
}



@media screen and (max-width:821px) {
	
	#topbar .wp-block-buttons,
	#topbar .wp-block-search {
		display: none;
	}
	#dh-offcanvas .wp-block-site-logo img {
		width: 200px;
	}
	.home-gallery {
		display: none !important;
	}
	.home-categories > div > div > div:nth-child(1) {
		display: none !important;
	}
	.home-categories > div > div > div:nth-child(2) {
		flex-basis: 100% !important;
	}
	
}


@media screen and (max-width:782px) {
	
	/* Force table to not be like tables anymore */
	.size-chart-table, .size-chart-table thead, .size-chart-table tbody, .size-chart-table th, .size-chart-table td, .size-chart-table tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.size-chart-table thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.size-chart-table td { 
		/* Behave  like a "row" */
		position: relative;
		padding-left: 5%;
		font-size: 1rem !important;
	}
	
	.size-chart-table td:nth-of-type(1):before { content: "SIZE: "; font-family: 'Anton' !important; font-weight: bold; }
	.size-chart-table td:nth-of-type(2):before { content: "MEASUREMENT: "; font-family: 'Anton' !important; font-weight: bold; }
	.size-chart-table td:nth-of-type(3):before { content: "COMMON DOG BREEDS: "; font-family: 'Anton' !important; font-weight: bold; }
	
}


@media screen and (max-width:600px) {
	
	.wp-block-media-text__media img {
		border-left: 0 !important;
	}
	.home-testimonials .wp-block-group:first-of-type {
		margin-top: 3.5em !important;
	}
	.home-testimonials .wp-block-group:not(:first-child) {
		margin-top: 3.5rem !important;
	}

}
