/*
Theme Name: Massey Title & Escrow
Author: Thrive Creative Group, LLC
Author URI: http://thinkthrive.com
Description: This is a theme designed and developed by Thrive Creative Group, LLC, WordPress --v 6.5.4
Version: 1.0
Text Domain: thrive
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header
# Navigation
	## Links
	## Menus
# Footer
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Home Page
	## Posts and pages
	## Comments
	## Advanced Custom Fields
# Infinite scroll
# Media
	## Captions
	## Galleries
# Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Lato', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
	font-size: 20px;
	color: #FFF;
	background-color: #ED8180;
	text-transform: uppercase;
	padding: 1em;
	border-radius: 5px;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea,
.button {
	color: #6D6E71;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: .03em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Cinzel', serif;
	font-weight: 400;
	clear: both;
	color: #212529;
	line-height: 1.15;

}

h1 {
	font-size: 64px;
}

h2 {
	font-size: 50px;
}

h3 {
	font-size: 40px;
}

h4 {
	font-size: 24px;
	font-family: 'Lato', sans-serif;
	text-transform: uppercase;
}

h5 {
	font-size: 16px;
	font-family: 'Lato', sans-serif;
}

p {
	margin-bottom: 1.5em;
	font-size: 16px;
}

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;
	font-size: 15px;
	font-size: 0.9375rem;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	        box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0 0 1em; /* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-size: 16px;
	font-weight: 700;
	color: #FFF;
	background-color: #7C6EE4;
	text-transform: uppercase;
	padding: 0.75em 1.25em;
	border: none;
	border-radius: 10px;
	-webkit-transition: .3s ease;
	transition: .3s ease;
}

button:hover,
.button:hover
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #6C757D;
}

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

.button {
	display: inline-block;
	color: #FFF;
	background-color: #7C6EE4;
	text-transform: uppercase;
	text-align: center;
    padding: 0.5em 1em;
    border-radius: 10px;
    font-size: 22px;
    border: 5px solid transparent;
}

.button:hover {
	/* color: #7C6EE4;
	background-color: #FFF;
	border-color: #7C6EE4; */

    background-color: #6C757D;
    /* border-color: #7C6EE4; */
    transition: background-color 0.3s;
}

.gform_button {
	display: inline-block !important;
	color: #FFF  !important;
	background-color: #7C6EE4 !important;
	text-transform: uppercase !important;
	text-align: center !important;
    padding: 0.5em 1em !important;
    border-radius: 10px !important;
    font-size: 22px !important;
    border: 5px solid transparent !important;
}

.gform_button:hover {
	/* color: #7C6EE4 !important;
	background-color: #FFF !important;
	border-color: #7C6EE4 !important; */

    background-color: #6C757D !important;
    /* border-color: #7C6EE4; */
    transition: background-color 0.3s !important;
}

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: 10px;
	padding: 0.75em 1.25em;
}

select {
	border: 1px solid #ccc;
}

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;
	outline: none;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	z-index: 999;
}

.site-branding {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	justify-items: center;
}

.site-branding .custom-logo-link {
	display: block;
	margin-top: 10px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #777677;
	text-decoration: none;
	-webkit-transition: .3s ease;
	transition: .3s ease;
}

a:hover,
a:focus,
a:active {
	color: #7C6EE4;
}

a:focus {
	outline: none;
}

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

.moretag {
	display: inline-block;
	margin-top: .5em;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.menu-header-action-buttons-container {
	/* width: 50%; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-items: right;
}

#header-action-buttons-menu {
	margin: 0 0 18px;
	list-style: none;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

#header-action-buttons-menu a {
	color: #FFF;
	background-color: #7C6EE4;
	text-transform: uppercase;
	padding: 0.75em 1.25em;
	border-radius: 10px;
	font-size: 22px;
	font-weight: 900;
	/* border: 5px solid transparent; */
}

#header-action-buttons-menu a:hover {
	/* color: #7C6EE4; */
	background-color: #6C757D;
	/* border-color: #7C6EE4; */
	transition: background-color 0.3s;
}

#header-action-buttons-menu li:last-child {
	margin-left: 15px;
}

.menu-main-menu-container {
	width: 100%;
	display: flex;
  	flex-direction: column;
  	justify-content: center;
}

