/*
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, 
*/

body {
    /* background: red !important; */
}

/* Minor patch for 404 header */
body.error404 .sticky-wrapper .wp-block-template-part {
	top: 0;
}
body.error404.admin-bar  .sticky-wrapper .wp-block-template-part {
	top: 32px;
}
body.error404 .wp-block-heading {
	margin-bottom: 30px;
}
body.error404 .wp-block-search {
	margin-top: 20px;
	margin-bottom: 30px;
}
@media screen and (max-width:782px) {
	body.error404.admin-bar  .sticky-wrapper .wp-block-template-part {
		top: 46px;
	}
}

main.wp-block-group {
	padding-top: 0 !important;
}

/* Button Hover Styles */
.wp-block-button__link.has-border-color:hover {
	border: 1px solid #337ab7 !important;
	background-color: #337ab7 !important;
	color: #fff !important;
}
.dark-hover .wp-block-button__link:hover {
	border: 1px solid #031f31 !important;
	background-color: #031f31 !important;
	color: #fff !important;
}
.white-hover .wp-block-button__link:hover {
	border: 1px solid #fff !important;
	background-color: #fff !important;
	color: #337ab7 !important;
}

/* Sticky Header Base Theme Overrides */
.sticky-wrapper .is-scrolled .sub_topbar {
    top: -64px;
    margin-bottom: -64px;
}
.sticky-wrapper.is-sticky .is-scrolled .sub_topbar {
    top: -64px;
    margin-bottom: -64px;
}

/* Logo initial dimensions */
.sticky-wrapper.is-sticky .wp-block-site-logo .custom-logo-link img {
    width: 180px;
    height: auto;
}

/* Logo width/height in % or px when sticky */
.sticky-wrapper.is-sticky .wp-block-site-logo .custom-logo-link img {
    width: 180px;
    height: auto;
}
/* Logo width/height in % or px when scrolled */
.sticky-wrapper.is-sticky .is-scrolled .wp-block-site-logo .custom-logo-link img {
    width: 60%;
    height: auto;
}

/* WooCommerce Patches */
.woocommerce div.product div.images ol.flex-control-thumbs,
.woocommerce div.product div.images ul.flex-control-thumbs {
	border-radius: 0 0 0 0;
}

/* Header Styles */
.sticky-wrapper .wp-block-template-part.is-scrolled {
	background: rgba(3,31,49,0.9);
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: #337AB7;
}

/* Dropdown Nav Styles */
.wp-block-navigation__submenu-container {
	background: none !important;
}
.wp-block-navigation__submenu-container > li.wp-block-navigation-item > .wp-block-navigation-item__content {
	/*text-align: left;*/
	white-space: nowrap;
}

/* SmartSlider Styles */
div#n2-ss-2 .n2-ss-button-container a {
	transition: all .3s ease-in-out;
}

/* Home Styles */
.home-solutions-gallery {
	justify-content: center;
}
.home-solutions-gallery img {
	width: 30% !important;
	margin: 0 auto;
}
.home-solutions-gallery figcaption {
	font-size: 1.6rem !important;
	line-height: 1.1;
	color: #fff !important;
}

/* Inner Page Styles */
.two-column-list {
	column-count: 2;
	max-width: 600px;
	list-style-type: none;
}
.two-column-list li {
	background: url('/wp-content/uploads/2024/11/checkmark-bullet.svg') no-repeat left top;
	height: 18px;
	padding-left: 28px;
	margin-bottom: 10px;
}

.email-plans-form,
.contact-us-form {
	box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.2);
}
.email-plans-form .gform_wrapper.gravity-theme .gform_footer input,
.contact-us-form .gform_wrapper.gravity-theme .gform_footer input {
	background-color: #337ab6;
	color: #fff;
	padding: 1em 3em;
	border: 0;
}
.email-plans-form .gform_wrapper.gravity-theme .gform_footer input:hover,
.contact-us-form .gform_wrapper.gravity-theme .gform_footer input:hover {
	background-color: #031f31;
	cursor: pointer;
}

/* Features Table */
.features-table thead {
	border-bottom: 1px solid #fff;
}
.features-table th {
	border: 0;
}
.features-table td {
	border-left: 0;
	border-right: 0;
}
.features-table > table > tbody > tr:nth-child(22) > td:nth-child(1),
.features-table > table > tbody > tr:nth-child(22) > td:nth-child(2),
.features-table > table > tbody > tr:nth-child(22) > td:nth-child(3) {
	border-bottom: 0;
	padding-top: 30px;
}
.features-table a {
	text-decoration: none;
	border: 1px solid #fff;
	padding: 0.66em 1.33em;
}
.features-table a:hover {
	border: 1px solid #337ab6;
	background-color: #337ab6;
	color: #fff;
}
.features-table img {
	vertical-align: middle;
}

