img {border:0;}
a {
  color: #333333;
  background-color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#content a {
  color: #997600;
  background-color: inherit;
  text-decoration: none;
}

#content a:hover {
  text-decoration: underline;
}

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "Comic Sans MS", tahoma, arial, sans-serif;
  font-size: 80%;
  margin: 0px 0px 0px 0px;
  background: #686665 url('images/bg_main.gif') repeat-y top center;
  color: #333333;
}

#content {
  position:relative;
  float:left;
  width:510px;
  padding: 10px 30px 10px 30px;
}  

#rightside {
  float:right;
  width:200px;
}  

h1, h2, h3, h4, h5, h6 {
  margin: 0px 0px 2px 0px;
}

h1 {
  font-size: 125%;
}

h2 {
  font-size: 120%;
}

h3 {
  font-size: 115%;
}

h4 {
  font-size: 110%;
}

h5 {
  font-size: 105%;
}

h6 {
  font-size: 100%;
}

/* ----- Header ----- */
div.wrapper {
  position: relative;
  margin: 0 auto;
  width: 778px;
}

div.header {
  position:relative;
  left:-1px;
  background: #000 url('images/bg_head.gif') repeat-x top;
  height: 88px;
}

img.logo {
  margin: 16px 0 0 10px;
}

ul.navigation a {
  color: #333333;
  background-color: inherit;
}
/* Panels */
div.panels {
  font-size: 90%;
  float: left;
  width: 171px;
  margin: 0px 9px 0px 5px;
}

div.panels ul {
  list-style-type: none;
  list-style-image: none;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
}

div.panels ul li.head_sq, div.panels ul li.ghead_sq  {
  padding: 2px 6px 3px 10px;
  color: #333333;
  background-color: inherit;
  font-weight: bold;
  background: url('images/hd_panelsq.gif') repeat-x top left;
  border-top: 1px solid #ACC1D9;
  border-left: 1px solid #ACC1D9;
  border-right: 1px solid #ACC1D9;
}

div.panels ul li.head_rnd, div.panels ul li.ghead_rnd {
  height: 19px;
  color: #333333;
  background-color: inherit;
  font-weight: bold;
  padding: 10px 0px 0px 10px;
  background: url('images/hd_panelsm.gif') no-repeat top left;
  margin-top: 7px;
}

div.panels ul li.opt, div.panels ul li.form, div.panels ul li.end, div.panels ul li.gopt, div.panels ul li.gform, div.panels ul li.gend, div.panels ul li.gfend {
  background-color: #ffffff;
  color: #333333;
  padding: 2px 6px 2px 10px;
  border-right: 1px solid #ACC1D9;
  border-left: 1px solid #ACC1D9;
}

div.panels ul li.opt span, div.panels ul li.form span, div.panels ul li.end span, div.panels ul li.gopt span, div.panels ul li.gform span, div.panels ul li.gend span, div.panels ul li.gfend span {
  background-color: inherit;
  font-size: 90%;
}

div.panels ul li.end, div.panels ul li.gend, div.panels ul li.gfend {
  border-bottom: 1px solid #ACC1D9;
  padding-bottom: 4px;
  margin-bottom: 2px;
}

/* ----- Footer ----- */
#footer {
   bottom: 0;
   left: 0;
   border:0;
   height:25px;
   width:100%;
   padding: 10px 0 0 0;
   text-align: center;
   font-size: x-small;	
   color: #999999;
   clear:both;
   background: #686665 url('images/bg_main.gif') repeat-y top center;
}

#footer a {
  color: #999999;
  background-color: #FFFFFF;
  text-decoration: none;
}
#footer a:hover {
  text-decoration: underline;
}