.main-navigation {
	clear: both;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-end;
  	/* flex-direction: row;
  	justify-content: flex-end; */
	/* width: 100%; */
}

.main-navigation > .menu {
	display: flex;
	justify-content: center;
	align-items: center;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 0 1.15em;
	color: #212529;
	font-size: 21px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

.main-navigation a:hover {
	color: #7C6EE4;
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.main-navigation ul ul {
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: 1.15em;
	visibility: hidden;
	opacity: 0;
	z-index: 99999;
	display: block;
	width: 250px;
	padding: 10px 0;
	background-color: #FFF;
	border-radius: 5px;
	transition: opacity 0.3s ease;
	filter: drop-shadow(-2px 0 8px rgba(0, 0, 0, 0.3));
}

/* .main-navigation ul ul::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 25%;
	z-index: 99999;
	width: 25px;
	height: 20px;
	background: url(images/svg/submenu-triangle.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
} */

.main-navigation ul:nth-child(3) ul,
.main-navigation ul li:last-of-type(ul) {
	left: auto;
	right: 0;
	/* right: -6em; */
}

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

.main-navigation ul ul a {
	width: calc(250px - 2em);
	padding: .5em 1em;
}

.main-navigation ul ul li {
	display: block;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	visibility: visible;
	opacity: 1;
}

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* #primary-menu > li {
	width: 190px;
	margin: 25px 0 10px;
} */

/* #primary-menu > li > a {
	text-align: center;
	display: flex;
	justify-content: center;
	flex-direction: column-reverse;
	align-items: center;
	padding-bottom: 15px;
} */

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

.menu-toggle {
	position: relative;
	width: 30px;
	height: 20px;
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	transition: none;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	background-color: transparent;
}

.menu-toggle .bar {
	width: 100%;
	height: 2px;
	background-color: #707070;
}

.menu-toggle .top {
	position: absolute;
	top: 0;
	left: 0;
}

.menu-toggle .middle {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.menu-toggle .bottom {
	position: absolute;
	bottom: 0;
	left: 0;
}

.main-navigation.toggled {
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.menu-toggle[aria-expanded="true"] {
	position: absolute;
	z-index: 2001;
	top: 0;
	right: 310px;
	width: 50px;
	height: 50px;
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	background-color: rgba(255, 255, 255, 0.95);
}

.menu-toggle[aria-expanded="true"] .bar {
	width: 33px;
}

.menu-toggle[aria-expanded="true"] .top {
	top: 25%;
	left: 40%;
	transform: rotate(-45deg) translate(-50%, -50%);
}

.menu-toggle[aria-expanded="true"] .bottom {
	bottom: 25%;
	left: 40%;
	transform: rotate(45deg) translate(-50%, -50%);
}

.menu-toggle[aria-expanded="true"] .middle {
	display: none;
}

.main-navigation.toggled .menu {
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
	max-width: 75%;
	width: 310px;
	height: 100vh;
	padding-top: 15px;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
}

.main-navigation.toggled ul {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.main-navigation.toggled ul li {
	float: none;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
}

.main-navigation.toggled ul a {
	position: relative;
	z-index: 0;
	display: inline-block;
	width: 100%;
	font-size: 18px;
	text-align: center;
	padding: 0.5em 1em !important;
	-webkit-animation: fadeIn 1s;
	        animation: fadeIn 1s;
}

.main-navigation.toggled ul ul {
	position: relative;
	z-index: -1;
	top: 0;
	left: auto;
	display: block;
	width: 100%;
	max-height: 0;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.05);
	box-shadow: none;
	transition: opacity 0.3s ease, max-height 0.3s ease;
}

.main-navigation.toggled ul ul::before {
	display: none;
}

.main-navigation ul > li:last-of-type ul {
	right: 0;
}

.main-navigation.toggled ul li.menu-item-has-children {
	position: relative;
}

.main-navigation.toggled ul li.menu-item-has-children.focus ul.sub-menu {
	z-index: 9999;
	max-height: 9999px;
	visibility: visible;
	opacity: 1;
}

.main-navigation.toggled ul li.menu-item-has-children.focus ul.sub-menu a {
	font-size: 16px;
	padding: 0.5em 1em;
}

@-webkit-keyframes slideIn {
	0% {
		width: 0;
	}
	100% {
		width: 100vw;
	}
}

@keyframes slideIn {
	0% {
		width: 0;
	}
	100% {
		width: 100vw;
	}
}

.submenu-toggle {
	position: absolute;
	right: 0;
	top: 25px;
	z-index: 1;
	width: 45px;
	height: 45px;
	background-color: #EFEFEF;
	display: flex;
	justify-content: center;
	align-items: center;
}

.submenu-toggle:hover,
.submenu-toggle:focus {
	background-color: #DEDEDE;
}

.submenu-toggle svg {
	width: 25px;
	pointer-events: none;
	transition: 0.3s ease;
}

.focus .submenu-toggle svg {
	transform: rotate(-180deg);
}

@media screen and (min-width: 900px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation {
		margin-top: 25px;
		display: flex;
		flex-direction: column;
		justify-content: right;
		justify-items: flex-end;
	}

	.main-navigation ul {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-ms-flex-pack: distribute;
		-webkit-justify-content: flex-end;
		    justify-content: flex-end;
	}

	/* .main-navigation .menu-main-menu-container ul > li > a {
		margin: 0 15px;
	} */

	.main-navigation ul ul > li > a {
		font-size: 18px;
	}

	.main-navigation ul > li:last-child > a {
		margin-right: 0;
		padding-right: 0;
	}

	.submenu-toggle {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	.menu-toggle[aria-expanded="true"] {
		right: 75%;
	}

	.main-navigation.toggled .menu {
		max-width: none;
		width: 75%;
	}
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
}

.pagination .nav-links > * {
	padding: 0.25em;
	margin: 0.25em;
	font-size: 18px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	padding-top: 25px;
	font-size: 16px;
	color: #212529;
	background-color: #FFF;
}

.site-footer,
.site-footer a {
	color: #6C757D;
}

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

.site-footer ul,
.site-footer ol {
	margin-left: 1.5em;
	padding-left: 0;
}

.ourteam {
	padding: 25px 0 175px;
	background-color: #F8F9FA;
	text-align: center;
}

.ourteam .heading {
	margin-bottom: 1.5em;
}

.ourteam .page-wrap {
	display: flex;
	flex-direction: row;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.teammembercontainer {
	margin: 0 25px;
	text-align: center;
}

.teammembercontainer .image {
	width: 250px;
}

.teammembercontainer .name {
	margin-bottom: 0;
	font-weight: 700;
}
.teammembercontainer .name em {font-weight: 400;}
.teammembercontainer .email {
	color: #7C6EE4;
	font-weight: 700;
}

.calltoaction {
	margin-top: -100px;
	margin-bottom: 100px;
	padding: 50px 75px;
	color: #FFF;
	background-color: #7C6EE4;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.calltoaction .message {
	max-width: 70%;
	margin: 0;
	font-size: 28px;
	font-family: "Cinzel", serif;
	text-transform: uppercase;
}

.calltoaction .link {
	margin-left: 50px;
	padding: 0.5em 1em;
	font-size: 22px;
	font-weight: 900;
	text-transform: uppercase;
	color: #7C6EE4;
	background-color: #FFF;
	border-color: #FFF;
	border-radius: 10px;
	border: 5px solid #FFF;
}

.calltoaction a:hover {
	color: #FFF !important;
	background-color: #7C6EE4 !important;
}

.site-info {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 25px;
	font-family: "Lato", sans-serif;
}

.site-info > * {
	width: 100%;
	text-align: center;
	font-size: 21px;
}

.site-info .email-address,
.site-info .phone-number {
	display: inline-block;
}

.site-info .social {
	margin-top: 25px;
	display: flex;
	flex-direction: row;
	justify-content: center;
}


.site-info .social a {
	margin: 0 10px;
}

.site-info .social .icon,
.site-info .social a,
.site-info .icon svg path {
	width: 40px;
	height: 40px;
}

.copyright-bar {
	text-align: center;
	padding: 1em 0;
	color: #212529;
	font-family: "Lato", sans-serif;
}

.copyright-bar a {
	color: #212529;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

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

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.slider .default-image {
	width: 100%;
	height: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

.slider .default-image img {
	width: 100%;
	height: auto;
}

.slider .widget img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Home Page
--------------------------------------------------------------*/
/* .metaslider .caption-wrap::before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	background: linear-gradient(to right, #FFF, rgba(255, 255, 255,0) 50%);
} */

.metaslider .caption-wrap {
	z-index: 1 !important;
	width: 100% !important;
	height: 100% !important;
	/* background: transparent !important; */
	line-height: 1.25 !important;
	opacity: 1 !important;
	/* left: 50% !important;
	transform: translateX(-50%); */
	background: linear-gradient(to right, #FFF, rgba(255, 255, 255,0) 50%) !important;
}

.metaslider .caption-wrap .caption {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999 !important;
	max-width: 1200px;
	width: 100% !important;
	height: 80% !important;
}

.metaslider .caption-wrap .caption h1 {
	margin-bottom: 0.25em;
}

.metaslider .caption-wrap .caption p {
	width: 38%;
	color: #6C757D;
	font-size: 21px !important;
	line-height: 1.5;
}

.metaslider .caption-wrap .caption a {
	display: inline-block;
	color: #FFF;
	font-weight: 900;
	background-color: #7C6EE4;
	border-radius: 10px;
	margin-top: 50px;
	padding: 0.75em 1.5em;
	text-transform: uppercase;
	/* border: 5px solid transparent; */
}

.metaslider .caption-wrap .caption a:hover {
	background-color: #6C757D;
}

.metaslider .flexslider .flex-direction-nav li a {
	width: 54px !important;
	height: 54px !important;
	
}

.metaslider .flexslider .flex-direction-nav li.flex-nav-prev a {
	background-image: url(images/leftarrow.gif) !important;
	width: 54px !important;
	height: 54px !important;
	background-size: contain !important;
}

.metaslider .flexslider .flex-direction-nav li.flex-nav-next a {
	background-image: url(images/rightarrow.gif) !important;
	width: 54px !important;
	height: 54px !important;
	background-size: contain !important;
}

.metaslider .flexslider:focus-within .flex-prev,
.metaslider .flexslider:hover .flex-prev,
.metaslider .flexslider:focus-within .flex-next,
.metaslider .flexslider:hover .flex-next {
	opacity: 1 !important;
	width: 54px !important;
	height: 54px !important;
	background-size: contain !important;
}

.metaslider-flex.ms-theme-default .flex-prev:focus {
	background-image: url(images/leftarrow.gif) scroll left 0 transparent !important;
	height: 54px !important;
}

.metaslider-flex.ms-theme-default .flex-next:focus {
	background-image: url(images/rightarrow.gif) scroll right 0 transparent !important;
	height: 54px !important;
}

.ourfocus {
	padding: 50px 0 75px;
	text-align: center;
}

.ourfocus .heading {
	max-width: 960px;
	margin: 15px auto 15px;
	line-height: 1.25;
}

.ourfocus .description {
	font-size: 24px;
}

.honest {
	position: relative;
	width: 100%;
	min-height: 450px;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	justify-items: center;
	background-color: #F8F9FA;
}

.honest .image-container {
	position: relative;
	z-index: 99;
	width: 50%;
	height: 100%;
	min-height: 450px;
	display: block;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.honest .page-wrap {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	max-width: 620px;
	width: 50%;
	padding-left: 80px;
	margin-left: 0;
	border-left: 20px solid #7C6EE4;
}

.honest .heading {
	font-size: 60px;
	margin-bottom: 25px;
	line-height: 1.15;
}

.honest .description {
	font-size: 24px;
}

.ourservices {
	padding: 50px 0;
}

.ourservices .page-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.ourservices .heading {
	text-align: center;
}

.ourservices .linkcontainer {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.ourservices .servicelink {
	width: 271px;
	height: 271px;
	margin: 10px;
	padding: 50px 25px 25px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	background-color: #F8F9FA;
	/* border-top: 2px solid transparent;
	border-left: 2px solid transparent;
	border-right: 2px solid transparent; */
	border-bottom: 20px solid #7C6EE4;
}

/* .ourservices .servicelink:hover {
	border-width: 10px;
} */

.ourservices .icon {
	width: 100px;
}

.ourservices .linktext {
	padding: 25px 0;
	font-size: 24px;
	color: #212529;
	text-align: center;
	line-height: 1.15;
}

.ourservices .morelink {
	font-size: 24px;
	color: #212529;
}

.ourservices .morelink:hover {
	color: #7C6EE4;
}

.testimonials {
	min-height: 400px;

	background-color: #F8F9FA;
}

.testimonials .page-wrap {
	text-align: center;
	padding: 50px 0 200px;
}

.strong-view.wpmtst-simple .wpmtst-testimonial-inner,
.strong-view.wpmtst-simple .wpmtst-testimonial-inner p {
	text-align: center !important;
	font-size: 24px !important;
}

.strong-view.wpmtst-simple .wpmtst-testimonial-inner p {
	font-style: italic;
}

.strong-view.wpmtst-simple .wpmtst-testimonial-field {
	margin-top: 50px;
}

.strong-view.wpmtst-simple .wpmtst-testimonial-field:before {
	content: "- ";
}

.strong-view.pager-style-buttons .wpmslider-pager-link:before {
	width: 22px !important;
	height: 22px !important;
	color: #7C6EE4 !important;
	background: #7C6EE4 !important;
}

section.ourservices figure.wp-block-image {background: #f8f9fb; border-bottom: 9px solid #7b70db;}
section.ourservices figure.wp-block-image img {padding: 15% 32% 35%;}
section.ourservices .wp-block-image figcaption {font-style: normal !important;}
section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {background: none; color: #383a3d; font-size: 20px; line-height: 26px; font-style: normal; font-weight: 600; min-height: 25%;}
section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {padding: 0 20% 8%;}
section.ourservices .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, section.ourservices .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {object-fit: contain;}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.page-wrap {
	width: 90%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

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

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

.error-404 .page-content {
	min-height: 400px;
	padding: 75px 0;
}

.entry-container .entry-content h1:first-of-type,
.entry-container .entry-content h2:first-of-type,
.entry-container .entry-content h3:first-of-type,
.entry-container .entry-content h4:first-of-type,
.entry-container .entry-content h5:first-of-type,
.entry-container .entry-content p:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

.entry-header,
.error-404 .page-header,
.search .page-header {
	padding-top: 150px;
	text-align: center;
	border-bottom: 10px solid #7C6EE4;
}

.entry-header .entry-title,
.error-404 .page-title,
.search .page-title{
	font-size: 70px;
}

.search .entry-header {
	padding-top: 0;
	border: none;
}

.search article {
	padding-bottom: 25px;
}

.search article:first-of-type {
	margin-top: 50px;
}

.search .results-title {
	text-align: left;
	margin: 0;
}

.wp-block-image img {
	width: 100%;
	height: auto;
}

.wp-block-image .wp-element-caption {
	text-align: right;
	font-size: 16px;
	font-style: italic;
}

:not(.home) .entry-content a {
	color: #7C6EE4;
	font-weight: 700;
}

:not(.home) .entry-content {
	margin-bottom: 50px;
}

.wp-block-pullquote {
	padding: 0;
	font-style: italic;
	font-weight: 700;
	font-size: 20px;
	text-align: left;
}

.wp-block-pullquote p::before,
.wp-block-pullquote p::after {
	content: '"';

}

/* Page-news.php */


/* 404 Page */
.error404 {
	text-align: center;
}

.error404 .site-content {
	min-height: 400px;
}

/* Single.php */


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
## Advanced Custom Fields
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

.custom-logo-link img {
	display: block;
	max-height: 150px;
	width: auto;
	max-width: 350px;
}

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

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11111%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media only screen and (min-width: 1150px) {

}

@media only screen and (min-width: 1300px) {

}

@media only screen and (min-width: 1600px) {

}

@media only screen and (max-width: 1450px) {
	.metaslider .caption-wrap .caption {
		height: 70% !important;
	}

	.metaslider .caption-wrap .caption h1 {
		font-size: 40px;
	}
}

@media only screen and (max-width: 1325px) {
	.metaslider .caption-wrap .caption {
		max-width: 90%;
	}

	/* .metaslider .caption-wrap .caption h1 {
		font-size: 50px;
	} */

	.metaslider .caption-wrap .caption p {
		font-size: 16px !important;
	}

	.metaslider .caption-wrap .caption a {
		margin-top: 15px;
	}

	.honest .page-wrap {
		padding-right: 5%;
	}

	.honest .heading {
		font-size: 50px;
	}
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {padding: 0 15% 8%;}
}

@media only screen and (max-width: 1200px) {
	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 35px;
	}

	h3 {
		font-size: 30px;
	}

	h4 {
		font-size: 25px;
	}

	h5 {
		font-size: 20px;
	}

	h6 {
		font-size: 18px;
	}

	.custom-logo-link img {
		max-width: 250px;
	}

	#header-action-buttons-menu a {
		padding: 0.5em 1em;
		font-size: 18px;
	}

	.main-navigation {
		margin-top: 10px;
	}

	.main-navigation a {
		padding: 0 0.6em;
		font-size: 18px;
	}

	.metaslider .caption-wrap .caption h1 {
		font-size: 40px;
	}

	.metaslider .caption-wrap .caption a {
		padding: 0.5em 1em;
	}

	.calltoaction {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.calltoaction .message {
		margin-bottom: 50px;
	}

	.calltoaction .link {
		margin-left: 0;
	}
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {padding: 0 10% 8%;}
	
}

@media only screen and (max-width: 1050px) {
	.metaslider .caption-wrap .caption {
		height: 70% !important;
	}

	.metaslider .caption-wrap .caption h1 {
		font-size: 30px;
	}

	body .metaslider .flexslider .flex-direction-nav {
		display: none !important;
	}

	.honest {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.honest .image-container {
		width: 100%;
	}

	.honest .page-wrap {
		max-width: 100%;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		border-top: 20px solid #7C6EE4;
		border-left: none;
		justify-content: center;
	}

	.honest .page-wrap .text-container {
		width: 90%;
		padding-bottom: 50px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	.honest .heading {
		text-align: center;
		font-size: 40px;
	}

	.honest .description {
		max-width: 500px;
	}

	.calltoaction {
		padding: 50px 5%;
	}

	.calltoaction .message {
		max-width: 100%;
	}
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {font-size: 18px; line-height: 22px;}
}
@media only screen and (max-width: 925px) {
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {font-size: 19px; line-height: 21px;}
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {padding: 0 10% 8%;}
	
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {margin: 0;
  width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2) !important;}
}

@media only screen and (max-width: 900px) {
	.metaslider .caption-wrap .caption h1 {
		font-size: 24px;
	}

	.entry-header {
		padding-top: 100px;
	}

	.entry-header .entry-title {
		font-size: 40px;
	}

	.ourteam {
		padding-bottom: 100px;
	}

	.ourteam .page-wrap {
		flex-wrap: wrap;
	}

	.teammembercontainer {
		margin-bottom: 50px;
	}

	.main-navigation.toggled ul ul {
		visibility: visible;
		opacity: 1;
	}

	#header-action-buttons-menu {
		position: relative;
		display: block;
		max-width: 90%;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		background-color: transparent;
		box-shadow: none;
	}

	#header-action-buttons-menu li {
		max-width: 90%;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 15px;
	}

	.main-navigation.toggled ul ul {
		max-height: none;
		z-index: 1;
	}
}

@media only screen and (max-width: 800px) {
	.metaslider .caption-wrap {
		position: relative !important;
		background-color: #F8F9FA !important;
	}

	.metaslider .caption-wrap .caption {
		position: relative;
		bottom: 0;
		left: auto;
		transform: none;
		z-index: 1 !important;
		margin: 0 auto;
		padding: 50px 0 75px;
		text-align: center;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.metaslider .caption-wrap .caption h1 {
		font-size: 35px;
	}

	.metaslider .caption-wrap .caption p {
		width: 100%;
		max-width: 500px;
		font-size: 21px !important;
	}
}

@media only screen and (max-width: 725px) {
	.custom-logo-link img {
		max-width: 175px;
	}
	
	#header-action-buttons-menu a {
		font-size: 16px;
	}

	.honest .image-container {
		min-height: 350px;
	}
}
@media only screen and (max-width: 500px) {
	section.ourservices .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {margin: 0;
  width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px)/1) !important;}
}
}

@media only screen and (max-width: 480px) {
	.honest .image-container {
		min-height: 300px;
	}
}

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

}
