@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap');

/*
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&family=Source+Serif+Pro&display=swap');
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;1,400;1,600&display=swap');
:root {
	--efsBlue: #3c87c6;
	--efsBlueDark: #0a579b;
	--efsGold: #fed22c;
}


html {
	font-size: 100%; /* 16px */
	/*background-color: pink;*/
	-webkit-font-smoothing: antialiased;
}

/* Wrap around body layout elements: header, nav, main, footer, colophon */
.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-width: 960px; /* until breakpoints added */
}

body {
	margin: 0px;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: 300;
	display: flex;
	flex-direction: column;
}

address {
	font-style: normal;
}

h1, h2, h3, h4, h5, h6,
strong, b {
	font-weight: 600; /* 400 */
}

h1 {

}

h2, h3, h4, h5, h6 {
	color: #3786c8;
	font-family: 'Source Serif Pro', serif;
	font-style: italic;
	font-weight: 600; /* 400 */
	letter-spacing: -1px;
}

h1 {
	color: white;
	font-size: 40px;
}

h2 {
	color: #0a579b;
	font-size: 36px;
	margin: 60px 0px 16px 0px;
}

section > article > h2:first-child {
	margin-top: 0px;
	display: inline-block;
	border-bottom: 5px solid #0a579b;
}

h3 {
	font-size: 28px;
	margin: 1.25em 0px 0px 0px;
/* 	border-bottom: 1px solid #3786cb; */
}

h3 + p {
	margin-top: 10px;
}

#header {
}

#nav {
	background-color: #3c87c6;
	position: sticky;
	top: 0px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

#main {
	padding: 40px 0px;
	flex-grow: 1;
}

main {
	transition: height 1s;
}

#footer {
	background-color: #4088c4;
}

#colophon {
	background-color: #125999;
}


#hero {
	background-image: url(images/head_image_1.jpg);
	background-size: cover;
	background-position: center center;
	width: 100%;
	padding: 50px 0px;
	margin-bottom: -40px; /* compensation for the padding on the main element */
}

#hero blockquote {
	font-size: 40px;
	max-width: 980px;
	color: white;
	margin: auto;
	font-weight: 600;
	text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

#hero a {
	display: inline-block;
	color: white;
	background-color: #0b2541;
	margin: auto;
	text-decoration: none;
	padding: 20px;
	font-size: 30px;
	font-weight: bold;
	outline: 1px solid rgba(255, 255, 255, 0);
	transition: background-color 0.25s, box-shadow 0.25s, outline 0.25s;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}

#hero a:hover {
	background-color: #125999;
	outline: 1px solid rgba(255, 255, 255, 1);
}



div#header > header,
div#nav > nav,
div#main > main,
div#footer > footer,
div#colophon > footer {
	max-width: 980px;
	margin: auto;
}

div#header > header {
	margin: 140px auto 40px auto;
}

div#nav {
	/*box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);*/
}


header {
	/*height: 200px;*/
	/*overflow: auto;*/
	color: white;
	background-image: url(images/EFS_logo.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}

#header a {
	text-decoration: none;
}

header h1, header h2 {
	font-weight: 400;
	text-align: right;
	font-family: 'Source Serif Pro', 'Source Sans Pro', Helvetica, sans-serif;
	margin: 0px;
	letter-spacing: 0px;
}

header h1 {
	font-size: 64px;
	color: #0b2541;
	font-style: normal;
	font-weight: 500;
}

header h2 {
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-size: 28px;
	color: #3d87c6;
	font-style: normal;
	font-weight: 600;
	letter-spacing: -1px;
}

header img {
	max-width: 100%;
	/*margin-top: 20px;*/
}

header nav {
	background-color: #3c87c6;
}



header nav a {
	color: white;
	text-decoration: none;
	display: block;
	/*background-color: pink;*/
	padding: 10px;
	font-size: 20px;
}

#nav {
	border-top: 6px solid #0a579b;
}


#nav nav {
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
}
  
nav i.fas {
	margin-right: 5px;
}

#nav nav a {
	color: white;
	font-size: 24px;
	display: block;
	padding: 10px 16px;
	font-weight: 600;
	text-decoration: none;
}

#nav nav > ul {
	display: flex;
	justify-content: space-between;
}

#nav nav ul {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
}

#nav nav ul li a {
	transition: background-color 0.3s;
}

#nav nav ul li a:hover, #nav nav ul li a.active {
	background-color: #0a579b;
}

#nav nav > ul > li {
	position: relative;
}

