@charset "utf-8";
/* CSS Document */

@font-face {
	font-family: 'Commercial Script BT';
	src: url('../files/commercialscriptbt_regular.ttf');
}

:root {
	--primary-color: #0055b1;
	--secondary-color: #0080ff;
	--tertiary-color: #7f7f7f;
	--font-color: #555;
	--primary-font: "Poppins", Arial, sans-serif;
	--logo-font: "Commercial Script BT", cursive;
	--title-font: "Raleway", Arial, sans-serif; 
}

body, button, html, input, select, textarea {
	color: var(--font-color);
	font-family: var(--primary-font);
}

@media screen and (min-height: 501px) and (orientation:landscape)  {
  body, button, html, input, select, textarea {
      font-size: calc(1vh + 14px);
  }
}

@media screen and (min-width: 501px) and (orientation:portrait) {
	body, button, html, input, select, textarea {
    	font-size: calc(1vw + 14px);
    }
}

@media screen and (max-width: 500px), (max-height: 500px) {
	body, button, html, input, select, textarea {
    	font-size: 15px;
    }
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

a.anchor {
    display: block;
    position: relative;
    top: -140px;
    visibility: hidden;
}

.align-center {
	text-align: center !important;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.btn, input[type=submit] {
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background-color: var(--secondary-color);
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	margin: 10px;
	min-width: 250px;
	padding: 15px;
}

.btn[disabled], input[type=submit]:disabled {
	background-color: gainsboro;
	cursor: auto;
}

.btn:hover:not([disabled]) {
	background-color: var(--primary-color);
}

.btn-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 10px auto;
	padding-top: 20px;
	text-align: center;
	width: 100%;
}

.cm-header-bar {
	background-color: var(--primary-color);
	color: #fff;
}

.cm-header-bar .cm-menu-bottom-bar {
	background-color: #fff;
}

.cm-link-wrapper {
	flex-wrap: nowrap;
}

.cm-logo-text {
	font-family: var(--logo-font);
	font-size: 220%;
}

.cm-menu {
	background-color: var(--primary-color);
}

.cm-sub-header-bar {
	background-color: var(--tertiary-color);
	color: #fff;
}

.cm-sub-header-text {
	font-family: var(--logo-font);
	font-size: 120%;
}

.contact-card-container {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
	justify-content: center;
	margin: 60px auto 20px auto;
	max-width: 1400px;
}

.contact-card {
	align-items: center;
	background-color: #fff;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
	display: flex;
	height: 300px;
	width: 600px;
}

.contact-card-content {
	padding: 15px;
	width: 100%;
}

.contact-card-img {
	aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	height: 100%;
    padding: 20px 20px;
    transition: 0.5s;
	width: 50%;
}

.contact-card-link {
	color: var(--primary-color);
	cursor: pointer;
	font-size: 80%;
	text-decoration: underline;
}

.contact-card-region {
	color: var(--tertiary-color);
	font-size: 90%;
}

.contact-card-region + .contact-card-link {
	margin-top: 20px;
}

.contact-card-subtitle {
	color: var(--secondary-color);
	font-size: 90%;
	font-weight: bold;
}

.contact-card-title {
	color: var(--primary-color);
	font-size: 110%;
}

.contact-card-title + .contact-card-subtitle {
	margin-top: 3px;
}

.content-flex-dynamic {
    flex: 1;
    max-width: 25%;
    min-width: 320px;
}

.content-flex-three {
	text-align: center;
	width: 33.33%;
}

.content-flex-two {
	height: 100%;
	text-align: center;
	width: 50%;
}

.content-flex-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-top: 10px;
}

.content-flex-wrapper > div {
	padding: 25px 20px;
	text-align: center;
}

.content-tile-img {
	height: 75px;
	width: 75px;
}

.content-tile-img.dark-bgrnd {
	color: #fff;
	/*filter: invert(1);*/
}

.content-tile-img.full {
	height: unset;
	max-width: 200px;
	width: 100%;
}

.content-tile-link {
	color: var(--secondary-color);
	cursor: pointer;
	font-size: 90%;
	font-weight: bold;
	margin-top: 10px;
	text-align: left;
	text-decoration: underline;
}