/* Pricing Table */
.pricing-table td {
	border: 1px solid #abacac;
}
.pricing-table > table > tbody > tr:nth-child(1) > td:nth-child(1) {
	border-top: 0;
	border-left: 0;
}
.pricing-table > table > tbody > tr:nth-child(1) > td:nth-child(2),
.pricing-table > table > tbody > tr:nth-child(1) > td:nth-child(3),
.pricing-table > table > tbody > tr:nth-child(2) > td:nth-child(1) {
	background-color: #ececec;
}
.pricing-table > table > tbody > tr:nth-child(14) > td:nth-child(1),
.pricing-table > table > tbody > tr:nth-child(14) > td:nth-child(2),
.pricing-table > table > tbody > tr:nth-child(14) > td:nth-child(3) {
	border: 0;
	padding-top: 30px;
}
.pricing-table a {
	text-decoration: none;
	background-color: #337ab6;
	color: #fff;
	padding: 0.66em 1.33em;
}
.pricing-table a:hover {
	background-color: #031f31;
}

/* Accordion Styles */
.wp-block-aab-accordion-item {
	border: 0 !important;
	border-bottom: 1px solid #337ab6 !important;
	margin-bottom: 0 !important;
}
.wp-block-aab-accordion-item.aagb__accordion_active {
	border: 0 !important;
}
.aagb__accordion_body.aagb__accordion_body--show {
	border-top: 0 !important;
	border-bottom: 1px solid #337ab6 !important;
	padding-top: 0 !important;
}
.aagb__accordion_body.aagb__accordion_body--show p {
	margin-top: 0 !important;
}

/* Blog Styles */
.blog .sticky-wrapper .wp-block-template-part, .post-template-single-with-sidebar .sticky-wrapper .wp-block-template-part, .archive .sticky-wrapper .wp-block-template-part {
	background: rgba(3,31,49,0.9);
}
.wp-block-archives-list {
	padding-left: 0;
}
.wp-block-archives li::marker {
	content: '';
}
.wp-block-query-pagination>.wp-block-query-pagination-next, .wp-block-query-pagination>.wp-block-query-pagination-previous {
	background-color: #337ab6;
	color: #fff;
	padding: 0.66em 1.33em;
	border-radius: 0;
	text-decoration: none;
	transition: all .3s ease-in-out;
}
.wp-block-query-pagination>.wp-block-query-pagination-next:hover, .wp-block-query-pagination>.wp-block-query-pagination-previous:hover {
	background-color: #031f31;
	color: #fff;
}
.wp-block-latest-posts.wp-block-latest-posts__list li {
	margin-bottom: 10px;
}

/* Footer Styles */
footer .wp-block-group.has-base-color a {
	font-size: 0.8rem;
}


@media screen and (max-width:820px) {
	
	.sticky-wrapper.is-sticky .wp-block-template-part {
		background: rgba(3,31,49,0.8) !important;
	}
	#sticky-wrapper > header > div > div > div > div > div.wp-block-buttons {
		display: none;
	}
	
	.wp-block-cover.alignfull:first-child {
		min-height: 300px !important;
	}
	
	.features-blocks .wp-block-column {
		padding: 1em !important;
	}
	
}


@media screen and (max-width:600px) {
	
	.two-column-list {
		column-count: 1;
	}
	.wp-block-group .features-table table, .wp-block-group .pricing-table table {
		width: 100% !important;
		overflow-x: scroll;
	}
	.wp-block-group .features-table tr, .wp-block-group .features-table td, .wp-block-group .pricing-table tr, .wp-block-group .pricing-table td {
		min-width: 200px;
	}
	.pricing-table table {
		table-layout: auto !important;
	}
	
}

.dh-offcanvas .wp-block-navigation__container li.wp-block-navigation-item {
	width: calc(100% - 40px);
}
ul.dh-accordion .wp-block-navigation__submenu-icon {
    bottom: auto !important;
}

/* WPB Accordion */
.wpb_wmca_accordion_wrapper_theme_dark > ul ul {
	background: #047ea5;
	background: none !important;
	margin: 0 !important;
	padding-left: 20px !important;
	padding-bottom: 10px;
	padding-top: 4px;
  }
  .wpb_category_n_menu_accordion ul li {
	list-style: none;
	display: block;
	position: relative;
	
  }
  .wpb_category_n_menu_accordion ul li a {
	margin-bottom: 4px;
	color: black !important;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
  }
  .wpb_wmca_accordion_wrapper_theme_dark > ul ul li a {
	background: rgba(0,0,0,0.1);
	color: black !important;
	padding-top: 8px;
	padding-bottom: 8px;
	text-transform: uppercase;
  }
.wp-block-wpb-accordion-menu-or-category-pro-wpb-wmca-shortcode-selector {
	width: 100%;
}
.wpb_wmca_accordion_wrapper_theme_dark>ul>li>a {
	background: rgba(255,255,255,0.1);
	color: black;
	text-transform: uppercase;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
}
.wpb_wmca_accordion_wrapper_theme_dark>ul>li:not(:last-child)>a {
	border-bottom: none !important;
}

.wpb_wmca_accordion_wrapper_theme_dark>ul>li>a:hover,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current_page_ancestor>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current_page_parent>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current_page_item>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current-menu-parent>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current-menu-ancestor>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current-menu-item>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.current-cat>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.wpb-wmca-current-cat-parent>a,
.wpb_wmca_accordion_wrapper_theme_dark>ul>li.wpb-submenu-indicator-minus>a {
	background: rgba(255,255,255,0.2);
}