#nav nav ul ul {
	display: none;
	position: absolute;
	width: 250px;
	background-color: #3c87c6;
}

#nav nav ul > li:hover > ul {
	display: block;
	z-index: 50;
}

#nav ul ul a {
	display: block;
}



/* Page to page navigation */

a.prev, a.next, a.next-page {
	padding: 10px;
	background-color: #eeeeee;

}

a.prev:hover, a.next:hover, a.next.page:hover {
	color: white;
	background-color: #125999;
}

a.prev {
	float: left;
}

a.prev::before {
	content: "\00AB\00a0";
}

a.next, a.next-page {
	float: right;
}

a.next::after, a.next-page::after {
	content: "\00a0\00BB";
}

a.next-page {
/* 	background-color: #eeeeee; */
	color: white;
	background-color: #3c87c6;
}

a.next-page::before {
	content: "Next Page:";
	padding-right: 10px;
	font-style: italic;
	font-weight: 300;
}

main {
	flex-grow: 1;
	transition: height 0.4s;
}

main a {
	font-weight: 600;
	color: #3c87c6;
	text-decoration: none;
}

main ul {
	list-style-type: square;
}


/* Main Layout */

main {
	display: flex;
}

main aside {
	box-sizing: border-box;
	width: 220px; /* 260 */
	flex-basis: 220px;
	flex-shrink: 0;
	flex-grow: 0;
	margin-right: 20px;
}

main > section {
	flex-grow: 1;
}

main > aside a {
	display: block;
	background-color: #eeeeee;
	padding: 10px;
	transition: background-color 0.4s, text-indent 0.75s;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
}
main > aside a:hover {
	background-color: #dddddd;
}

main > aside a.active {
	background-color: #ffffff;
	color: #555554;
	border-top: 2px solid white; /* #999999 */
	border-bottom: 2px solid white;
	text-indent: 20px;
	font-weight: 600;
	
	background-color: #4088c4;
	color: #ffffff;

}

main > aside a.active::after {
	content: " \00BB";
}


main h1 {
	background-image: url(images/head_image_1.jpg);
	padding: 100px 20px 20px 20px;
	color: white;
	font-size: 40px;
	margin: 0px;
	text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
}



#home-page {

}

#home-page #hero a {

}


#about-page {

}

#about-us .staff {
	display: flex;
	margin-bottom: 20px;
}




#about-us .staff .picture {
	width: 180px;
	margin-right: 20px;
	flex-shrink: 0;
}

#about-us .staff .picture img {
	width: 100%;
	display: block;
	border: 10px solid white;
	box-sizing: border-box;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
	margin: 20px 0px;
}

#about-us .staff .bio {
	flex-shrink: 1;
}



/* Footer */

footer a {
	text-decoration: none;
	font-weight: 600;
}

#footer footer {
	padding: 20px;
	color: white;
}

#footer footer a {
	color: white;
}

#footer footer {
	display: flex;
	justify-content: space-between;
}

footer ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	/*overflow: hidden; /* clear fix */
}

footer > ul {
	display: flex;
}

footer > ul > li {
	/*display: inline-block;
	float: left;*/
	flex: 1 1 0px;
}
footer > ul > li a {
	/*display: block;
	padding: 2px;
	padding-right: 10px;*/
}



footer address {
	margin-bottom: 10px;
}

footer #logos {
	width: 120px;
}

footer #logos img {
	max-width: 100%;
	display: block;
}





#colophon {
	background-color: #0a579b;
	font-size: 14px;
}

#colophon footer {
	font-weight: 400;
	color: #fafafa;
	box-sizing: border-box;
	width: 980px;
	margin: auto;
	text-align: center;
	color: white;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#colophon footer span {
	margin: 0px 5px;
}

#colophon footer span img {
	display: inline-block;
	height: 40px;
	line-height: 40px;
	vertical-align: middle;
}

#colophon a {
	color: white;
	font-weight: 600;
	text-decoration: none;
	padding: 4px 6px;
	margin-left: -6px;
	margin-right: -6px;
}

#colophon a:hover {
	background-color: rgba(255, 255, 255, 0.2);
}







/* Testimonials */

#testimonials blockquote {
	font-family: 'Source Serif Pro';
	font-style: italic;
	margin-bottom: 40px;
	text-align: justify;
}

#testimonials .attribution {
	text-align: right;
	display: block;
	font-style: normal;
	font-family: 'Source Sans Pro', Helvetica, sans-serif;

}





/* Contact Styles */

