body {

	padding: 0;

	font-size: 0.8em;

	line-height: 1.3em;

	font-family: Arial, Helvetica, Verdana, sans-serif;

	color: #000;

	margin: 60px 10px 10px 10px;

}

/* banner */
      #banner_home{
        display: flex;
        justify-content: space-between;
	margin: 20px;
      }
      #banner_home img{
        max-width: 100%;
	height: auto;
      }
      #banner_text{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
      }
      #bannertext1{
        grid-column: 1/3;
        grid-row: 1;
      }
      #bannertext2{
        grid-column: 2/4;
        grid-row: 2;
      }

#banner{
	display: flex;
	justify-content: space-between;
	margin: 20px;
}

#banner img{
 	max-width: 100%;
	height: auto;
}

#header {

	margin: 50px auto 10px;

	width: 750px;

	border: 1px solid #e9e9e9;

	border-radius: 8px;

	padding-top: 9px;

	box-sizing: border-box;

}



#header #container {

	border-bottom: 1px solid #e9e9e9;

	background: url(/images/layout/headbg.png) left top repeat-x #fff;

	display: flex;

	justify-content: space-between;
}


#logo {
	text-align:center;
	font-size: 1em;
	font-weight:bold;
}

/* nav */
.topnav ul {
	display: flex;
	justify-content: center;
	list-style: none;
}

.topnav ul li{
	border: 1px solid #e9e9e9;
	background-color: #f8f8f8;	
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding: 5px 15px;
}

.topnav.enclosed ul{
	border-bottom: 1px solid #e9e9e9;
}
	
#nav a, #nav-btn a{
	color: inherit;
	text-decoration: none;
}

.topnav ul #current, .topnav ul li:hover{
	background-color: #ba0000;
	border-color: #000;
	color: #fff;
}

#nav-btn{
	display: none;
	font-size: xx-large;
	line-height: 40px;
	margin-left: 5px;
}

/* body */
#content {

	width: 750px;

	margin: 10px auto 0 ;

	padding: 0.5em 1.2em;

	background: url(/images/layout/boxbg.png) left top repeat-x #fff;

	border: 1px solid #e9e9e9;

	border-radius: 8px;

	box-sizing: border-box;

}

/* form */
	.formgrid {
	display: grid;
	grid-template-columns: 1fr 4fr;
	max-width: 717px;
	gap: 10px;
	margin: 0 60px;
	}

	input {
	max-width: 150px;
	}

	.formgrid select{
	max-width: 100px;
	}

	.filetype{
	grid-column: 2/3;
	}

	.formbutton{
	width:8em;
	height:2em;
	font-size: medium;
	}

	#instructions{
	margin-left:60px;
	}

@media all and (max-width: 770px){
	#header {
	width: 100%;
	}

	#header #container {
	width: 100%; 
	}

	#header #container img{
	max-width: 100%; 
	height: auto;
	}

	#logo {
	font-size: 2vw;
	}

	#content{
	width: 100%;
	}
}

@media all and (max-width: 650px){
	#nav-btn {
	display: block;
	}
	.topnav ul {
	display:none;
	}
	.topnav.responsive ul {
	display: flex;
	flex-direction: column;
	font-size:2em;
	}
	.topnav ul li {
	padding: 20px 30px;
	}
	#search, form input {
	font-size: medium;
	}
	#leftsection1{
	margin: 2em 0;
	}
	#links{
	display: none;
	}

	.formgrid{
	display:flex;
	flex-direction:column;
	}

	#rightsection2 a, #rightsection3 a{
	font-size: 1.6em;
	}
	#rightsection3 a{
	line-height: 1.3em;
	}
	#rightsection2 li, #rightsection3 li{
	margin-bottom: 20px;
	}
}


/* topbar */
#topbar {

	position: absolute;

	top: 5px; left: 20px;

	width: 95%;

	font: small/1.0em Tahoma, Arial, Verdana, sans-serif;

	margin: 0; padding: 0;

	z-index: 2;

}


#topbar #search {

	float: left;

}


#topbar #links {

	float: right;

	margin-top: 3px;
}

#head_strip {

	position: absolute;

	left: 0; top: 0;

	z-index: 1;

	height: 40px;

	width: 100%;

	background: url(/images/layout/bg_strip.png) left top repeat-x;

}

/* copyright */
#copyright {

	position: relative;

	clear: both;

	margin: 0;

	width: 300px;

	font-style: italic;

	font-size: 0.7em;

	border-top: 1px solid #333;

}

/* homesections */
.homesections {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#leftsection1{
	color: #c00;
	font-weight: bold;
	font-size: large;
}

#leftsection1 img, #leftsection2 img, #rightsection1 img{
	max-width: 100%;
	height: auto;
}

#midsection{
	font-size:1.2em
}

#rightsection2 ul{
	list-style: none;
	text-align: center;
}

#rightsection3 ul{
	list-style: none;
	text-align: center;
}
