/*!
Theme Name: MBuild Theme
Theme URI: www.mbuildanalytics.com
Author: Ray Creations
Author URI: https://www.raycreations.net/
Description: Premium WordPress Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mbuild-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

MBuild Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

a, input:focus, input[type="button"], input[type="reset"], input[type="submit"], 
textarea:focus, .button, .site-header.sticky,
.main-navigation.toggled #primary-menu {
    transition: all 0.2s ease-in-out;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #333;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Josefin Sans', sans-serif;
	margin-bottom: 1rem;
	font-weight: 700;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}

h1 {
	font-size: 1.4rem;
	line-height: 2rem;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.8rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1rem;
}

h6 {
	font-size: 1.1rem;
}

p {
	margin: 0 0 1.5em 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

ol {
	counter-reset: my-awesome-counter;
	list-style: none;
	padding-left: 50px;
	margin-bottom: 2.5em;
}

ol li {
	margin: 0 0 1rem 0;
	counter-increment: my-awesome-counter;
	position: relative;
	padding-left: 10px;
}

ol li::before {
	content: counter(my-awesome-counter);
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	position: absolute;
	--size: 38px;
	left: calc(-1 * var(--size) - 10px);
	line-height: var(--size);
	width: var(--size);
	height: var(--size);
	top: 3px;
	background: #0047ab;
	border-radius: 50%;
	text-align: center;
}

.custom-ol-list-box {
	padding-left: 0;
}

.custom-ol-list-box li {
	display: inline-block;
	background-color: #f2f2f2;
	padding: 8px 15px 8px 45px;
	border-radius: 5px;
}

.custom-ol-list-box li::before {
	font-size: 1rem;
	--size: 24px;
	left: calc(-1 * var(--size) - -35px);
    top: 9px;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #0047ab;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #000;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.button,
.wpcf7 input[type="submit"] {
	display: inline-block;
	background-color: #ffd302;
	color: #000;
	font-weight: 400;
	text-decoration: none;
	padding: 8px 30px;
	border-radius: 30px;
	border: 0;
	font-size: .9rem;
}

.button--blue {
	background-color: #0047ab;
	color: #fff;
}

.section__heading {
	text-transform: uppercase;
	color: #0047ab;
	margin-top: 0;
	font-weight: 300;
	line-height: 3.5rem;
	margin-bottom: 0;
}

.font-blue {
	color: #1597d5;
}

.font-blue-big {
	color: #1597d5;
    font-size: 1.5rem;
    line-height: 2.4rem;
}

.no-margin {
	margin: 0 !important;
}

.one-margin-b {
	margin-bottom: 1rem !important;
}

.extra-space {
	margin-top: 5rem !important;
	margin-bottom: 5rem !important;
}

.section__heading-small {
	text-transform: uppercase;
    margin: 0;
}

.section__heading-black {
	color: #000;
}

.dashicons.icon-big {
	font-size: 3rem;
    width: 48px;
    height: 48px;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: .4rem 1rem;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.wpcf7 p {
	margin-bottom: 1em;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.wrap {
	margin: 0 auto;
	padding: 0 5%;
}

.wrap--flex {
	display: flex;
	align-items: center;
}

.wrap--flex-top {
	align-items: flex-start;
}

.wrap--post {
	align-items: flex-start;
	display: block;
}

.wrap--page {
	margin-top: 2rem;
}

/* Header */
.site-header {
	padding: 1.813rem 0;
	box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    background-color: #fff;
    width: 100%;
	position: absolute;
	z-index: 99;
	top: 0;
}

