html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        color: #CCCCBB;
	font-size: 10pt;
        border: 0; 
        background-color: #000000 !important;
        background-color: #161311;
        background-image: url('images/layout/sidebar-bg.png');
        background-repeat: repeat-y;
}

a:link { 
  color: #CCCCBB; 
}

a:visited { 
  color: #666655; 
}

/* Header and Sidebar layout definitions */

div.panel {
  background-color: #006AAB;
  overflow:hidden;
  padding: 0px;
  color: white;
}

table.bordered
{
    border-width: 0 0 1px 1px;
    border-style: solid;
}

table.bordered td
{
    border-width: 1px 1px 0 0;
    border-style: solid;
    margin: 0;
    padding: 4px;
}

div#container {
  margin: 0px 5px;
  height: 100%; 
  background-color: #161311;
  overflow: hidden !important; 
  overflow: static;
  position: relative;
}

div#header { 
  border-top: 6px solid black;
  height: 110px;
  padding-left: 125px; 
  padding-right: 25px; 
}

div#footer { 
  background-color: #000000;
  position: absolute;
  left: 5px;
  right: 5px;
  overflow:hidden;
  height: 60px;
  bottom: 0px;
  text-align: center;
  font-size: 8pt;
  border-top: 1px solid #006AAB;
  display: block !important; 
  display: none; 
}

div#content { 
  padding: 5px 15px 0px;
  text-align: center;
  position: absolute;
  top: 115px;
  left: 125px;
  right: 0px;
  bottom: 60px;
  overflow: auto;
  border-right: 1px solid #006AAB;
}

div#sidebar { 
  float: left; 
  height: 98% !important;
  height: 100%;
  width:125px;
  margin-top: -110px; 
  text-align: left;
}

div#banner { 
  text-align: center; 
  margin-right: 450px;
  height: 100px;
  min-width: 334px;
  background-image: url('images/layout/blue-banner.png'); 
  background-repeat: no-repeat;
  background-position: center center; 
}

div.side_menu {
  width: 100%;
  border-bottom: 1px solid #004889;
}

div.side_menu_link {
  padding-left: 20px;
  background: #228CCD;
  padding-top: 0px !important;
  padding-bottom: 2px;
  cursor: pointer;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", Times, serif;
  text-decoration: none;
  font-style: italic;
  color: #cfe4f1;
}

div.side_menu_link a { 
} 


div#counter { 
  margin-top: 10px;
  font-size: 14px;
  text-align: center; 
  color: #cfe4f1
}

div#spacer { 
  height: 25px;
  visibility: hidden;
}

div.tooltip { 
  background-color: #CCB;
  color: #666;
  font-size: 11px;
  visibility: hidden;
  z-index: 1000; 
  position: absolute;
  margin-top: -100px;
  margin-left: -100px;
  overflow: hidden;
  border: 1px solid white;
  padding-left: 10px;
}

div.tooltip_title { 
  font-size: 14px;
  font-weight: bold;
  padding-left: 5px;
  margin-left: -10px;
  background-color: #161311; 
  color: #CCB;
  height: 24px;
} 

div.tooltip .close a { 
  position: absolute; 
  right: 0px; 
  top: 0px;
  width: 24px; 
  height: 24px;
  background: url('/images/layout/close.png');
  color: #FFF;
}

a.toon_link { 
  float: right; 
  margin-top: 5px;
}

/* Image Definitions */

img { 
  border: 0px;
}

img#ul_corner { 
  position: absolute; 
  top: 6px;
}

img#ur_corner { 
  position: absolute; 
  right: 0px; 
  top: 6px;
}

img#ul_inv_corner { 
  position: absolute; 
  left: 125px;
}

/* Page specific sections */

  /* Login */

#loginpanel {
        border-collapse: collapse;
        border: 1px solid #779DC3;
        border-right: 2px ridge #2262A0;
        border-bottom: 2px ridge #2262A0;
        margin: 10px auto;
}

#loginpanel th {
        background-color: #006AAB;
        color: white;
        font-weight: bold;
        padding: 3px;
}

#loginpanel td {
        padding: 3px;
        border-bottom: 1px solid #215175;
}

#character_builder { 
  text-align: left; 
}
