/*DEFAULT RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}

/*MAIN*/
body { 
	font-size: 1.5em;
	line-height: 1.25em;
	font-family: Comic Sans Ms;
	background: #f9f9f9; /*cplor of page background-not header area (below)*/
	color: black; /*regular font color on webpage*/
}

b{
	color:red;
}

/*link controls*/
a {
	color: Orange;
	text-decoration: none;
	font-weight: bold;
}

/*link hover control-when mouse goes over link*/
a:hover {
	color: red;
}

.main_img {
	width: 50%; /*percentage of page*/
	border:3px solid yellow;
}

/*control for top of page where links are*/
header {
	background: Red; /*color of link AREA on top of page*/
	width: 100%;
	height: 76px;
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 4px solid pink;
	z-index: 100;
}

nav {

	float: right;
	padding: 20px;	
	
}

/*don't mess with this-displays the menu icon when in mobile mode*/
#menu-icon {

	display: hidden;
	width: 40px;
	height: 40px;
	background: blue url(../images/menu-icon.png) center;

}

a:hover#menu-icon {
	background-color: gray;
	border-radius: 4px 4px 0 0;
}

ul {
	list-style: none;
}

li {
	display: inline-block;
	float: left;
	padding: 10px
}


section {
	margin: 80px auto 40px;
	max-width: 980px;
	position: relative;
	padding: 20px;
}

h1 {
	font-size: 2em;
	color: #2262AD;
	line-height: 1.15em;
	/*margin: 20px 0;*/
}

p {
	line-height: 1.45em;
	margin-bottom: 20px;
}


tr{
	height:2em;
	text-align:right;
}

td{
	font-size:1.25em;
	text-align:right; 
	vertical-align:top;
	}


/*MEDIA QUERY*/
@media only screen and (max-width : 640px) {

	header {
		position: fixed;
	}

	#menu-icon {
		display:inline-block;
	}

	/*color of link AREA in mobile mode*/
	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 20px;
		background: gray;
		border: 2px solid blue;
		right: 20px;
		top: 60px;
		width: 35%;
		border-radius: 4px 0 4px 4px;

	}

	nav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}

	nav:hover ul {

		display: block;

	}
}