/*
 * ===========================================================================
 * Generic styles
 * ===========================================================================
 */

body {
    font-family: Verdana,Geneva,sans-serif;
    font-size: 14px;
    color: #212121;
    background-color: white;
}

h1,
h2,
h3
h4,
h5
h6 {
    font-weight: bold;
}

h1 {
    font-size: 34px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 3px;
    margin: 40px 0 20px;
}

h2 {
    font-size: 24px;
    margin: 40px 0 20px;
}

h3 {
    font-size: 20px;
    margin: 32px 0 16px;
}

h4 {
    font-size: 18px;
    margin: 32px 0 16px;
}

h5,
h6 {
    font-size: 14px;
    margin: 16px 0;
}

ol, 
ul {
    padding-left: 40px;
    margin: 0;
}

ol {
    list-style: decimal outside;
}

ol ol {
    list-style-type: lower-alpha;
}

ol ol ol {
    list-style-type: lower-roman;
}

li, 
li p {
    margin: 8px 0;
}

pre {
    padding: 8px;
    margin: 16px 0;
}

pre,
code {
    font-family: "Lucida Console","Lucida Sans Typewriter",Monaco,monospace;
    font-size: 12px;
    background: #f7f7f7;
    color: #37474f;
}

p {
    margin: 16px 0;
}

table[border="1"] {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #cfd8dc;
    margin: 16px 0;
}

table[border="1"] thead {
    background-color: #78909c;
    color: white;
}

table[border="1"] th,
table[border="1"] td {
    border: 1px solid #cfd8dc;
    padding: 7px 8px 8px;
}

table[border="1"] tbody th,
table[border="1"] td {
    vertical-align: baseline;
}

a[href],
a:link,
a:visited {
    text-decoration: none;
    color: #039be5;
}

@media print {
    li.role-related-item a[href],
    nav.role-index-toc a[href],
    li.role-booklist-entry a[href],
    li.role-index-entry a[href] {
        color: #212121;
    }
}

/*
 * ===========================================================================
 * Styles specific to XMLmind Ebook Compiler
 * See doc/manual/template/skeleton.css
 * ===========================================================================
 */

/*
 * TOC, LOF, LOT, etc.
 */

ul.role-booklist-entries {
    list-style-type: none;
    list-style-image: none;
    padding: 0;
}

ul.role-booklist-entries ul.role-booklist-entries {
    list-style-type: none; /* Increased selector specificity. */
    list-style-image: none;
    margin-left: 2em;
    margin-top: 0;
    margin-bottom: 0;
}

li.role-booklist-entry {
    margin-top: 0;
    margin-bottom: 0;
}

/*
 * Index
 */

nav.role-index-toc {
    font-size: 24px;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 16px;
}

span.role-index-toc-placeholder {
    color: #cfd8dc;
}

a.role-index-toc-ref {
    float: right;
    font-size: 0.66em;
    font-weight: bold;
    text-decoration: none;
}

h2.role-index-div-title { /*Symbols,A,B,C*/
    margin: 16px 0;
}

ul.role-index-entries {
    list-style-type: none;
    list-style-image: none;
    padding: 0;
}

ul.role-index-entries ul.role-index-entries {
    list-style-type: none; /* Increased selector specificity. */
    list-style-image: none;
    margin-left: 2em;
    margin-top: 0;
    margin-bottom: 0;
}

li.role-index-entry {
    margin-top: 0;
    margin-bottom: 0;
}

/*
 * Part
 */

span.role-label {
    font-style: normal;
}

/*
 * Local TOC
 */

nav.role-local-toc {
    margin-top: 16px;
    margin-bottom: 16px;
}

/*
 * Related
 */

nav.role-related {
    margin-top: 16px;
    margin-bottom: 16px;
}

ul.role-related-list {
    list-style-image: none;
}

@media print {
    ul.role-related-list {
        padding-left: 0;
    }
}

li.role-related-item {
    margin-top: 0;
    margin-bottom: 0;
}

/*
 * Admonitions
 */

blockquote.role-note,
blockquote.role-attention,
blockquote.role-caution,
blockquote.role-danger,
blockquote.role-fastpath,
blockquote.role-important,
blockquote.role-notice,
blockquote.role-remember,
blockquote.role-restriction,
blockquote.role-tip,
blockquote.role-trouble,
blockquote.role-warning {
    font-size: 12px;
    background-color: #e1f5fe;
    color: #0288d1;
    padding: 12px 24px 12px 60px;
    margin: 16px 0;
}