.content-tile-link.dark-bgrnd {
	text-shadow: 1px 1px rgba(0,0,0,0.8);
}

.content-tile-text {
	color: #777;
	font-size: 90%;
	line-height: 1.5;
	margin-top: 20px;
	text-align: left;
}

.content-tile-text.dark-bgrnd {
	color: #e2e2e2;
	text-shadow: 1px 1px rgba(0,0,0,0.8);
}

.content-tile-title {
	font-size: 125%;
	margin-top: 10px;
	text-transform: uppercase;
}

.content-tile-title.dark-bgrnd {
	color: #f7f7f7;
	text-shadow: 1px 1px rgba(0,0,0,0.8);
}

.error-msg, .success-msg {
	border-radius: 10px;
	color: #fff;
	margin-bottom: 20px;
	padding: 10px 20px;
	text-align: center;
}

.error-msg {
	background-color: crimson;
	border: solid 3px darkred;
}

.expandOpenToMenu {
	animation-name: expandOpenToMenu;
	-webkit-animation-name: expandOpenToMenu;	

	animation-duration: 4s;	
	-webkit-animation-duration: 4s;

	animation-timing-function: ease-out;	
	-webkit-animation-timing-function: ease-out;	

	transform-origin: center;
	visibility: visible !important;	
}

@keyframes expandOpenToMenu {
	0% {
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%) scale(1);
	}
	10% {
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%) scale(3);
	}
	60% {
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%) scale(3);
	}
	100% {
		transform: scale(1);
	}			
}

@-webkit-keyframes expandOpenToMenu {
	0% {
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%) scale(1);
	}
	10% {
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%) scale(3);
	}
	60% {
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%) scale(3);
	}
	100% {
		transform: scale(1);
	}			
}

.fade {
  	animation-name: fade;
	animation-duration: 2s;
	-webkit-animation-name: fade;
	-webkit-animation-duration: 2s;
}

@-webkit-keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

@keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

.filter {
	background-position: right 2px center;
	background-size: 15px;
	border-radius: 10px;
	color: #333;
	font-size: 12px;
	height: 40px;
	margin: 10px auto;
	min-width: 0px;
	padding: 10px 15px 10px 10px;
	width: 175px;
}

.filter-container {
	text-align: center;
}

.flex-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
}

.footer-bottom-wrapper {
	background-color: #000;
	font-size: 75%;
	padding: 10px;
	text-align: center;
	width: 100%;
}

.footer-column-wrapper {
	display: inline-block;
	padding: 0px 15px;
	vertical-align: top;
}

.footer-img {
	height: 120px;
}

.footer-title {
	color: #fff;
	font-size: 110%;
	font-weight: bold;
	padding: 8px 10px;
}

.footer-txt {
	color: #bbb;
	padding: 5px 10px;
	text-decoration: none;
}

.footer-txt a {
	color: #bbb;
	text-decoration: underline;
}

.footer-txt a:hover {
	color: #fff;
}

.footer-wrapper {
	background-color: #222;
	display: flex;
	flex-wrap: nowrap;
	font-size: 75%;
	justify-content: center;
	padding: 40px;
}

.form-input {
	width: 100%;
}

.form-input-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	margin: 10px 0px;
	min-width: 200px;
}

.form-wrapper {
	margin-top: 30px;
}

.gallery-image {
	height: 100%;
	width: 100%;
}

.gallery-image:hover {
	transform: scale(1.15);
}

.gallery-img-wrapper {
	border: solid 1px #222;
	flex: 0 0 33.33%;
	overflow: hidden;
	padding-top: 25%;
	position: relative;
	transition: 0.7s;
}

.gallery-img-wrapper > a {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.gallery-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.grid {
	display: flex;
	flex-wrap: wrap;
	gap: 80px;
	justify-content: center;
	margin: 40px auto;
	max-width: 1200px;
}

.grid.flickity-wrapper {
	display: block;
	flex-wrap: nowrap;
	gap: 0px;
	justify-content: flex-start;
	margin-left: 0px;
	margin-right: 0px;
	max-width: 100%;
}

.grid-box {
	background-color: #fff;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
	cursor: pointer;
	flex-shrink: 0;
	height: 520px;
	width: 340px;
}

.grid-box.no-cursor {
	cursor: auto;
}

.grid.flickity-wrapper .grid-box {
	margin: 30px;
	position: relative;
	width: 33%;
}

.grid-content {
	padding: 15px;
}

.grid-img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	height: 63%;
    padding: 20px 20px;
    transition: 0.5s;
	width: 100%;
}

