/* Default Styles */

* {
	margin: 0px;
	padding: 0px;
}

header, figure, hgroup, footer, article, nav, section {
	display: block;
}

/* Header styles */
header {
	position: relative;
	height: 150px;
	text-align: left;
}

header h2 {
	margin-left: 25px;
}

/* Nav settings */
nav {
	margin-top: 20px;
	background-color: #00AEEF;
	border-radius: 5px;
	color: black;
	height: 30px;
}

nav ul {
	height: 20px;
	list-style: none;
}

nav ul li {
	padding: 0px;
	float: left; 
	width: 20%; 
	line-height: 30px;
	height: 20px; 
}

nav ul li a {
	display: block; 
	text-align: center;
	width: 100%; 
	font-size: 1.3em; 
	text-decoration: none;
	color: black;
	font-weight: bold;
}

nav ul li:hover {
	text-shadow: 2px 2px #B1D56E;
}

/* body styles */

body {
    background-image: url(background.jpg);
    background-repeat: repeat;
	margin-left: 10px;
	width: 1010px
}

html, body {
	height: 100%;
} 

#main > h2 {
	color: #B1D56E;
	text-shadow: 1px 1px gray;
	padding: 5px;	
	font-weight: normal;
	text-align: center;
}

article {
	padding: 20px;
	border-style: solid;
	border-width: 2px;
	border-radius: 25px;
	border-color: #B1D56E;
	margin: 10px;
}

article h2 {
	text-shadow: 1px 1px gray;
	padding: 5px;
	color: black;
}

article h3 {
	color: gray;
	font-style: italic;
}

article p {
	padding: 5px;
	font-family: helvetica; sans-serif;
}

section {
	display: inline-block;
	float: left;
	width: 70%;
}

ol li {
	display: inline-block;
	margin-left: 20px;
}

/* right section for advertising */
aside {
	display: inline-block;
	text-align: center;
	width: 30%;
	float: left;
	padding-top: 30px;
	vertical-align: center;
}

/* footer */
footer {
	width: 100%;
	float: left;
	color: white;
	height: 40px;
	margin-top: 20px;
	background-color: #00AEEF;
	border-radius: 5px;
	color: black;
	padding: 10px;
}

footer ul {
	display: inline;
	list-style-type: none;
}

footer ul li {
	float: left;
	width: 20%;
	vertical-align: center;
}

footer ul li a {
	display: block; 
	text-align: center;
	width: 100%; 
	font-size: 1.3em; 
	text-decoration: none;
	color: black;
	font-weight: bold;
}

footer p {
	display: block;
	text-align: left;
	font-size: .8em;
	float: left;
	clear: left;
	padding-top: 5px;
	padding-left: 50px;
}

/*form settings */
#btnSubmit, #btnReset { 
	display: block; 
	float: left; 
	height: 40px;
	width: 20%;
	margin-left: 20px;
}

#lblReq
{
	font-style: italic;
	font-weight: bold;
	font-size: 0.9em;
}

fieldset > input:focus, select:focus, textarea:focus { 
	background-color: rgb(220, 255, 220);
}

fieldset > input:focus:valid { 
	background: rgb(220, 255, 220) url(./images/go.png) bottom right no-repeat;
	-o-background-size: contain; 
	-moz-background-size: contain; 
	-webkit-background-size: contain; 
	background-size: contain;
}

fieldset > input:focus:invalid { 
	background: rgb(255, 232, 233) url(./images/stop.png) bottom right no-repeat;
	-o-background-size: contain; 
	-moz-background-size: contain; 
	-webkit-background-size: contain; 
	background-size: contain;
}

textarea { 
	display: block; 
	font-size: 1em; 
	float: left; 
	height: 150px; 
	margin: 10px 0px; 
}

fieldset { 
	float: left; 
	padding: 20px;
	border-style: solid;
	border-width: 2px;
	border-radius: 25px;
	border-color: #B1D56E;
	margin: 10px;
	width: 100%;
}

Fieldset > legend {
	padding: 3px 0px;
	text-indent: 5px;
	width: 40%;
}

fieldset > label { 
	clear: left;
	display: block; 
	float: left; 
	font-size: 0.9em; 
	margin: 7px 4% 7px 5px; 
	width: 30%;
}

input, select, option, textarea { 
	display: block; 
	float: left; 
	font-size: 1em; 
	margin: 7px 0px; 
	width: 60%;
}

/* table properties */
table, th, td {
    border: 3px solid #B1D56E;
    border-collapse: collapse;
	padding: 3px;
}
th, td {
	width: 50%;
}
table {
	width: 100%;
	margin-top: 15px;
}

caption {
	font-weight: bold;
	font-size: 1.2em;
}

td {
	padding: 5px;
	padding-left: 15px;
}