.site-header::after {
	content: '';
	height: 4px;
    width: auto;
    max-width: 75rem;
    display: block;
    background: #ffd302;
    margin: 0 5%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.site-header.sticky {
	position: fixed;
	padding: 1rem 0;
}

/* Home Page */
.hero-banner {
	margin-top: 6.25rem;
}

.hero-banner .metaslider .flexslider {
	margin-bottom: 0;
}

.hero-banner .metaslider .caption-wrap {
	margin: 0 auto;
	background-color: #0047ab;
	line-height: 1.7rem;
	opacity: 1;
	padding: 2rem 5%;
	position: relative;
	width: 100%;
}

.hero-banner .metaslider .caption {
	width: 100%;
	color: #fff;
	padding: 0;
}

.hero-banner .metaslider .caption .hero-banner__heading {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 1.2rem;
	margin-bottom: 0;
	line-height: 2.5rem;
	text-transform: uppercase;
	color: #fff;
	margin-top: 0;
	font-weight: 300;
	letter-spacing: 0;
}

.hero-banner .metaslider .caption p {
	font-size: .8rem;
	line-height: 1.2rem;
	position: relative;
	z-index: 9;
}

.hero-banner .metaslider .caption .button {
	margin-top: 10px;
	position: relative;
	z-index: 9;
}

.hero-banner .metaslider .flex-control-nav {
	position: absolute;
    bottom: 3.125rem;
    right: 10%;
    left: auto;
    width: auto;
}

.hero-banner .flex-control-paging li a.flex-active {
	width: 1.875rem;
	background-color: #ffd302;
}

.hero-banner .flex-control-paging li a {
	background-color: #000;
}

.hero-banner .metaslider .ms-image {
	overflow: hidden;
}

.hero-banner .metaslider .flex-control-nav li {
	padding-left: 0;
}

/* Home Widget 1 */
.home-widget-1,
.home-widget-3 {
	padding-top: 3.25rem;
	padding-bottom: 3rem;
}

.home-widget-1 {
	text-align: center;
}

.home-widget-1 h2 {
	text-transform: uppercase;
    color: #0047ab;
	margin-top: 0;
	margin-bottom: 1rem;
	font-weight: 300;
}

.home-services {
    margin: 0 auto;
	display: block;
	margin-bottom: 4rem;
}

.home-services__box {
	position: relative;
	margin-bottom: 3.5rem;
}

.home-serivces__photo {
	border-bottom: 5px solid #ffd302;
    border-radius: 20px;
}

.home-services__heading {
	background-color: #fff;
    box-shadow: 0 0 15px rgb(0 0 0 / 10%);
    padding: .8rem 1rem .7rem;
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: -2rem;
    border-radius: 30px;
	text-transform: uppercase;
	width: 70%;
	margin-left: auto;
    margin-right: auto;
	font-weight: 300;
}

.home-services__heading a {
	text-decoration: none;
	color: #333;
	display: block;
}

/* Home Widget 2 */
.home-widget-2 .widget {
	margin-bottom: 0;
}

.grey-content__content {
    padding: 4rem 5%;
	background-color: #f2f2f2;
}

.grey-content__pic-box {
	display: flex;
}

.grey-content__photo {
	object-fit: cover;
    display: block;
}

/* Home Widget 3 */
.home-widget-3 {
	text-align: center;
}

.home-posts {
	margin-left: 0;
}

.home-posts li {
	border-bottom: 1px solid #ccc;
    border-radius: 20px;
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
}

.home-posts .wp-block-latest-posts__post-title {
	padding: 2rem 2rem .5rem;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 1.125rem;
	display: block;
	text-transform: uppercase;
    text-decoration: none;
    color: #333;
	font-weight: 300;
}

.home-posts .wp-block-latest-posts__featured-image {
	height: 220px;
    width: 100%;
    display: flex;
}

.home-posts .wp-block-latest-posts__featured-image img {
	object-fit: cover;
    display: block;
	width: 100%;
	border-bottom: 5px solid #ffd302;
    border-radius: 20px;
}

.home-posts .wp-block-latest-posts__post-author, .home-posts .wp-block-latest-posts__post-date {
	display: inline-block;
	margin: 0 0.5rem;
	color: #999;
}

.wp-block-latest-posts__post-author::before {
	content: "\f110";
	font-family: dashicons;
	text-rendering: auto;
    -webkit-font-smoothing: antialiased;
	vertical-align: bottom;
    margin-right: 5px;
}

.wp-block-latest-posts__post-date::before {
	content: "\f145";
	font-family: dashicons;
	text-rendering: auto;
    -webkit-font-smoothing: antialiased;
	vertical-align: bottom;
    margin-right: 5px;
}

/* Home Widgets 4 */
.home-widget-4 .widget {
	margin-bottom: 0;
}

.home-contact__details {
	background-color: #f2f2f2;
	padding: 4rem 5% 3rem;
}

.home-contact__addr {
	line-height: 2;
}

.home-contact .footer-icon {
	margin-right: 5px;
}

.home-contact__form {
	background-image: url(images/contact-bg.jpg);
	background-size: cover;
	position: relative;
}

.home-contact__form::before {
	content: '';
	display: block;
	position: absolute;
	background-color: rgba(21, 151, 213, 0.7);
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.home-contact .wpcf7 {
	position: relative;
}

.home-contact .wpcf7 .wpcf7-text {
	width: 100%;
	border: 0;
	border-radius: 22px;
	padding: 0.6rem 1.2rem;
}

.home-contact .wpcf7 .wpcf7-textarea {
	border: 0;
	border-radius: 22px;
	padding: 0.6rem 1.2rem;
	height: 7.5rem;
}

.home-contact .wpcf7 p {
	margin-bottom: 14px;
}

/* 404 Error */
.error-404 {
	display: flex;
}

.error-404__photo {
	width: 50%;
    height: auto;
    object-fit: cover;
}

.error-404__content {
	background-color: #111;
    width: 50%;
	padding: 7rem 5rem 5rem 5rem;
    color: #fff;
	min-height: 80vh;
}

.error-404__title {
	text-transform: uppercase;
	line-height: 3rem;
}

.error-404 .search-field {
	height: 44px;
    border: 0;
    border-radius: 20px 0 0 20px;
    vertical-align: bottom;
}

.error-404 .search-submit {
	background: #ffd302;
    color: #000;
    height: 44px;
    border: 0;
    border-radius: 0 20px 20px 0;
	margin-left: -5px;
}

/* Page */
.site-main {
	margin-top:0;
	padding: 2rem 0;
} 

.home .site-main {
	padding: 0;
}

.blog .site-main,
.single .site-main,
.search .site-main,
.archive .site-main {
	margin-top: 10rem;
}

.page-banner {
	background-color: #074398;
	background-image: url(images/page-banner-graphic.png);
	background-repeat: no-repeat;
	background-position: center right;
	background-size: cover;
    padding: 6rem 0 4.5rem;
    margin-top: 5rem;
}

.page-banner .wrap--flex {
	justify-content: space-between;
	display: block;
}

.page-banner .entry-title {
	color: #fff;
	font-weight: 300;
	margin-top: 13px;
	letter-spacing: -1px;
}

.page-banner .entry-title::after {
	content: url(images/heading-divider-yellow.png);
	display: block;
	margin-bottom: .625rem;
	line-height: 0;
    margin-left: 5px;
    margin-top: 0.2rem;
}

.aioseo-breadcrumbs {
	color: #fff;
	text-transform: uppercase;
	opacity: .7;
}

.aioseo-breadcrumbs a {
	color: #fff;
}

.aioseo-breadcrumb-separator {
	margin: 0 .5rem;
}

/* Inner Page Style */
.page-content-box--grey {
	background-color: #f2f2f2;
}

.page-content-box--grey .page-content-box__text {
	padding-top: 4rem;
	padding-bottom: 2rem;
}

.page-content-box__text {
	padding-top: 2rem;
}

.page-content-box__pic-box {
	margin-top: 4rem;
}

.page-content-box__heading {
	font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -3px;
    font-size: 2rem;
    line-height: 2.4rem;
}

.yellow-featured-box {
	background-color: #ffd302;
	padding: 5rem 0;
	text-align: center;
}

.yellow-featured-box .wrap {
	display: block;
}

.yellow-featured-box__content {
	flex: 3 1 0;
}

.yellow-featured-box__heading {
	margin-bottom: 0;
	flex: 3 1 0;
}

.yellow-featured-box__button {
	background-color: #fff;
	padding: .5rem 3rem .5rem 5.5rem;
    border-radius: 30px;
	position: relative;
	flex: 1 1 0;
	display: inline-block;
	margin-top: 1rem;
}

.yellow-featured-box__button::before {
	content: url(images/content-phone.png);
	position: absolute;
	left: 1rem;
    top: 0.6rem;
}

.yellow-featured-box__button a {
	display: block;
	font-size: 1.4rem;
}

.two-content-box {
	padding: 5rem 0;
}

.two-content-box .wrap {
	display: block;
}

.content-box-one {
	margin-bottom: 3rem;
}

.content-box__heading {
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: -3px;
	font-size: 2rem;
	line-height: 2.4rem;
}

.one-content-box--center {
	text-align: center;
	margin-bottom: 6rem;
	margin-top: 4rem;
}

.yellow-content-box {
	background-color: #ffd302;
	padding: 3rem;
	text-align: center;
	color: #000;
	border-radius: 10px;
}

.yellow-content-box .dashicons {
	font-size: 3rem;
	color: #fff;
	width: 48px;
    height: 48px;
}

.our-team {
	text-align: center;
}

.our-team-featured {
	background-color: #fff;
	border-radius: 20px;
	padding: 3rem;
}

.our-team-featured {
	flex: 1 1 0;
}

.other-team {
	flex: 2 1 0;
	text-align: center;
	margin-top: 3rem;
}

.other-team .section__heading-small {
	margin-bottom: 1rem;
}

.other-team-box {
	display: flex;
	gap: 40px;
}

.our-team p:last-child {
	margin-bottom: 0;
}

.our-team__photo {
	border-radius: 50%;
    margin-bottom: 10px;
}

.other-team-box .our-team {
	flex: 1 1 0;
	border: 1px solid rgba(255,255,255,.6);
    border-radius: 20px;
	padding: 2rem;
}

.other-team-box .our-team__photo {
	width: 120px;
}

.heading-blue::after {
	content: url(images/heading-divider-blue.png);
	display: block;
	margin-bottom: .625rem;
	line-height: 0;
    margin-left: 5px;
    margin-top: 0.5rem;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background: #f2f2f2;
    border-radius: 10px;
	overflow: hidden;
	display: block;
}

.main-navigation ul ul.sub-menu li a {
	padding: 0.5rem 1rem;
	border-bottom: 1px solid #fff;
	color: #333;
	display: block;
}

.main-navigation.toggled ul ul.sub-menu li a {
	border-bottom: 1px solid rgba(0,0,0,.2);
    color: #fff;
	padding: 1rem 2rem;
}

.main-navigation ul ul.sub-menu li a:hover {
	background-color: #0047ab;
	color: #fff;
}

.main-navigation ul ul.sub-menu li:last-child {
	border-bottom: 0;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.menu-toggle, .main-navigation.toggled ul {
	position: relative;
	float: none;
	left: 0;
	box-shadow: none;
	background: transparent;
	border-radius: 0;
}

.main-navigation ul ul a {
	width: 100%;
}

.main-navigation.toggled li a {
	color: #fff;
	padding: 1rem;
	border-bottom: 1px solid rgba(0,0,0,.2);
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #333;
}

.main-navigation a:hover {
	color: #0047ab;
}

.main-navigation li.current-menu-item a {
	font-weight: 700;
	color: #0047ab;
}

.main-navigation.toggled li.current-menu-item a {
	font-weight: 700;
	color: #ffd302;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	float: right;
	font-family: 'dashicons';
	width: 3.125rem;
    height: 3.125rem;
	background: #ffd302;
    border: 0;
    border-radius: 50%;
	font-size: 1.2rem;
    padding: 0.4em 1em 0.4em 1rem;
}

.main-navigation.toggled #primary-menu {
	position: absolute;
    z-index: 9;
    width: 100%;
    left: 0;
    right: 0;
    background-color: #0047ab;
    top: 100px;
    height: 75vh;
	overflow-y: scroll;
}

.main-navigation.toggled #primary-menu.sticky {
	top: 80px;
}

.main-navigation.toggled .search-icon {
	display: none;
}

.main-navigation.toggled .mbasearchform {
	display: block !important;
	width: 100%;
    background: rgba(0,0,0,.2);
    box-shadow: none;
}

.mbasearchform input[type="search"] {
	width: 100%;
	border-radius: 0;
}

.main-navigation.toggled .mbasearchform input[type="submit"] {
	display: none;
}

@media screen and (min-width: 50em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		gap: 1.25rem;
		justify-content: flex-end;
		align-items: center;
	}

	.mbasearchform input[type="search"] {
		width: 15rem;
	}

	.main-navigation ul ul a {
		width: 200px;
	}

}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Search */
.search-icon {
	display: inline-block;
    width: 2.625rem;
    height: 2.625rem;
    background-color: #ffd302;
    line-height: 2.925rem;
    text-align: center;
    border-radius: 50%;
	cursor: pointer;
}

