a,a:visited {
	color: #00795f;
}

a.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

footer {
	margin-top: 3rem;
	background-color: #00795F;
}

footer section {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 1.25rem 5vmin 2rem;
}

footer section div {
	box-sizing: border-box;
	width: 100%;
	padding: 1.125rem;
}

footer section div img#tnb {
	width: 100%;
	max-width: 150px;
}

footer section div img#wsdot {
	width: 100%;
	max-width: 250px;
}

footer section div p {
	line-height: 1.85;
	color: #fff;
}

footer section div p:not(:last-of-type) {
	margin-bottom: 1.75rem;
}

footer section div p a,footer section div p a:visited {
	text-decoration: none;
	color: #fff;
}

h1 {
	margin: 0 0 1.5625rem 0;
	font: 900 1.9525rem "Lato",sans-serif;
	line-height: 1.66;
}

h1.green-bar {
	box-sizing: border-box;
    margin: 0;
    padding: 1.4125rem;
    text-align: center;
    font: 400 1.5rem "Lato",sans-serif;
	text-align: center;
	line-height: 1.66;
    color: #fff;
	background-color: #00795f;
}

h1 + a > img,h2 + a > img,h3 + a > img,h4 + a > img,h5 + a > img,
img + p,a + p,h1 + img,h2 + img,h3 + img,h4 + img,h5 + img {
	margin-top: 0.5rem;
}

h2 {
	margin: 2rem 0 1.4rem;
	font: 700 1.5625rem "Lato",sans-serif;
	line-height: 1.66;
}

h3 {
	margin: 2rem 0 1.125rem;
	font: 400 1.25rem "Lato",sans-serif;
	font-weight: 700;
	line-height: 1.66;
}

h4,h5 {
	margin: 2rem 0 1rem;
	font: 700 1rem "Lato",sans-serif;
	line-height: 1.66;
}

#hamburger {
	display: block;
	position: absolute;
	top: 14px;
	right: 8px;
	width: 33px;
	height: 26px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 0;
	background: url(../img/svg/hamburger.svg) no-repeat;
	background-size: auto 100%;
	-webkit-transition: background-image 0.25s ease;
	-moz-transition: background-image 0.25s ease;
	-o-transition: background-image 0.25s ease;
	-ms-transition: background-image 0.25s ease;
	transition: background-image 0.25s ease;
	border: none;
	z-index: 1005;
	cursor: pointer;
}

#hamburger.close {
	background: url(../img/svg/close-nav.svg) no-repeat;
	background-size: contain;
}

header {
	position: relative;
	height: 90px;
	transition-property: height;
	transition-duration: 0.25s;
	transition-timing-function: ease;
}

#header-background {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
    width: 100%;
	height: 90px;
	background-color: #fff;
	z-index: 1004;
}

/*#header-background.scrolling {
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
}*/

.hidden-text {
    text-indent: 150%;
    white-space: nowrap;
    overflow: hidden;
}

html,body {
	height: 100%;	
}

.image-link {
	border: none;
	outline: none;
}

#logo-link {
    display: inline-block;
	position: absolute;
    top: -2px;
	left: 6px;
    width: 60px;
    height: 60px;
    background: url(../img/svg/tacoma-narrows-bridge-history.svg) no-repeat;
    background-size: cover;
    text-indent: 150%;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1005;
}

main {
	padding-top: 90px;
}

main > h1 + section > p:first-child {
    margin-top: 2.5rem;
}

main img {
	max-width: 100%;
	margin: 1rem 0;
}

main ol,main ul {
	margin-bottom: 1.5rem;
	padding: 0 0 0 1.25rem;
	line-height: 1.66;
}

main > section img {
	border-radius: 0.25rem;
}

p,ol,ul {
	max-width: 920px;
	font: 400 1rem "Lato",sans-serif;
	line-height: 1.66;
	color: #222;
}

.photo-caption {
	margin: 0 0 1.5rem;
	font-size: 0.85rem;
	line-height: 1.66;
    color: #555;
}

