/*
*
* Mahogany Blocks
* 
*
*/

@font-face {
	font-family: 'Oswald';
	src: url(fonts/Oswald-VariableFont_wght.woff);
}

:root {
	--primary: #143b87;
	--secondary: #f2de00;
	--mainfont: 'Oswald', 'Arial', sans-serif;
	--checkmark: '/wp-content/uploads/AP_CheckMarkIconYellow_Jan2024.png-2.png';
}

body * { box-sizing: border-box; }
#three-icons-section img { height: 120px; width: auto; margin-left: auto; margin-right: auto; float: none; clear: both; }
.wp-site-blocks #wpadminbar { display: none; visibility: hidden; }
.wp-block-columns {
	display: flex;
	flex-direction: column; 
	gap: 20px;
	width: 100%;
}
body.blog #wp-site-blocks main #hero .double-wave-crop svg path { fill: #fff !important; }
body.blog #wp-site-blocks main > .wp-block-group:last-child .double-wave-crop svg path { fill: var(--primary) !important; }
body.single-post #wp-site-blocks main #hero .double-wave-crop svg path { fill: #fff !important; }
body.single-post #wp-site-blocks main > .wp-block-group:last-child .double-wave-crop svg path { fill: var(--primary) !important; }
body.single-post #wp-site-blocks main > .wp-block-group:last-child { padding-bottom: 0 !important; }
#wp-site-blocks .swiper .slick-prev, #wp-site-blocks .swiper .slick-next { z-index: 9; }
.wp-site-blocks .slick-initialized .slick-slide { width: 100%; max-width: 100%; }
.entry-content.has-global-padding > .alignfull { margin-left: 0 !important; margin-right: 0 !important; }
.wp-profitfill-microsite-carousel-slide .five-stars img { min-width: 30px; }
.slick-initialized .slick-slide {
	width: 100% !important; position: relative; max-width: 650px; min-width: 350px; ;margin: 0 auto; float: none; display: block; padding-left: 50px; padding-right: 50px; box-sizing: border-box;
}
#wp-site-blocks #all-services ul li a {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	align-items: flex-start;
	justify-content: flex-start;
	margin-bottom: 0;
	line-height: 120%;
}
#all-services ul li a::before { content: '';
	background-image: url(/wp-content/uploads/AP_CheckMarkIconYellow_Jan2024.png-2.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 24px auto;
	height: 26px;
	width: 26px;
	display: inline-block; 
	margin-right: 6px;
 }
 .loading-spinner { animation: loadSpin 1.0s linear; animation-iteration-count: infinite; fill: #777; opacity: 0.5; }
 @keyframes loadSpin {
 	0% { transform: rotate(0deg); }
 	100% { transform: rotate(359deg); }
 }
 body #wp-site-blocks #promo-banner { padding-bottom: 0 !important; }
 #pf-dynamic-content .leftside,
 #pf-dynamic-content .rightside { width: 100% !important; max-width: 100% !important; }
body #wp-site-blocks #three-icons-section > div > div { border-bottom: 0 !important; margin-bottom: 0 !important; }
.wp-site-blocks #video-section { background-color: var(--primary) !important; }
.wp-site-blocks #video-section h2 { color: var(--secondary); }
body #page.site .faq-section > .sitewidth { padding-top: 30px; padding-bottom: 40px; }
.slick-slide .five-stars { display: flex; justify-content: flex-start; align-items: center; width: auto !important; float: none; justify-content: flex-start; gap: 5px; }
#testimonials-section { background-color: #efefef; }
#testimonials-section .testimonial-name { align-items: flex-start; justify-content: center; }
#testimonials-section p { text-align: center; }
.wp-site-blocks .double-wave-crop { align-items: baseline; }
.wp-site-blocks .wp-block-buttons .wp-block-button a { color: var(--primary); }
.wp-site-blocks .wp-block-buttons .wp-block-button.cat-button a { color: #fff; }
.double-wave-crop { max-width: 100%; width: 100%; }
.double-wave-crop svg { margin-bottom: -15px; vertical-align: baseline; height: 100px; width: 100%; max-width: 100%; }
.sitewidth > .wp-block-group__inner-container { width: 100%; }
#services-list-section, .service-list-section { background-color: var(--primary); }
.wp-site-blocks .content.row { padding-bottom: 0; }
.content.row > .wp-block-group { padding-top: 0 !important; padding-bottom: 0 !important; }
#three-icons-section .wp-block-columns > .wp-block-column { display: flex; text-align: center; flex-direction: column; gap: 0; align-items: center; justify-content: flex-start; }
.content.row .cta-section, #editor .cta-section { background-color: var(--primary) !important; }
.content.row .cta-section p, #editor .cta-section p { color: #fff; }
.cta-section .wp-block-button a { color: var(--primary) !important; }
.heading-design { background-color: var(--primary) !important; height: 12px !important; padding: 0 !important; }
.heading-design .inner-design { background-color: var(--secondary) !important; height: 12px !important; }
#all-services li a { margin-bottom: 0; color: #fff; }
#wp-site-blocks #services-list-section h2.wp-block-heading { color: var(--secondary) !important; }
.wp-site-blocks .cta-section .sitewidth, .content .sitewidth.wp-block-group { margin: 0 auto; }
.content.row > .wp-block-group:last-child { background-color: var(--primary); }
body #page.site .accordion.open .accordion-content { padding: 10px !important; }
body #page.site .accordion .accordion-header { display: flex; flex-direction: row; justify-content: flex-start; background-color: transparent !important; gap: 20px; align-items: center; width: 100%; padding: 10px; }
body .wp-site-blocks #hero, body .wp-site-blocks #hero.wave-crop { height: auto; padding-bottom: 0 !important; }
body #hero  > .wave-crop.upper, body #hero > .wave-crop.lower { display: none !important; visibility: hidden !important; }
body .entry-content > .wp-block-group.has-background, #hero > .wp-block-group.has-background { padding: 0 !important; }
body .entry-content > .wp-block-group.has-background > .wp-block-group { padding-top: 40px; padding-bottom: 40px; }
.wave-crop svg { margin-bottom: -15px; }
#wp-site-blocks .entry-content .wp-block-buttons .wp-block-button a { color: var(--primary); }
#wp-site-blocks .entry-content .wp-block-buttons .wp-block-button:hover a { background-color: var(--primary) !important; color: #fff !important; }
#wp-site-blocks .entry-content .cta-section .wp-block-buttons .wp-block-button:hover a { background-color: #fff !important; color: var(--primary) !important; }
footer.wp-block-template-part .sitewidth:first-child > div,
footer.wp-block-template-part .sitewidth:last-child > div { width: 100%; gap: 0; align-items: flex-start; }
footer.wp-block-template-part .sitewidth:last-child > div > nav,
footer.wp-block-template-part .sitewidth:first-child > div > nav { flex-grow: 25%; width: 100%; }
footer.wp-block-template-part .sitewidth:last-child nav > ul,
footer.wp-block-template-part .sitewidth:first-child nav > ul { gap: 0; }
footer.wp-block-template-part .sitewidth:last-child nav > ul > li,
footer.wp-block-template-part .sitewidth:first-child nav > ul > li { font-size: 0.8rem !important; }
footer.wp-block-template-part .sitewidth:last-child nav > ul > li:first-child { font-size: 1.2em !important; margin-bottom: 15px; }
footer.wp-block-template-part .sitewidth:last-child nav > ul > li:first-child > a,
footer.wp-block-template-part .sitewidth:first-child nav > ul > li:first-child > a { font-size: 1.0em !important; }
footer.wp-block-template-part { margin-top: 0; }
.wp-site-blocks .locations-section { padding-bottom: 0 !important; }
.wp-site-blocks .locations-section .columns-5 { margin-top: 30px; flex-wrap: wrap; }
.wp-site-blocks #testimonials-section svg path { fill: var(--primary); }
.faq-section > .sitewidth { padding-top: 40px !important; padding-bottom: 40px !important; }
.faq-section .accordion .accordion-header { background-color: transparent !important; }
#all-services ul.menu > br { display: none !important; visibility: hidden !important; }
body #wp-site-blocks li.wp-block-post.page { background-color: transparent !important; }
#wp-site-blocks .wp-block-query > ul > li.page:last-child { margin-bottom: 50px; }
#wp-site-blocks .entry-content .accordion { border: 2px solid var(--primary); }
#wp-site-blocks .entry-content .accordion-header p, #wp-site-blocks .accordion-header h3, #wp-site-blocks .accordion-header h2 { font-family: var(--mainfont); color: var(--primary); font-size: 18px !important; }
#wp-site-blocks .entry-content .faq-section .accordion-header::before { margin-right: 0; background-color: var(--secondary); color: var(--primary); }
#wp-site-blocks .entry-content .wte-section .accordion-header::before { margin-right: 15px; background-color: var(--secondary); color: var(--primary); }
body #wp-site-blocks li.wp-block-post.page a.wp-block-post-excerpt__more-link { font-family: var(--mainfont); background-color: var(--secondary); color: var(--primary); height: 40px; border-radius: 20px; line-height: 40px; padding: 0 20px; }
.faq-section .accordion .accordion-content, .wte-section .accordion .accordion-content { padding-left: 20px; padding-right: 20px; padding-bottom: 20px; padding-top: 0 !important; }
@media All and (min-width: 650px) {
	#mobile-menu { display: none !important; visibility: hidden !important; }
	#masthead ul.wp-block-navigation__container { gap: 0; }
	#masthead ul.wp-block-navigation__container > li > a { padding: 8px 10px; font-weight: 400; color: var(--primary); }
	#masthead ul.wp-block-navigation__container > li:hover > a { background-color: #efefef !important; }
	#three-icons-section .wp-block-columns { display: flex; justify-content: flex-start; align-items: flex-start !important; }
	#three-icons-section figure { margin: 0 auto; }
	.wp-site-blocks .locations-section .columns-5 { columns: 5; display: block; width: 100%; }
	body .wp-site-blocks #services-list-section ul.menu > li.menu-item > a { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 10px; }
	#three-icons-section .wp-block-columns .wp-block-column { align-self: flex-start; }
	body #secondary-nav ul.wp-block-navigation > li:hover > a { background-color: rgba(0,0,0,0.5) !important; }
	#three-icons-section .wp-block-columns img { margin: 0 auto; height: 120px; width: auto; display: block; }
	.wp-site-blocks .wp-block-columns, #editor .wp-block-columns-is-layout-flex { flex-direction: row; display: flex; }
	#hero .wp-block-group.has-background { padding-top: 250px; padding-bottom: 120px; }
	#video-section .flexrow > div { display: flex; flex-direction: row; gap: 40px; justify-content: space-between; align-items: center; }
	body .wp-site-blocks #hero { height: auto !important; min-height: 250px !important; }
	#video-section .flexrow > div > .wp-block-group { flex-grow: 50%; width: 100%; }
	#secondary-nav .sitewidth, #masthead .sitewidth { margin: 0 auto; }
	body #wp-site-blocks #three-icons-section img { margin-bottom: 20px; }
	#masthead #header-logo img { height: 60px !important; width: auto !important; }
	#masthead .sitewidth { flex-wrap: nowrap !important; justify-content: space-between; align-items: center; }
	body .cta-section .flexrow { flex-wrap: nowrap; }
	#menu-main-menu { align-items: center; }
	#menu-main-menu > li > a { font-family: 'Oswald', 'Arial', sans-serif; font-weight: 400; color: #555; }
	body #main .content.row #masthead ul.menu > li, body #main .content.row #secondary-nav ul.menu > li { margin-bottom: 0; }
	#masthead #menu-main-menu {
		margin-top: 0; margin-bottom: 0; align-items: center;
	}
	body #masthead, body footer.wp-block-template-part { width: 100%; max-width: 100%; }
	#masthead .custom-logo-link > img { width: 185px; height: auto;  }
	#masthead #secondary-nav { padding-top: 10px !important; padding-bottom: 10px !important; }
	#masthead #secondary-nav ul.wp-block-navigation__container > li > a { color: #fff !important; }
	#masthead > div:first-child > div { flex-wrap: nowrap; gap: 0; justify-content: space-between; }
	.wp-site-blocks .wp-block-columns { display: flex; flex-direction: row; flex-wrap: nowrap; }
	body .wp-site-blocks #secondary-nav .sitewidth { padding-top: 0 !important; padding-bottom: 0 !important; }
	#masthead ul.menu > li > a, body #main #secondary-nav ul.menu > li > a {
		transition: padding 0.3s ease;	
	}
	body.scrolled #masthead ul.menu > li > a, body.scrolled #main #secondary-nav ul.menu > li > a {
		padding-top: 5px; padding-bottom: 5px;
	}
	body #hero .has-background .wp-block-columns.sitewidth { padding-top: 140px !important; }
	.content.row > .wp-block-group .sitewidth { padding-top: 30px !important; padding-bottom: 30px !important; }
	.wp-site-blocks #masthead .wp-container-core-group-is-layout-bc8e6f51 { flex-wrap: nowrap; }
	body .wp-site-blocks #hero .has-background .wp-block-columns.sitewidth { padding-top: 200px !important; }
	.wp-site-blocks .wp-block-navigation__submenu-container > li > a { text-align: left; }
	#masthead li svg { margin-bottom: 0 !important; }
	#masthead .wp-block-buttons .wp-block-button a {  min-width: 50px !important; }
}
/* mobile */
@media All and (max-width: 650px){
	body.navopen #mobile-menu { display: block; box-sizing: border-box; max-height: 100%; position: fixed; padding: 0 0 40px 0 !important; top: 0; left: 0; overflow-y: scroll; width: 100%; background-color: var(--primary) !important; height: auto; z-index: 99999; }
	body:not(.navopen) #mobile-menu { display: none !important; visibility: hidden !important; }
	body #mobile-menu svg { margin-bottom: 0; }
	#mobile-menu ul > li { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
	span.menu-toggle { border-radius: 16px; z-index: 999; display: block; width: 32px; height: 32px; background-color: #fff; text-align: center; position: fixed; top: 10px; right: 10px; box-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
	span.menu-toggle img { width: 16px; height: auto; margin-top: 6px; }
	body .wp-site-blocks .sitewidth { width: 80%; margin-left: auto; margin-right: auto; }
	body .wp-site-blocks #all-services > ul, body #wp-site-blocks #all-services > ul { flex-direction: column; }
	.wp-site-blocks .slick-initialized .slick-slide { min-width: 250px !important; }
	footer.wp-block-template-part > div > div:first-child { border-bottom: 0; }
	#wp-site-blocks .swiper .slick-prev, #wp-site-blocks .swiper .slick-next,
	footer.wp-block-template-part > div > div:last-child { display: none !important; visibility: hidden !important; }
	footer.wp-block-template-part p { text-align: center; margin-top: 30px; padding-top: 30px; }
	#wp-site-blocks #testimonials-section .slick-slide { padding: 0; }
	#testimonials-section .slick-slide .five-stars { gap: 0; }
	#masthead .wp-block-buttons { justify-content: center; align-items: center; gap: 10px; display: flex; width: 100%; }
	#masthead .wp-block-buttons .wp-block-button a { font-size: 16px !important; }
	#masthead > div > div { align-items: flex-start; justify-content: center; }
	body #mobile-menu > div { background-color: #fff; padding: 15px !important; max-width: 100% !important; }
	body #mobile-menu nav { margin-left: 0 !important; padding: 10px; max-width: 100% !important; margin-right: 0 !important; width: 100%; background-color: var(--primary); color: #fff; }
	body #mobile-menu nav > ul { width: 100%; max-width: 100%; margin: 0; padding: 0; }
	body #mobile-menu nav > ul > li,
	#wp-site-blocks .accordion { width: 100%; display: flex; flex-direction: column !important; flex-wrap: nowrap;  }
	#wp-site-blocks .wte-section .accordion .accordion-header { padding: 10px; font-size: 18px !important; }
	#wp-site-blocks .wte-section .accordion .accordion-header::before { margin: 0 !important; }
	#wp-site-blocks #circle-images-section figure, #wp-site-blocks #circle-images-section figure img { width: 100% !important; margin: 0 auto; float: none; max-width: 200px; height: auto !important; }
	body #wp-site-blocks .accordion .accordion-header { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
	body #mobile-menu nav ul.wp-block-navigation__submenu-container { position: relative !important; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 0; align-items: flex-start; justify-content: flex-start; } 
}