.grid-link {
	color: var(--secondary-color);
	font-size: 80%;
	text-decoration: underline;
}

.grid-subtitle {
	font-family: var(--title-font);
	font-size: 110%;
	font-weight: bold;
}

.grid-title {
	color: #999;
	font-size: 80%;
}

.grid-title + .grid-subtitle {
	margin-top: 3px;
}

#header-wrapper, #header-wrapper-hidden {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	transition: 0.5s;
	-webkit-transition: 0.5s;
    width: 100%;
}

#header-wrapper {
	z-index: 3;
}

#header-wrapper-hidden {
	box-shadow: 1px 0px 7px rgba(0,0,0.3);
	opacity: 0;
	z-index: 2;
}

#header-wrapper-hidden:not([data-scroll='0']) {
	opacity: 100%;
}

.img-bgrnd {
	background-color: #D9D9D9;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 20px 20px;
	transition: 0.5s;
	-webkit-transition: 0.5s;
}

.img-bgrnd-bottom {
	background-position: bottom !important;
}

.img-bgrnd-contain {
	background-color: #fff;
	background-size: contain;
}

.img-bgrnd-medium {
	height: 66vh;
}

.img-bgrnd-mid {
	height: 500px;
}

.img-bgrnd-page {
	/*min-height: calc(100vh - 132px);*/
	min-height: 100vh;
}

.img-bgrnd-top {
	background-position: top !important;
}

.img-medium {
	height: 50px;
	padding: 5px;
}

.img-slide {
	min-height: calc(100vh - 145px);
}

.img-wrap-img {
	float: left;
	margin-right: 30px;
	max-width: 350px;
	width: 50%;
}

.index-img {
	align-items: flex-end;
	display: flex;
	flex-wrap: nowrap;
}

.index-img-line {
	border-bottom: solid 8px rgb(160,30,30);
	border-radius: 3px;
	margin: 5px auto 5px auto;
	text-align: center;
	width: 100%;
}

.index-img-overlay {
	/*background-color: rgba(10,35,120, 0.7);*/
	/*border-radius: 3px;*/
	/*box-shadow: 0px 0px 10px 1px rgb(0, 0, 0, 0.6);*/
	/*font-size: 90%;*/
	/*line-height: 1.3;*/
	margin-left: auto;
	margin-right: auto;
	/*min-width: 400px;*/
	padding: 30px;
	text-align: center;
	/*width: 40%;*/
	width: fit-content;
}

.index-img-subtitle {
	color: #f2f2f2;
	font-size: 155%;
	text-shadow: 1px 1px rgba(0,0,0,0.8);
}

.index-img-title {
	color: #fafafa;
	font-size: 275%;
	font-weight: bold;
	text-shadow: 1px 1px rgba(0,0,0,0.8);
	text-transform: uppercase;
}

li:before { 
	content: '\25C8'; 
	margin-left: 20px; 
	padding-right: 8px;
}

li:not(:last-child) {
	margin-bottom: 8px;
}

.list-split {
	columns: 2 300px;
	-webkit-columns: 2 300px;
  	-moz-columns: 2 300px;
	column-gap: 30px;
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
}

.modal-wrapper {
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	display: none;
	height: 100%;
	left: 0;
	overflow: auto;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 4;
}

.overlay {
	background-color: rgba(0,0,0,0.3);
	display: flex;
	height: 100%;
	left: 0;
	padding: 40px;
	position: absolute;
	top: 0;
	width: 100%;
}

