
/* Global {{{ */
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    background: url(/images/bg-body.gif) black top left repeat-x;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
    color: white;
}

html {
    overflow: -moz-scrollbars-vertical;
    font-size: 100%;
}

body {
    font-size: 80%;
    text-align: center;
}

table {
    font-size: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
    border: 0;
}

th, td {
    padding: 0;
    margin: 0;
    border: 0;
}

img {
    border: 0;
}

form {
    margin: 0;
    padding: 0;
}

input, button, select, label, textarea {
    position: relative; /* IE Hack */
}

sup {
    font-size: 65%;
    vertical-align: top;
    position: relative;
    top: -0.2em;
}

sub {
    font-size: 65%;
    vertical-align: bottom;
    position: relative;
    top: 0.2em;
}
/* }}} */

/* Layout {{{ */
#header, #container {
    text-align: left;
}

/* This plus negative margins on #container and #header
 * lets their backgrounds extend a tad past the edge of 800x600
 * without screwing up */
#outer {
    margin: 0 auto;
    width: 720px;
}

#header {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background: url(/images/bg-header.jpg) black left top no-repeat;
    width: 812px;
    height: 188px;
    margin: 0 -46px;
    position: relative;
}

#book {
    display: inline;
    float: right;
    padding-top: 18px;
    margin-right: 46px;
    margin-bottom: -59px; /* Hack to fix IE */
    position: relative;
}

#logo a {
    text-align: center;
    display: inline;
    float: left;
    background: url(/images/logo.png) transparent center top no-repeat;
    background: expression('none transparent');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/logo.png', sizingMethod=crop);
    width: 281px;
    color: white;
    text-decoration: none;
    height: 46px;
    padding-top: 124px;
    margin: 18px 0 0 111px;
    position: relative;
}

#container {
    min-height: 200px;
    background: url(/images/bg-shadow.png) transparent center top repeat-y;
    background: expression('none transparent');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/bg-shadow.png', sizingMethod=scale);
    width: 720px;
    width: expression('776px');
    margin: 0 -28px;
    color: black;
    padding: 0 28px;
}

#menubar {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: block;
    padding: 0;
    background: none white;
    font-size: 90%;
    font-weight: bold;
    padding: 3px 0;
    margin: 0;
    height: expression('19px');
    width: 720px;
}

#menubar li {
    display: inline;
    margin: 0;
    padding: 0;
}

#menubar li.navi {
    padding-left: 3px;
}

#menubar a {
    color: black;
    text-decoration: none;
    padding: 0px 2px;
    position: relative; /* IE hack */
}

#menubar a:hover {
    background-color: #bec6ba;
}

#content {
    min-height: 412px;
    height: expression('412px');
    background: url(/images/bg-main.jpg) #bec6ba left top no-repeat;
    padding: 20px;
    width: 720px;
}

#footer {
    padding: 0.5em 0;
    font-size: 90%;
}

#footer a {
    color: #bec6ba;
}

#orderNow {
    display: inline;
    float: right;
    margin: 46px -11px 0 0;
    padding-bottom: 10px;
    width: 153px;
    height: 79px;
    position: relative; /* IE hack */
}

#orderNow a {
    display: block;
}
/* }}} */

/* Content {{{ */
h1, h2, h3 {
    margin: 0;
    padding: 0;
    padding-bottom: 0.2em;
    text-transform: uppercase;
}

h1 { font-size: 160%; }
h2 { font-size: 140%; }
h3 { font-size: 110%; }

.c_default_standin {
    display: none;
}

p {
    margin: 0;
    padding: 0;
}

#content a {
    color: #cc0000;
    position: relative; /* IE Hack */
}

#content a.nameonly {
    color: black;
}

.contentitem_default {
    clear: left;
    margin-bottom: 1em;
}

p.intro {
    text-indent: 0;
    font-style: italic;
    text-align: center;
    padding: 0px 0px 1em 0px;
}

p.small {
    font-size: 90%;
}

p.bold {
    font-size: 110%;
    font-weight: bold;
}
/* }}} */

/* Administration {{{ */
#adminTable * {
    color: black;
}
span.admin_message {
  background-color: #009900;
  color: #ffffff;
  font-weight: bold;
}

span.admin_error {
  background-color: #990000;
  color: #ffffff;
  font-weight: bold;
}

div.admin_message {
  padding: 4px;
  background-color: #009900;
  color: #ffffff;
  font-weight: bold;
}

div.admin_error {
  padding: 4px;
  background-color: #990000;
  color: #ffffff;
  font-weight: bold;
}

table.admin_index {
  font-size: 0.8em;
}

th.admin_index {
  font-weight: bold;
  text-align: left;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

tr.admin_index_th {
  background-color: #666666;
  color: #ffffff;
}

tr.admin_index_even, tr.admin_index {
  background-color: #dddddd;
  font-size: 1.0em;
}

tr.admin_index_odd {
  background-color: #eeeeee;
  font-size: 1.0em;
}

tr.admin_index_context {
  background-color: #aaaadd;
  font-size: 1.0em;
}

td.admin_index {
  padding-left: 0.5em;
  padding-right: 0.5em;
}
/* }}} */

