/*
Theme Name: Mahogany
Author: AdHome Marketing
Author URI: https://adhomemarketing.com
Description: This is a custom theme by AdHome Marketing. This is an extensible premium theme, which should be customized using a child theme to retain your styling!
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 2.4.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adhome-mahogany
*/



body #page.site { padding: 0 !important; margin: 0 !important;  }
body #wp-site-blocks #hero, body #hero > div > .has-background { height: auto !important; min-height: 200px; max-height: 650px; margin-top: 0 !important; }
body .wp-block-create-block-profitfill-carousel > .sitewidth > div, .wp-block-create-block-profitfill-carousel > .sitewidth > div .wp-profitfill-microsite-carousel-slide { max-width: 100%; display: block; }
body .wp-block-group.sitewidth { flex-direction: column; }
body .wp-block-columns.sitewidth { flex-direction: row; }
body .two-column-content-section .wp-block-columns { width: 100%; }
body#body #page.site #main { flex-direction: column; }
body ul.menu ul.sub-menu {
    display: none;
    visibility: hidden;
    padding: 0;
    margin: 0;
    width: auto;
    max-width: 220px;
}
body ul.menu > li.menu-item-has-children:hover > ul.sub-menu {
    display: block;
    visibility: visible;
    position: absolute;
    z-index: 9999;
    background-color: #fff;
    color: #333;
    
    box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    font-weight: normal;
}
body #wp-site-blocks #all-services > ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
}
body #wp-site-blocks #all-services > ul > li > div > ul > li {
	display: block;
	clear: both;
}
body #wp-site-blocks #all-services > ul > li > div > ul {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}
body #wp-site-blocks #all-services > ul > li > div > ul > li > a {
	display: block;
	font-weight: normal;
	font-size: 16px;
}
#wp-site-blocks .service-list-section .sitewidth > div {
	width: 100%;
}
.wp-block-columns .wp-block-column .wp-block-buttons {
	justify-content: flex-start;
}
@media All and (min-width: 900px){
	body #page #hero > div > div.has-background {
		padding-top: 130px !important;
	}
	ul.menu > li.menu-item-has-children > ul.sub-menu > li.menu-item {
		display: block;
		clear: both;
	}
	#secondary-nav .sitewidth > div,
	div.menu-secondary-menu-container {
		width: 100%;
	}
	#masthead ul.menu,
	#secondary-nav ul.menu {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0;
		align-items: flex-start;
		justify-content: flex-end;
		width: auto;
	}
	body #main #masthead ul.menu > li,
	body #main #secondary-nav ul.menu > li {
		display: block;
		position: relative;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	#masthead ul.menu > li > a,
	body #main #secondary-nav ul.menu > li > a { 
		padding: 10px 15px;
		line-height: 110%;
		text-transform: uppercase;
		color: #333;
		display: block;
	}
	body #main #secondary-nav ul.menu > li > a { color: #fff; }
	#masthead ul.sub-menu li a,
	#secondary-nav ul.sub-menu li a {
		text-align: left;
		display: block;
		margin: 0;
		width: 100%;
		padding: 5px 10px;
	}
	#secondary-nav ul.sub-menu li {
		display: block;
	}
}
.cta-section .flexrow p:first-child { margin-top: 0; }
.cta-section .sitewidth > .wp-block-group__inner-container { width: 100%; }