body
{
  margin: 16px 64px;
  background: #4b2420 url(/gfx/desktop-2.jpg);
  behavior: url(/template/csshover3.htc);
}

#newspaper-body
{
  background-color: #ddd8cc;
}

#newspaper-top
{
  height: 10px;
  background-image: url(/gfx/title/tear-top-3.png);
  background-repeat: repeat-x;
}

#newspaper-left
{
  padding-left: 10px;
  background-image: url(/gfx/title/tear-left-3.png);
  background-repeat: repeat-y;
}

#newspaper-right
{
  padding-right: 10px;
  background-image: url(/gfx/title/tear-right-3.png);
  background-repeat: repeat-y;
  background-position: right;
}

#newspaper-bottom
{
  height: 10px;
  background-image: url(/gfx/title/tear-bottom-3.png);
  background-repeat: repeat-x;
}

#newspaper-bottom img
{
  float: right;
}

form,div
{
  padding: 0;
  margin: 0;
}

p,table,h1,h2,h3,h4,h5,h6
{
  padding: 0;
  margin: 0 0 1em 0;
}

blockquote
{
  display: block;
  padding: 0;
  margin: 0 0 1em 2em;
  font-style: italic;
}

ul,ol
{
  padding: 0;
  margin: 0 0 1em 2em;
}

*
{
  font-family: serif;
  font-size: 14px;
}

img
{
  border: 0;
}

td,th
{
  text-align: left;
}

h1, h1 *
{
  font-size: 24px;
}

h2, h2 *
{
  font-size: 22px;
}

h3, h3 *
{
  font-size: 20px;
}

h4, h4 *
{
  font-size: 18px;
}

h5, h5 *
{
  font-size: 16px;
}

h6, h6 *
{
  font-size: 14px;
}

a
{
  color: #04a;
  text-decoration: none;
}

a:visited
{
  color: #04a;
}

thead a, .titlerow a
{
  color: #69c !important;
}

a.help
{
  font-size: 11px;
  position: relative;
  top: -4px;
}

table
{
  border-collapse: collapse;
}

td,th
{
  padding: 4px;
}

thead, .titlerow
{
  background-color: #369;
  color: #fff;
}

ul.tabbed
{
  margin: 0 0 1em 0;
  padding: 0;
  border-bottom: 1px solid #000;
}

.tabbed li
{
  display: inline;
  list-style: none;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-bottom: 0;
  border-right: 1px solid #000;
  padding: 0 0.25em;
  margin: 0.25em;
  background-color: #eee;
}

.tabbed li.activetab
{
  font-weight: bold;
  background-color: #fff;
  border-bottom: 1px solid #fff;
}

.righted
{
  text-align: right;
}

table.centered td
{
  text-align: center;
}

.centered
{
  text-align: center;
}

.row
{
  background-color: #f4f0e8;
}

.altrow
{
  background-color: #ddd8cc;
}

#title
{
  height: 60px;
}

#loginstatus
{
  padding: 0.25em 0.5em;
}

#content
{
  clear: both;
  padding: 0.5em 0.5em 0 0.5em;
  border-top: 3px double #000;
  border-bottom: 1px solid #000;
  background-color: #ddd8cc;
}

#footer
{
  text-align: center;
  padding: 0.25em 0.5em;
}

#footer p
{
  margin-bottom: 0;
}

.success
{
  color: #090;
}

.warning
{
  color: #960;
}

.failure,.error
{
  color: #f00;
}