.iris-form {
	/*border: #eaeaea 1px solid;*/
	/*padding: 10px 25px 10px 30px;*/
	/*border-radius: 3px;*/
}

.iris .iris-row {
	padding: 10px;
	transition: background-color 0.3s;
}

.g-recaptcha {
	padding: 10px;
}

.iris .iris-row:hover {
	background-color: #eeeeee;
}

label {

}

.iris .label {
	margin-bottom: 3px;
	display: block;
	font-weight: 400;
}

input[type=text].iris-input, .iris input, .iris textarea, .iris select,
	.iris-input, .iris-select {
	font-size: inherit;
	box-sizing: border-box;
	width: 100%;
	height: initial;
	padding: 8px 8px;
	border: 1px solid #9a9a9a;
	border-radius: 3px;
}

.iris input[type="checkbox"] {
	width: auto;
}

.iris input[type="radio"] {
	width: auto;
}

.checkboxes .checkbox {
	display: inline-block;
	padding-right: 20px;
	white-space: nowrap;
}

.checkboxes input {
	width: auto;
	vertical-align: middle;
	margin-left: 0;
	display: initial;
	opacity: initial;
	position: inherit;
	pointer-events: initial;
}

.checkboxes .checkbox-label {
	vertical-align: middle;
	color: #666;
}

.iris textarea, .iris-textarea {
	/*width: 300px;*/
}

.iris select, .iris-select {
	display: initial;
	height: 30px;
	/*background-color: #fff;*/
	padding: 2px 5px;
}

.iris button {
/* 	width: 100px; */
	padding: 10px 30px;
	font-size: 1em;
	cursor: pointer;
	border-radius: 3px;
	background: #1871e6;
	color: #FFF;
/* 	margin: 0px 20px 5px 0; */
	border: #1469d8 1px solid;
}

.iris button:hover {
/* 	background-color: #125999; */
}

#iris-btn-send:hover {
/* 	background: #1363cc; */
/* 	border: #105bbd 1px solid; */
}



.iris button:focus {
	outline: none;
}



#iris-message {
	padding: 6px 20px;
	display: none;
	font-size: 1em;
	color: rgb(40, 40, 40);
	box-sizing: border-box;
	margin: 0px;
	border-radius: 3px;
	width: 100%;
	overflow: auto;
}

.iris .error {
	padding: 6px 20px;
	border-radius: 3px;
	background-color: #fb817c;
	border: 1px solid #e46b66;
}

.iris .success {
	background-color: #48e0a4;
	border: #40cc94 1px solid;
}

#iris-loader-icon {
	color: #1871e6;
	font-weight: bold;
	padding: 6px 20px 6px 0;
	display: none;
	vertical-align: middle;
}

#iris-loader-ack-icon {
	color: #1871e6;
	font-weight: bold;
	padding: 6px 20px 6px 0;
	display: none;
	vertical-align: middle;
}

.iris .validation-message {
	color: #e20900;
	display: inline-block;
}




.iris .display-none {
	display: none;
}

.inline-block {
	display: inline-block;
}




/* Animations */

.throbber1 {
	animation-name: throbber;
	animation-delay: 0s;
	animation-duration: 0.5s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}
.throbber2 {
	animation-name: throbber;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}
.throbber3 {
	animation-name: throbber;
	animation-delay: 1s;
	animation-duration: 1.5s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

/*.throbber1 {
	animation-name: throbber1;
	animation-duration: 1.5s;
	animation-direction: forwards;
	animation-iteration-count: infinite;
}
.throbber2 {
	animation-name: throbber2;
	animation-duration: 1.5s;
	animation-direction: forwards;
	animation-iteration-count: infinite;
}
.throbber3 {
	animation-name: throbber3;
	animation-duration: 1.5s;
	animation-direction: forwards;
	animation-iteration-count: infinite;
}*/


@keyframes throbber {
	0% {
		opacity: 0;
	}
	
	100% { 
		opacity: 1;
	}
}

@keyframes throbber1 {
	0% {
		opacity: 0;
	}
	
	25% { 
		opacity: 1;
	}
	
	100% {
		opacity: 1;
	}
}

@keyframes throbber2 {
	0% {
		opacity: 0;
	}
	
	50% { 
		opacity: 1;
	}
	
	100% {
		opacity: 1;
	}
}

@keyframes throbber3 {
	0% {
		opacity: 0;
	}
	
	75% { 
		opacity: 1;
	}
	
	100% {
		opacity: 1;
	}
}

