header, section, footer { 
	margin-left: 15%;
	margin-right: 15%;
	width: 65%; 
}

/* full-sreen sections top to bottom */
/*
section { min-height:83vh; }
*/

header, #hero {
	margin: 25px auto; 
}

body {
	background-image: url(img/bg_topborder.png);
	background-position: top center;
	background-repeat: repeat-x;
	color: #222;
	font-family: 'Times New Roman', serif;
	font-size: 21px;
	line-height: 30px;
	margin:0;
	padding:0;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: 'Playfair Display', Georgia, serif;
	font-variant: small-caps;
	font-weight: 400;
	line-height: .75em;
	text-align: center;
}

h1 { 
	border-bottom: 2px solid #8aaad2;
	font-size: 5em;
	font-size: 8vw;
	line-height: 1em;
	margin: 0 auto 15px;
	padding: 0 40px 15px;
}

h2 { margin-top: 1em; font-size: 3em; }

h2 {
	background: #E1EBF8;
	border-top: 90px #fff double;
	color: #858585;
	line-height: 1em;
	margin: 1em 0;
	padding: 1em 15%;
	position: relative;
	text-align: left;
}


h1 span { letter-spacing: -12px; }

p { text-align:justify; }

img { 
	height: auto; 
	margin: 0 20px 10px;
	width: 390px;
}

.floatLeft { 
	float: left; 
	margin-left: 0; 
}

.floatRight { 
	float: right; 
	margin-right: 0; 
}

header {
	background: url(img/bg_header.png) no-repeat center 63%;
	background-size: 50vw;
	height: 95vh;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	padding-top: 75px;
	position: relative;
}

/*
header #bg {
	color: #E1EBF8;
	font-family:'Yanone Kaffeesatz', sans-serif;
	font-size: 20em;
	font-weight: 300;
	height: 100%;
	letter-spacing: -15px;
	left: 0;
	margin-top: 50px;
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: -1;
}
*/
header #bg { display: none; }


#menu-icon {
	background:url(img/menu-icon.png) center;
	display: hidden;
	height: 40px;
	width: 40px;
	z-index: 200;
}


.nav { 
	clear: both;
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 2vw;
	height: 1em;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	/*	width: 18em; */
	text-align: center;
	text-transform: uppercase;
}

/* https://css-tricks.com/snippets/css/a-guide-to-flexbox/ */
.nav {
	display: flex;
	flex-direction: row;
	fex-wrap: wrap;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
}

.nav li { 
	float: left;
	margin: 0 10px;
}

.nav li a { 
	color: #222;
	margin-right:15px;
	padding: 4px 5px;
	text-decoration: none;
}
.nav li a:hover { color:#8aaad2;}
.nav li:after { 
	content:"—";
	color:#8aaad2;
}
.nav li.last:after { content:none; }

.nav li.last a { margin-right:0; }

.scrolled {
	background: #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,0.3);
	height: 2em;
	left: -9px;
	position: fixed;
	top:0;
	width:100vw;
	z-index: 100;
}
	
#hero { font-size: 24px; }

blockquote {
	background: 
		url(img/bg_quote_top.png) no-repeat left top,
		url(img/bg_quote_bottom.png) no-repeat 95% bottom;
	color: #858585;
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
/*	letter-spacing: -1px;	*/
	line-height: 2em;
	margin: 24px 0 50px;
	min-height: 300px;
	text-align: center;
	width: 65%;
	word-spacing: 10px;
}


/*****************************/
/*****************************/


.refs ul { 
	list-style: none; 
	margin: 0;
	padding: 0;
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
	-moz-column-count: 2; /* Firefox */
	column-count: 2;
	-webkit-column-width: 40%; /* Chrome, Safari, Opera */
	-moz-column-width: 40%; /* Firefox */
	column-width: 40%;
	-webkit-column-gap: 40px;
	-moz-column-gap: 40px;
	column-gap: 40px;
}

.refs ul li {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
	margin-bottom: 40px;
/*	display: inline-block;
	float: left;
	margin: 0 2% 10px;
	width: 45%;
*/}

.refs h3 { color: #8aaad2; margin-bottom: 10px; }

.refs h4 { margin-top: 10px; text-transform: lowercase; }

.refs h4, .refs p { color: #858585; }

.refs p { font-style: italic; }



/*****************************/
/*****************************/


section#refs {
	background: #8aaad2;
	height: 35vh;
	margin: 0; 
	overflow: hidden;
	padding-top: 20px;
	padding-bottom: 20px;
	position: relative;
	width: 100%;
}

#refs .unslider {
	height: 35vh;
	overflow: hidden;
	margin: 0 15%;
	padding: 0;
	position: relative;
	width: 65%;
}

#refs ul {
	display: -webkit-box;
	display: -moz-box;
	display: box;
	list-style: none;
}

#refs ul li {
	float: left;
	height: 100%;
	list-style: none;
    padding: 0 10px;
	position:relative;
    width: 98%;
}

#refs blockquote {
	background:
		url(img/bg_quote_top_REF.png) no-repeat left top,
		url(img/bg_quote_bottom_REF.png) no-repeat 95% bottom;
	color: #E1EBF8;
	display: flex;
	flex-flow: column nowrap;
	font-size: 2vw;
	justify-content: center;
	line-height: 1.7em;
	margin: 20px 0;
	position: relative;
	width: 100%;
	word-spacing: 0;
}

