/*
*
* Mahogany Blocks
* 
*
*/

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

:root {
	--primary: #143b87;
	--secondary: #f2de00;
	--mainfont: 'Oswald', 'Arial', sans-serif;
}


html body.logged-in #wp-site-blocks #masthead {
	margin-top: 0 !important;
	top: 0;
}
#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%;
}
#testimonials-section .wave-crop.lower svg path {  fill: var(--primary) !important; }
.wp-block-group p { margin-top: 10px; }
.heading-design { margin-bottom: 15px; }
.entry-content .wp-block-buttons { margin-top: 20px; justify-content: flex-start; align-items: flex-start; gap: 20px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--mainfont); font-weight: 600; }
body #hero { margin-top: 0 !important; height: auto !important; min-height: 350px !important; }
body #hero .wave-crop.upper { display: none !important; visibility: hidden !important; }
body .wave-crop > svg { margin-bottom: -10px; }
body.wave-crop #hero > .has-background { padding-bottom: 0 !important; }
#wp-site-blocks .double-wave-crop { align-items: baseline; }
.double-wave-crop svg { margin-bottom: -5px; vertical-align: baseline; height: 100px; }
.sitewidth > .wp-block-group__inner-container, .row.mahogany-custom { width: 100%; }
.row.mahogany-custom .sitewidth { padding-top: 30px; padding-bottom: 30px; }
#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 { margin-top: 10px; 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 .cta-section .sitewidth, .content .sitewidth.wp-block-group { margin: 0 auto; }
body .entry-content > .wp-block-group.upper-crop { padding-top: 0 !important; }
body .entry-content > .wp-block-group.lower-crop { padding-bottom: 0 !important; }
#video-section .wp-block-columns > .wp-block-column, #video-section .wp-block-columns > .wp-block-column > .wp-block-group, body .wp-site-blocks main .entry-content .row > .alignfull { width: 100%; max-width: 100%; flex-basis: 100%; }
#all-services ul.wp-block-list {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin-top: 30px; margin-bottom: 30px;
}
#all-services ul.wp-block-list > li {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.columns-3 .wp-block-post.post > .wp-block-group {
	padding: 0 !important;
	margin: 0 !important;
}
.columns-3 .wp-block-post.post > .wp-block-group > *:not(figure) {
	padding-left: 15px; padding-right: 15px;
}
.columns-3 .wp-block-post.post h3,
.columns-3 .wp-block-post.post h3 a {
	font-family: 'Oswald', 'Arial', sans-serif !important;
}
.columns-3 .wp-block-post.post figure, 
.columns-3 .wp-block-post.post figure img, 
body .sitewidth > .alignfull {
	width: 100%;
	max-width: 100%;
}
body #masthead .sitewidth > .alignfull { justify-content: space-between; width: 100% !important; }
body #masthead .sitewidth > .alignfull > .wp-block-group { width: 100%; max-width: 100%; }
#all-services ul.wp-block-list > li > div > ul {
	margin-top: 20px;
}
#all-services ul.wp-block-list > li > div > ul > li > a {
	font-size: 22px; font-weight: 400; color: var(--secondary);
}
body .sitewidth { flex-direction: column; }
#circle-images-section .wp-block-columns > .wp-block-column > .wp-block-columns { gap: 15px; }

@media All and (min-width: 650px) {
	#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; }
	#masthead > .sitewidth { width: 100%; max-width: 100%; gap: 0; margin: 0 auto; display: block;  }
	#video-section .flexrow > div > .wp-block-group { flex-grow: 50%; width: 100%; }
	#secondary-nav .sitewidth, #masthead .sitewidth { margin: 0 auto; }
	body .wp-site-blocks main .entry-content .flexrow { display: flex; flex-direction: row; flex-wrap: nowrap; }
	body ul.columns-3 { gap: 20px; }
	body #masthead .sitewidth { justify-content: space-between; align-items: center; width: 100%; max-width: 1140px; }
	.wp-block-create-block-profitfill-carousel > .block-editor-inner-blocks > .block-editor-block-list__layout {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}
}