/* general page elements */
html, body {
	background-color: #E8E8E8;
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #373737;
}
#page {
	margin: 0 15%;
	background-color: white;
	min-height: calc(100vh - 160px - 52px - 35px);
	line-height: 25px;
	padding-bottom: 35px;
}
h1 {
	/* padding: 20px 10% 0px 10%; */
	padding: 20px 10% 0px 10%;
	margin: 0;
        line-height: normal;
}
h2 {
	padding: 20px 10% 0px 10%;
	margin: 0;
}
h3 {
	padding: 20px 10% 0px 10%;
	margin: 0;
}
ul {
	/* padding: 20px 12%; */
	padding: 10px 12%;
	margin: 0;
}
ol {
	padding: 10px 12%;
    margin: 0;
}
p {
	padding: 15px 10%;
	margin: 0;
}
table {
	padding: 20px 10% 0px 10%;
	margin: 0;
	border: 0px solid gray;
    border-collapse: collapse;
}
th, td {
	border: 0px solid gray;
	border-collapse: collapse;
}
img {
    /* padding: 15px 10%; */
    margin: 0 0 0 10%;
}
img.at{
	padding: 0;
	margin: 0;
}
pre {
	overflow: auto;
	padding: 15px 10%;
	margin: 0;
}

/* navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333A56;
  border-bottom: 3px solid gray;
}
.topnav a {
  float: right;
  display: block;
  color: white;
  text-align: center;
  padding: 16px 30px;
  text-decoration: none;
  font-size: 15px;
}
.topnav a:hover {
  background-color: #111;
  color: white;
  text-decoration: underline;
}
.active {
  background-color: #52658F;
  color: white;
}
.topnav .icon {
  display: none;
}
#logotext {
  float: left;
  padding: 0;
  margin: 0 0 0 10px;
  font-size: 40px;
}
#logotext:hover {
  color: white;
  background-color: #333A56;
  text-decoration: none;
}
#logo {
	padding: 0;
	margin: 6px 5px 0 0;
	height: 37px;
	float: left;
}
#sdm {
	margin: 3px 0 0 0;
	float: left;
}

/* the footer */
footer {
	background-color: #52658F;
	color: white;
	height: 160px;
	position: sticky;
	width: 100%;
	margin: 0;
	padding: 0;
}
footer h3 {
	text-align: left;
	margin: 14px 0 0;
	padding: 0 0 10px;
	font-size: 16px;
}
footer a {
	text-decoration: none;
	color: white;
}
footer a:hover {
	text-decoration: underline;
}
footer div {
	float: left;
}
/* the first section of the footer -  contact */
div.contact {
	margin-left: 15%;
	margin-right: 5%;
	margin-top: 10px;
	font-size: 12px;
	padding: 0;
	width: 120;
}
/* the middle section of the footer - footimg */
div.footimg {
	position: relative;
	top: 10px;
	border-left: 3px solid white;
	border-right: 3px solid white;
	margin: 0;
	padding: 40px 5%;
	width: 15%;
	/*height: 140px; */
}
div.enclose {
	/* margin: 30px 0 0; */
	display: flex;
	justify-content: center;
	float: none;
}
div.a {
	margin: 10px 3% 0 0;
	padding: 0;
	width: 120;
	text-align: right;
	font-size: 14px;
	float: left;
}
div.b {
	width: 80;
	float: left;
}
.a a{
	margin: 0;
	padding: 0;
}
footer a img {
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	font-size: 14px;
}
#facebook {
	float: right;
}
/* the last section of the footer - links */
div.links {
	float: left;
	position: relative;
	top: 10px;
	margin: 45px 5%;
	padding: 0;
}
.links a {
	margin: 10px 0;
	padding: 0;
	font-size: 14px;
}

/* responsiveness of the header and footer */
.hidden, .showing {display: none;}
#space:hover{
	background-color: #333A56;
}
@media screen and (max-width: 625px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .hidden {display: none;}
  .showing {
  	display: block;
  	height: 50px;
  	float: none;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 860px) {
	div.contact {
		margin-left: 10%;
	}
	div.footimg {
		height: auto;
		border: none;
		margin: 0 auto;
		padding: 10px 0;
		display: flex;
		justify-content: center;
	}
	div.links {
		padding: 20px 0;
		text-align: center;
		margin: 30px 0 0;
		display: block;
	}
	#facebook {
		display: block;
		margin: 30px 0 0;
	}
	div.a {
		display: none;
	}
	div.enclose {
		margin: 0;
	}
}
@media screen and (max-width: 480px) {
	div.footimg {
		height: auto;
		border: none;
		margin: 0;
		width: 20%;
		padding: 10px 0;
		display: flex;
		justify-content: center;
	}
	div.links {
		width: 20%;
		padding: 20px 0;
		text-align: center;
		margin: 0;
	}
	div.contact {
		margin-left: 4%;
	}
	div.enclose {
		margin: 0;
	}
	#facebook {
		margin: 0;
	}
	#page {
		margin: 0;
    }
}
