html {
        height: 100%;
}

body {
        color: #000;
        background: #005e8a url('../i/background.jpg') repeat-y center;
        text-align: center;
        height: 100%;
        font: .9em Verdana, arial, sans-serif;
}

/* background hack IE 6/7

* html body {
        background: #005e8a url('../i/background_ie.jpg') repeat-y center;
}

*:first-child+html body {
        background: #005e8a url('../i/background_ie.jpg') repeat-y center;
}
*/

/* end background hack IE 6/7 */

p {
        margin: 5px 0 25px 0;
}

p2 {
        margin: 5px 0 25px 0;
        font-size: 80%;
}

br.clear {
        clear: both;
}

a {
        color: #0f608d;
}

a:hover {
        color: #93c9ce;
}

a:active {
        color: #0f608d;
}

a:visited {
        color: #0f608d;
}

h1 {
        font-size: 120%;
        margin: 5px 0 25px 0;
}

h2 {
        font-size: 110%;
        margin: 5px 0 25px 0;
}

h3 {
        font-size: 90%;
        margin: 5px 0 5px 0;
}

/* home logo link */

#brand {
        left: 65px;
        height: 113px;
        position: absolute;
        white-space: nowrap;
        width: 322px;
}

#brand div {
        float: left;
}

#brand a {
        display: block;
        width: 322px;
        text-decoration: none;
        font-size: 16px;
}

#brand a span {
        display: none;
}

#brand a:focus, #brand a:active {
        border: 0;
}

#brandLink {
        width: 324px;
        height: 134px;
}

#brandLink a {
        width: 322px;
        height: 113px;
}

#brandLink a:hover {
        width: 324px;
        height: 134px;
        background-image: url("../i/apsXchange_logo_glow.gif");
        background-repeat: no-repeat;
}

/* END home logo link */

#contain {
        width: 904px;
        margin-left: auto;
        margin-right: auto;
}

#main {
        text-align: left;
        width: 904px;
}

#header {
        font-size: 16px;
        height: 134px;
/*        width: 904px; */
        background: url('../i/header.jpg') no-repeat center;
        position: relative;
}

#header_menu {
        padding-left: 404px;
        width: 500px;
        padding-top: 57px;
}

#header_menu_items {
        text-align: right;
        padding-right: 60px;
}

#header_menu_items ul li {
        list-style: none;
        display: inline;
}

#header_menu_items ul li a {
        color: #fff;
        font-weight: bold;
        padding: 5px 8px;
}

#header_menu_items ul li a:link, #header_menu_items ul li a:visited {
        color: #fff;
}

#header_menu_items ul li a:hover {
        color: #fff;
        background-color: #ffc423;
}

#header_menu_items ul li a:active {
        color: #fff;
}


#header_menu_textsize {
        text-align: right;
        padding-right: 65px;
}

/* My Comment */

#header_menu_textsize a:hover {
        cursor: pointer;
}

#top_nav {
/*        margin-left: 72px; */
}
#submenu {
        font-size: 16px;
        width: 774px;
        font-weight: bold;
        color: #000;
        margin: 0 auto;
}

#submenu span {
        margin-left: 65px;
}

#submenu ul li {
        float: right;
        padding-left: 30px;
        padding-top: 7px;
        padding-bottom: 7px;
        white-space: nowrap;
}

#submenu ul li.welcome {
        background: none;
        float: left;
        padding-left: 0;
        color: #007dc3;
}

/* MJS comment out for now 8/14/2009 */
#submenu ul li a {
        color: #fff;
}

#submenu ul li a:link {
        color: #fff;
}
/**/
#submenu ul li a:visited {
        color: #fff;
}

#submenu ul li a:hover {
        color: #00517f;
        border-bottom: 2px solid #ffc423;
        padding-bottom: 1px;
}

#submenu ul li a:active {
        color: #fff;
}

