/**
Theme Name: SB Groundworks
Author: Giraffical
Author URI: https://giraffical.co.uk
Description: Custom child theme of Astra for SB Groundworks
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sb-groundworks
Template: astra
*/

/* General */
html {
	font-size: 10px;
}
body {
	font-size: 1.8rem;
	font-family: 'Source Sans Pro', sans-serif;
}
body, button, input, select, textarea, .ast-button, .ast-custom-button {
	font-size: 18px;
	line-height: 1.4;
}
.elementor-button, a {
	transition: all ease-in-out 0.4s;
}
.entry-content h1, h1 {
	font-size: 4rem;
	text-transform: uppercase;
	font-weight: 900;
	color: #0063A1;
}
.entry-content h2, h2 {
	font-size: 3.4rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #0063A1;
}
.entry-content h3, h3 {
	font-size: 3rem;
	font-weight: 700;
	color: #0063A1;
	text-transform: uppercase;
}
.entry-content h4, h4 {
	font-size: 2.4rem;
	font-weight: 700;
	color: #0063A1;
	text-transform: uppercase;
}
.entry-content h4.small {
	font-size: 2.4rem;
}
.entry-content h5, h5 {
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: 700;
	color: #0063A1;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
	margin-bottom: 0.5em;
}
.entry-content h4 a, .entry-content h3 a {
	font-size: inherit;
}
body .elementor-button.elementor-size-md {
	font-size: 14px;
	text-transform: uppercase;
}
body .elementor-button.elementor-size-sm, body .elementor-button.elementor-size-xs, body .elementor-button.elementor-size-lg, body .elementor-button.elementor-size-xl, body .elementor-button,
.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"],
body .uael-gf-btn-size-sm .uael-gf-style input[type="submit"] {
	font-size: 14px;
	text-transform: uppercase;
	background: #b94800;
	color: #fff;
	border: 2px solid #b94800;
	padding: 18px 32px;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	transition: all ease-in-out 0.5s;
}
body .elementor-button.elementor-size-sm:hover, body .elementor-button.elementor-size-xs:hover, body .elementor-button.elementor-size-lg:hover, body .elementor-button.elementor-size-xl:hover, body .elementor-button:hover,
.menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover, .button:hover, input#submit:hover, input[type="button"]:hover, input[type="submit"]:hover,
body .uael-gf-btn-size-sm .uael-gf-style input[type="submit"]:hover {
	background: #fff;
	color: #b94800;
}
#c2a .elementor-button:hover {
	background: #fff !important;
	border-color: #fff !important;
}
#hero 
.entry-content p {
	margin-bottom: 1em;
}
p:empty {
	margin-bottom: 0;
}

/* Spacings */
.pad {
	padding-left: 20px;
	padding-right: 20px;
}
.pd-left {
	padding-left: 15px;
}
.pd-right {
	padding-right: 15px;
}
.pdt110 {
	padding-top: 11rem;
}
.pdb110 {
	padding-bottom: 11rem;
}
.pdt90 {
	padding-top: 9rem;
}
.pdt40 {
	padding-top: 4rem;
}
.pdb90 {
	padding-bottom: 9rem;
}
.mgt110 {
	margin-top: 11rem;
}
.mgt90 {
	margin-top: 9rem;
}
.mgt60 {
	margin-top: 6rem;
}
.mgt40 {
	margin-top: 40px;
}
.mgt30 {
	margin-top: 30px;
}
.mgt10 {
	margin-top: 10px;
}
.mgt20 {
	margin-top: 20px;
}
.mgb110 {
	margin-bottom: 11rem;
}
.mgb90 {
	margin-bottom: 9rem;
}
.mgb60 {
	margin-bottom: 6rem;
}
.mgb40 {
	margin-bottom: 40px;
}
.mgb30 {
	margin-bottom: 30px;
}
.mgb20 {
	margin-bottom: 20px;
}
.mgb10 {
	margin-bottom: 10px;
}
.mgb0 {
	margin-bottom: 0 !important;
}

/* Header */
body .main-header-bar-wrap, body .main-header-bar,
.ast-primary-sticky-header-active .main-header-bar-wrap .main-header-bar {
	background: #F5F7FA;
}
.main-header-menu .menu-item:hover > .menu-link, .main-header-menu .menu-item:hover > .ast-menu-toggle, .main-header-menu .ast-masthead-custom-menu-items a:hover, .main-header-menu .menu-item.focus > .menu-link, .main-header-menu .menu-item.focus > .ast-menu-toggle, .main-header-menu .current-menu-item > .menu-link, .main-header-menu .current-menu-ancestor > .menu-link, .main-header-menu .current-menu-item > .ast-menu-toggle, .main-header-menu .current-menu-ancestor > .ast-menu-toggle,
.current-post-ancestor.current-menu-parent > a, .single-post .main-header-menu .current_page_parent > a {
	color: #0071B9;
}
.single-post.single-format-aside .main-header-menu .current_page_parent > a,
.single-post.single-format-audio .main-header-menu .current_page_parent > a {
	color: Blue;
}
.single-post.single-format-aside .main-header-menu .current_page_parent > a:hover,
.single-post.single-format-audio .main-header-menu .current_page_parent > a:hover {
	color: Pink;
}
.main-header-bar {
	padding: 0;
}
.main-header-menu > .menu-item {
	padding: 20px 0;
}
.main-header-bar {
	border-bottom: 0;
}
header .site-logo-img .custom-logo-link img {
	max-width: 140px;
}
.main-navigation {
	font-size: 1.6rem;
}
.main-header-bar .main-header-bar-navigation .menu-item-has-children > .menu-link::after {
	font-size: 1rem;
}

