/* -------------------------------------------------------------------------------- *
 * Based on the Asciidoctor default style sheet
 * -------------------------------------------------------------------------------- */

/* Using font awesome icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
/* @import url("font-awesome-4.7.0/css/font-awesome.css"); */

/* --------------------------------------------------------------------------------
 * callout colors (conum)
 */

.conum[data-value] {
    display: inline-block;
    color: #fff !important;
    background: #775759;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    font-size: 0.75em;
    width: 1.67em;
    height: 1.67em;
    line-height: 1.67em;
    font-family: "Open Sans", "DejaVu Sans", sans-serif;
    font-style: normal;
    font-weight: bold;
}
.conum[data-value] * {
    color: #fff !important;
}
.conum[data-value] + b {
    display: none;
}
.conum[data-value]::after {
    content: attr(data-value);
}
pre .conum[data-value] {
    position: relative;
    top: -0.125em;
}
b.conum * {
    color: inherit !important;
}
.conum:not([data-value]):empty {
    display: none;
}

/* --------------------------------------------------------------------------------
 * callout table
 */

.colist > table,
.colist > tr,
.colist > td {
    border: none;
    background: none;
}
.colist td:not([class]):first-child {
    padding: 0.4em 0.75em 0;
    line-height: 1;
    vertical-align: top;
}
.colist td:not([class]):first-child img {
    max-width: none;
}
.colist td:not([class]):last-child {
    padding: 0.25em 0;
}
.colist > table,
.colist > td,
.colost > th {
    display: table-cell;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------------
 * icons for admonitions (NOTE, TIPS, ..)
 */

.admonitionblock > table td.content {
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.admonitionblock > table td.icon {
    text-align: center;
    width: 80px;
} /* fixed size for the icon */

.admonitionblock > table td.icon img {
    max-width: none;
}

.admonitionblock > table td.icon .title {
    font-weight: bold;
    font-family: "Open Sans", "DejaVu Sans", sans-serif;
    text-transform: uppercase;
}

span.icon > .fa {
    cursor: default;
}

a span.icon > .fa {
    cursor: inherit;
}

.admonitionblock td.icon [class^="fa icon-"] {
    font-size: 2.5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.admonitionblock td.icon .icon-note::before {
    content: "\f05a";
    color: #19407c;
}

.admonitionblock td.icon .icon-tip::before {
    content: "\f0eb";
    text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8);
    color: #111;
}

.admonitionblock td.icon .icon-warning::before {
    content: "\f071";
    color: #bf6900;
}

.admonitionblock td.icon .icon-caution::before {
    content: "\f06d";
    color: #bf3400;
}

.admonitionblock td.icon .icon-important::before {
    content: "\f06a";
    color: #bf0000;
}

/* --------------------------------------------------------------------------------
 * Keyboard icons (just styles)
 */

/* .keyseq{color:rgba(51,51,51,.8)} */
kbd {
    font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace;
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
    font-size: 0.65em;
    line-height: 1.45;
    background: #f7f7f7;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em #fff inset;
    margin: 0 0.15em;
    padding: 0.2em 0.5em;
    vertical-align: middle;
    position: relative;
    top: -0.1em;
    white-space: nowrap;
}
.keyseq kbd:first-child {
    margin-left: 0;
}
.keyseq kbd:last-child {
    margin-right: 0;
}

/* --------------------------------------------------------------------------------
 * Quote block, verse block
 */

.quoteblock {
    margin: 0 1em 1.25em 1.5em;
    display: table;
}
.quoteblock:not(.excerpt) > .title {
    margin-left: -1.5em;
    margin-bottom: 0.75em;
}

/* font colors */
.quoteblock blockquote,
.quoteblock p {
    color: #d4d232;
    font-size: 1.15rem;
    line-height: 1.75;
    word-spacing: 0.1em;
    letter-spacing: 0;
    font-style: italic;
    text-align: justify;
}
.quoteblock blockquote {
    margin: 0;
    padding: 0;
    border: 0;
}

/* quote colors */
.quoteblock blockquote::before {
    content: "\201c";
    float: left;
    font-size: 2.75em;
    font-weight: bold;
    line-height: 0.6em;
    margin-left: -0.6em;
    color: #7a2518;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.quoteblock blockquote > .paragraph:last-child p {
    margin-bottom: 0;
}
.quoteblock .attribution {
    margin-top: 0.75em;
    margin-right: 0.5ex;
    text-align: right;
}
.verseblock {
    margin: 0 1em 1.25em;
}

/* font colors */
.verseblock pre {
    font-family: "Open Sans", "DejaVu Sans", sans;
    font-size: 1.15rem;
    color: #cd950c;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}
.verseblock pre strong {
    font-weight: 400;
}
.verseblock .attribution {
    margin-top: 1.25rem;
    margin-left: 0.5ex;
}
.quoteblock .attribution,
.verseblock .attribution {
    font-size: 0.9375em;
    line-height: 1.45;
    font-style: italic;
}
.quoteblock .attribution br,
.verseblock .attribution br {
    display: none;
}

/* font colors */
.quoteblock .attribution cite,
.verseblock .attribution cite {
    display: block;
    letter-spacing: -0.025em;
    color: #cd950c;
}
.quoteblock.abstract blockquote::before,
.quoteblock.excerpt blockquote::before,
.quoteblock .quoteblock blockquote::before {
    display: none;
}
.quoteblock.abstract blockquote,
.quoteblock.abstract p,
.quoteblock.excerpt blockquote,
.quoteblock.excerpt p,
.quoteblock .quoteblock blockquote,
.quoteblock .quoteblock p {
    line-height: 1.6;
    word-spacing: 0;
}
.quoteblock.abstract {
    margin: 0 1em 1.25em;
    display: block;
}
.quoteblock.abstract > .title {
    margin: 0 0 0.375em;
    font-size: 1.15em;
    text-align: center;
}
.quoteblock.excerpt > blockquote,
.quoteblock .quoteblock {
    padding: 0 0 0.25em 1em;
    border-left: 0.25em solid #dddddf;
}
.quoteblock.excerpt,
.quoteblock .quoteblock {
    margin-left: 0;
}
.quoteblock.excerpt blockquote,
.quoteblock.excerpt p,
.quoteblock .quoteblock blockquote,
.quoteblock .quoteblock p {
    color: inherit;
    font-size: 1.0625rem;
}
.quoteblock.excerpt .attribution,
.quoteblock .quoteblock .attribution {
    color: inherit;
    text-align: left;
    margin-right: 0;
}
