/*!
Theme Name: CaraCoGroup
Theme URI: https://caracogroup.ca
Author: Julie Kay-Wallace
Author URI: https://jkwedits.com
Description: A cohesive corporate design for the CaraCo Group of Companies.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: caracogroup
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 with others.

CaraCoGroup is based on Underscores https://underscores.me/, (C) 2012-2017 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/
*/

/* Color Scheme: #062f6e #fff #333 #efefef #4d4e4f */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | 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; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

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

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * 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; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/* 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; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
	color: #062f6e;
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	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; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
	padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
	font: inherit; /* 2 */
}

span.wpcf7-list-item {
    display: block;
}

input[type="submit"].wpcf7-submit {
	cursor: pointer;
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
.site-content {
	padding-top: 0;
}

.site-content-storage {
	padding-top: 140px;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Lato", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.lost {
	background: url('/wp-content/themes/caracogroup/Closet.jpg');
	background-position: 0;
	background-size: cover;
	min-height: 500px;
	padding: 1em;
	width: 100%;
}

@media screen and (max-width: 3000px) {
	.lost {
		background: url('/wp-content/themes/caracogroup/closet-big.jpg');
		background-position: 0;
		background-size: cover;
	}
}

@media screen and (max-width: 1500px) {
	.lost {
		background: url('/wp-content/themes/caracogroup/closet-mid.jpg');
		background-position: 0;
		background-size: cover;
	}
}

@media screen and (max-width: 600px) {
	.lost {
		background: url('/wp-content/themes/caracogroup/closet-small.jpg');
		background-position: 0;
		background-size: cover;
	}
}

.no-content-here {
	background: rgba(255,255,255,0.6);
	color: #062f6e;
	font-size: 1.5em;
	margin: 4em auto 1em;
	max-width: 475px;
	padding: 0 10px 10px;
	text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	display: none;
	height: 0;
}

h1.no-content {
	display: block;
	height: auto;
}

h1.front-title {
	color: #062f6e;
	display: block;
	height: auto;
	margin: 20px auto 10px;
	text-align: center;
	width: 100%;
}

h2 {
	color: #062f6e;
	font-size: 1.8em;
	font-weight: 700;
}

h3 {
	color: #062f6e;
	font-size: 1.6em;
	font-weight: 400;
}

h4 {
	color: #062f6e;
	font-size: 1.4em;
	font-weight: 400;
}

h4.education {
	line-height: 0;
	margin: 0;
}

h5 {
	color: #062f6e;
	font-size: 1.3em;
	font-weight: 400;	
}

h6 {
	color: #062f6e;
	font-size: 1.2em;
	font-weight: 400;
}

p {
	margin-bottom: 1.5em;
}

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 {
	box-sizing: border-box;
	font-family: 'Lato', Arial, sans-serif;
	font-weight: 300;
}

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

body {
	background: url('marble-2.jpg');
	background-attachment: fixed;
	background-repeat: repeat-y;
	background-size: 100vw;
	color: #000000;
	margin: 0;
	padding: 0;
}

header {
	background: #fff;
	display: inline-block;
	height: 130px;
	line-height: 1;
	margin: 0 10% 0;
	padding: 0 3%;
	transition: background 0.25s ease-out;
	width: 100%;
	z-index: 999;
}

header > img {
	text-align: left;
	max-width: 35%;
	margin-bottom: -2.4em;
}

header.site-header {
	align-content: space-between;
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 220px;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	position: relative;
	width: 100%;
}

header.entry-header {
	background: #ffffff;
	border: 0;
	display: block;
	height: 0;
	line-height: 0;
}

div.logo {
	flex-grow: 0;
	max-width: 100%;
	text-align: center;
	width: 100%;
}

a.custom-logo-link {
	max-width: 100%;
}

main.site-main {
	background: #fff;
	margin: auto;
	min-height: 50vh;
	max-width: 1170px;
	padding: 1.5em;
	width: 90%;
}

hr {
	border: none;
	border-top: 2px solid #062f6e;
	height: 5px;
	margin: 1.5em auto;
	width: 100%;
}

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

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: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

footer {
	background: #062f6e;
	color: #ffffff;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	width:100%;
}

footer > p {
	line-height: 1;
	padding: 1em 0;
	width: 100%;
}

footer.entry-footer {
	background: #ffffff;
	text-align: right;
}

/* Tabs, tabbed content */

div.tab-pane {
	display: none;
}

div.active  {
	display: block;
}

div.tab-content {
	padding: 25px;
}

ul.nav-tabs {
	border-bottom: 1px solid #efefef;
	font-size: 0;
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}

.nav-tabs > li {
	display: inline-block;
}

ul.nav-tabs > li > button {
	background-color: #efefef;
	border: 1px solid transparent;
	border-radius: 0 0 0 0;
	color: #4d4e4f;
	display: block;
	font-size: 16px;
	line-height: 1.4;
	margin-right: 2px;
	margin-bottom: -1px;
	padding: 10px 13px;
	position: relative;
}

ul.nav-tabs > li > button.active {
	background-color: #ffffff;
	border: 1px solid #efefef;
	border-bottom-color: transparent;
	color: #333;
	cursor: default;
}


.nav-tabs > li.active > button:hover {
	text-decoration: none;
}

.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

/* Tab Content - Docs and Pics */

ul.doc-list {
	margin: 0;
	padding: 15px;
}

ul.doc-list > li {
	padding: 0 0 15px 20px;
}


@media screen and (min-width: 1525px) {
	.slider-caption p.hero {
		margin: 175px auto 0;
	}
}

@media screen and (min-width: 1950px) {
	.slider-caption p.hero {
		margin: 250px auto 0;
	}
}


@media screen and (max-width: 1200px) {
	.slider-caption p.hero {
		font-size: .7em;
		margin-top: -140px auto 0;
		max-width: 94%;
		text-align: left;
		width: 920px;
	}
}

@media screen and (max-width: 900px) {
	.slider-caption p.hero {
		display: none;
		height: 0;
		z-index: -3;
	}
}

div.hero-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: calc(100vw/3);
	margin-top: 0;
	overflow: hidden;
}

