@charset "utf-8";

/* This contains all the pages and the menu. */
.pagesContainer{
	margin: 0px auto;
	text-align: center;
}
@media screen and (max-width: 500px){
	.pagesContainer{
		position: relative;
	}
}


/* This contains individual pages. */
.page{
	display: none;
	margin: 0px auto;
	max-width: 90%;
	text-align: left;
	overflow: hidden;
	animation: horizontalPageLoad 0.4s;
}
@media screen and (max-width: 500px){
	.page{
		padding-top: 20px;
		max-width: 95%;
	}
}
@keyframes horizontalPageLoad{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

/* This contains the menu. */
.pageMenu{
	z-index: 10;
	display: block;
	margin: 0px auto;
	padding-bottom: 6px;
	background-color: #ffffff;
	text-align: center;
}
@media screen and (max-width: 500px){
	.pageMenu{
		display: none;
		max-width: 40%;
		min-width: 150px;
		border: 4px solid #d3d3d3;
		position: absolute;
		top: 0px;
		right: 0px;
		animation: animateHorizontalMenu 0.4s;
		overflow: visible;
	}
	@keyframes animateHorizontalMenu{
		from{
			top: -15px;
			opacity: 0;
		}
		to{
			opacity: 1;
		}
	}
}

/* These are the individual buttons in the navigation menu. */
.pageButton{
	display: inline-block;
	margin: 0px auto;
	padding: 0px 6px;
	font-size: 22px;
	font-family: 'Oswald', sans-serif;
	color: #233060;
	line-height: 1.5;
	border-right: 1px solid #;
	vertical-align: top;
}
@media screen and (max-width: 500px){
	.pageButton{
		display: block;
		margin: 0px;
		padding: 16px 5px 5px 5px;
		font-size: 16px;
		text-align: left;
		border-right: none;
		border-bottom: 1px solid #;
	}
}

/* This removes the right border on the last button. */
.pageButton:last-of-type{
	border: none;
}

.pageButton:hover{
	opacity: 0.7;
}

/* This is the button icon which opens the drop menu on narrow screens only. */
.horizontalMenuIconContainer{
	display: none;
	padding: 4px;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 7;
	font-size: 35px;
	color: #ffffff;
	line-height: .6;
	background-color: #696969;
	cursor: pointer;
}
@media screen and (max-width: 500px){
    .horizontalMenuIconContainer{
		display: block;
	}
}

.horizontalMenuIconContainer:hover{
	opacity: 0.7;
}

/* This is the page-wide transparent menu background. It is necessary so that clicking outside the menu, on this div, closes the drop menu.*/
#responsiveDropMenuBackground{
	z-index: 5; 
	width: 100%; 
	height: 100%; 
	position: fixed; 
	top: 0; 
	left: 0;
	overflow: scroll;
	display: none;
	background-color: rgba(48,48,48, .5);
}