/********************
 * Search Navigation
 ********************/

 .search-mba .fa-search {
    color: #666666;
    font-weight: 900;
}

.search-mba .fa-search:hover, 
.search-mba .fa-search:focus {
    color: #999999;
    text-decoration: none;
}

.mbasearchform{
    display: block;
    width: 21.875rem;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 1px;
    z-index: 9999;
    background-color: #0047ab;
    padding: .5rem;
    border-radius: 0;
     -webkit-box-shadow: 0 1px 10px rgba(0,0,0,0.15);
    box-shadow: 0 1px 10px rgba(0,0,0,0.15);
}

.mbasearchform form input:focus {
    color: #555;
}

.mbasearchform input[type="submit"] {
	border: 0;
	background: transparent;
    color: #fff;
}

.mbasearchform ::-moz-placeholder {
	color: #999 !important;
	font-weight: 300;
	opacity: 1;
}

.mbasearchform ::-webkit-input-placeholder {
	color: #999 !important;
	font-weight: 300;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.entry-title {
	text-transform: uppercase;
    color: #0047ab;
	margin-bottom: 0;
	line-height: 2.4rem;
	font-weight: 300;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-meta {
	font-size: .87rem;
	color: #999;
}

.entry-meta a {
	color: #999;
}

.entry-meta .posted-on::before {
	content: "\f145";
    font-family: dashicons;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    vertical-align: bottom;
    margin-right: 5px;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.blog-posts .post {
	border-radius: 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 4rem;
}

.blog-posts .post .post-thumbnail {
	display: inline-block;
    position: relative;
}

.blog-posts .post .post-thumbnail::after {
	content: url(images/content-arrow-bottom.png);
	position: absolute;
    bottom: 10px;
    left: 2rem;
    z-index: 0;
}

.blog-posts .post .wp-post-image {
	border-bottom: 5px solid #ffd302;
    border-radius: 20px;
	margin-bottom: 2rem;
	position: relative;
	z-index: 9;
}

.blog-posts .entry-header {
	padding: 0 2rem;
}

.blog-posts .entry-content {
	padding: 0 2rem 2rem;
}

.entry-footer {
	padding: 2rem;
}

.post-content-wrap {
	gap: 3rem;
	margin: 3.5rem 0;
}

.post-content-wrap .wp-post-image {
	border-radius: 20px;
	border-bottom: 5px solid #ffd302;
}

.post-content-wrap .entry-content {
	margin-top: 0;
}



/* Comments
--------------------------------------------- */
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	display: block;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comment-form-comment {
	padding-right: 1%;
}

.comment-form-author {
	width: 33.333%;
	padding-right: 1%;
	float: left;
}

.comment-form-email {
	width: 33.333%;
	padding-right: 1%;
	float: left;
}

.comment-form-url {
	width: 33.333%;
	padding-right: 1%;
	float: left;
}

.comment-list {
	margin-left: 0;
    padding-left: 0;
	list-style: none;
}

.comment-list .comment {
	background-color: #f2f2f2;
	border-radius: 20px;
	padding: 2rem 2rem 2rem 4rem;
	position: relative;
	margin-bottom: 2rem;
}

.comment-meta .avatar {
	background-color: #fff;
    border-radius: 50%;
    position: absolute;
    left: -40px;
}

.comment-list .reply {
	background-color: #e2e2e2;
    display: inline-block;
    padding: 4px 20px;
    position: absolute;
    right: 0;
    bottom: 0;
    border-radius: 20px 0;
}

/* Widgets
--------------------------------------------- */
.sidebar .widget {
	margin: 0 0 3em;
	background-color: #f2f2f2;
    border-bottom: 2px solid #ccc;
    border-radius: 20px;
    padding: 2rem;
}

.widget select {
	max-width: 100%;
}

.widget h5 {
    text-transform: uppercase;
    margin-top: 0;
	margin-bottom: .3rem;
	font-weight: 300;
}

.widget ul {
	margin-left: 0;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.sidebar .widget ul li {
	border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar .wp-block-latest-posts.wp-block-latest-posts__list li {
	border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar .widget ul li:last-child,
.sidebar .wp-block-latest-posts.wp-block-latest-posts__list li:last-child {
	border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/**
 * Site Footer
 */

 .site-footer {
	background-color: #0047ab;
	background-image: url(images/footer-bg.png);
	background-repeat: no-repeat;
	background-position: center;
	padding: 3rem 0;
	color: #fff;
 }

 .site-footer .wrap--flex {
	display: block;
 }

 .site-footer a {
	color: #fff;
	text-decoration: none;
 }

 .site-footer a:hover {
	color: #ffd302;
 }

 .site-footer__menu #footer-menu {
	display: flex;
    list-style: none;
    gap: 1.25rem;
	margin-bottom: 0;
    padding-left: 0;
	margin-left: 0;
	justify-content: center;
    padding-bottom: 10px;
 }

 .site-footer__menu, .site-footer__info {
	text-align: center;
 }

/* Media Screens
---------------------------------- */
@media screen and ( min-width: 640px ) {
	.home-widget-1,
	.home-widget-3 {
		padding-top: 6.25rem;
		padding-bottom: 5rem;
	}

	.hero-banner .metaslider .caption-wrap {
		background-color: transparent;
		line-height: 1.7rem;
		opacity: 1;
		padding: 0 5%;
		position: absolute;
	}

	.hero-banner .metaslider .caption {
		width: 68%;
		background-color: #0047ab;
		padding: 2rem;
	}

	.hero-banner .metaslider .caption .hero-banner__heading {
		font-size: 1.5rem;
		color: #fff;
	}

	.hero-banner .metaslider .caption .hero-banner__heading::after {
		content: url(images/heading-divider-yellow.png);
		display: block;
		margin-bottom: .625rem;
		line-height: 0;
	}

	.hero-banner .metaslider .caption p {
		font-size: .9rem;
		line-height: 1.6rem;
	}

	.home-services {
		display: flex;
		gap: 1rem;
	}

	.home-services__box {
		margin-bottom: 0;
	}

	.home-services__heading {
		width: auto;
	}

	.grey-content__content {
		padding: 6rem 5%;
	}

	.home-contact__details {
		padding: 6rem 5% 5rem;
	}

	.home-contact__form {
	}

	.post-content-wrap {
		display: grid;
		grid-template-columns: 1fr 2fr;
		align-items: flex-start;
	}

	.hero-banner .metaslider .caption .hero-banner__heading {
		line-height: 3.5rem;
	}
}

@media screen and ( min-width: 800px ) {
	h5 {
		font-size: 1.2rem;
	}

	.hero-banner .metaslider .caption .hero-banner__heading {
		font-size: 2rem;
		margin-bottom: .625rem;
		letter-spacing: -3px;
	}

	.hero-banner .metaslider .caption .hero-banner__heading::before {
		line-height: inherit;
	}

	.hero-banner .metaslider .caption p {
		font-size: 1rem;
		line-height: 1.7rem;
	}

	.hero-banner .metaslider .caption .button {
		margin-top: 20px;
	}

	.button,
	.wpcf7 input[type="submit"] {
		padding: 11px 35px;
		font-size: 1rem;
	}

	.grey-content {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	h2 {
		font-size: 3rem;
	}

	.home-widget-1 h2 {
		letter-spacing: -3px;
		margin-bottom: 1rem;
	}

	.section__heading {
		letter-spacing: -3px;
		margin-bottom: 2rem;
	}
}

@media screen and ( min-width: 1024px ) {
	h1 {
		font-size: 2.375rem;
		line-height: 3.4rem;
	}

	.main-navigation ul {
		gap: 2.25rem;
	}

	.hero-banner .metaslider .caption {
		width: 50%;
		padding: 3rem;
	}

	.hero-banner .metaslider .caption .hero-banner__heading {
		font-size: 3rem;
	}

	.hero-banner .metaslider .caption p {
		font-size: 1.1rem;
		line-height: 1.9rem;
	}

	.home .home-services {
		width: 75%;
	}

	.site-footer .wrap--flex {
		display: flex;
	}

	.page-banner .wrap--flex {
		display: flex;
	}

	.site-footer__menu {
		width: 50%;
	 }
	
	.site-footer__menu #footer-menu {
		display: flex;
		list-style: none;
		gap: 1.25rem;
		margin-bottom: 0;
		padding-left: 0;
		margin-left: 0;
		justify-content: left;
		padding-bottom: 0;
	}

	.site-footer__info {
		width: 50%;
		text-align: right;
	}

	.home-widget-1 {
		padding-top: 7.125rem;
		padding-bottom: 8.125rem;
	}

	.home-widget-3 {
		padding-top: 8.125rem;
		padding-bottom: 9.125rem;
	}

	.grey-content__content {
		padding: 7rem 7rem 7rem 4rem;
	}

	.home-contact {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.home-posts {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 2.2rem;
	}

	.home-posts li {
		margin-bottom: 3rem;
	}

	.home-contact__details {
		padding: 8rem 4rem 8rem 8rem;
	}

	.home-contact__form {
	}

	.blog-posts {
		width: 70%;
	}

	.sidebar {
		width: 30%;
		padding-left: 3rem;
	}

	.wrap--post {
		display: flex;
	}

	.page-content-box {
		display: grid;
    	grid-template-columns: 1fr 1fr;
		margin-bottom: 8rem;
	}

	.page-content-box--right {
		grid-template-areas: "grid-photo grid-content";
	}

	.page-content-box--right .page-content-box__pic-box {
		grid-area: grid-photo;
	}

	.page-content-box--right .page-content-box__text {
		grid-area: grid-content;
	}

	.page-content-box__pic-box {
		display: flex;
		margin-top: 0;
	}

	.page-content-box__photo {
		display: block;
		object-fit: cover;
	}

	.page-content-box .wrap {
		padding: 0 13% 0 17%;
	}

	.page-content-box--right .wrap {
		padding: 0 17% 0 12%;
	}

	.page-content-box__text {
		position: relative;
	}

	.page-content-box__text::before {
		content: url(images/content-arrow-left.png);
		position: absolute;
		right: -5px;
    	transform: scale(.8);
	}

	.page-content-box--right .page-content-box__text::before {
		content: url(images/content-arrow-right.png);
		position: absolute;
		left: -5px;
		right: auto;
    	transform: scale(.8);
	}

	.page-content-box__photo {
		position: relative;
		z-index: 9;
	}

	.page-content-box__heading {
		font-size: 3rem;
		line-height: 3.4rem;
	}

	.two-content-box {
		padding: 7rem 0;
	}

	.two-content-box .wrap {
		align-items: flex-start;
    	gap: 6rem;
		display: flex;
	}

	.content-box-one {
		flex: 1 1 0;
		margin-bottom: 0;
	}
	
	.content-box-two {
		flex: 1 1 0;
	}

	.yellow-featured-box {
		text-align: left;
	}

	.yellow-featured-box .wrap {
		justify-content: space-around;
		gap: 4rem;
		display: flex;
	}

	.yellow-featured-box__button {
		margin-top: 0;
	}

	.hero-banner .metaslider .caption {
		position: relative;
	}

	.hero-banner .metaslider .caption::after {
		content: url(images/hero-bg.png) !important;
		position: absolute;
		bottom: -40px;
		right: -40px;
		transform: scale(.8);
	}

	.other-team {
		margin-top: 0;
	}
}

 @media screen and ( min-width: 1280px ) {
	.wrap {
		max-width: 75rem;
		padding: 0;
	}

	.wrap--small {
		padding: 0 12%;
	}

	.site-header::after {
		max-width: 75rem;
		margin: 0 auto;
	}

	.hero-banner .metaslider .caption-wrap {
		max-width: 75rem;
		padding: 0;
		left: 0;
		right: 0;
	}
 }