div.hero-caption {
    bottom: 30%;
    left: calc(50% - 560px);
    max-width: 25em;
    padding: 0px;
    position: absolute;
    right: 0;
    text-align: left;
}

div.hero-caption p {
	animation-name: carcapp;
	animation-duration: 4s;
	animation-timing-function: ease-in;
	background: rgba(255,255,255,0.8);
	color: #062f6e;
	font-size: 32px;
	font-weight: 400;
	line-height: 120%;
	margin: 0;
	padding: 20px 20px;
	text-shadow: none;
	width: 100%;
}


.hero-front-caption {
	font-size: 1.3em;
	font-weight: 500;
}

.hero-location {
	font-size: 1.2em;
	font-style: italic;
	font-weight: 500;
}

p.welcome {
	display: none;
	height: 0;
}

@media screen and (max-width: 1100px) {
	div.hero-caption {
		display: none;
		height: 0;
	}
	p.welcome {
		color: #062f6e;
		display: block;
		font-size: 2em;
		font-weight: 500;
		height: auto;
		margin: 0.5em 0 1em;
		text-align: center;
		text-align: center;
	}
}

@media screen and (max-width: 600px) {
	p.welcome {
		font-size: 1.5em;
		margin: 0 0 1em;
	}
}

.pad p,
.pad h1,
.pad h2,
.pad h3,
.pad h4,
.pad h5,
.pad h6 {
	margin-right: 12%;
	margin-left: 18%;
	width: 70%;
}

@media screen and (max-width: 1100px) {
	.pad p,
	.pad h1,
	.pad h2,
	.pad h3,
	.pad h4,
	.pad h5,
	.pad h6 {
		margin-left: 5%;
		margin-right: 5%;
		width: 90%;
	}
}
	

.blocks-gallery-grid, .wp-block-gallery {
	max-width: 100%;
}


.blocks-gallery-grid.columns-3 .blocks-gallery-image,
.blocks-gallery-grid.columns-3 .blocks-gallery-item, 
.wp-block-gallery.columns-3 .blocks-gallery-image, 
.wp-block-gallery.columns-3 .blocks-gallery-item {
	margin-right: 5px;
}

.blocks-gallery-grid .blocks-gallery-image, 
.blocks-gallery-grid .blocks-gallery-item, 
.wp-block-gallery .blocks-gallery-image, 
.wp-block-gallery .blocks-gallery-item {
	margin: 0 5px 5px 0;
}

