/*
BASE (MOBILE) SCREENS
These base styles apply to all screen sizes, but may be overridden on larger screns by the media query-driven styles that appear later in this file.
*/

#nav {
	border-top: 2px solid white;
	border-bottom: 2px solid white;
	background-color: #215B24; /* green */
}

#navbar {
	width: 320px;
	margin-left: auto;
	margin-right: auto;
}

#navbar a {
	float: left;
	display: block;
	width: 152px;
	padding: 6px 12px;
	margin-left: 4px;
	margin-right: 4px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 15px;
	font-weight: normal;
	color: #CBC9B2; /* recessive green */
	text-decoration: none;
	text-align: center; 
	border-bottom: 1px dotted #CBC9B2; /* recessive green */
}

#navbar a:nth-child(n+5) {
	border-bottom: 0;
}

/* Style the navbar buttons on mouse-over */
#navbar a:hover {
	color: white;
}

/* Style the current/active navbar button */
#navbar a.current {
	color: white;
}



/*
PHONES in LANDSCAPE ORIENTATION
*/
@media only screen and (min-width: 500px) {

#navbar {
	width: 483px;
	margin-left: auto;
	margin-right: auto;
}

#navbar a {
	width: 153px;
}

#navbar a:nth-child(n+4) {
	border-bottom: 0;
}

}



/*
TABLETS in PORTRAIT ORIENTATION
*/
@media only screen and (min-width: 700px) {

#navbar-outer {
	padding-top: 5px;
	padding-bottom: 5px;
}

#navbar {
	width: 100%;
}


/* Navigation links */

#navbar a {
	float: left;
	width: 16.667%; /* Six equal-width buttons. If you change the number of buttons, adjust this  */
	margin: 0;
	padding: 4px 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 15px;
	text-align: center; /* If you want the text to be centered */
	border-right: 2px solid white;
	border-bottom: 0;
}

#navbar a:last-child {
	border-right: 0;
}

} 




/*
TABLETS in LANDSCAPE & SMALLER LAPTOPS
This is the first appearance of the "desktop layout"
*/
@media only screen and (min-width: 964px) {

#navbar-outer {
	border-left: 2px solid white;
	border-right: 2px solid white;
}

}