body {
  font-family: sans-serif;
  padding: 20px;
  display: table;
  margin-left:auto;
  margin-right:auto;
}

nav {
  display: table-cell;
  background: #dddddd;
  text-align: center;
  width: 120px;
  padding-top: 10px;
}

nav a {
  font-size: 12px;
  line-height: 2;
  display: block;
  text-decoration: none;
  text-align: left;
  padding-left: 10px;
}

nav a:hover {
  text-decoration: underline;
}

nav hr {
  background-color: #f5f5f5;
  width: 90%;
  margin: 0px;
  margin-left:auto;
  margin-right:auto;
}

article {
  display: table-cell;
  padding: 20px;
  overflow: auto;
  background: #F5F5F5;
  vertical-align: top;
  width: 800px;
}

h1 {
  text-align: center;
  font-size: 24pt;
  margin: 0px;
}

footer {
  display: table-row;
  overflow: auto;
  background: #dddddd;
  padding: 10px;
  text-align: center;
  height: 32px;
}

footer p {
	display: table-cell;
	vertical-align: middle;
}

.navhead {
  font-size: large;
  text-decoration: none;
  display: block;
  padding-bottom: 10px;
}

#logo {
  margin-left: auto;
  margin-right: auto;  
  width: 100px;
  height: 100px;
}

.notice{
	background-color: Gold;
	text-align: center;
}

article img{
	display: block;
	margin-left: auto;
	margin-right: auto 
}

article p { text-indent: 2em } 
ul {list-style: none;}
hr {background-color: #dddddd; border: 0;}

@media only screen and (max-width: 768px) {
	nav {
		display: table-row;
		text-align: left;
		width: 100%;
		height: 120px;
		padding-bottom: 10px;
	}
	
	nav hr {
		display: none;
	}
	
	nav a {
		display: inline;
		vertical-align: bottom;
		font-size: 18px;
		display: block;
	}
	
	.navhead {
		display: none;
	}
	
	#logo {
		padding-left: 20px;
		padding-right: 20px;
		vertical-align: middle;
		float: left;
	}
	footer p {
		display: inline;
	}
}
