/* This main css file contains the default rules and is geared toward the small/phone view */

* { box-sizing: border-box;}  /* This wildcard applies to all elements ensuring a box layout model */

body {
	font-size: 16px;
	font-family: "Bookman";
/* Declare the base font-family - from google font api or other */
}

header, nav, main, footer { /* the comma means apply the following CSS declarations to all of the listed elements */
/* Declare the maximum width and other main element rules to limit the stretch on wide views */
}

/* ---------------------------------------------------------*/
/* This is code to run the hamburger manu*/

.hamburger {
	display: block;
	position: absolute;
	top: 2.0rem;
	right: 1.25rem;
}

.navigation {
	list-style: none;
	padding-left: 0;
}

.navigation li {
	display: none;
}

/* When the responsive class is added to the unordered list on hamburger button click
placed in a media query in order to accomodate the toggle when in wider view*/
@media only screen and (max-width: 37.5em) {
	.navigation.responsive {
		position: relative;
	}

	.navigation.responsive li {
		background-color: #eee;
		display: block;
		width: 100%;
		margin: 2px 0;
		border: 1px solid #ddd;
	}

	.navigation.responsive li a {
		padding: 1rem;
		text-align: center;
		display: block;
		text-decoration:none;
	}

	.navigation.responsive li a:hover {
		background-color: #ddd;
	}

}

@media only screen and (min-width: 37.5em) {
	header,	nav {
		margin: 0 auto;
		max-width: 100%;
	}

	h1 {
		text-align: center;
	}

	.hamburger {
		display: none;
	}

	.navigation {
		background-color: #333;
		overflow: hidden;
		text-align: center;
	}

	.navigation li {
		display: inline-block;
		margin-left: .25rem;
	}

	.navigation a {
		display: block;
		color: #eee;
		padding: .5rem;
		text-align: center;
		text-decoration: none;
	}

	.navigation a:hover {
		color: #000;
		background-color: #777;
	}

}

/* End the hamburger menu code*/
/* ---------------------------------------------------------------*/


header {
	background-color: #1e2023;
}

header h1 {}

header img {
	width: 95%;
	display: block;
	margin: auto;
}

header .subheading {}

nav {
	background-color: #1e2023;
}

nav button {
	display: none;  /*Not needed at this time */
}

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 150px;
	background-color: #f1f1f1;
	border: 1px solid #555;
}

nav ul li {
	text-align: center;
	border-bottom: 1px solid #555;
	font-size:.7em;

}

nav ul li a {
	display: block;
	color: #000;
	padding: 8px 16px;
	text-decoration: none;
}

nav ul li.active a {
	background-color: #4CAF50;
}
li a:hover {
	background-color: #555;
	color: white;
}
body {

}
main {
	background-color: lightgrey;
}

main h2 {
	text-align: center;
	font-size: 4em;
}

main figure {
	margin: 0 0 .2rem 10%;
	float: left;
	/*width:100px; */
}

/*main figure img { width: 100%; }*/

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

.genInfo {
	display: inline;
	margin: 10px;
}

.highlow p{
	display:inline;
	margin: 5px;
}

.genInfo h3 {
	font-size: 2em;
}

.current {
	margin-left: 20%;
	margin-right: 20%;
}

.current h3 {
	float:right;
	margin-right: 20%;
}

.current img {

}

.conditions {
	clear:both;
	text-align: center;
}

section {
	text-align: center;
}

.forecast {
	display:none;
}

article {
	margin: 0 15px 0 15px;
}

article h3{
	margin:10px;
	border-top:2px solid black;
	font-size: 2em;
}

article p.town-article img {  /* This structure refers to img elements that are the posterity of paragraph elements within artcle elements */
width: 95%; /* fill the page in the small/phone view */
display: block;
margin:10px;
}

footer {
	background-color: #1e2023;
	color:white;

}
footer aside, p{
	margin-left: 15px;
}
footer>p {} /* This structure refers to p elements that are direct children of the footer element */

/* Other Class Selectors */