blockquote.role-note:before,
blockquote.role-attention:before,
blockquote.role-caution:before,
blockquote.role-danger:before,
blockquote.role-fastpath:before,
blockquote.role-important:before,
blockquote.role-notice:before,
blockquote.role-remember:before,
blockquote.role-restriction:before,
blockquote.role-tip:before,
blockquote.role-trouble:before,
blockquote.role-warning:before {
    float: left;
    content: url(star.svg);
    width: 16px;
    height: 16px;
    margin-left: -36px;
}

/*
 * When converting to PDF, DOCX, etc.
 */

@media print {
    /* Floating generated content not supported.
       No need to leave room for the admonition icon. */
    blockquote.role-note,
    blockquote.role-attention,
    blockquote.role-caution,
    blockquote.role-danger,
    blockquote.role-fastpath,
    blockquote.role-important,
    blockquote.role-notice,
    blockquote.role-remember,
    blockquote.role-restriction,
    blockquote.role-tip,
    blockquote.role-trouble,
    blockquote.role-warning {
        padding-left: 24px;
        border-left: solid 5px #0288d1;
    }
}

blockquote.role-note > *:first-child,
blockquote.role-attention > *:first-child,
blockquote.role-caution > *:first-child,
blockquote.role-danger > *:first-child,
blockquote.role-fastpath > *:first-child,
blockquote.role-important > *:first-child,
blockquote.role-notice > *:first-child,
blockquote.role-remember > *:first-child,
blockquote.role-restriction > *:first-child,
blockquote.role-tip > *:first-child,
blockquote.role-trouble > *:first-child,
blockquote.role-warning > *:first-child {
    margin-top: 0;
}

blockquote.role-note > *:last-child,
blockquote.role-attention > *:last-child,
blockquote.role-caution > *:last-child,
blockquote.role-danger > *:last-child,
blockquote.role-fastpath > *:last-child,
blockquote.role-important > *:last-child,
blockquote.role-notice > *:last-child,
blockquote.role-remember > *:last-child,
blockquote.role-restriction > *:last-child,
blockquote.role-tip > *:last-child,
blockquote.role-trouble > *:last-child,
blockquote.role-warning > *:last-child {
    margin-bottom: 0;
}

/*
 * Figures
 */

figure {
    margin: 16px 0;
}

caption,
figcaption {
    font-style: italic;
    margin: 16px 0;
}

/*
 * Index terms
 */

a.role-index-term {
    display: hidden; /* Not none if we want a link to reach the anchor. */
}

/*
 * Program listings
 */

table.role-listing {
    background: #f7f7f7;
}

colgroup.listing-numbers-column {
    border-right: 1px solid #757575;
}

td.listing-numbers {
    color: #757575;
    padding: 0.5em;
}

td.listing-lines {
    padding: 0.5em;
}

/*
 * Syntax highlighting
 */

span.hl-keyword {
    font-weight: bold;
    color: #602060;
}

span.hl-string {
    color: #A00000;
}

span.hl-number {
    color: #B08000;
}

span.hl-comment {
    font-style: italic;
    color: #808080;
}

span.hl-doccomment {
    color: #008080;
}

span.hl-directive {
    color: #00A000;
}

span.hl-annotation {
    font-weight: bold;
    color: #808080;
}

span.hl-tag {
    font-weight: bold;
    color: #602060;
}

span.hl-attribute {
    color: #0050A0;
}

span.hl-value {
    color: #A00000;
}

span.hl-doctype {
    color: #008080;
}

/*
 * Footnotes
 */

hr.role-footnote-separator {
    width: 4em;
    height: 1px;
    background-color: #C0C0C0;
    border-style: none;
    margin-top: 2em;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: auto;
}

div.role-footnote {
    font-size: 0.917em;
}

div.role-footnote > *:first-child,
div.role-footnote > a:first-child + * {
    margin-top: 0;
}

div.role-footnote > *:last-child {
    margin-bottom: 0;
}

a.role-footnote-number, /*Points to an a.role-footnote-ref*/
a.role-footnote-ref {
    color: #212121;
    vertical-align: super;
    font-size: smaller;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}
