/* Style resets */
html, body, div, span, h1, h2, p, a, img, strong,
ol, ul, li, form, input, select, table, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	max-height: 999999px; /* stop mobile font boosting */
}
h1, h2, th, strong {
	font-weight: bold;
}
ol, ul {
	list-style: none;
}
img {
	display: block;
}
table {
	border-collapse: collapse;
}
input, select { /* equalize their sizes */
	ms-box-sizing: content-box;
	moz-box-sizing: content-box;
	webkit-box-sizing: content-box;
	box-sizing: content-box;
}

/* Universal styles */
#title {
	overflow: hidden;
	margin-bottom: 20px;
	border-bottom: 1px solid #3f5526;
	font-size: 22px;
}
#title p {
	float: right;
}
#title, a {
	color: #3f5526;
}
button, input, select, #popup {
	box-shadow: 1px 1px 2px #777;
}
button {
	width: auto !important;
	display: inline-block;
	padding: 3px 10px;
	border: none;
	border-radius: 10px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	background-color: #3f5526;
	color: white;
	cursor: pointer;
}
button:disabled {
	background-color: #d9ddd4;
	color: #888;
	cursor: default;
}
.btn {
	margin: 25px 20px 15px 0;
}
input, select, #popup {
	border: 1px solid #aaa;
}
input, select {
	padding: 2px 2px 2px 5px;
	margin-left: 2px;
	height: 20px;
}
#error {
	margin-top: 20px;
	font-size: 18px;
	color: red;
}
#clear {
	height: 10px;
	clear: both;
}

/* Main Frame styles */
html, body {
	height: 100%;
	background-color: black;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
}
#wrapper, #footer {
	width: 888px;
	margin: 0 auto;	
	background-color: white;
}
#wrapper { /* place copyright at bottom */
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin-bottom: -14px;
}
#push {
	height: 14px;
}
#footer {
	text-align: center;
	font-size: 10px;
}
#links {
	overflow: hidden;
	padding: 10px 64px 10px 0;
}
#links ul {
	float: right;
}
#links li {
	display: inline;
}
#links a {
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 14px;
	color: black;
}
#links span {
	font-size: 16px;
	margin: 0 8px;
}
#banner {
	padding: 4px 0 4px 57px;
	background-color: #3f5526;
}
#page {
	padding: 40px 64px 0;	
	font-size: 16px;
	line-height: normal;
}

/* Home Page styles */
#intro, #quick {
	font-family: "Times New Roman", Times, serif;
}
#intro, #steps {
	float: right;
	width: 465px;	
}
#intro {
	font-size: 21px;
}
#quick {
	font-size: 18px;
	width: 256px;
}
#steps {
	padding: 6px 0;
	border-radius: 10px;
	box-shadow: 2px 2px 2px #777;
	background-color: #fff7d5;
}
#steps li {
	margin: 8px 14px;
}
#steps h1 {
	margin: 12px 0;
	font-size: 20px;
	text-align: center;
}
#quick h2 {
	margin: 10px 0;
	font-size: 20px;
}
.spacer {
	height: 32px;
	clear: both;
}

/* Contact page styles */
#contact p {
	margin-bottom: 20px;
}
#contact img {
	display: inline;
	white-space: nowrap;
	vertical-align: -4px;
}

/* Apply page styles */
#app1, #app2 {
	text-align: right;
	float: left;
}
#apply, #app2 select {
	margin-bottom: 25px;
}
#app1 input,  #app2 input {
	margin-bottom: 10px;
}
#app1 input {
	width: 250px;
	margin-right: 45px;
}
#app2 input,  #app2 select {
	width: 150px;
}

/* Login page styles */
#login {
	margin-bottom: 30px;
}
#logform input {
	margin-right: 25px;
}
#logem {
	width: 320px;
}
#logln {
	width: 110px;
}

/* My Account page styles */
.account {
	width: 550px;
	border-right: 1px solid #777;
	padding-right: 25px;
}
.account h2 {
	font-size: 18px;
	font-style: italic;
}
.accbar {
	padding: 8px 0;
	border-bottom: 1px solid #3f5526;
	margin-bottom: 12px;
	clear: both;
	font-size: 18px;
	text-align: right;
	color: red;
}
.accform {
	float: right;
	text-align: right;
}
.accform input, .accform p {
	margin-bottom: 8px;
}
.accform input {
	width: 90px;
}
.accform, button {
	margin: 5px 0 0;
}

/* My Account popup styles */
#dim, #popup {
	display: none;
	position: fixed;
	background: white;
}
#dim {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: .8;
}
#popup {
	width: 550px;
}
#popup p, #pop5 {
	padding: 10px;
}
#pop1 {
	background: #3f5526;
	font-size: 20px;
	color: white;
	font-weight: bold;
}
#pop3 {
	vertical-align: middle;
	box-shadow: none;
}
#pop4 {
	margin-left: 10px;
}
#pop5 {
	text-align: right;
}
#pop6 {
	margin-right: 25px;
}

/* Statement page styles */
.sthead {
	margin-top: 30px;
	margin-bottom: 5px;
	font-style: italic;
}
.stdate, .stname, .stcode, .stpos, .stneg {
	border: 1px solid #777;
	padding: 3px 8px;
	font-size: 15px;
	overflow: hidden;
	white-space: nowrap;
}
.stdate {
	text-align: center;
}
.stname, .stcode {
	text-align: left;
}
.stname {
	max-width: 200px; /* cut off long text */
	width: auto !important;
	width: 200px;
}
.stpos, .stneg {
	text-align: right;
}
.stpos {
	padding-right: 10px;
}
.stneg {
	padding-right: 5px;
}

/* Sent page styles */
#sent p {
	margin-bottom: 10px;
}