/**************************************** reset ****************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

/****************************************** end reset *******************************************/
body, html {
	background: #eee;
	color: #555;
	font-family: Arial, Helvetica, sans-serif;
	/*font-size: 16px;*/
	font-weight: 300;
	line-height: 23px;
	text-align: left;
	margin:0;
	padding:0;
	height: 100%; /* height and width needed for google map */
	width: 100%;
	display: flex;
	flex-direction: column;
}
html{
	overflow-x:hidden;
}

p {
	margin: 1em 0px;
}

h1, h2 {
	color: #333333;
	font-weight: normal;
	line-height: 1.2;}
	
h1 {
	font-size: 2.5em;
	margin: 5px 0 0.9em 0;
	opacity: 0;
}

h2 {
	font-size: x-large;
	margin: 5px 0 0.7em 0;
	opacity: 0;  /* observer will fade in */
}
		
h3 {
	font-size: 2em;
	color: #555;
	font-weight: bold;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 30px;
	line-height: 1.2em;
	opacity: 0; /* observer will fade in */
}
    
.center {
	text-align: center;}
	
.img_center {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 1024px;
}
.services_img {
	display: block;
	max-width:434px;
	max-height:450px;
	width: auto;
	height: auto;
	/*filter: drop-shadow(5px 16px 10px #d6d6d6);*/
}

.right {
	text-align:right;}
.white {
	background-color: #fff;
}
.gray {
	/*background-color: #eee;*/
	background: rgb(238,238,238);
	background: linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(246,246,246,1) 50%, rgba(238,238,238,1) 100%);
}
    
a {
	color: #9b9bcc;}
    
ul, ol {
	list-style-position:inside;
	margin: 0;
	}
    
ul {
	list-style: square inside none;
	padding: 10px 0 0 0;
	}
		
li {
	list-style-type: none;
	padding-left: 2rem;
	padding-bottom: 8px;
	font-weight: bold;
	}
	
li:before {    
	content: "✓";
	margin:0 10px 0 -28px;
	color: #17aa1c;
}
/**************************************** nav menu **************************************************/
.nav {
	color: #103c83 !important;
	background-color: #fff !important;
	overflow: auto;
	display: flex;
	justify-content: space-between;
	box-shadow: 0px 1px 11px 9px rgba(0, 0, 0, 0.10);
	-webkit-transform: translateZ(0); /* box-shadow fix */
}
.nav_item_wrapper {
	padding: 0 4% 0 4%;
}
.nav_item {
	padding: 42px 24px !important;
	display: inline-block;
	text-decoration: none;
	color: inherit;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s linear 0s;
}
.nav_image {
	padding: 10px 0 10px 0;
}
.nav_item:hover {
	color:#fff;
	background: #3c5bc0;
}


/******************************************************************wrappers**********************************************/
.wrapper {
	flex: 1 0 auto; /* Sticky footer - Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
	padding: 0;
}

.overview_title_wrapper {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 2%;
}

.overview, .services, .contact {
	padding: 5% 0;
	border-bottom: 1px solid #ccc;
}

.services {
	background-image: url('images/services_background_01a.jpg');
	/*background-size: contain;*/
	background-size: cover;
}

.contact {

}

.overview_flex_wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	gap: 40px;
	/*width: 90%;*/
	padding: 3% 20px 0 20px;
}

.services_wrapper {
	width: 30%;
	padding: 0 15%;
}

.services_wrapper p {
	text-shadow: 4px 4px 8px rgba(255, 255, 255),
	-4px 4px 8px rgba(255, 255, 255),
	4px -4px 8px rgba(255, 255, 255),
	-4px -4px 8px rgba(255, 255, 255);
	
}