.blocks-gallery-grid .blocks-gallery-image:last-child, 
.blocks-gallery-grid .blocks-gallery-item:last-child, 
.wp-block-gallery .blocks-gallery-image:last-child, 
.wp-block-gallery .blocks-gallery-item:last-child {
	margin-right: 0;
}


@media screen and (min-width: 400px) {
	main.site-main {
		width: 80%;
	}
}

@media screen and (min-width: 600px) {
	header.site-header {
		align-content: space-between;
		align-items: center;
		display: flex;
		flex-direction: row;
		height: 130px;
		justify-content: space-between;
		margin: 3px auto 0;
		max-width: 1170px;
		padding: 0 15px;
		position: relative;
		width: 80%;
	}
	div.logo {
		flex-grow: 1;
		max-width: 30%;
		text-align: left;
		width: 30%;
	}
	h1.front-title {
		margin: auto;
		width: 30%;
	}
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #e6e6e6;
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .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 {
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #666;
	max-width: 100%;
	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%;
}

/*
 * Contact Form 7 Forms
 */
 
.wpcf7-form {
	margin: 0 0 4em;
}

input[type="submit"].wpcf7-submit {
	background: #efefef;
	border: 3px solid #062f6e;
	color: #062f6e;
	font-size: 30px;
	margin:0 10%;
	text-transform: uppercase;
	width: 80%;
}

@media screen and (max-width: 1000px) {
	.wpcf7-submit {
		margin: 0;
		width: 100%;
	}
}

@media screen and (max-width: 700px) {
	.wpcf7-form {
		margin: 0 0 4em;
	}
}

#frontlogin {
	text-align: right;
	width: 100%;
}

.login-msg {
	background: #efefef;
	margin: 2em;
	padding: 10px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #062f6e;
	padding: 1px;
	text-decoration: none;
}

a:visited {
	color: #062f6e;
}

a:hover,
a:active {
	color: #062f6e;
	outline: 0;
	text-decoration: underline;
}

a:focus {
	border: 1px dotted #062f6e;
	color: #062f6e;
	padding: 0;
	text-decoration: none;
}

footer.site-footer {
	align-content: center;
	align-items: center;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 100%;
	padding: 0;
	width: 1150px;
}


ul#footer-menu {
	color: #ffffff;
	list-style: none;
	margin-left: 0;
	padding: 0;
	width: 100%;
}

ul#footer-menu > li {
	border-left: 1px solid #fff;
	display: inline;
	padding: 0 20px;
}

ul#footer-menu > li:first-child {
	border-left: none;
	padding-left: 0;
}

ul#footer-menu > li:last-child {
	padding-right: 0;
}

ul#footer-menu a{
	color: #ffffff;
	text-decoration: none;
}

/* Padding fix for footer on small screens. */
@media screen and (max-width: 1150px) {
	footer.site-footer {
		padding: 0 1em;
	}
	footer.storage-site-footer {
		padding: 0 1em;
	}
}

a#back-to-top {
	color: #ffffff;
}

div.back-to-top {
	height: 0;
	padding-bottom: 1.5em;
	padding-right: 1em;
	text-align: right;
}

@media screen and (max-width: 500px) {
	footer.site-footer {
		align-content: flex-start;
		align-items: flex-start;
		flex-direction: column;
		padding-left: 1em;
	}
	div.back-to-top {
		align-self: center;
		margin: auto;
	}
	ul#footer-menu {
		margin-bottom: 0;
		padding-left: 0;
	}
	ul#footer-menu > li {
		border: none;
		display: block;
		padding: 5px 0;
	}
	.menu-footer-container {
		margin: auto;
	}
	p.copyright {
		margin-bottom: 0.25em;
	}
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	font-size: 15px;
	font-weight: 300;
	margin: 0;
	max-width: 80%;
	min-width: 30%;
	padding: 10px 15px 20px;
	text-align: right;
}

.main-navigation a {
	color: #333;
	padding: 10px;
	position: relative;
	text-decoration: none;
	text-transform: capitalize;
}

.main-navigation a:focus,
.main-navigation a:hover {
	background: #062f6e;
	color: #fff;
	text-decoration: none;
	transition: .5s linear fade;
}

.main-navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 0;
	padding-left: 0;
	right: 0;
}

