/*!
Theme Name: Morley Property Consulting
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: morley-property-consulting
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.

Morley Property Consulting 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;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* 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;
}

/* 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;
}


/*--------------------------------------------------------------
# CSS Variables & Reset
--------------------------------------------------------------*/
:root {
	/* Colors */
	--color-primary: #163955;
	--color-primary-light: #0F5E41;
	--color-secondary: #CE9647;
	--color-secondary-light: #0F5E41;
	--color-bg: #fff;
	--color-border: #EEEEEE;
	--color-text-white: #fff;
	--color-text-darkgrey: #3B3B3B;
	--color-text-mediumgrey: #5C5A5A;

	/* Fonts */
	--font-heading: "Quattrocento", serif;
	--font-body: "Figtree", sans-serif;
	
	/* Layout */
	--container-max: 1200px;
	--transition: 0.3s ease;
	
	/* Spacing */
	--spacing-sm: 15px;
	--spacing-ms: 20px;
	--spacing-md: 30px;
	--spacing-lg: 50px;
	--spacing-xl: 70px;
  }

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

/* Typography
--------------------------------------------- */
html {
	/* 100% of the default 16px = 16px, so 62.5% of that = 10px */
	font-size: 62.5%;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text-darkgrey);
	font-family: var(--font-body), sans-serif;
	font-size: 1.6rem;
	line-height: 1.6;
}

p {
	margin: 0 0 15px 0px;
}

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%;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  clear: both;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

h1, .h1 { font-size: 3.4rem; }
h2, .h2 { font-size: 2.8rem; }
h3, .h3 { font-size: 2.4rem; }
h4, .h4 { font-size: 2rem; }
h5, .h5 { font-size: 1.6rem; }
h6, .h6 { font-size: 1.5rem; }

.p-xl { font-size: 2rem; }
.p-l { font-size: 1.8rem; }
.p-m { font-size: 1.6rem; }
.p-s { font-size: 1.4rem; }
.p-xs { font-size: 1.2rem; }

.cap {
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* Lists & Links */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  body {
	font-size: 1.3rem;
  }
  
  h1, .h1 { font-size: 2.6rem; }
  h2, .h2 { font-size: 2.2rem; }
  h3, .h3 { font-size: 2rem; }
  h4, .h4 { font-size: 1.6rem; }
  h5, .h5 { font-size: 1.5rem; }
  h6, .h6 { font-size: 1.4rem; }
  
  .p-xl { font-size: 1.8rem; }
  .p-l { font-size: 1.6rem; }
  .p-m { font-size: 1.5rem; }
  .p-s { font-size: 1.3rem; }
  .p-xs { font-size: 1.1rem; }
}

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

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

ul,
ol {
	margin: 0 0 20px 18px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

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: var(--color-text-white);
}

a:hover,
a:focus,
a:active {
	color: var(--color-text-white);
}

a:focus {
	outline: thin dotted;
}

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

/* 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: 3px;
}

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%;
}


/* Buttons
--------------------------------------------- */

.button,
.button:visited  {
	padding: 10px 20px;
	font-size: 1.4rem;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	border-radius: 6px;
	cursor: pointer;
	letter-spacing: 0.05em;
	display: inline-block;
	line-height: 1.6rem;
	transition: all 0.3s ease-in;
	width: fit-content;
}

.button--primary {
	background-color: var(--color-primary);
	color: #fff;
	border: 1px solid var(--color-primary);
}

.button--primary:hover,
.button--primary:focus {
background-color: var(--color-primary-light);
border-color:     var(--color-primary-light);
}

.button--outline {
	background-color: transparent;
	color:            var(--color-primary);
	border:           1px solid var(--color-primary);
}

.button--outline:hover,
.button--outline:focus {
	background-color: var(--color-primary);
	color:            #fff;
}

.button--secondary {
	background-color: var(--color-secondary);
	color: #fff;
	border: 1px solid var(--color-secondary);
}

.button--secondary:hover,
.button--secondary:focus {
	background-color: var(--color-secondary-light);
	border-color:     var(--color-secondary-light);
}

/* 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;
}

/* Site
--------------------------------------------- */
.site-header {
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	justify-content: center;
    flex-direction: column;
    align-items: center;
	padding: 30px 0 0 0;
	z-index: 1;
}

.home .site-header::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;               /* cover the entire .site-header */
	background: rgba(22, 57, 85, 0.8); /* semi-transparent black overlay */
	pointer-events: none;  /* let clicks pass through to header content */
	z-index: -1;           /* push it behind the header’s own content */
}
  
.site-logo {
	width: 190px;
	display: block;
}

.site-logo img {
	width: 100%;
}

.container {
	max-width: 1200px;
	width: 100%;
	padding:0 30px;
}

.main-navigation {
	width: 100%;
    padding: 15px 0;
    margin: 30px 0 0 0;
	border-top: 1px solid var(--color-border);
}

.home .main-navigation {
	border-top: none;
}

.main-navigation ul {
	display: flex;
	margin: 0;
	padding: 0;
	width: 100%;
	gap: 50px;
	justify-content: center;
	list-style: none;
}

