
/* mobile only */
@media only screen and (max-width: 1000px) {
	.mainNav {
		font-family: PlantinMTStd-Regular, Georgia, serif;
		position: relative;
		overflow:hidden;
		max-height: 0;
		top: 0;
		left: 0;
		transition: max-height 0.5s ease;
		width: 100%;
	}

	.mainNav.open {
		max-height: 200px;
	}

	.topNav {
		position:relative;
		font-size: 1.2em;
		line-height: 1.4;
		left: 42%;
		top: 0;
	}

	.topNav li,
	.topNav li a {
		color: black;
		text-decoration: none;
	}
	
	.topNav li a {
		display: inline-block;
		border-bottom: 1px solid white;
		padding: 0;
		margin: 0;
	}
	
	.topNav li a:hover,
	.topNav li a.active {
		border-bottom: 1px solid black;
		text-decoration: none;
	}
	
	.burgerButton {
		display:block;
		position: absolute;
		width: 45px;
		height: 45px;
		right: 0;
		top: 0;
		cursor: pointer;
		padding: 0.7em 0.5em;
		z-index: 20;
		margin-left: -28px;
	}

	.burgerButton>span {
		display:block;
		width: 100%;
		height: 2px;
		background-color: black;
		margin-bottom: 7px;
		border-radius: 4px;
	}
	
	.burgerButton.active span:not(:first-child) {
		display:none;
	}

	.footerNav {
		text-align: right;
	}

	.jumpTopLink {
		padding: 1em 0 1em 1em;
	}

}


/* tablet & desktop */
@media only screen and (min-width: 1000px) {
	
	.burgerButton {
		display:none;
	}
	
	.mainNav {
		font-family: PlantinMTStd-Regular, Georgia, serif;
		position: absolute;
		left: 0;
		right: 0;
		margin: 0 auto;
		max-width: 1200px;
		width: 76vw;
		bottom: 0.3em;
		padding: 0 0.5em;
	}
	
	.topNav {
		width: 100%;
		display:table;
	}
	
	.topNav a {
		text-decoration: none;
		border-bottom: 1px solid white;
	}
	
	.topNav li a:hover,
	.topNav li a.active {
		border-bottom: 1px solid black;
		text-decoration: none;
	}
	
	.topNav li a {
		display:inline;
		padding: 0;
	}

	.topNav>li {
		display:table-cell;
		margin: 0;
		line-height: 1.8;
		vertical-align: top;
		cursor: default;
		text-align: center;
	}
	
	.topNav>li:first-of-type {
		text-align: left;
		width: 14%;
	}
	
	.topNav>li:last-of-type {
		text-align: right;
		width: 10%;
	}
	
	.topNav>li:nth-child(5) {
		width: 12%;
	}
}