.main-navigation li {
	color: #062f6e;
	display: inline-block;
	line-height: 1;
	padding-left: 1.3rem;
	padding-bottom: 32px;
	position: relative;
	top: 16px;
}

.main-navigation ul li a::before {
	background-color: #fff;
	bottom: -3px;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	-webkit-transform: scaleX(0);
	-o-webkit-transform: scaleX(0);
	-moz-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-o-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
	visibility: hidden;
	width: 100%;
}

.main-navigation ul li a:hover::before {
	-webkit-transform: scaleX(1);
	-o-webkit-transform: scaleX(1);
	-moz-webkit-transform: scaleX(1);
	transform: scaleX(1);
	visibility: visible;
}

/* Small Screen Menu. */


@media screen and (max-width: 1100px) {
	.main-navigation {
		max-width: 30%;
		width: 100%;
	}
	.menu-main-menu-container {
		background: #ffffff;
		color: #4d4e4f;
		height: 100%;
		margin: 37px 0;
	}
	.main-navigation li {
		display: inline-block;
		line-height: 2;
		padding-left: 0;
		text-align: center;
	}
	.main-navigation li:first-child{
		padding-top: 0;
	}
	.main-navigation li a {
		background: transparent;
		color: #4d4e4f;
	}
	.dropdown {
		-moz-transition: max-height 2s ease-in-out;
		-o-transition: max-height 2s ease-in-out;
		transition: max-height 2s linear;
		-webkit-transition: max-height 2s ease-in-out;
	}
	.noscroll {
		height: 100vh;
		overflow: hidden;
		position: fixed;
	}
	.toggled {
		overflow-x: hidden;
		position: absolute;
	}
	div.logo {
		height: 105px;
	}
}


@media screen and (max-width: 575px) {
	.main-navigation {
		max-width: 100%;
		padding: 0;
	}
	.main-navigation ul {
		padding: 0;
		text-align: center;
	}
	/* Height allows for bottom bar on Safari Mobile*/
	.main-navigation.toggled .menu-main-menu-container {
		height: calc(100vh - 160px);
	}
	a.custom-logo-link {
		max-width: 60%;
		width: 200%;
	}
	.hero-button {
		font-size: 0.8em;
		line-height: 1;
		margin: 10% auto;
	}
	.hero-front-caption {
		display: none;
	}
}


.tm-front > div.wp-block-media-text__content {
	margin: 6em;
}

.tm-front > figure.wp-block-media-text__media {
	margin-left: 4px;
}

.tm-front > figure.wp-block-media-text__media > a > img {
	opacity: 0;
}

.tm-front > div.wp-block-media-text__content > p > a {
	color: #000;
}

.mt-front > div.wp-block-media-text__content {
	margin: 6em;
}

.mt-front > figure.wp-block-media-text__media {
	margin-right: -4px;
}

.mt-front > figure.wp-block-media-text__media > a > img {
	opacity: 0;	
}

.mt-front > div.wp-block-media-text__content > p > a {
	color: #000;
}

.mt-front > div.wp-block-media-text__content > p.blue > a {
	color: #062f6e;
}

.tm-front > div.wp-block-media-text__content > p.blue > a {
	color: #062f6e;
}

@media screen and (max-width: 1200px) {
	.tm-front > div.wp-block-media-text__content {
		margin: 10px;
	}
	.mt-front > div.wp-block-media-text__content {
		margin: 10px;
	}
}

@media screen and (max-width:600px) {
	.mt-front > figure.wp-block-media-text__media {
		margin-right: 0;
	}
	.tm-front > figure.wp-block-media-text__media {
		margin-left: 0;
	}
}

.tm-exec > div.wp-block-media-text__content {
	margin: 6em;
}

.mt-exec > div.wp-block-media-text__content {
	margin: 6em;
}

@media screen and (max-width: 1200px) {
	.tm-exec > div.wp-block-media-text__content {
		margin: 1.5em;
	}
	.mt-exec > div.wp-block-media-text__content {
		margin: 1.5em;
	}
	.wp-block-media-text.has-media-on-the-right.tm-exec .wp-block-media-text__media {
		min-height: 500px;
	}
	.wp-block-media-text.mt-exec figure.wp-block-media-text__media {
		min-height: 500px;
	}	
}