.main-navigation ul a {
	color: var(--color-text-mediumgrey);
    text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.home .main-navigation ul a {
	color: var(--color-text-white);
}

.main-navigation ul li.current-menu-item a {
	color: var(--color-secondary);
}

.hero-banner {
	color: white;
    text-align: center;
    padding: 100px 20px 140px;
    max-width: 900px;
}

.hero-banner .hero-banner__title {
	background: hsl(0deg 0% 100% / 10%);
	padding: 10px 20px;
	border: 1px solid hsl(0deg 0% 100% / 10%);
	margin-bottom: 15px;
	color: var(--color-text-white);
}

.hero-banner .hero-banner__title .dot {
	color: var(--color-secondary);
}

.hero-banner .hero-banner__subtitle {
	max-width: 710px;
    margin: 0 auto;
    font-weight: 100;
}

.entry-header {
    background-size: cover;
	background-position: center;
    position: relative;
    z-index: 1;
}

.entry-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(22, 57, 85, 0.8);
    pointer-events: none;
    z-index: -1;
}

.entry-header .entry-title {
	margin: 0;
    padding: 70px 30px;
    text-align: center;
	text-transform: uppercase;
	color: var(--color-text-white);
	letter-spacing: 0.1em;
}

.site-footer {
	background-color: var(--color-primary);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 20px 60px;
	gap: 50px;
	color: var(--color-text-white);
}

.site-contact {
	text-align: right;
}

.footer-logo {
	max-width: 220px;
}

.bottom-footer {
	border-top: 1px solid rgb(255 255 255 / 10%);
}

.top-footer-right {
	display: flex;
    gap: 30px;
    align-items: center;
}

.top-footer-right svg{
	width: 32px;
}

.top-footer,
.bottom-footer {
	max-width: var(--container-max);
	width: 100%;
	display: flex;
    justify-content: space-between;
    align-items: center;
	gap: 20px;
    flex-wrap: wrap;
	padding-top: 30px;
}

.footer-copy p {
	margin:0;
}

.footer-navigation .menu {
	list-style: none;
	display: flex;
	gap:20px;
	margin: 0;
    padding: 0;
}

.website-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.website-by a {
	width: 80px;
}

.site-main {
	padding: 80px 20px;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
}

.contact-details {
	max-width: 800px;
	margin: 0 auto 50px;
	border: 1px solid #e4e4e4;
    padding: 30px;
}

.contact-details,
.contact-details div {
	display: flex;
	align-items: center;
    justify-content: center;
	gap:40px;
	flex-wrap: wrap;
}

.contact-details div {
	gap:10px;
}

.contact-details a {
	color:var(--color-secondary);
}

.contact-details svg path {
	fill:var(--color-primary)
}

.contact-details svg {
	width: 24px;
}

/* flexible-content-blocks */

.block-image-text {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: stretch;
	padding: 0px;
	background: #FFFFFF;
	border: 1px solid #EEEEEE;
	box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.06);
	border-radius: 12px;
	margin-bottom: 60px;
	overflow: hidden;
}

/* flip every 2nd .block-image-text */
.flexible-content-blocks .block-image-text:nth-child(2n) {
	flex-direction: row-reverse;
}

.block-image-text .block-image,
.block-image-text .block-content {
	flex: 1 1 50%;         /* grow, shrink, with a base of 50% */
	box-sizing: border-box;
	min-height: 600px;
}

/* make the image fill and crop to its parent */
.block-image-text .block-image {
	position: relative;      /* establish containing block */
	overflow: hidden;        /* hide any overflow from object-fit */
}

.block-image-text .block-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;       /* fill & crop */
	object-position: center; /* center the crop area */
}

