/*
Font sizes for all selectors other than the body are given in percentages,
with 100% equal to 13px. To calculate a font size percentage, multiply the
desired size in pixels by 7.6923076923.

Here's a quick lookup table:

10px - 76.923%
11px - 84.615%
12px - 92.308%
13px - 100%
14px - 107.692%
15px - 115.385%
16px - 123.077%
17px - 130.769%
18px - 138.462%
19px - 146.154%
20px - 153.846%
*/

html {
  background: #222;
  color: #ccc;
  overflow-y: scroll;
}

body {
  font: 13px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* -- Links ----------------------------------------------------------------- */
a {
  color: #00e5e8;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from
   sight until it's focused. */
.jump {
  position: absolute;
  padding: 3px 6px;
  left: -99999px;
  top: 0;
}

.jump:focus { left: 40%; }

/* -- Paragraphs ------------------------------------------------------------ */
p { margin: 0.65em 0; }
dd p, td p { margin-bottom: 0; }
dd p:first-child, td p:first-child { margin-top: 0; }

/* -- Headings -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: bold;
  line-height: 1.1;
  margin: 1.1em 0 0.5em;
}

h1 {
  font-size: 184.6%;
  color: #fafafa;
  margin: 0.75em 0 0.75em;
}

h1 a {
  color: #fafafa;
}

h1 sup {
  font-size: 11px;
  font-weight: normal;
}

h2 {
  font-size: 153.846%;
}

h3 { font-size: 138.462%; }

h4 {
  font-size: 115.385%;
  font-weight: normal;
  padding-bottom: 2px;
}

h5, h6 { font-size: 107.692%; }

/* -- Code and examples ----------------------------------------------------- */
.flag,
code, kbd, pre, samp {
  font-family: Monaco, monospace;
  font-size: 92.308%;
  line-height: 1.35;
}

p .flag,
p code, p kbd, p samp, li code {
  background: #111;
  border: 1px solid #444;
  border-radius: 2px;
  padding: 1px 4px;
}

pre.code, pre.terminal, pre.cmd {
  overflow-x: auto;
  *overflow-x: scroll;
  padding: 0.3em 0.6em;
}

pre.code {
  border-left: 5px solid #444;
  padding: 4px 12px;
}

pre.terminal, pre.cmd {
  background: #F0EFFC;
  border: 1px solid #D0CBFB;
  border-left: 5px solid #D0CBFB;
}

/* Don't reduce the font size of <code>/<kbd>/<samp> elements inside <pre>
   blocks. */
pre code, pre kbd, pre samp { font-size: 100%; }

/* Used to denote text that shouldn't be selectable, such as line numbers or
   shell prompts. Guess which browser this doesn't work in. */
.noselect {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/* -- Lists ----------------------------------------------------------------- */
dd { margin: 0.2em 0 0.7em 1em; }
dl { margin: 1em 0; }
dt { font-weight: bold; }

/* -- Tables ---------------------------------------------------------------- */
caption, th { text-align: left; }

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

td, th {
  border: 1px solid #fff;
  padding: 5px 12px;
  vertical-align: top;
}

td { background: #E6E9F5; }
td dl { margin: 0; }
td dl dl { margin: 1em 0; }
td pre:first-child { margin-top: 0; }

th {
  background: #D2D7E6;/*#97A0BF*/
  border-bottom: none;
  border-top: none;
  color: #000;/*#FFF1D5*/
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: bold;
  line-height: 1.3;
  white-space: nowrap;
}


/* -- Layout and Content ---------------------------------------------------- */
#doc {
  margin: auto;
  min-width: 1024px;
}

#main { width: 754px; }
#sidebar { width: 270px; margin: 0 15px 20px; }

.content { padding: 0 20px 0 25px; }

/* -- Sidebar --------------------------------------------------------------- */

.sidebox h3 {
  border-top: 1px dotted #e30060;
  margin-top: 0;
  padding-top: 15px;
}

.sidebox .bd {
  font-size: 84.615%;
  padding: 0;
}

.sidebox ol, .sidebox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebox li {
  margin: 0;
  border-top: 1px solid #444;
}

.sidebox a {
  color: #ccc;
  display: block;
  padding: 8px;
}

.sidebox a:hover {
  background: #111;
  color: #fff;
}

.sidebox .flag {
  border-color: #444;
}

/* -- Table of Contents ----------------------------------------------------- */

/* The #toc id refers to the single global table of contents, while the .toc
   class refers to generic TOC lists that could be used throughout the page. */

.toc code, .toc kbd, .toc samp { font-size: 100%; }
.toc li { font-weight: bold; }
.toc li li { font-weight: normal; }

/* -- Intro and Example Boxes ----------------------------------------------- */
.intro, .example { margin: 1.5em 0; }

.example {
  border-radius: 4px;
  box-shadow: 0 0 5px #bfbfbf;
  padding: 1em;
}

/* -- Other Styles ---------------------------------------------------------- */

/* These are probably YUI-specific, and should be moved out of Selleck's default
   theme. */

.button {
  border: 1px solid #dadada;
  border-radius: 3px;
  color: #444;
  display: inline-block;
  font-size: 92.308%;
  padding: 4px 13px 3px;
  white-space: nowrap;
}

.button:hover {
  border-color: #466899;
  color: #fff;
  text-decoration: none;
}

.newwindow { text-align: center; }

.header .version em {
  display: block;
  text-align: right;
}

.yui3-skin-sam #classdocs .yui3-tabview-panel {
  background-color: transparent;
}

.yui3-skin-sam #classdocs .yui3-tabview-panel {
  border: none;
}

.yui3-skin-sam .yui3-tabview .yui3-tab,
.yui3-skin-sam .yui3-tabview .yui3-tab-selected,
.yui3-skin-sam .yui3-tabview .yui3-tab-hover {
  border-bottom: 1px solid #444;
  border-right: 1px solid #444;
  border-left: 1px solid #444;
  border-top: 1px solid #444;
  color: #ccc;
  text-decoration: none;
}
.yui3-skin-sam .yui3-tabview .yui3-tab-label,
.yui3-skin-sam .yui3-tabview .yui3-tab-selected .yui3-tab-label {
  border: none;
  background: #111;
  font-size: 100%;
  color: #ccc;
}

.yui3-skin-sam .yui3-tabview .yui3-tab-selected,
.yui3-skin-sam .yui3-tabview .yui3-tab-hover {
  /*background: none;*/
  /*background-color: #fff;*/
  border-bottom-color: #ccc;
  border-top: 2px solid #e30060;
  color: #000;

}

.yui3-skin-sam .yui3-tabview-list {
  border-color: #ccc;
  border-width: 0 0 1px;
}


a.external {
  background-image: url(external-small.png);
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-left: 16px;
}

#classdocs {
  margin: 40px 0;
}