.overlay > .para {
	flex: 1;
	font-family: var(--logo-font);
	font-size: 150%;
	text-align: center;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

p {
	margin-bottom: 12px;
	margin-top: 12px;
}

.paired-img {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 10px;
}

.paired-sub-txt {
	color: #777;
	font-size: 80%;
	margin-top: 10px;
}

.paired-wrapper {
	margin: 20px 0px;
}

.para {
	line-height: 1.6;
	margin-top: 20px;
	text-align: justify;
}

.para a {
	color: #00539f;
	text-decoration: underline;
}

.phone-flex-wrapper {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}

.phone-flex-wrapper > * {
	margin: 7px;
	text-align: center;
}

.phone-text {
	color: #fff;
	white-space: nowrap;
}

.popup-close {
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 10px;
	transition: 0.25s;
}

.popup-close:hover {
	filter: invert(0.4);
}

.popup-close-wrapper {
	position: relative;
}

.popup-contents {
	overflow-y: auto;
	padding: 20px;
}

.popup-contents-container {
	align-items: flex-start;
	display: flex;
	flex-wrap: nowrap;
	max-height: 85vh;
	overflow: auto;
}

.popup-contents-container:hover::-webkit-scrollbar-thumb {
    background-color: #ddd;
}

.popup-contents-container::-webkit-scrollbar {
    width: 14px;
}

.popup-contents-container::-webkit-scrollbar-track {
    border-radius: 10px;
}

.popup-contents-container::-webkit-scrollbar-thumb {
    background-clip: content-box;
    border: 4px solid transparent;
    border-radius: 10px;
}

.popup-contents-container > * {
	flex: 0 1 auto;
	padding: 30px;
	width: 60%;
}

.popup-contents-first {
	max-width: 350px;
	width: 40%;
}

.popup-heading {
	color: var(--tertiary-color);
	font-size: 90%;
	text-align: center;
	text-transform: uppercase;
}

.popup-heading + .popup-text {
	margin-top: 10px;
}

.popup-img {
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    height: 0;
    padding-bottom: 100%;
    width: 100%;
}

.popup-img + .popup-heading {
    margin-top: 20px;
}

.popup-line {
	border-top: solid 1px #d2d2d2;
	margin: 20px 40px;
}

.popup-subtitle {
	color: var(--secondary-color);
	font-size: 95%;
	text-align: left;
	text-transform: uppercase;
}

.popup-text {
	color: #333;
	font-size: 80%;
	line-height: 1.5;
	text-align: left;
}

.popup-text a {
	text-decoration: underline;
}

.popup-text i + span {
	margin-left: 8px;
}

.popup-text p {
	margin: 0.8em 0px;
}

.popup-text + .popup-text {
	margin-top: 3px;
}

.popup-text.address {
	text-align: center;
}

.popup-text.contact {
	color: var(--primary-color);
}

.popup-title {
	color: var(--primary-color);
	font-size: 120%;
	text-align: left;
}

.popup-title + .popup-text, .popup-subtitle + .popup-text {
	margin-top: 20px;
}

.popup-window {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, .6);
	margin: auto;
	max-width: 1200px;
	position: relative;
}

.popup-wrapper {
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	display: none;
	height: 100%;
	left: 0;
	overflow: auto;
	padding: 5%;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 100;
}

.quote {
	font-family: 'Patrick Hand';
	font-size: 120%;
	line-height: 1.5;
}

.quote-img {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid 3px #ddd;
	border-radius: 50%;
	flex-shrink: 0;
	height: 190px;
	width: 190px;
}

.quote-name {
	font-size: 105%;
	font-style: italic;
	margin-top: 15px;
	text-align: right;
}

.quote-wrapper {
	justify-content: space-between;
	padding: 40px 0px;
}

.quote-wrapper > * {
	margin: 20px;
}

.quote-wrapper:first-child {
	padding-top: 0px;
}

.quote-wrapper:last-child {
	padding-bottom: 0px;
}

.quote-wrapper:nth-child(even) .quote-img {
	order: 2;
}

.quote-wrapper:not(:last-child) {
	border-bottom: solid 0.5px #d2d2d2;
}

.section-bgrnd {
	background-color: #fff;
	padding: 60px;
}

.section-bgrnd-blue {
	background-color: var(--primary-color);
}

.section-bgrnd-dark {
	background-color: #333;
}

.section-line {
	border-top: solid 1px #d2d2d2;
	margin: 0px 40px;
}