#content {
        text-align: left;
        width: 774px;
        background: #fff;
        margin: 15px 65px;
        padding: 0;
        overflow: auto;
        border-left: 1px solid #b3b6bb;
        border-right: 1px solid #b3b6bb;
}

#content_narrow {
        text-align: left;
        width: auto;
        background: #fff;
        padding: 0;
        overflow: auto;
        margin: 15px;
        margin-left: 70px;
        margin-right: 60px;
        border-left: 1px solid #b3b6bb;
        border-right: 1px solid #b3b6bb;
}

#content_cols {
        text-align: left;
        width: auto;
        background: none;
        padding: 0;
        overflow: auto;
        margin: 15px;
        margin-left: 70px;
        margin-right: 60px;
        border: 0;
}

#content_cols td.spacer {
        width: 30px;
}

#content_left {
        text-align: left;
        margin: 0;
        padding: 0;
        width: 235px;
}

#content_left_home {
        text-align: left;
        margin: 0;
        padding: 0;
        width: 205px;
        background: #fff;
}

#content_left div.content_body, #content_left_home div.content_body {
        overflow: hidden;
        background: #fff;
        border-left: 1px solid #b3b6bb;
        border-right: 1px solid #b3b6bb;
}

#content_left_home div.content_body {
        padding: 0;
}

#content_left div.content_top, #content_left_home div.content_top {
        border-left: 1px solid #b3b6bb;
        border-right: 1px solid #b3b6bb;
        border-top: 1px solid #b3b6bb;
}

#content_left div.content_bot, #content_left_home div.content_bot {
        border-left: 1px solid #b3b6bb;
        border-right: 1px solid #b3b6bb;
        border-bottom: 1px solid #b3b6bb;
}

.content_body_leftcol {
        background: #fff;
        border-left: 1px solid #b3b6bb;
        border-right: 1px solid #b3b6bb;
}

#content_right {
        text-align: left;
        width: 505px;
        background: #cbd9ee;
        float: right;
        margin: 0;
        padding: 0;
        overflow: auto;
        border-top: 2px solid #ffc425;
        border-bottom: 2px solid #ffc425;
}

#content_right_home {
        text-align: left;
        width: 535px;
        background: #cbd9ee;
        float: right;
        margin: 0;
        padding: 0;
        overflow: auto;
        border-top: 2px solid #ffc425;
        border-bottom: 2px solid #ffc425;
}

.content_body {
        padding: 0 25px 0 25px;
        overflow: hidden;
}

.content_top {
        background: url('../i/content_top.gif') repeat-x;
        font-size: 3px;
        height: 13px;
}

.content_bot {
        background: url('../i/content_bot.gif') repeat-x;
        font-size: 3px;
        height: 13px;
}

.content_head {
        margin-left: 50px;
}

.content_body table {
        font-size: 80%;
}

.content_body table tr td input.form {
        width: 220px;
}

.content_body table tr td textarea.form {
        width: 220px;
}

.content_photo_home {
        float: right;
        margin-right: -25px;
}

.login_form {
        text-align: center;
}

.login_form form table {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        background-color: #e3e4e5;
        padding: 10px;
        font: 80% Arial, Helvetica, Verdanda, sans-serif;
}

.login_form form {
        padding: 10px;
}

.login_form label {
        font-weight: bold;
}

.contact_form {
        text-align: center;
}

.contact_form form table {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        background-color: #e3e4e5;
        padding: 10px;
        font: 80% Arial, Helvetica, Verdanda, sans-serif;
}

.contact_form form {
        padding: 10px;
}

.contact_form label {
        font-weight: bold;
}


input.button {
        color: #fff;
        font-weight: bold;
        background-color: #ffc423;
        border: none;
        font-size: 14px;
        margin: 0;
        padding: 3px 10px;
}

input.button:hover {
        background-color: #00517f;
        border: none;
        cursor: pointer;
}

