/* Layout */
html, body { margin: 0; padding: 0; }
img { border: none; }
img, select, input, textarea, iframe { vertical-align: top; }

#w1 { width: 980px; margin: 6px auto 0; background: #fff; }
#nav { float: left; width: 204px; margin: 0 0 0 -242px; padding: 0; list-style-type: none; }
#content { padding: 1px 15px 1px 259px; }

/* Styling */
body { font: small Verdana, Geneva, sans-serif; background: url(../images/main-gradient.png) #5383b2 left top repeat-x; }
#content { background: url(../images/nav-bg.png) 4px 0px repeat-y; }
#footer { font-size: x-small; background: url(../images/bottom-bg.png) #5383b2 left top no-repeat; color: #abc5df; text-align: right; padding: 20px 15px; }
#footer a { color: #abc5df; text-decoration: none; }
#footer a:hover { text-decoration: underline; }

h1 { color: #4c6e97; font: 140% Arial, Helvetica, sans-serif; margin: 0.8em 0; }
h2 { color: #4c6e97; font: 130% Arial, Helvetica, sans-serif; margin: 0.8em 0; }
h3 { color: #4c6e97; font: 120% Arial, Helvetica, sans-serif; margin: 0.8em 0; }
h4 { color: #4c6e97; font: 110% Arial, Helvetica, sans-serif; margin: 0.8em 0; }
h5 { color: #4c6e97; font: 100% Arial, Helvetica, sans-serif; margin: 0.8em 0; }
h6 { color: #4c6e97; font:  90% Arial, Helvetica, sans-serif; margin: 0.8em 0; }

#nav li { border-top: 1px dotted #bebebe; padding: 6px 0; }
#nav li.first { border-top: none; }
#nav a { color: #646464; font: 95%/1.2 "Trebuchet MS", Helvetica, sans-serif; text-decoration: none; }
#nav a:hover { text-decoration: underline; }
#nav li.selected { text-indent: 20px; background: url(../images/marker.png) 0px 7px no-repeat; }
#nav li.selected a { color: #255193; font-weight: bold; }
#nav li.selected a:hover { text-decoration: none; }

table { border-collapse: collapse; font-size: 85%; }
th { background: #3c6d9e; color: white; font-weight: bold; padding: 10px 20px; }
tr.odd { background: #efefef; }
tr.even { background: #e3e3e3; }
tr.odd td, tr.even td { padding: 10px 20px; color: #525252; border-top: 1px solid white; }

/* Rounded corners on the tables are applied if the right clasess are present */
th.tl { background: url(../images/table-th-top-left.png) #3c6d9e top left no-repeat; }
th.tr { background: url(../images/table-th-top-right.png) #3c6d9e top right no-repeat; }
tr.odd td.bl { background: url(../images/table-td-bottom-left-odd.png) #efefef bottom left no-repeat; }
tr.odd td.br { background: url(../images/table-td-bottom-right-odd.png) #efefef bottom right no-repeat; }
tr.even td.bl { background: url(../images/table-td-bottom-left-even.png) #e3e3e3 bottom left no-repeat; }
tr.even td.br { background: url(../images/table-td-bottom-right-even.png) #e3e3e3 bottom right no-repeat; }


h3.stylish { background: #3B6D9E; padding: 5px 5px 5px 20px; color: white; margin: 0; }
ul.stylish { padding: 0; margin: 0 0 20px 0; }
ul.stylish li { padding: 5px 5px 5px 20px; margin: 1px 0 0 0; list-style-position: inside; }

li.odd { background: #efefef; }
li.even { background: #e3e3e3; }