#classdocs .item {
  border-bottom: 1px solid #444;
  margin: 0;
  padding: 1.5em;
}

#classdocs .item .params p,
  #classdocs .item .returns p,{
  display: inline;
}

.params {
  list-style: none;
  padding: 0 0 0 10px;
}

.params ul {
  padding: 0 0 0 20px;
}

.params li {
  margin: 0.2em 0;
}

.params li p {
  margin: 0;
}

.type {
  border-bottom: 1px dotted #444;
  color: #777;
  display: inline-block;
  font-size: 84.615%;
  font-style: normal;
  margin: 0 4px;
}

.type:hover {
  border-color: #00e5e8;
}

.type a {
  text-decoration: none;
}

.method .description {
  display: inline-block;
}

.method .description p {
  display: inline-block;
}

#classdocs .item em.comment a {
  color: green;
  text-decoration: underline;
}

.foundat {
  font-size: 11px;
  font-style: normal;
}

.attrs .emits {
  margin-left: 2em;
  padding: .5em;
  border-left: 1px dashed #ccc;
}

abbr {
  border-bottom: 1px dashed #ccc;
  font-size: 80%;
  cursor: help;
}

ul {
  margin: 0.4em 0;
}

ul li p {
  margin-top: 0;
}

.module-name {
  border-top: 1px dotted #e30060;
  padding-top: 15px;
  margin-top: 0;
}

.module-meta {
  font-size: 11px;
}

.module-classes {
  border-top: 1px solid #fff;
  padding: 0;
  list-style: none;
}

.module-classes a {
  border-bottom: 1px solid #444;
  color: #ccc;
  display: block;
  padding: 8px 6px;
}

.module-classes a:hover {
  background: #111;
  color: #fff;
}

.method-args {
  background: #111;
}

.flag {
  background: #111;
  border: 1px solid #e30060;
  border-radius: 2px;
  font-size: 84.615%;
  font-style: normal;
  padding: 1px 4px;
}

.signature {
  color: #fff;
}

.signature .name {
  font-size: 110%;
}

#hd {
  padding: 0 20px 1px 25px;
}

#hd img {
  margin-right: 10px;
  vertical-align: middle;
}

.hljs-keyword { color: #888; }
.hljs-number { color: #fff; }