#refs blockquote p { 
	margin-top:0;
	margin-bottom:0;
}
#refs blockquote p:last-child { text-align:right; }





.unslider{overflow:auto}.unslider-wrap{position:relative}.unslider-wrap.unslider-carousel li{float:left}.unslider-vertical>ul{height:100%}.unslider-vertical li{float:none;width:100%}.unslider-fade{position:relative}.unslider-fade .unslider-wrap li{position:absolute;left:0;top:0;right:0;z-index:8}.unslider-fade .unslider-wrap li.unslider-active{z-index:10}.unslider li{list-style:none;margin:0;padding:0;border:none}.unslider-arrow{position:absolute;left:20px;z-index:2;cursor:pointer}.unslider-arrow.next{left:auto;right:20px}






/*****************************/
/*****************************/



img {
	border: 15px solid #E1EBF8;
	margin: 20px;
	margin-top: -5px;
}

#profile_pic { height:auto; width:200px;}

#contact_wrap { 
	background: #f3f8fe;
	width:100%; 
}

h2#contact { margin-bottom: 25px; }

.clear { clear:both; }

form { 
	clear: both;
	display: block;
	margin-bottom: 50px; 
	text-align: center;
	width: 100%;
}

form * { 
	display: block;
	margin:0 auto 10px;
	text-align: center; 
}

form p {
    font-size: 1.5em;
    font-style: italic;	
    line-height: 2em;
}

form label:not(.none) {
	font-family: 'Playfair Display', Georgia, serif;
	text-align: left;
}

form input:not(.none), form textarea, form .button {
	border: 0;
	border-radius: 10px;
	box-shadow: inset 2px 2px 5px #CCC;
	font-family: 'Times New Roman', serif;
	font-size: .9em;
	padding: 5px 6px;
	width: 100%; 
}

form textarea {
	height: 140px;
	margin-bottom: 20px;
	text-align: left;
}

form ul {
	display: block;
	float: left;
	list-style: none;
	margin: 0 5%;
	padding: 0;
	text-align: center;
	min-width: 250px;
	width: 40%;
}

form ul#col2 { clear:right; }

form li > div {
	font-style: italic;
}

form .none, form div strong {
	display:inline;
}

input[type=submit], .button {
	background: #8aaad2;
	border:0;
	box-shadow:none;
	color:#fff;
	font-family: 'Playfair Display', Georgia, serif;
	padding-bottom: 7px;
	width:50%;
	cursor:pointer;
}

footer {
	background: #8aaad2 url(img/bg_footer.png) no-repeat center center;
	border-top: #fff 90px double;
	height: 250px;
	margin: 0;
	width: 100%;
}

footer .nav {
	margin-left: 15%;
	margin-right: 15%;
	padding-top: 3.6em;
	width: 65%;
}

footer .nav a, footer .nav li:after  { color:#fff; }
footer .nav a:hover { color:#222; }


#floatingnav { 
	background: #8aaad2;
	display: none;
	padding: .4em;
	position: fixed;
	top:0;
	width: 100%;
	z-index: 99;
}

#floatingnav.nav li a,
#floatingnav.nav li:after {
	color: #fff;
}

#floatingnav.nav li a:hover { color: #222; }




/*******************
	MEDIA QUERIES
 *******************/


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

	header, section, #hero {
		margin: 0 5%;
		width: 90%;
	}

	.nav li { margin: 0; }

	.nav li:after {
		content: "-";
	}

	.nav li a {
		margin-right: 0;
	}

	footer .nav {
		width: auto;
	}
	
	.refs ul { 
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
	
}

@media screen and (max-width: 750px) {
	form ul { width: 90%; }
}

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

	body { 
		font-size: 4.5vw;
		line-height: 1.5em;
	}

	header { 
		background-size: 85vw;
		height: 75vh; 
		margin:0 auto;
		width: 95%;
	}

	header h1 { 
		font-size: 13.6vw; 
		padding: 0 20px 15px; 
	}


	header ul.nav { width: 100%; }

	ul.nav { 
		display: flex; 
		font-size: 4.5vw; 
		height: auto; 
	}

	footer ul.nav { 
		display: block;
	} 

	header .nav li:after { 
		content: "•"; 
		top: -1px;
		position: relative;
	}
	footer .nav li:after { content: none; }


	ul.nav, .nav li { 
		float:none; 
		line-height: 1.5em;
	}
	.nav li a { margin-right: 0; }

	#menu-icon {

	}

	ul.nav.scrolled {
		height: 2.5em;
		left: 0;
	}


	#hero {
		display: flex;
		flex-flow: column wrap;
		justify-content: space-around;
		align-items: flex-start;
		text-align: center;
	}

	#hero blockquote {
		font-size: 5vw;
		line-height: 1.5em;
		margin-top: 50px;
		min-height: auto;
		height: auto;
		width: 80vw;
	}

	img.floatRight, img.floatLeft, #profile_pic, #family_pic {
		display: block;
		float: none;
		margin: 0 auto;
		width: 60vw
	}

	h2 {
		border-top-width: 40px; 
		font-size: 15vw;
		margin: .5em 0; 
		padding: .5em 0;
		text-align: center;
	}

	form ul {
		margin: 0;
		width: 97%;
	}

	footer { 
		background-size: 80vw;
		border-top-width: 40px;
		height: auto;
		padding-bottom: 1.6em;
	}

	footer .nav { padding-top: 1.3em; }

}