.menu h1 {
        font-size: 90%;
        margin: 0;
        padding: 5px;
        background-color: #e0a125;
}

.menu ul {
        margin: 0;
        padding: 0;
}

.menu li {
        background: #c6d6ee;
        margin-bottom: 2px;
        padding: 5px;
        font-size: 90%;
}

.menu li:hover {
        background: #639bd3;
}

.menu li a {
        color: #222;
}

.menu li a:hover {
        color: #222;
}

.menu li a:active {
        color: #222;
}

.menu li a:visited {
        color: #222;
}

.matrix_menutop {
        text-align: center;
        color: #666;
        background: #c6d6ee;
        border-bottom: 3px solid #3682bd;
}

.matrix_menutop a {
        text-align: center;
        color: #666;
        margin-right: 5px;
        margin-left: 5px;
}

.matrix_menutop a:link {
        color: #666;
}

.matrix_menutop a:visited {
        color: #000;
        background: #97b8e1;
}

.matrix_menutop a:hover {
        color: #fff;
        background: #639bd3;
        border-bottom: 3px solid #ffc423;
}

.matrix_menutop a:active {
        color: #666;
        background: #639bd3;
}

.matrix_menubot {
        text-align: center;
        color: #666;
        background: #c6d6ee;
        border-top: 3px solid #3682bd;
}

.matrix_menubot a {
        text-align: center;
        color: #666;
}

.matrix_menubot a:hover {
        color: #ffffff;
        background: #639bd3;
}

.matrix_menubot a:active {
        color: #666;
        background: #639bd3;
}

.matrix_menubot a:visited {
        color: #000;
        background: #97b8e1;
}

.tritary_menu h1 {
        font-size: 90%;
        margin: 0;
}

.tritary_menu ul {
        margin: 0;
        padding: 0;
}

.tritary_menu li {
        background: #b6c5dc;
        margin-bottom: 2px;
        font-size: 90%;
}

.tritary_menu li:hover {
        background: #639bd3;
}

.tritary_menu li a {
        color: #222;
}

.tritary_menu li a:hover {
        color: #222;
}

.tritary_menu li a:active {
        color: #222;
}

.tritary_menu li a:visited {
        color: #222;
}

#content table.grid {
        border-spacing: 0 3px;
        font-size: 100%;
}

#content table.grid tr th {
        font-size: 90%;
        text-align: left;
}

#content table.grid tr td {
        font-size: 90%;
        text-align: left;
        padding: 3px;
        border-left: 1px solid #3682bd;
}

/* Table Titles */

#content table.grid tr td.r {
        text-align: center;
        color: #000;
        padding: 0px;
        border-left: 1px solid #3682bd;
        background: #c6d6ee;
        font: bold 70% Arial, Helvetica, Verdanda, sans-serif;
}

#content table.grid tr td.r1c1 {
        background: #629bd3;
}

#content table.grid tr td.r1c2 {
        background: #97b8e1;
}

#content table.grid tr td.r2c1 {
        background: #9fbde3;
}

#content table.grid tr td.r2c2 {
        background: #c6d6ee;
}

#content table.grid tr td input {
        border: 1px solid #000;
        background: #fff;
        -moz-border-radius: 5px;
}

#footer div {
        padding: 0 65px 5px;
        color: #222;
        font-size: 80%;
        position: relative;
}

#footer div span.left {
        float: left;
}

#footer div span.right {
        float: right;
}

#footer div img.people {
        position: absolute;
        right: 1px;
        bottom: 0px;
        z-index: 100;
}

#footer a {
        color: #222;
}

#footer a:hover {
        color: #222;
}

#footer a:active {
        color: #222;
}

#footer a:visited {
        color: #222;
}

ul.body li {
        background-image: url('../i/blue_bullet.gif');
        background-repeat: no-repeat;
        padding-left: 15px;
        background-position: 0 .3em;
}

.view_subs {
        font-size: 120%;
}
