/*
Theme Name: DHWP Block 2024 Child
Theme URI: https://digitalhill.com
Author: Digital Hill Multimedia, Inc.
Author URI: https://digitalhill.com
Description: Child sample.
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: dhwp-block-2024
Text Domain: dhwp-block-2024-child
Tags: blog, news, portfolio, one-column, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, style-variations, threaded-comments, translation-ready, 
*/


/* Site Wide */
/*body header.wp-block-template-part { position: relative; }*/
.map {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.map iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
.gform_wrapper.gravity-theme .gform_footer input {
	border: none;
	background-color: #e29b24;
	border-radius: 50px;
	padding: 10px 20px;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
}
.gform_wrapper.gravity-theme .gform_footer input:hover {
	cursor: pointer;
}
:root :where(.wp-block-quote) {
	background-color: transparent;
}
.wp-block-quote>cite {
	font-size: 1.15rem;
}


/* Header */
.sticky-wrapper .wp-block-template-part .has-base-background-color { background-color: #fff !important; }
.tdk-logo-header { margin-top: -15px !important; margin-bottom: -100px !important; z-index: 2; }

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: #446318 !important;
	border-radius: 0;
}
.wp-block-navigation__submenu-container > li.wp-block-navigation-item > .wp-block-navigation-item__content {
	background: #e29b24;
}
.wp-block-navigation__submenu-container > li.wp-block-navigation-item {
	direction: ltr;
}
.wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	margin: 1px;
}
.wp-block-navigation__submenu-container > li.wp-block-navigation-item > .wp-block-navigation-item__content {
	text-align: left;
}
.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
	min-width: 220px;
}


/* WooCommerce */
.woocommerce header.wp-block-template-part { position: relative; margin-bottom: 10px; }
.woocommerce .woocommerce-breadcrumb { text-align: right; }
.woocommerce .woocommerce-breadcrumb a { font-size: 0.875rem; }

.wc-block-grid__products .wc-block-grid__product-image img { height: 300px; }
.woocommerce .products-block-post-template img { height: 500px; object-fit: contain !important; }

.woocommerce div.product form.cart div.quantity .qty { border-radius: 50px; border: 1px solid #949494; }
.woocommerce div.product form.cart button.single_add_to_cart_button, .woocommerce div.product form.cart button[name=add-to-cart],
.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button { border-radius: 50px; }

.wp-block-woocommerce-product-categories ul { list-style-type: none; padding-left: 0; }
.wp-block-woocommerce-product-categories li { padding: .5em; border-top: 1px solid #f0f0f0; margin-bottom: 4px; line-height: 1.55; }
.wp-block-woocommerce-product-categories li:last-child { border-bottom: 1px solid #f0f0f0; }

.wc-block-grid.has-4-columns .wc-block-grid__product { flex: 1 0 22.5%; }
li.wc-block-grid__product { box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.2); border-radius: 25px; margin: 0 10px; }


/* Footer Styles */
ul.wp-block-social-links li.wp-social-link a.wp-block-social-link-anchor {
	padding: 0 !important;
}
ul.wp-block-social-links li.wp-social-link a.wp-block-social-link-anchor svg,
ul.wp-block-social-links li.wp-social-link {
	background-color: #000 !important;
	stroke: none !important;
	padding: 0 !important;
	width: 42px;
	height: 42px;
}
footer > div.wp-block-group.alignfull > div > p.has-text-align-right > a,
.wp-block-digital-hill-dhwp-copyright-block {
	font-size: 0.875rem;
}



@media (max-width:821px) {
	
	.tdk-logo-header { position: absolute; left: 5%; top: 15px; }
	.tdk-logo-header img, .sticky-wrapper.is-sticky .wp-block-site-logo .custom-logo-link img { width: 65% !important; }
	header .wp-block-search,
	header .wp-block-woocommerce-mini-cart {
		display: none !important;
	}
	
	.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
		background-color: inherit !important;
	}
	.wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
		stroke: #000;
	}
		
}


@media (max-width:600px) {
	
	.tdk-logo-header img, .sticky-wrapper.is-sticky .wp-block-site-logo .custom-logo-link img { width: 55% !important; }
		
	footer .wp-block-column { text-align: center; }
	footer .wp-block-column nav { align-items: center !important; }
	footer .wp-block-column ul, footer .wp-block-column li { width: 100%; justify-content: center; }
		
}