@media screen and (max-width:600px) {
	.wp-block-media-text.has-media-on-the-right.tm-exec .wp-block-media-text__media {
		grid-row: 1;
	}
	.wp-block-media-text.has-media-on-the-right.tm-exec .wp-block-media-text__content {
		grid-row: 2;
	}
}


/*
 * Comments and Footer Menus
 */

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



/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 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 {
	content: "";
	display: table;
	table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

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


.footer-sidebar {
	background: #062f6e;
	width: 100%;
}

.footer-widget-area {
	align-content: space-between;
	align-items: flex-start;
	background: #062f6e;
	border-bottom: 1px solid #ffffff;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: auto;
	max-width: 100%;
	width: 1150px;
}

.storage-footer-sidebar > .footer-widget-area {
	border-bottom: 1px solid #062f6e;
}

.footer-widget {
	color: #ffffff;
	margin: 0;
	padding: 25px;
}

.storage-footer-widget {
	color: #32373c;
	margin: 0;
	padding: 25px;
}

.footer-widget p {
	margin: 0;
}

.footer-widget a {
	color: #fff;
}

.footer-widget strong {
	color: #ffffff;
}

section.footer-widget:first-of-type {
	align-self: stretch;
	padding-left: 0;
	padding-top: 30px;
	text-align: left;
	width: 40%;
}

@media screen and (max-width: 1150px) {
	section.footer-widget:first-of-type {
		padding-left: 1em;
	}
}

.storage-footer-widget p {
	margin: 0;
}

.storage-footer-widget a {
	color: #32373c;
}

.storage-footer-widget strong {
	color: #062f6e;
}

section.storage-footer-widget:last-of-type {
	align-self: stretch;
	text-align: right;
	width: 40%;
}

.storage-footer-sidebar {
	background: #ffffff;
	width: 100%;
}

.storage-footer-sidebar > .footer-widget-area {
	background: #ffffff;
	color: #062f6e;
}


@media screen and (max-width:905px) {
	.footer-widget-area {
		max-width: 100%;
	}
	section.footer-widget:first-of-type {
		text-align: center;
		width: 100%;
	}
		section.storage-footer-widget:last-of-type {
		text-align: center;
		width: 100%;
	}
}

@media screen and (max-width: 660px) {
	.storage-footer-widget {
		width: 100%;
	}
	section.storage-footer-widget:last-of-type {
		text-align: left;
	}
	.footer-widget-area {
		align-items: center;
		flex-direction: column;
	}
}

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

.post,
.page {
	margin: 0;
}

.storage-page {
	font-weight: 400;
	margin: 0 0 1.5em;
}

.front {
	margin: 0;
}

body.page {
	margin: 0;
}

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

.page-content,
.entry-content {
	margin: 0;
	overflow: hidden;
}

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

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

div.frontlogin {
	line-height: 1;
	margin: 3em auto;
	max-width: 100%;
	text-align: center;
	width: max-content;
}

p.lot-address {
	margin-bottom: 5em;
}

p.login-username, p.login-password, p.login-submit {
	margin: 5px 0;
}

input#frontlogin {
	background: #062f6e;
	border-color: #062f6e;
	border-radius: 5px;
	color: #fff;
	font-size: 1em;
	padding: 10px;
	text-align: center;
	width: 90px;
}

.passforget {
	text-align: left;
}

@media screen and (max-width: 400px) {
	input#user_login, input#user_pass, input#frontlogin {
		margin: 5px 0 10px;
		width: 100%
	}
}

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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%;
}

/* Youtube Embeds */

figure.wp-embed-aspect-16-9 > div.wp-block-embed__wrapper > iframe {
	margin-bottom: -8px;
    width: 100%;
}
	
.wp-block-embed {
	margin: 0;
}


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

.custom-logo-link > * {
	vertical-align: middle;
}

.wp-block-columns {
	text-align: center;
}

.columns-margin {
	margin: 0 2em 28px;
}

.tight-columns {
	justify-content: center;
	margin: 0 -1px 0;
	max-width: 100%;
}

.tight-columns > .wp-block-column {
	margin: 0 4px 0 0;
	max-width: 470px;
	overflow: hidden;
}

.tight-columns > .wp-block-column:last-child {
	margin: 0;
}


@media screen and (min-width: 925px){
	.wp-block-columns {
		flex-wrap: nowrap;
	}
}

