@import url(https://fonts.googleapis.com/css?family=Noto+Serif:400,700);
@import url(https://fonts.googleapis.com/css?family=Muli);
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

/****************************************************************
1. Font styles: heading, paragraphs and footer content;
*****************************************************************/

* { 
	font-family: 'Muli', sans-serif; 
	font-size: 16px; 
	color: #444;
}

h1, h2, h3, h4, h5, h6, nav.main-nav {
	font-family: 'Nato Serif', serif;
	font-weight: 400;
	color: #6694ab;
}

h1 { font-size: 2em; line-height: .9em; color: #d8b01e; }
h2 { font-size: 1.8em; line-height: 1em; color: #d8b01e; }
h3 { font-size: 1.6em; line-height: .8em; }
h4 { font-size: 1.5em; line-height: .8em; }
h5 { font-size: 1.4em; line-height: .4em; }
h6 { font-size: 1.3em; line-height: .3em; }

aside h1 { font-size: 1.5em; line-height: .8em; color: #6694ab; }
section.feature h2 { color: #177cac; }

span.news-title { font-weight: bold;}

a:link { color: #177cac; }
a:visited { color: #177cac; }
a:hover { color: #98c7dd; }
a:active { color: #98c7dd; }

a.active { color: #98c7dd; }

label.error { color: red;}

footer { text-align: right; }
footer p, footer span { font-size: .7em; line-height: .9em; color: #777;}

/****************************************************************
2. Header content, includes logo treatment and navigation
*****************************************************************/
.logo { width: 95%; max-width: 300px; }
input.nav-btn { width: 15px; float: left; margin-top: 10px; }

nav.main-nav { display: none; }

nav.main-nav ul { 
	text-align: center;
	list-style: none; 
	margin: 0; 
	padding: 0; 
}
nav.main-nav ul li {
	padding: 10px 0;
	border-bottom: thin solid #ccc;
}
nav.main-nav ul li:first-child { border-top: thin solid #ccc; }
nav.main-nav ul li a:link { display: block; }

footer { margin-top: 20px; }

/****************************************************************
3. Hero sections
*****************************************************************/
.home-hero section { display: none; }
.home-hero img { width: 100%;}
.home-hero { margin-bottom: 20px;}
.hero-text { background: #177cac; padding: 20px 0; }
.hero-text h1 { 
	font-size: 1.2em; 
	line-height: .9em;
	color: #fff; 
	padding: 0 2%; 
}

div.body-hero {
	height: 100px;
	margin-bottom: 20px;
}

div.body-hero-title {
	height: inherit; 
	background-color: rgba(23,124,172,.5);
}

div.body-hero-title h1 {
	font-size: 3em;
	color: #fff;
	padding: 20px 0;
	text-align: center;
}

div.strategy-hero {
	background: url('../images/investment-partner.png') no-repeat center center;
	background-size: cover;
}

div.value-hero {
	background: url('../images/value-hero.jpg') no-repeat center center;
	background-size: cover;
}

div.team-hero {
	background: url('../images/strategic-partner.jpg') no-repeat center center;
	background-size: cover;
}

div.about-hero {
	background: url('../images/raleigh-bg.jpg') no-repeat center center;
	background-size: cover;
}

div.contact-hero {
	background: url('../images/contact-hero.jpg') no-repeat left center;
	background-size: cover;
}

div.news-hero {
	background: url('../images/news-background.jpg') no-repeat left -20px;
	background-size: cover;
}

.person-nav-container { display: none; }

.home-news {
	border-top: thin solid #ccc;
	border-bottom: thin solid #ccc;
	margin-bottom: 20px;
}

.home-news p { margin-bottom: 0;}

/****************************************************************
4. Image treatments
*****************************************************************/
img.float-left {
	float: left;
	padding-right: 10px;
}

img.float-right {
	float: right;
	padding-left: 10px;
}

img.small-image { width: 50%; max-width: 400px;}

section.feature img { width: 100%;}

/****************************************************************
5. Forms
*****************************************************************/
form { margin-bottom: 20px; }
form input, form textarea { width: 100%; padding: 5px; margin-bottom: 10px; }
form textarea { height: 200px; }
form input[type="submit"] { 
	background-color: #177cac;
	border: none;
	border-radius: 3px; 
	color: #fff;
	padding: 10px 15px;
	width: auto;
}

#anti {display: none;}


/****************************************************************
6. Medium size screens
*****************************************************************/
/*

/* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) { 
	
	/**** header ***/
	.logo { width: 30%; max-width: 300px; float:left;}
	header { padding: 10px 0; }
	input.nav-btn { display: none; }
	
	nav.main-nav { border: none; float: right; display: inline;}

	nav.main-nav ul li { 
		display: inline-block; 
		border: none; 
	}

	nav.main-nav ul li {
		letter-spacing: -1px;
		font-size: .9em;
		margin: 0 10px;
	}

	nav.main-nav ul li:first-child {
		margin-left: 0;
		border: none;
	}

	nav.main-nav ul li:last-child {
		margin-right: 0;
	}
	
	ul { margin-right: 20px; }

	/**** Hero sections ****/
	.home-hero { margin-bottom: 20px; position: relative;}
	.hero-text { 
		background-color: rgba(23, 124, 172, .59);	
		width: 100%; 
		padding: 20px 0; 
		position: absolute;
		bottom: 15px;
	}

	.hero-text h1 { 
		font-size: 2em; 
		line-height: 1em;
		color: #fff; 
		padding: 0 2%; 
	}

	div.body-hero {
		height: 100px;
	}

	div.body-hero-title h1 {
		font-size: 5em;
		color: #fff;
		padding-top: 15px;
		text-align: left;
	}
	
	div.contact-hero {
		background: url('../images/contact-hero.jpg') no-repeat left -20px;
		background-size: cover;
	}

	div.news-hero {
		background: url('../images/news-background.jpg') no-repeat left -20px;
		background-size: cover;
	}


	/**** Our team section ****/
	.target-div {
		margin-bottom: 20px;
	}

	.target-div:not(:first-child) { display: none;}

	.person-nav-container { display: block; margin-top: 20px;}
	.person-nav-container ul { list-style: none; text-align: right; }
	.person-nav-container ul li {
		line-height: .9em;
		margin-bottom: 20px;
	}
	
	/**** form ***/
	label { display: block;}
	input.medium { width: 75%; }
} 

/****************************************************************
7. Large size screens
*****************************************************************/

/* min-width 1025px, large screens */
@media only screen and (min-width: 64.063em) { 
	.logo { max-width: 400px; float: left;}
	nav.main-nav { float: right; margin-top: 0;}
	nav.main-nav ul li a {
		font-size: 1.2em;
		margin: 0 10px;
	}

	.home-hero { margin-bottom: 20px; position: relative;}
	.hero-text { 
		background-color: rgba(23, 124, 172, .59);	
		width: 100%; 
		padding: 20px 0; 
		position: absolute;
		bottom: 15px;
	}

	.hero-text h1 { 
		font-size: 3em; 
		line-height: 1em;
		color: #fff; 
		padding: 0 5%; 
	}

	div.body-hero-title h1 {
		font-size: 5em;
		color: #fff;
		padding-top: 5px;
		text-align: left;
	}

	.target-div {
		min-height: 400px;
	}
} 

/* min-width 1441px, xlarge screens */
@media only screen and (min-width: 90.063em) {
	.hero-text h1 { 
		padding: 0 17%; 
	}
} 