section {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 5vmin;
}

section table caption {
	font-weight: 700;
}

#sticky-header {
	position: fixed;
	box-sizing: border-box;
    width: 100%;
	padding: 1.125rem 1rem 0;
	z-index: 1001;
}

#top-nav {
	position: absolute;
	top: -280px;
	left: -1rem;
	transition: top 0.5s;
	width: 100vw;
	background-color: #fff;
}

#top-nav.dropped {
	top: 45px;
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
}

#top-nav ul {
	margin: 0;
	padding: 5vmin 5vmin 0.5rem;
}

#top-nav ul li {
	display: none;
}

#top-nav.dropped ul li {
	display: block;
    border-bottom: 1px solid #d0d0d0;
}

#top-nav ul li:last-child {
	border: none;	
}

#top-nav ul li a {
	display: block;
	padding: 1.33rem;
	font: 400 1rem "Lato",sans-serif;
	text-decoration: none;
	color: #222;
}

@media (min-width: 695px) {
	footer section {
		justify-content: space-around;
		justify-content: space-evenly;
	}
}

@media (min-width: 750px) {
	body {
		background: url(../img/svg/waves.svg) bottom center no-repeat;
		background-attachment: fixed;
		background-size: 100% auto;
	}
	
	footer {
		margin-top: 4rem;
	}
	
	footer section div {
		width: auto;
	}
	
	footer section div:nth-child(3) {
		padding: 2.75rem 0 1rem;
		max-width: 400px;
	}
	
	footer section div img#tnb {
		max-width: 180px;
	}
}

@media (min-width: 800px) {
	a.anchor {
		top: -1.75rem;
	}
	
	h1.green-bar {
		padding: 2rem 0;
	}
	
	h1.green-bar span {
		display: block;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 5vmin;
		text-align: left;
	}
	
	#hamburger,#header-background {
		display: none;
	}
	
	header {
		height: 110px;
		max-width: 1200px;
		margin: 0 auto;
	}
	
	#logo-link {
		position: relative;
		top: 0;
		width: 90px;
		height: 90px;
	}
	
	main {
		padding-top: 0;
	}
	
	#sticky-header {
		position: relative;
	}
	
	#top-nav {
		display: inline-block;
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		margin-top: 1.125rem;
		vertical-align: top;
	}
	
	#top-nav ul {
		margin: 1rem 0 1rem 1rem;
		padding: 0 0 0 1.75rem;
	}
	
	#top-nav ul li {
		display: inline-block;
		margin-right: 2rem;
		border: none;
	}
	
	#top-nav ul li a {
		padding: 0;
		font: 400 1.25rem "Lato",sans-serif;
		text-decoration: none;
		color: #222;
	}
	
	#top-nav ul li a:hover {
		text-decoration: underline;
	}
}

@media (min-width: 1000px) {
	footer section div:nth-child(3) {
		max-width: 500px;
		padding: 2.75rem;
	}
}

@media (min-width: 1100px) {
	footer section div:nth-child(2) {
		padding: 1.25rem 0 1.25rem 3rem;
	}
}

@media (min-width: 1150px) {
	footer section {
		align-items: normal;
	}
	
	footer section div {
		padding: 1.5rem;
	}
	
	footer section div a:hover {
		text-decoration: underline;
	}
	
	footer section div:first-child {
		padding-left: 0;
	}
	
	#hamburger {
		right: 50px;
	}
}

@media (min-width:1300px) {
	section {
		padding: 0;
	}
}

@media (min-width: 1350px) {
	h1.green-bar {
		padding: 1.875rem 0;
		font-size: 2rem;
	}
	
	header {
		height: 140px;
	}
	
	#logo-link {
		position: relative;
		top: 0;
		width: 120px;
		height: 120px;
	}
	
	#top-nav {
    	margin-top: 2.125rem;
	}
}

@media (min-width: 1900px) {
	body {
		background: url(../img/svg/waves-large.svg) bottom center no-repeat;
		background-attachment: fixed;
		background-size: 100% auto;
	}
}