﻿body {
font-family: sans-serif;
background: #fff;
margin: 0;
padding: 0;
line-height: 1.33rem;
}


header{
margin: auto;
background: #18342F;
}
header img {
display: block;
margin: auto;
}

main,nav {
max-width: 960px;
margin: auto;
padding: 20px;
}
nav {
color: #fff;
padding-top: 10px;
padding-bottom: 10px;
}
nav a:link, nav a:visited {
text-decoration: none;
}
header nav a:link,
header nav a:visited {
color: #fff;
}
nav a:hover {
}
footer {
display: flex;
flex-direction: column;
max-width: 960px;
margin: auto;
padding: 20px;
align-items: center;
justify-content: center;
}

img {
max-width: 100%;
}

nav ul {
display: flex;
padding: 0;
margin: 0;
}
nav li {
display: block;
padding: 0;
margin: 0;
}
nav a {
display: block;
padding: 0.5rem;
}

@media screen and (max-width:870px){
	footer li {
	display: block;
	margin: 0;
	padding: 0;
	}
	footer a {
	padding: 0.5rem;
	font-size: 1rem;
	}
}
@media screen and (min-width:871px){
	footer li {
	display: block;
	margin: 0;
	padding: 0;
	}
	footer a {
	padding: 1rem;
	}
}

footer ul {
display: flex;
margin: auto;
padding: 0;
}

blockquote {
	font-style: italic;
}

.l-grid {
display: flex;
flex-wrap: wrap;
}

@media screen and (max-width:870px){
	.by-3 > * {
	width: 280px;
	padding: 10px;
	}
	.by-2 > * {
	width: 420px;
	padding: 10px;
	}
}
@media screen and (min-width:871px){
	.by-3 > * {
	width: 280px;
	padding: 10px;
	}
	.by-2 > * {
	width: 420px;
	padding: 10px;
	}
}


h1,h2,h3{
font-family: "Merriweather", serif;
}

h2 {
margin-top: 2.6rem;
}

@media screen and (max-width:870px){
	h1 {
	font-size: 4.8rem;
	line-height: 5.4rem;
	}
	h2 {
	font-size: 4rem;
	line-height: 4.4rem;
	}
	h3 {
	font-size: 3.6rem;
	line-height: 3.9rem;
	}
	p, li, blockquote {
	font-size: 3rem;
	line-height: 3.75rem;
	}
}
@media screen and (min-width:871px){
	h1 {
	font-size: 2.8rem;
	line-height: 3.4rem;
	}
	h2 {
	font-size: 2rem;
	line-height: 2.4rem;
	}
	h3 {
	font-size: 1.6rem;
	line-height: 1.9rem;
	}
	p, li, blockquote {
	font-size: 1rem;
	line-height: 1.75rem;
	}
}



.photos img {
display: block;
padding: 1rem 0;
}

@media screen and (max-width:870px){
	.home-banner {
	position: top left;
	background:url(../images/site/banner-temp.jpg) top center/100% no-repeat;
	width:100%;
	height: 600px;
	display: flex;
	justify-content: center;
	align-items: center;
	}
	.home-banner h1 {
	color: #fff;
	text-align: center;
	font-family: "Merriweather", serif;
	font-size: 4rem;
	line-height: 2.6rem;
	}
}
@media screen and (min-width:871px){
	.home-banner {
	background:url(../images/site/banner-temp.jpg) top center/100% no-repeat;
	width:100%;
	height: 460px;
	display: flex;
	justify-content: center;
	align-items: center;
	}
	.home-banner h1 {
	color: #fff;
	text-align: center;
	font-family: "Merriweather", serif;
	font-size: 4rem;
	line-height: 4.6rem;
	text-shadow: rgba(0,0,0,0.5) 0px 2px 5px;
	}
}

.home-toc {
display: flex;
justify-content: space-evenly;
}

@media screen and (max-width:870px){
	.home-toc a {
	display: flex;
	height: 300px;
	width: 40%;
	text-align: center;
	color: #fff !important;
	justify-content: center;
	align-items: center;
	font-size: 3rem;
	line-height: 2.8rem;
	font-weight: bold;
	}
	#hikes-link {
		background: #fff url(../images/grass-teaser.jpg) center center no-repeat;
	}
	#resources-link {
		background: #fff url(../images/map-teaser.jpg) center center no-repeat;
	}
	#meetup-calendar-link {
		background: #fff url(../images/calendar-link-button.png) center center no-repeat;
	}
}
@media screen and (min-width:871px){
	.home-toc a {
	display: flex;
	width: 300px;
	height: 200px;
	text-align: center;
	color: #fff !important;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
	font-weight: bold;
	}
	#hikes-link {
		background: #fff url(../images/grass-teaser.jpg) center center no-repeat;
	}
	#resources-link {
		background: #fff url(../images/map-teaser.jpg) center center no-repeat;
	}
	#meetup-calendar-link {
		background: #fff url(../images/calendar-link-button.png) center center no-repeat;
}

@media screen and (max-width:870px){
	.home-intro {
	font-size: 2rem;
	line-height: 2.4rem;
	}
}
@media screen and (min-width:871px){
	.home-intro {
	font-size: 2rem;
	line-height: 2.4rem;
	}
}
.hike-teasers {
text-align: center;
}

.hike-stats-list td {
border-top: 1px solid #aaa;
padding: 0.5rem;
}
.hike-stats-list tbody tr:nth-child(even) td {
background: #eee;
}
.hike-stats-list th {
font-weight: bold;
padding: 0.5rem;
}
.hike-stats-list tr.heading td {
background: #999;
color: #fff;
font-weight: bold;
}
.hike-stats-list tr.average td {
font-weight: bold;
background: #CFE0DF !important;
}

@media screen and (max-width:870px){
	.hike-stats-list td {
	font-size: 1rem;
	}
}
@media screen and (min-width:871px){
}


a:link{
color: #1A538D;
}
a:visited{
color: #32837D;
}


.button {
display: block;
padding: 1rem;
font-size: 1.4rem;
background: #060;
color: #fff;
text-align: center;
border-radius: 8px;
max-width: 22rem;
margin: auto;
}
.button {
color: #F9E231 !important;
text-decoration: none;
}

.thumbnails {
display:flex;
flex-wrap:wrap;
max-width:100%;
}
.thumbnails a {
display: block;
padding:10px;
}
.thumbnails img {
max-width: 280px;
}
