/* Adapted from Eric Meyer's Reset CSS */
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, 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 { list-style: decimal; }
ul { list-style: square; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
del { text-decoration: line-through; }
em { font-style: italic; }
strong { font-weight: bold; }
table { border-collapse: collapse; border-spacing: 0; }

a { text-decoration: none; }
a:link { color: #199EA7; }
a:visited { color: #077c85; }
a:hover { color: #3bbfc9; text-decoration: underline; }

body {
    margin: 0 auto; padding: 0 0 30px 0;
    text-align: center; color: #333;
    font: 0.86em/1.444 Arial, sans-serif;
    background: #adadad url(../images/layout/page_background.jpg) top left repeat; 
    }

h1, h2, h3, h4 { font-weight: bold; color: #333; }
h1 { font-size: 1.4em; color: #077c85; margin: 1.2em 0 1em 0; }
h2 { font-size: 1.2em; margin: 1em 0 .5em 0; }
h3 { font-size: 1.1em; color: #077c85; margin: .5em 0 .2em 0; }
h4 { font-size: .9em; margin: .5em 0 .2em 0; }
p, blockquote, 
th, td,
dt, dd, li { font-size: .9em; } 

p, table { margin: 0 0 1em 0; }
blockquote, ul, ol, dl { margin: 0 1.5em 1em 1.5em; }
ul, ol { padding-left: .6em; }

table { margin: 1em 0; width: 90%; }
th, td { padding: .5em .5em 1em .5em; text-align: left; vertical-align: top; }
th { border-bottom: 1px solid #cdcdcd; }
td.state { font-weight: bold; }
    
#wrapper {
	width: 90%;
	min-width: 760px;
	max-width: 1005px;
	position: relative;
	margin: 28px auto;
	padding: 0;
	text-align: left;
	background: #fff url(../images/layout/sidebar.jpg) repeat-y top left;
	border-bottom: 10px solid #199EA7;
}

#header { background: #fff url(../images/slice.jpg) top left repeat-x; margin: 0; padding: 0; height: 183px; }
#header .sp { margin: 0; padding: 0; height: 183px; }
#header img {
	display: block;
	float: left;
	margin: 0;
	padding: 40px 0 0 0;
}

#main_nav ul { float: left; width: 100%; background: #fff; margin: 0; padding: 0; 
    border-top: 1px solid #199EA7; border-bottom: 1px solid #199EA7; }
#main_nav li { display: inline; list-style: none; font-size: 1em; padding: 0; }
#main_nav span { 
    float: left; width: 268px; padding: .2em 0; margin: 0 auto; 
    text-align: center; background: #199EA7; color: #fff; 
    }
#main_nav a { padding: .2em .8em; margin: 0 .2em 0 0; text-decoration: none; display: block; float: left; }
#main_nav a:link, #main_nav a:visited { color: #199EA7; }
#main_nav a:hover { background: #199EA7; color: #fff; text-decoration: none; }
#mn_home a { margin-left: .5em; }

/* Dark Blue background for active page on main nav. Make sure to declare body IDs */
body#home #mn_home a:link, body#home #mn_home a:visited, body#home #mn_home a:hover,
body#about #mn_about a:link, body#about #mn_about a:visited, body#about #mn_about a:hover,
body#services #mn_services a:link, body#services #mn_services a:visited, body#services #mn_services a:hover,
body#clients #mn_clients a:link, body#clients #mn_clients a:visited, body#clients #mn_clients a:hover,
body#links #mn_links a:link, body#links #mn_links a:visited, body#links #mn_links a:hover,
body#contact #mn_contact a:link, body#contact #mn_contact a:visited, body#contact #mn_contact a:hover {
    background: #199EA7; color: #fff; 
    }

#sidebar { float: left; width: 268px; clear: left; padding-bottom: 70px; }

/* sidebar */
img#amtest { display: block; margin: 9px auto; text-align: center; }


#sub_nav {
	float: right;
	padding-bottom: 4px;
	margin: 30px 0;
	width: 240px;
	background: url(../images/layout/nav_sidebar_bottom.gif) bottom right no-repeat;
}
#sub_nav div { 
    padding-top: 4px;
    background: url(../images/layout/nav_sidebar_top.gif) top right no-repeat; }
#sub_nav h4 { 
    margin: 0; padding: 0 0 .4em 0; line-height: 1; font-size: 1em; color: #006599; }
#sub_nav ul { 
    margin: 0; padding: .4em; list-style: none;
    background: url(../images/layout/nav_sidebar_fill.gif) top right repeat-y; }
#sub_nav li { height: 1%; }
#sub_nav a { display: block; padding: .2em .4em; }
#sub_nav a:link, #sub_nav a:visited { color: #199EA7; }
#sub_nav a:hover { color: #3bbfc9; }

/* contact info */

#general_info { position: absolute; bottom: 0; left: 0; width: 268px; text-align: left; }
#general_info ul { margin: 0; padding: .8em 0 0 0; list-style: none; }
#general_info li, #general_info p { padding: .1em 1.2em; }
#general_info li { color: #006599; }
#general_info p { color: #fff; font-size: .8em; }

p.clear { clear: both; margin: 0; padding: 0; font-size: 1px; height: 10px; line-height: 1; }

/* content */
#content { margin-left: 303px; padding: 35px 35px 35px 0; }
div.sp { padding: 35px; }
#content a { font-weight:  bold; }

.paginate { margin: 1em 0; padding: .2em; text-align: right; }
.paginate span { float: left; }

.req { color: red; }
.notice { border: 1px solid #666; margin: .5em 1em 1em 1em; padding: .5em; color: red; }

.tiny_clear { clear: both; margin: 0; padding: 0; height: 1px; overflow: hidden; line-height: 1px; }
.sub_info {  padding-top: .5em; }
.top { text-align: right; margin: 2em .4em .2em .4em; padding: 0; clear: both; }
#content .top a { font-weight: normal; }