.column_overview {
	flex: 0 1 auto; /* initial width */
	background-color: #ddd;
	padding: 35px;
	border-radius: 6px;
	border: 1px solid #bbb;
	width: 250px;
	font-size: 0.9em;
	opacity: 0;
}
.column_overview_icon {
	height: 60px;
	width: 60px;
	opacity: 0.8;
	margin-bottom: 30px;
	/* center */
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.button {
	margin: 50px auto;
	padding: 15px 30px;
	border-radius: 6px;
	border: 1px solid #bbb;
	background-color: #eee;
	color: #333;
	display: inline-block;
	font-weight: bold;
	transition: all 0.3s linear 0s;
	opacity: 0;  /* observer will fade in */
}
.button:hover {
	background-color: #3c5bc0;
	color: #fff;
}

.contact_info {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 25px;
	width: 350px;
	border-radius: 6px;
	border: 1px solid #bbb;
	background-color: #ddd;
	padding: 30px;
	margin: 35px auto;
}

.contact_icon {
	height: 60px;
	width: 60px;
	opacity: 0.8;
	/* center */
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.footer {
	flex-shrink: 0; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
	color: #ccc;
	background-color: #2f3847;
	padding: 2% 5%;
	font-size: 0.9em
}

/***********************************************************************************************************************/
.hero {
	background-image: url('images/hero3b-min.jpg');
	width: 100%;
	height: 600px;
}
.hero_wrapper {
	margin: 0 auto;
	max-width: 600px;
	padding: 10% 5%;
	text-align: center;
}
.hero_text_1 {
	color: #fff;
	text-shadow: 0px 0px 18px rgba(0,0,0,0.5);
	font-weight: bold;
}
.hero_text_2 {
	color: #fff;
	text-shadow: 0px 0px 18px rgba(0,0,0,0.5);
	font-weight: bold;
}

.content_404 {
	width: 100%;
	background-color: #e1e1e5;
}

h3::before {
	content: "";
	position: absolute;
	display: block;
	width: 120px;
	height: 1px;
	background: #ccc;
	bottom: 1px;
	left: calc(50% - 60px);
	box-sizing: border-box; /*maybe?*/
}
h3:after{
	content: "";
	position: absolute;
	display: block;
	left: calc(50% - 20px);
	bottom: 0;
	width: 40px;
	height: 3px;
	background-color: #2d3dd2;
}
.no_wrap {
	white-space: nowrap;
}
/* hide phone number */
span.display_no b {
	display: none;
}
.bold {
	font-weight: bold;
}

/***********************************************************************************************************************/
.fadeInLeft1 {
	/* changed in @media screen below */
	opacity: 0;
	animation: 1s ease-out 0.2s 1 fadeInLeft;
	animation-fill-mode: forwards;
}
.fadeInLeft2 {
	/* changed in @media screen below */
	opacity: 0;
	animation: 1s ease-out 0.5s 1 fadeInLeft;
	animation-fill-mode: forwards;
}
.fadeInLeft3 {
	/* changed in @media screen below */
	opacity: 0;
	animation: 1s ease-out 0.8s 1 fadeInLeft;
	animation-fill-mode: forwards;
}
@keyframes fadeInLeft {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-20px);
		-ms-transform: translateX(-20px);
		transform: translateX(-20px);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
}

.fadeInUp {
	opacity: 0;
	animation: 1s ease-out 0.2s 1 fadeInUp;
	animation-fill-mode: forwards;
}
@keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translateY(20px);
		-ms-transform: translateY(20px);
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
	}
}

.fadeInDown1 {
	opacity: 0;
	animation: 1s ease-out 0.2s 1 fadeInDown;
	animation-fill-mode: forwards;
}
.fadeInDown2 {
	opacity: 0;
	animation: 1s ease-out 0.5s 1 fadeInDown;
	animation-fill-mode: forwards;
}
.fadeInDown3 {
	opacity: 0;
	animation: 1s ease-out 0.8s 1 fadeInDown;
	animation-fill-mode: forwards;
}
.fadeInDown4 {
	opacity: 0;
	animation: 1s ease-out 1s 1 fadeInDown;
	animation-fill-mode: forwards;
}
@keyframes fadeInDown {
	0% {
		opacity: 0;
		-webkit-transform: translateY(-20px);
		-ms-transform: translateY(-20px);
		transform: translateY(-20px);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
	}
}
/******************************************************************************************/

@media screen and (max-width: 1050px) {
	.services_img {
		display: none;
	}
	.services_wrapper p, ul {
		padding: 0.3em 15px;
	}
	.services_wrapper {
		width: 40%;
		padding: 0 15%;
	}
}

@media screen and (max-width: 900px) {
	.overview_flex_wrapper {
		flex-direction: column;
		padding-top: 30px;
	}
	.column_overview {
		margin: 0 auto;
	}
	.hero_wrapper {
		padding: 15% 5%;
	}
	.services_wrapper {
		width: 50%;
		padding: 0 15%;
	}
	.fadeInLeft1 {
		animation: 1s ease-out 0.2s 1 fadeInLeft;
		animation-fill-mode: forwards;
	}
	.fadeInLeft2 {
		animation: 1s ease-out 0.2s 1 fadeInLeft;
		animation-fill-mode: forwards;
	}
	.fadeInLeft3 {
		animation: 1s ease-out 0.2s 1 fadeInLeft;
		animation-fill-mode: forwards;
	}
}

@media screen and (max-width: 800px) {
    .nav_item {
		/*font-size: 0.9em;*/
	}
	.nav {
		flex-wrap: wrap;
		justify-content: center;
	}
	.nav_menu {
		background-color: #e1e1e5;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		width: 100%;
		text-align: center;	
	}
	.hero_wrapper {
		padding: 20% 5%;
	}
	.services_wrapper {
		width: 60%;
		margin: 0 20%;
		padding: 0;
	}
}
@media screen and (max-width: 600px) {
	.services_wrapper {
		width: 80%;
		margin: 0 10%;
		padding: 0;
	}
}

@media screen and (max-width: 470px) {
	.contact_info {
		width: auto;
		flex-direction: column;
		gap: 10px;
	}
}