.block-image-text .block-content {
	padding:50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block-image-text .block-content-heading {
	margin:0 0 15px 0;
}

.block-image-text .block-text ul {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

.block-image-text .block-text ul li {
	position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.block-image-text .block-text ul li::before {
	content: "";
	position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 24px;
	background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%207%2012'%20fill='none'%3E%3Cpath%20d='M0%200L6.31371%205.65686L0%2011.3137L0%200Z'%20fill='%23CE9647'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.block-intro-text {
	padding: 30px 0 110px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
	line-height: 4rem;
}

/* -------------------------------
    Block Content List
------------------------------- */

.block-content-list {
	margin: 0 0 50px 0;;
}

.block-content-list-heading {
	text-align: center;
	margin:0 0 50px 0;
}

.block-content-list ul {
	margin: 0;
}

.block-content-list ul li {
	display: flex;
	margin: 0 0 20px 0;
	border-bottom: 1px solid var(--color-border);
	padding: 20px 0;
}

.block-content-list ul li:last-child {
	border-bottom: none;
}

.block-content-list-title {
	width: 50%;
	padding-right: 20px;
	box-sizing: border-box;
}

.block-content-list-content {
	width: 50%;
	box-sizing: border-box;
}

.block-content-list-content p {
	margin:0
}

/* -------------------------------
    CTA Banner
------------------------------- */

.block-cta-banner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 130px;
    background: #FFFFFF;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    gap: 20px;
    text-align: center;
    border: 1px solid var(--color-secondary);
    border-bottom: 10px solid var(--color-secondary);
}

.block-cta-banner .block-cta-banner-heading {
	color: var(--color-secondary);	
}

.block-cta-banner .cta-text {
	color: var(--color-text-mediumgrey);	
	max-width: 740px;
}

/* -------------------------------
    Contact Form
------------------------------- */

.page-id-17 .block-intro-text {
	padding: 30px 0 80px;
    max-width: 640px;
}

.gform-theme--no-framework .contact-form {
	background: #F6F6F6;
	border: 1px solid var(--color-border);
	padding:50px!important;
	max-width: 700px;
    margin: 0 auto;
  }
  
  .gform-theme--no-framework .gfield_label {
	text-transform: uppercase;
  }
  
  .gform-theme--no-framework .gform_button {
	text-transform: uppercase !important;
	letter-spacing: 2px !important;
	font-size: 1.6rem !important;
	color: var(--color-text-white) !important;
	padding: 10px 15px !important;
	border: 1px solid var(--color-primary) !important;
	background-color: var(--color-primary) !important;
	display: inline-block !important;
	cursor: pointer !important;
	width: max-content !important;
	transition: var(--transition) !important;
  }
  
  .gform-theme--no-framework .gform_button:hover {
	background-color: var(--white) !important;
	color: var(--color-primary) !important;
  }
  
  .gform-theme--no-framework .gfield--type-choice .gfield_radio {
	flex-direction: row !important;
	flex-wrap: wrap;
  }
  
  .gform_title,
  .gform_required_legend {
	display: none;
  }
  
  .gform-theme--no-framework .gfield_list_group_item::before, 
  .gform-theme--no-framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
	color: var(--color-primary) !important;
  }
  
  .gform-theme--no-framework textarea,
  .gform-theme--foundation .gfield .ginput_password, 
  .gform-theme--foundation .gfield input, 
  .gform-theme--foundation .gfield select {
	border-color: #b4b4b4 !important;
  }
  
  @media (min-width: 768px) {
	.gform-theme--no-framework .contact-form {
	  min-width: 790px;
	  padding: 60px;
	}
  }

@media only screen and (max-width: 768px) {

	.site-header {
		padding: 10px 0 0 0;
	}

	.site-logo {
		width: 130px;
	}

	.main-navigation {
		margin: 0;
		border-top: none;
		padding: 15px 0 0 0;
	}

	.main-navigation ul {
		display: grid;                      
		grid-template-columns: repeat(2, 1fr); 
		grid-auto-rows: auto;              
		gap: 0; 
		text-align: center;
	}

	.main-navigation ul li{
		padding: 8px 10px;
	}

	.main-navigation ul li{
		border-top: 1px solid var(--color-border);
	}

	.main-navigation ul li:nth-child(1),
	.main-navigation ul li:nth-child(3) {
		border-right: 1px solid var(--color-border);
	}
	
	.main-navigation ul li:nth-child(3),
	.main-navigation ul li:nth-child(4) {
		border-bottom: 1px solid var(--color-border);
	}

	.home .main-navigation ul li{
		border-top: 1px solid rgb(255 255 255 / 10%)
	}

	.home .main-navigation ul li:nth-child(1),
	.home .main-navigation ul li:nth-child(3) {
		border-right: 1px solid rgb(255 255 255 / 10%)
	}
	
	.home .main-navigation ul li:nth-child(3),
	.home .main-navigation ul li:nth-child(4) {
		border-bottom: 1px solid rgb(255 255 255 / 10%)
	}

	.hero-banner {
		padding: 30px 20px 30px;
	}

	.entry-header .entry-title {
		padding: 50px 30px;
        font-size: 2.4rem;
        letter-spacing: 0.1em;
	}

	.site-footer {
		padding: 0 20px 30px;
		gap: 30px;
	}

	.top-footer-right {
		flex-direction: column;
	}

	.top-footer-right svg{
		width: 28px;
	}

	.top-footer,
	.bottom-footer {
		justify-content: center;
		flex-direction: column;
	}

	.site-contact {
		text-align: center;
	}

	.footer-logo {
		max-width: 160px;
	}

	.site-main {
		padding: 20px 20px 40px;
	}

	.block-image-text .block-image, 
	.block-image-text .block-content {
		min-height: auto;
	}

	.block-image-text,
	.flexible-content-blocks .block-image-text:nth-child(2n) {
		flex-direction: column;
		margin-bottom: 20px;
	}

	.block-image-text .block-content {
		padding: 25px;
	}

	.block-image-text .block-image {
		max-height: 190px;
        min-height: 190px;
	}
	
	.block-intro-text {
		padding: 30px 0 40px;
		line-height: 2.4rem;
	}

	.block-content-list-heading {
		margin:0 0 20px 0;
	}

	.block-cta-banner {
		padding: 20px 20px 40px;
	}

	.gform-theme--no-framework .contact-form {
		padding: 20px!important;
	}

	.page-id-17 .block-intro-text {
		padding: 30px 0 30px;
	}
	
}