body {
  min-width: 530px;         /* 2 x sidebar fullwidth + main-content padding */
}

#container {
  padding-left: 235px;      /* sidebar fullwidth -5(?) */
  padding-right: 65px;     /* main-content padding*/
  padding-top: 10px;
}

#container .column {
  position: relative;
  float: left;
}

#main-content-column {
  width: 100%;
  padding-right: 50px;
}

#sidebar {
  width: 200px;        /* sidebar usable width (fullwidth - padding) */
  right: 280px;        /* sidebar fullwidth + main-content padding */
  padding-left: 10px;
  padding-right: 20px;
  margin-left: -100%;
}

.api_reference h3, .api_reference  h4,
.api_reference  h5, .api_reference  h6 {
  overflow:auto;
 }

#toc {
  width: 180px;
  float: right;
  font-size: 0.9em;
  overflow: hidden;
  margin-top: 40px;         /* to line up with sidebar: title-height + title padding */
  margin-left: 20px;
  margin-bottom: 1em;
}

.title {
  height: 30px;
  margin-bottom: 10px;
}

.sidebar-section, #toc {
  border-style: solid;
  border-color: #a0d0fb;
  border-width: 1px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}

.sidebar-section {
  background-color: #d1e8fd;
  margin-bottom: 1.0em;
}

#footer {
  background: #33559b url(../media/bg-footer.png) 0 0 repeat-x;
  clear: both;
  color: white;
  display: block;
  font-family: Georgia,serif;
  min-width: 978px;
  padding: 400px 0 0 0;
}

.aside {
  color: gray;
  float: right;
  padding-left: 1em;
  margin-left: 1em;
  margin-right: 0;
  width: 25%;
  border-left: 1px solid gray;
}

#toc a {
  display: block;
  }

#toc a[class = H2] {
  font-size: 1.1em;
  font-weight: bold;
  margin-left: 0.5em;
}

#toc a[class = H3] {
  margin-left: 0.5em;
  font-weight: bold;
}

#toc a[class = H4] {
  margin-left: 1.5em;
  font-family: "andale mono", monospace;
}

#toc a[class = H5] {
  margin-left: 2.5em;
  font-weight: bold;
}

#toc a[class = H6] {
  margin-left: 3em;
  font-family: "andale mono", monospace;
}

.warning {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  display: block;
  padding: 1em;
  border: solid 2px black;
  width: 75%;
  background-color: #C63717;
  color: white;
}

.logo {
  margin-left: 5px;
  float:left;
}

.title-text {
  font-family: MetaBlack,'Trebuchet MS',sans-serif;
  font-size: 1.7em;
  font-weight: bold;
  line-height: 1.4em;
  padding-left: 0.2em;
  margin-bottom: .2em;
  margin-top: -0.3em;
}

.meta-header {
  font-weight: bold;
}

.sidebar-section .modules {
  padding-left: 25px;
}

.package-entry .modules
.package-detail .modules {
  margin: 0em;
  padding-left: 0;
}

.module {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  padding-left: 0em;
  padding-right: 0em;
  margin-right: 1.0em;
}

.package-summary .module {
  padding-left: 0em;
}

.package-summary .module,
.package-entry .module,
.package-detail .module {
  display: inline;
  white-space: nowrap;
  margin-left: 0em;
}

.package-detail .authors, .package-detail .dependencies,
.package-detail .version, .package-detail .license {
  font-family: Monaco, Lucida Console, monospace;
  font-size: 0.8em;
  white-space: pre;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table, td, tr {
  border: 1px black solid;
}

td {
  padding: 0.5em;
}

/* Rule to fix quirks-mode inheritance behavior */

table, caption {
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-variant: inherit;
}

table.meta-table, .meta-table td, .meta-table tr {
  vertical-align: top;
  border: none;
  padding: 0;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  padding-right: 5em;
}

table.meta-table {
  margin-top: 0.5em;
  border-top: 1px dotted gray;
  border-bottom: 1px dotted gray;
}

#footer .full-name {
  margin-left: 0.5em;
}

#main-content h1 {
  font-size: 2.2em;
}

#main-content h2 {
  font-size: 1.7em;
}

.sidebar-subsection-contents {
  display: none;
  background: #F0F8FF;
}

.always-show {
  display: normal;
}

.sidebar-section ul {
  margin-bottom: 0.2em;
  list-style: none;
}

.sidebar-section li li {
  padding-left: 30px;
  margin-left: 0;
}

.sidebar-section .modules {
  padding-left: 25px;
}

.sidebar-section h2, .sidebar-section h3, .sidebar-section h4 {
  padding-left: 10px;
}

.sidebar-section h2, .sidebar-section h3 {
  background: #d1e8fd;
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 0px;
  background: #d1e8fd;
  font-weight: bold;
  font-style: normal;
  font-family: arial, helvetica, sans-serif;
  border-bottom-style: solid;
  border-color: #a0d0fb;
  border-width: 1px;
}

.sidebar-section h2 {
  font-size: 1.2em;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-radius-topleft: 5px;
  -webkit-border-radius-topright: 5px;
  -khtml-border-radius-topleft: 5px;
  -khtml-border-radius-topright: 5px;
  border-radius-topleft: 5px;
  border-radius-topright: 5px;
}

.sidebar-section h3 {
  font-size: 1.0em;
  border-top-style: solid;
}

.sidebar-section h4 {
  font-weight: normal;
}

.sidebar-section li {
  margin-left: 0;
}

.current-section, #toc {
  background: #F0F8FF;
}

.sidebar-section .current-page {
  background: white;
}

.image-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
