img { vertical-align: middle; margin: 0 10px; }
a img { border: none; }

html { font: 12px/1.8 Verdana, Geneva, sans-serif; background: white; color: #454545; height: 100%; }
body { margin: 0; padding: 0; height: 100%; }

#container { min-height: 100%; position: relative; background: url(../images/right-bg.png) 50% top repeat-y; }
#header { width: 990px; margin: auto; position: relative; height: 100px; background: white; }
#logo { display: block; position: absolute; bottom: 21px; }
#toplinks, #toplinks li { margin: 0; padding: 0; }
#toplinks { list-style-type: none; position: absolute; bottom: 21px; left: 280px; right: 0px; overflow: hidden; }
#toplinks li { float: left; margin: 5px 0 0 20px; }
#w1 { width: 990px; margin: auto; padding-top: 1px; position: relative; }
#sidebar { position: absolute; top: 15px; right: 14px; background: #f5f4ef; width: 211px; padding: 1px 30px; }
#w2 { background: url(../images/divider-bg.png) repeat-x #eeece5; }
#w3 { width: 990px; margin: auto; background: url(../images/sidebar-top-bg.png) top right no-repeat; height: 33px; }
#page_intro { width: 690px; padding: 1px 300px 0 0; margin: auto; background: url(../images/sidebar-bg.png) top right repeat-y; line-height: 1.5; min-height: 56px; }
#content { width: 690px; min-height: 425px; padding: 0 300px 62px 0; margin: auto; }
#w4 { position: absolute; bottom: 0px; width: 100%; background: #f5f3ee; color: #9a9890; }
#footer { width: 690px; padding: 16px 300px 16px 0; height: 34px; background: url(../images/sidebar-bottom-bg.png) 701px 0px no-repeat; margin: auto; font: italic 11px/34px Verdana, Geneva, sans-serif; }

#sublinks { height: 30px; list-style-type: none; margin: 0; padding: 0; }
#sublinks li { float: left; margin: 0 0 0 10px; padding: 0; background: white url(../images/sub-tabs.png) left 0px no-repeat; }
#sublinks a { display: block; line-height: 30px; padding: 0 15px; background: #eeece5; } /* Overwrite the background on the LI */
#sublinks a.selected { background: url(../images/sub-tabs.png) right -30px no-repeat; } /* Don't overwrite the background on the LI*/

#sidebar a { color: #6b6b6b; }
#sidebar p.aff { margin: 11px 0; text-align: center; }

#toplinks a { color: #1594fe; font: 12px/14px 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; text-transform: uppercase; }
#sidebar { font: 12px/1.5 Verdana, Geneva, sans-serif; }
.breadcrumbs { font-size: 90%; margin: 5px 0; }
#sublinks a { font: 12px/30px Verdana, Geneva, sans-serif; }

.latest-news { margin-bottom: 25px; }

h1 { color: #6b6b6b; font-size: 200%; font-weight: normal; margin: 7px 0 5px; }
h2 { color: #5cbf31; font-size: 120%; margin: 0.5em 0 1em 0; }
h3 { font-size: 110%; margin: 0.5em 0 0.2em 0; }
h4 { font-size: 140%; font-weight: normal; margin-bottom: 12px; }

h2.news { color: black; border-bottom: 1px dashed #97947f; line-height: 1.2; }
h2.news * { margin-left: 1.5cm; font-size: 80%; }
.article a.back { float: right; }
.article h2 em { font-size: 80%; font-weight: normal; color: black; font-style: normal; }
table.news td { padding: 2px 8px; }

p { margin: 1em 0; }
a { color: #1594fe; text-decoration: none; }
a:hover { text-decoration: underline; }
hr { height: 2px; background-color: #bbb; color: #bbb; border: none; padding: 0; margin: 1em 0.5cm; clear: both; }

.inactive .active.offline { color: orange; }
.active { color: green; }
.inactive, .inactive.offline { color: red; }

fieldset { border: 1px solid #e4e4e4; margin-top: 10px; padding: 10px; }
legend { font-size: 120%; font-weight: bold; color: #333; }
.data-grid { border-collapse: collapse; width: 100%; }
.data-grid th { background-color: #666; color: #fff; text-align: center; padding: 3px; }
.data-grid td { padding: 3px; text-align: center; }
.data-grid .odd { background: #efefef; }
.data-grid .even { background: #ffffff; }


.hasscript .a .b, .hasscript .b .a { display: none; }
.formlayout th { text-align: right; padding-right: 8px; }
.formlayout td { text-align: left; }

.error, .req { color: red; }

.s-sidebar { padding-top: 80px !important; }
#sidebarmenu { list-style-type: none; padding: 0; margin: 0 0 0 0; }