.slide-button {
	border: solid 1.5px #fff;
	border-radius: 50%;
	cursor: pointer;
	height: 15px;
	margin: 0px 5px;
	width: 15px;
}

.slide-button.active {
	background-color: #fff;
}

.slide-controls {
	bottom: 20px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	position: absolute;
	text-align: center;
	width: 100%;
}

.slides {
	display: none;
}

.slides.active {
	display: block;
}

.slideshow-container {
	margin: auto;
	position: relative;
	width: 100%;
}

.slideshow-gallery-btn {
	font-size: 28px !important;
}

.slideshow-gallery-btn-wrapper:hover {
	background-color: #00539f;
}

.slideshow-gallery-btn-wrapper {
	align-items: center;
	background-color: rgba(0,0,0,0.8);
	color: #fff;
	cursor: pointer;
	display: flex;
	padding: 6px;
	text-align: center;
	transition: 0.5s;
	user-select: none;
}

.slideshow-gallery-container {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
}

.slideshow-gallery-container::-webkit-scrollbar {
	height: 16px;
	width: 16px;
}

.slideshow-gallery-container::-webkit-scrollbar:hover {
	filter: brightness(1.2);
}

.slideshow-gallery-container::-webkit-scrollbar-track {
	background-color: #000;
}

.slideshow-gallery-container::-webkit-scrollbar-thumb {
	background-clip: content-box;
	background-color: #555;
	border: 4px solid transparent;
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
	box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.slideshow-gallery-img {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 100%;
	position: relative;
	transition: background-image 0.5s ease-in-out;
	width: 100%;
}

.slideshow-gallery-img:hover .slideshow-gallery-img-lens {
	display: block;
}

.slideshow-gallery-img-container {
	flex: 1;
	padding: 40px;
	position: relative;
	width: 100%;
}

.slideshow-gallery-img-lens {
	border: 1px solid #d4d4d4;
	display: hidden;
	height: 40px;
	position: absolute;
	width: 40px;
}

.slideshow-gallery-img-result {
	border: 1px solid #d4d4d4;
	display: hidden;
	height: 100px;
	position: absolute;
	width: 100px;
}

.slideshow-gallery-img-txt {
	color: #fff;
	font-weight: bold;
	position: absolute;
	text-align: center;
	top: 10px;
	width: 100%;
}

.slideshow-gallery-img-wrapper {
	height: 100%;
	width: 100%;
}

.slideshow-gallery-next {
	right: 0px;
}

.slideshow-gallery-next, .slideshow-gallery-prev {
	position: absolute;
  	top: 50%;
	z-index: 1;
}

.slideshow-gallery-prev {
	left: 0;
}

.slideshow-gallery-tile {
	cursor: pointer;
	height: 100%;
	width: 100%;
}

.slideshow-gallery-tile.active {
	border: solid 5px #fff;
}

.slideshow-gallery-tile.img-bgrnd {
	padding: 0px;
}

.slideshow-gallery-tile-wrapper {
	border: solid 1px #222;
	flex-shrink: 0;
	height: 150px;
	overflow: hidden;
	position: relative;
	transition: 0.7s;
	width: 200px;
}

.slideshow-gallery-tile-wrapper > * {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.slideshow-gallery-toolbar {
	display: flex;
	flex-wrap: nowrap;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.slideshow-gallery-window {
	background-color: rgba(30,30,30,0.95);
	display: none;
	height: 100vh;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

.slideshow-gallery-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.split-container {
	min-height: 350px;
	width: 100%;
}

.split-container > * {
	height: 100%;
	overflow: auto;
	padding: 40px;
	position: relative;
	width: 50%;
}

.split-container .para {
	color: #888;
	text-align: left;
}

.split-container:nth-child(even) .img-split {
	float: right;
}

.split-container:nth-child(odd) .img-split {
	float: left;
}

.split-container-title {
	color: #444;
	font-weight: bold;
	font-size: 105%;
	text-align: left;
}

.split-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.sub-title {
	font-size: 135%;
}

#testimonial-section > .section-bgrnd:nth-child(even) {
	background-color: #00539f;
	color: #fff;
}

.text-light {
	color: #ddd !important;
}

.tile-overlay {
	background-color: #fff;
	border: solid 1px #fff;
	color: #fff;
	cursor: default;
	flex: 0 0 33.33%;
	overflow: hidden;
	padding-top: 25%;
	position: relative;
	text-shadow: 1px 1px 3px #111;
}

.tile-overlay:hover .tile-overlay-img {
	transform: scale(1.05);
}

.tile-overlay * {
	cursor: pointer;
}

.tile-overlay-content {
	align-items: center;
	bottom: 20px;
	display: flex;
	left: 20px;
	position: absolute;
	transition: 0.5s;
	width: calc(100% - 40px);
}

.tile-overlay-date {
	font-size: 90%;
	line-height: 1.4;
}

.tile-overlay-date, .tile-overlay-title {
	font-family: var(--primary-font);
	font-weight: bold;
	opacity: 1;
	text-align: left;
	width: 100%;
}

.tile-overlay-fgrnd {
	background-color: #000;
	height: 100%;
	opacity: .2;
	padding: 25px;
	position: absolute;
	top: 0;
	width: 100%;
}

.tile-overlay-img {
	cursor: pointer;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.tile-overlay-link {
	cursor: pointer;
	font-size: 80%;
	line-height: 1.5;
	text-align: left;
}

.tile-overlay-overlay {
	background-image: linear-gradient(transparent, transparent, rgba(0,0,0,0.8));
	color: #fff;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
}

.tile-overlay-section {
	align-items: center;
	background-color: #676767;
	display: flex;
	flex-wrap: wrap;
}

.tile-overlay-text {
	font-size: 80%;
	line-height: 1.5;
	margin: 20px 0px;
	text-align: left;
	width: 100%;
}

.tile-overlay-title {
	font-size: 115%;
	margin-right: 5px;
}

.tile-popup {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.2);
	cursor: pointer;
	height: 100%;
	overflow: hidden;
	transition: 0.5s;
}

.tile-popup:hover {
	transform: scale(1.05);
}

.tile-popup-base {
	padding: 20px;
}

.tile-popup-container {
	flex: 0 0 33%;
	margin: 10px 0px;
	max-width: 350px;
	padding: 0px 10px;
}

.tile-popup-img {
	height: auto;
	width: 100%;
}

.tile-popup-link {
	color: #3377cc;
	cursor: pointer;
	font-size: 80%;
	margin-top: 8px;
	text-decoration: underline;
}

.tile-popup-links {
	margin-top: 20px;
}

.tile-popup-subtitle {
	color: #777;
	font-size: 90%;
	margin-top: 5px;
}

.tile-popup-title {
	font-size: 120%;
}

.tile-popup-wrapper {
	align-items: top;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 30px;
}

.title {
	font-family: var(--title-font);
	font-size: 170%;
	text-align: center;
}

.title + .para, .sub-title + .para {
	margin-top: 30px;
}

ul {
	list-style: none;
	margin: 25px 0px;
	text-indent: -48px;
}

.vertical-flex-container {
	align-items: center;
	background-color: #f6f6f6;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.vertical-flex-container > div {
	flex: 1;
}

@media (min-width: 1217px) and (max-width: 1600px) {
    .content-flex-dynamic {
        max-width: 33.33%;
    }
}


@media screen and (max-width: 920px) and (max-height: 500px), screen and (max-height: 920px) and (max-width: 500px) {
	
	.btn, input[type=submit] {
		min-width: 200px;
		padding: 13px;
	}

	.cm-logo-text {
		font-size: 145%;
	}

	.contact-card {
		flex-direction: column;
		height: 430px;
		width: 300px;
	}

	.contact-card-img {
		height: 300px;
		width: 100%;
	}

	.contact-card-region + .contact-card-link {
		margin-top: 10px;
	}

	.content-flex-dynamic {
        max-width: 100%;
    }
	
	.content-flex-three {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.content-flex-three, .content-flex-two {
		width: 100%;
	}
	
	.content-flex-wrapper {
		flex-direction: column;
	}
	
	.content-tile-img {
		height: 50px;
		width: 50px;
	}
	
	.flex-wrapper.column {
		flex-direction: column;
	}
	
	.footer-column-wrapper {
		text-align: center;
		width: 100%;
	}
	
	.footer-column-wrapper > .flex-wrapper {
		justify-content: center;
	}
	
	.footer-img {
		height: 80px;
		width: 80px;
	}
	
	.footer-txt {
		padding: 3px 0px;
	}
	
	.footer-wrapper {
		display: block;
		padding: 20px;
	}

	.grid {
		gap: 40px;
	}

	.grid.flickity-wrapper .grid-box {
		width: 100%;
	}

	.grid-subtitle {
		font-size: 160%;
	}

	.grid-title {
		font-size: 100%;
	}
	
	.img-bgrnd-medium .content-flex-two:last-of-type {
		display: none;
	}
	
	.img-bgrnd-mid {
		height: 280px;
	}

	.img-medium {
		height: 42px;
	}
	
	.img-slide {
		height: calc(100vh - 100px);
	}
	
	.img-split {
		min-height: 200px;
	}
	
	.img-wrap-img {
		margin-bottom: 20px;
		width: 100%;
	}
	
	.index-img-line {
		border-width: 5px;
	}
	
	.index-img-subtitle {
		font-size: 120%;
	}
	
	.index-img-title {
		font-size: 200%;
	}
	
	.popup-contents {
		margin-top: 20px;
		overflow-y: unset;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.popup-contents-container {
		flex-wrap: wrap;
	}
	
	.popup-contents-container > * {
		padding: 0px;
	}
	
	.popup-img {
		margin-left: auto;
		margin-right: auto;
	}
	
	.popup-text {
		padding-bottom: 30px;
		text-align: left;
	}
	
	.popup-window {
		width: 90%;
	}
	
	.quote-img {
		height: 140px;
		width: 140px;
	}
	
	.quote-wrapper > * {
		margin: 15px;
	}
	
	.quote-wrapper:nth-child(even) .quote-img {
		order: 0;
	}
	
	.section-bgrnd {
		padding: 30px;
	}
	
	.section-line {
		margin: 0px 20px;
	}
	
	.slide-button {
		height: 12px;
		width: 12px;
	}
	
	.slideshow-gallery-btn {
		font-size: 18px !important;
	}
	
	.slideshow-gallery-img-container {
		padding: 30px 0px;
	}
	
	.slideshow-gallery-tile-wrapper {
		height: 110px;
		width: 147px;
	}
	
	.split-container > * {
		height: auto;
		width: 100%;
	}
	
	.split-container .img-split {
		float: none;	
	}
	
	.tile-popup-container {
		flex: 0 0 100%;
	}
	
	.tile-popup-wrapper {
		margin-top: 0px;
		padding: 30px 0px;
	}

}

@media only screen and (max-width: 920px) and (max-height: 500px) and (orientation: landscape), screen and (max-height: 920px) and (max-width: 500px) and (orientation: landscape) {
	
	.slideshow-gallery-container {
		flex-direction: column;
		overflow-x: hidden;
		overflow-y: auto;
		width: 147px;
	}
	
	.slideshow-gallery-tile-wrapper {
		width: 100%;
	}
	
	.slideshow-gallery-wrapper {
		flex-direction: row;
	}
	
}

@media only screen and (min-width: 701px) and (max-width: 1200px) and (orientation: portrait), screen and (min-width: 501px) and (max-width: 1200px) and (orientation: landscape) {
	
	.tile-overlay {
		flex: 0 0 50%;
		padding-top: 37.5%;
	}
	
}

@media only screen and (max-width: 700px) and (orientation: portrait), screen and (max-width: 500px) and (orientation: landscape) {
	
	.img-bgrnd-medium {
		height: 80vh;
	}
	
	.tile-overlay {
		flex: 0 0 100%;
		padding-top: 75%;
	}
	
}

@media only screen and (min-width: 451px) and (max-width: 920px) {

	.gallery-img-wrapper {
		flex: 0 0 50%;
		padding-top: 37.5%;
	}
	
}

@media only screen and (max-width: 450px) {
	
	.gallery-img-wrapper {
		flex: 0 0 100%;
		padding-top: 75%;
	}
	
}