@media screen and (min-width: 476px) and (max-width: 925px) {
	.wp-block-columns > .wp-block-column {
		flex-basis: 50% !important;
		flex-grow: 1;
	}
	.wp-block-columns {
		flex-wrap: wrap;
	}
	.tight-columns > .wp-block-column {
		margin: 0;
	}
	.closer-to-the-top {
		margin: 0;
	}
}

@media screen and (max-width: 475px) {
	.wp-block-columns > .wp-block-column {
		flex-basis: 100%!important;
		flex-grow: 0;
	}
	.wp-block-columns > .wp-block-column:last-child > figure.like-vis-menu {
		margin: 0;
	}
}

/*--------------------------------------------------------------
## 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 {
	padding: 0 3px;
	margin: 2px 0;
	max-width: 50%;
}

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

.gallery-columns-4 .gallery-item {
	padding: 0 3px;
	margin: 2px 0;
	max-width: 50%;
}

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

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

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

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

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

.gallery-caption {
	display: block;
}

@media screen and (min-width: 600px ) {
	.gallery-columns-2 .gallery-item {
		padding: 0 3px;
		margin: 2px 0;
		max-width: 50%;
	}
}


/* Fixes for Safari 12*/

.wp-block-gallery .blocks-gallery-item figcaption {
	bottom: 0;
	left: 0;
}

.wp-block-gallery .blocks-gallery-image figure, 
.wp-block-gallery .blocks-gallery-item figure { 
	height: auto; 
}


/* Spacing Fixes */

.side-margins {
	margin-left: 12em;
	margin-right: 12em;
}

@media screen and (max-width: 1100px) {
	.side-margins {
		margin-left: 15px;
		margin-right: 15px;
	}
}

.big-margin {
	margin-left: 30%;
	margin-right: 30%;
	text-align: center;
}

@media screen and (min-width: 1500px) {
	.big-margin {
		margin-left: 35%;
		margin-right: 35%;
	}
}

@media screen and (max-width: 1000px) {
	.big-margin {
		margin-left: 25%;
		margin-right: 25%;
	}
	.wp-block-embed-youtube .big-margin {
		margin: 0;
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.big-margin {
		margin-left: 10%;
		margin-right: 10%;
	}
}

.grey {
	background-color: #e7e3e7;
	width: 100%;
}

@media screen and (max-width: 600px) {
	.no-mobile {
		max-height: 0;
	}
}

.tiny-margins {
	margin-left: 1em;
	margin-right: 1em;
}


h4.tiny-heading {
	font-size: 18px;
	font-weight: 600;
	height: 36px;
	line-height: 1;
	margin: 0 16px;
	text-align: left;
}


@media screen and (min-width: 1500px) {
	.contact-address {
		margin-top: -0.5em;
	}
}

.contact-image-link {
	background: transparent;
	margin-bottom: 2em;
}

.contact-image-link > a {
    background: #062f6e;
    box-sizing: border-box;
    display: block;
    left: 0;
    line-height: 0;	
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
}


.contact-image-link > a:hover > img {
	opacity: 0.6;
}


/* Portfolio Title Styling */

h2.portfolio {
	margin-bottom:0;
}

h4.portfolio {
	margin-top: 0;
}

/* For Spacers */

.teensy-tiny {
	max-height: 8px;
}

.no-margin {
	margin: 0;
}

.closer-to-the-top {
	margin-top: -16px;
}

.closer-to-the-top-storage {
	margin-top: -24px;
}

@media screen and (max-width: 925px) {
	.closer-to-the-top {
		margin: 0;
	}
}

.ss-pad-fix {
	padding-top: 17px;
}

.centre-me {
	text-align: center;
}

.left-me {
	text-align: left;
}

.right-me {
	text-align: right;
}

.display-none {
	display: none;
	height: 0;
}

.wp-block-button__link:focus, 
.wp-block-button__link:active {
	color: #fff;
	background-color: #32373c;
	border: none;
	border-radius: 28px;
	box-shadow: none;
	cursor: pointer;
	display: inline-block;
	font-size: 18px;
	overflow-wrap: break-word;
	padding: 12px 24px;
	text-align: center;
	text-decoration: none;
}

.blue, 
.blue a, 
.blue a:hover, 
.blue a:visited {
	color: #062f6e;
}