.flatlist,.flatlist li
{
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

#map
{
  margin-bottom: 1em;
}

.dialog
{
  border: 1px solid #000;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 1em;
}

.healthbar
{
  border: 1px solid #000;
  height: 12px;
}

.healthbar div
{
  margin: 2px;
  background-color: #f00;
  height: 8px;
}

.dim
{
  color: #888;
}

.map
{
}

.map td
{
  padding: 0;
  width: 64px;
  height: 64px;
}

.trifle
{
  color: #666;
}

.easy
{
  color: #090;
}

.normal
{
  color: #069;
}

.challenging
{
  color: #960;
}

.hard
{
  color: #900;
}

.suicidal
{
  color: #909;
}

#minimap
{
  overflow: auto;
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  padding: 1em;
  border: 1px solid #000;
  width: 350px;
  height: 360px;
}

.clear
{
  clear: both;
}

tr.separator td
{
  padding-top: 1.5em;
}

tr.separator th
{
  padding-top: 1.5em;
}

#tt
{
  position: absolute;
  display: block;
  padding: 2px;
  background-color: #fff;
  border: 1px solid #333;
  color: #000;
}

#tt table
{
  margin-bottom: 0;
}

form#message input.input
{
  width: 500px;
}

form#message textarea
{
  width: 500px;
  height: 150px;
}

.forumpost h5
{
  border-bottom: 1px solid #666;
  margin-bottom: 0.5em;
}

form#signup input.input
{
  width: 160px;
}

#pwbox
{
  padding: 0;
  margin: 0;
  position: absolute;
  top: 26px;
  right: 74px;
  height: 60px;
  width: 468px;
  overflow: hidden;
}

#pwbox *
{
  padding: 0;
  margin: 0;
}

#newmenu
{
  border-top: 3px double #000;
  padding: 0 0.5em;
}


#newmenu ul
{
  margin: 0;
  padding: 0;
  list-style: none;
}

#newmenu li
{
  float: left;
  position: relative;
  padding-right: 0.5em;
  padding-left: 0.5em;
  margin-right: 1em;
  background-color: #ddd8cc;
}

#newmenu li ul
{
  display: none;
  position: absolute;
  top: auto;
  left: auto;
  background-color: #ddd8cc;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  margin-left: -0.5em;
  padding: 0.25em 0;
  z-index: 1;
}

#newmenu ul li ul li
{
  float: none;
  margin-right: 0;
}

#newmenu li:hover
{
  background-color: #f4f0e8;
}

#newmenu li:hover ul
{
  display: block;
}

#newmenu li.over ul
{
  display: block;
}

li.separator
{
  margin-top: 0.25em;
  border-top: 1px solid #888;
  margin-bottom: 0.25em;
}

sub,sup
{
  font-size: 85%;
}

ul.friendlist
{
  list-style: none;
  margin: 0;
}

ul.friendlist li
{
  float: left;
  height: 96px;
  text-align: center;
  padding-right: 8px;
}

ul.friendlist li img
{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.threadpagepreview
{
  margin-left: 1em;
}

.threadpagepreview *
{
  font-size: 11px;
}

.footnote *
{
  font-size: 10px;
}

img.inline
{
  position: relative;
  top: 2px;
}

hr
{
  width: 80%;
  color: #888;
  background-color: #888;
  height: 1px;
  border: 0;
  margin-top: 0;
  margin-bottom: 1em;
  padding-top: 0;
  padding-bottom: 0;
}

.heirloom
{
  color: #63c;
  font-weight: bold;
}

.stance_neutral
{
  font-weight: bold;
  color: #444;
}

.stance_aggressive
{
  font-weight: bold;
  color: #900;
}

.stance_defensive
{
  font-weight: bold;
  color: #960;
}

.stance_focusing
{
  font-weight: bold;
  color: #069;
}

.stance_disoriented
{
  font-weight: bold;
  color: #609;
}

#battleaction ul
{
  list-style: none;
  margin-left: 0;
}

#battleaction li
{
  padding-bottom: 2px;
}

#battleaction img
{
  vertical-align: middle;
}

#battleaction input
{
  width: 150px;
}

.postinfo
{
  margin-left: 2em;
  color: #888;
  font-style: italic;
}

img.avatar
{
  width: 64px;
  height: 64px;
}

.forumpost img.avatar
{
  float: right;
}

#buttonbar ul
{
  margin: 0 0 0.25em 0;
  padding: 0;
}

#buttonbar ul li
{
  display: inline;
  list-style: none;
}

#buttonbar ul li a
{
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #666;
  border-right: 1px solid #666;
  padding: 0.125em 0.25em;
}

#buttonbar ul li.separator
{
  border: 0;
  margin: 0;
  padding: 0 0 0 1em;
}

code, code *
{
  white-space: pre-wrap;
  font-family: monospace;
}

.emote
{
  vertical-align: text-bottom;
}

.nomargin
{
  margin: 0;
}

tr.stickyseparator
{
  background-color: #369;
}

tr.stickyseparator td
{
  height: 2px;
  padding: 0;
  margin: 0;
}

.guildnote
{
  margin-top: -1em;
  font-style: italic;
}

.tip
{
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  padding: 1em;
  border: 1px solid #000;
  width: 350px;
}

q
{
  font-style: italic;
}
