/* -*- mode: css -*- */
/* Colour scheme: <http://www.colourlovers.com/palette/723615/clairedelune> */

@import url('default.css');

/* See <http://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/> */

@font-face {
  font-family: "Ubuntu Mono";
  src: url("font/ubuntu-mono/UbuntuMono-R-webfont.eot");
  src: url("font/ubuntu-mono/UbuntuMono-R-webfont.eot?#iefix")
    format("embedded-opentype"),
    url("font/ubuntu-mono/UbuntuMono-R-webfont.woff")
    format("woff"),
    url("font/ubuntu-mono/UbuntuMono-R-webfont.ttf")
    format("truetype"),
    url("font/ubuntu-mono/UbuntuMono-R-webfont.svg#UbuntuMonoRegular")
    format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ubuntu Mono";
  src: url("font/ubuntu-mono/UbuntuMono-RI-webfont.eot");
  src: url("font/ubuntu-mono/UbuntuMono-RI-webfont.eot?#iefix")
    format("embedded-opentype"),
    url("font/ubuntu-mono/UbuntuMono-RI-webfont.woff")
    format("woff"),
    url("font/ubuntu-mono/UbuntuMono-RI-webfont.ttf")
    format("truetype"),
    url("font/ubuntu-mono/UbuntuMono-RI-webfont.svg#UbuntuMonoItalic")
    format("svg");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Ubuntu Mono";
  src: url("font/ubuntu-mono/UbuntuMono-B-webfont.eot");
  src: url("font/ubuntu-mono/UbuntuMono-B-webfont.eot?#iefix")
    format("embedded-opentype"),
    url("font/ubuntu-mono/UbuntuMono-B-webfont.woff")
    format("woff"),
    url("font/ubuntu-mono/UbuntuMono-B-webfont.ttf")
    format("truetype"),
    url("font/ubuntu-mono/UbuntuMono-B-webfont.svg#UbuntuMonoBold")
    format("svg");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Ubuntu Mono";
  src: url("font/ubuntu-mono/UbuntuMono-BI-webfont.eot");
  src: url("font/ubuntu-mono/UbuntuMono-BI-webfont.eot?#iefix")
    format("embedded-opentype"),
    url("font/ubuntu-mono/UbuntuMono-BI-webfont.woff")
    format("woff"),
    url("font/ubuntu-mono/UbuntuMono-BI-webfont.ttf")
    format("truetype"),
    url("font/ubuntu-mono/UbuntuMono-BI-webfont.svg#UbuntuMonoBoldItalic")
    format("svg");
  font-weight: bold;
  font-style: italic;
}

a, a:visited, a.reference.internal {
    text-decoration: none;
}

a.reference em {
    font-style: normal;
}

a.reference.internal:hover {
    text-decoration: none;
    border-bottom: 1px solid #aaa;
}

a.mpstag:hover {
    background-color: #73626E;
    color: #FFFFFF;
}

p.logo {
    text-align: center;
}
img.logo {
    width: 75%;
}

div.sphinxsidebar {
    width: 25%;
}

div.sphinxsidebar input {
    border: 1px solid #F0B49E;
}

div.bodywrapper {
    width: 75%;
    margin: 0;
}

div.body {
    max-width: 100%;
}

div.body h1 {
    border-bottom: 2px solid #73626E;
}
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    border-bottom: none;
}

div.body {
    padding: 1em;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    margin: 0;
    padding-left: 0;
}

div.body h1 {
    margin-top: 0;
}

dl.glossary dt, dl.type dt, dl.function dt, dl.macro dt {
    font-family: 'Verdana', sans-serif;
    border-bottom: none;
    padding-bottom: 1px;
    margin-top: 2em;
    margin-bottom: 1em;
    font-size: 120%;
}

dl.type dt, dl.function dt, dl.macro dt {
    /* Use a hanging indent so that long wrapped prototypes are easier to read. */
    padding-left: 4em;
    text-indent: -4em;
}

pre, tt, code, a.mpstag {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 100%;
}

tt, code {
    background: transparent;
}

tt.xref, a tt {
    font-weight: normal;
}

pre {
    border: none;
}

div.seealso, div.admonition {
    background-color: #F2F2F2;
    border: none;
}

div.admonition p.admonition-title + p + p {
    margin-top: 1em;
}

div.admonition-deprecated {
    border: 2px solid #73626E;
}

.xref.std-term {
    font-style: normal;
    color: #000000;
    border-bottom: 1px dotted #aaa;
}

p.glossary-alphabet {
    font-weight: bold;
}

sup {
    vertical-align: top;
    font-size: 80%;
}

div.figure img {
    max-width: 100%;
}

/* Sphinx justifies body paragraphs by default, but this really doesn't work
   when we have technical work with long identifiers mixed with text. */
div.body p, div.body dd, div.body li {
    text-align: left;
}

/* Space out list elements a little bit. */
div.body ul li:not(:first-child),
div.body ol li:not(:first-child) {
    padding-top: 1.1ex;
}
/* When a <p> is inside an <li> to space it out, reduce that spacing a bit
   to compensate for the above. */
div.body li>p:first-child {
    margin-top: 0.5ex;
}
div.body li>p:last-child {
    margin-bottom: 0.5ex;
}
/* Don't space out the table of contents. */
li.toctree-l1, li.toctree-l2, li.toctree-l3 {
    padding-top: 0 !important;
}

/* Override background for code elements. */
.sphinxsidebar code {
    background: #B38184;
}
.note code, .admonition code {
    background: #F2F2F2;
}

/* Margin before and after table. */
table.docutils {
    margin-topic: 1.1ex;
    margin-bottom: 1.1ex;
}

/* Format the glossary index in two columns. */

div#memory-management-glossary div#all {
    -webkit-columns: 2;
    -moz-columns: 2;
    -o-columns: 2;
    -ms-columns: 2;
    columns: 2;
    padding-top: 1em;
}

div#memory-management-glossary div#all h2 {
    display: none;
}

div#memory-management-glossary div#all a.reference.internal:after {
    content: "\A";
    white-space: pre;
}