/* Homepage */
#hero {
	padding: 260px 20px;
}
#hero p, #c2a p {
	font-size: 2rem;
	text-transform: uppercase;
}
#recent-projects {
	padding: 60px 20px;
}
#c2a {
	padding-top: 104px;
}
/*#hero h1, #hero h2, #page-hero h1, #page-hero h2,
#hero .elementor-text-editor p, #page-hero .elementor-text-editor p,
#hero .transparent a {
	text-shadow: 1px 1px 3px rgba(0,0,0,.7);
}*/
#hero .overlay {
	background: rgba(0,36,59,0.6);
	padding: 30px;
}
#hero .elementor-text-editor p, #page-hero .elementor-text-editor p {
	margin-bottom: 0.25em;
}
.home-gallery h3, .home-gallery h4 {
	text-shadow: 1px 1px 2px rgba(0,0,0,.5);
}

/* Other Pages */
#cmplz-document {
	font-size: 16px;
	max-width: 100%;
}
.entry-content ol {
	margin-left: 17px;
}
#page-hero {
	padding-top: 120px;
	padding-bottom: 120px;
	background: #00243B;
}
#c2a {
	background: #00243B;
}
.home #c2a {
	background: #0063a1;
}


/* Footer */
#menu-footer-menu li {
	display: inline-block;
}
#menu-footer-menu li::before {
	content: "\b7\a0";
}
#menu-footer-menu li:first-of-type::before {
	content: "";
}
.ast-small-footer .ast-footer-overlay {
	padding-top: 3.66666em;
}
.ast-small-footer-section-2, .ast-small-footer-section-2 a {
	color: #B3B5B7;
}

/* Responsive */
@media (max-width: 1200px) {
	.ast-site-identity {
		margin: 15px 0;
	}
	.main-header-menu > .menu-item {
		padding: 0;
	}
	.main-navigation li {
		font-size: 16px;
	}
}
@media (max-width: 1024px) {
	.mgb20-tab {
		margin-bottom: 20px !important;
	}
	.bg-no-tab {
		background-image: none !important;
	}
	#hero {
		padding: 160px 20px;
	}
	.pd-left.pd-left-tab0 {
		padding-left: 0;
	}
	.pd-right.pd-right-tab0 {
		padding-right: 0;
	}
}
@media (max-width: 970px) {
	#hero-video .elementor-column-wrap {
		box-shadow: none;
		margin-right: 0;
	}
}
@media (max-width: 920px) {
	.ast-small-footer.footer-sml-layout-2 {
		font-size: 15px;
	}
}
@media (max-width: 768px) {
	#hero-video .elementor-column-wrap {
		margin-top: 40px;
	}
}
@media (max-width: 767px) {
	html {
		font-size: 10px;
	}
	body {
		font-size: 16px;
	}
	.pd-left {
		padding-left: 0;
	}
	.pd-right {
		padding-right: 0;
	}
	.mgb0-mob {
		margin-bottom: 0 !important;
	}
	.mgb20-mob {
		margin-bottom: 20px !important;
	}
	.mgt11 {
		margin-top: 10rem;
	}
	.mgb11 {
		margin-bottom: 10rem;
	}
	.footer-adv-layout-1 .footer-adv-widget {
		text-align: center;
	}
	.bg-no-mob {
		background-image: none !important;
	}
	#hero {
		padding: 140px 20px 106px;
	}
	#page-hero {
		padding-top: 90px;
		padding-bottom: 90px;
	}
}
@media (max-width: 540px) {
	html {
		font-size: 9px;
	}
	.site-branding img, .site-header .site-logo-img .custom-logo-link img {
		max-width: 100px;
	}
	.entry-content h4, h4, .entry-content h4.small,
	.entry-content .team-profile h4 {
		font-size: 20px;
	}
	.entry-content h5, h5 {
		font-size: 16px;
	}
	body .uael-dual-button-wrap .uael-button-wrapper,
	body .elementor-button-wrapper .elementor-button {
		display: block;
		width: 100%;
		float: none;
	}
	#colophon .ast-small-footer {
		font-size: 14px;
		line-height: 1.5;
	}
}