/** css/coalispr.css **/

body {
   font-family: Arial, Segou, Helvetica, Sans, sans-serif;
}

.page .main .content{
    flex-basis: 100%;
   /* width: 100%; */
}

/** Correct center-alignment and unwanted wrapping in tables **/
td, th {
   white-space: nowrap;
   text-align: left;
}

/** Make table contents comparable, especially for sequences,
by using monospace font **/
td {
   font-family: monospace;
   vertical-align: top;
}

/** Reduce all the different shout colors with an own admonition
 *
 * https://github.com/pradyunsg/furo/discussions
 *  Just-the-docs callout like admonitions #841
 * https://nineteendo-furo.readthedocs.io/reference/admonitions.html
 *
 *
**/
:root {
  --icon--coalispr-note: url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="m38.948 4.8728e-4c-1.5862 0.6087-2.094 2.2714-2.7158 3.5382-4.1144 10.134-8.229 20.267-12.344 30.401-1.1671-5.0563-2.3062-10.117-3.491-15.171-0.17999-1.9596-2.807-1.5448-2.7933 0.21004-1.6359 4.6101-3.2718 9.2205-4.9077 13.83-3.3991-6.5002-6.7642-13.014-10.185-19.505-1.8617-1.9368-2.9616 1.6911-2.3358 2.9203 0.85184 2.1732 2.1169 4.2279 3.141 6.3515 2.9003 5.5923 5.7096 11.222 8.6676 16.791 1.2805 1.4482 2.4069-0.50732 2.5821-1.5538 1.399-3.9456 2.7981-7.8909 4.1971-11.837 1.1653 4.379 2.2991 8.7645 3.4842 13.139 0.91519 1.9975 3.7854 0.19465 3.7695-1.3042 4.2954-10.699 8.6845-21.374 12.982-32.07 0.42324-1.6221 1.4163-3.3299 0.80664-4.9886-0.15437-0.31243-0.3735-0.74737-0.85915-0.7522z"/></svg>')
}



.admonition.coalispr-note {
  background-color: var(--color-background-secondary);
  border-color: var(--color-brand-content);
}
.admonition.coalispr-note > .admonition-title {
  color: var(--color-brand-content);
}
.admonition.coalispr-note > .admonition-title::before {
  background-color: var(--color-brand-content);
  -webkit-mask-image: var(--icon--coalispr-note);
  mask-image: var(--icon--coalispr-note);
}


/** Change aspects of side bar **/
aside {
   margin-bottom: 15px;
}

aside.p {
   font-size: 0.8em;
}

table.borderless td{
/** for keeping caption in bottom row on the page **/
    white-space: wrap;
    border: none;
    font-family: Arial, Segou, Helvetica, Sans, sans-serif;
    text-align: center;
    }

/** class to turn style of a paragraph placed after footnotes into a
section with footnote look and feel (this to bypass the finding that
code-blocks kill wrapping of footnote text) **/
.asfootnote {
    color: var(--color-foreground-secondary);
    font-size: var(--font-size--small);
}
/** small bold capitals for :smc:`CONSTANT`s **/
.smc {
    font-variant-caps: all-small-caps;
}

/** As asfootnote but with monosized font for RNA sequences **/
.mononote {
    color: var(--color-foreground-secondary);
    font-family: monospace;
    font-variant: small-caps;
    font-style: normal;
    font-size: 110%
    /**font-size: var(--font-size--small);**/
}
a.mononote {
    font-variant: normal;
    font-weight: bold;
}
/** for captions in tables that present images/sequences **/
th.mononote {
    font-size: **var(--font-size--small);
    font-style: italic;
    font-variant: normal;
}
/** Regular sized font for sequence in snoRNA-pages **/
.mononorm {
    color: var(--color-foreground-secondary);
    font-size: 140%; /**2vw;**/
    font-family: monospace;
    font-variant: small-caps;
    font-style: normal;
}
/** Mark links to nuclotides modified only in Cryptococcus **/
.cneo {
    color: DarkOrange;
}
.highlights {
    color: DarkOrange;
}

/** Use CSS from snopy site instead of logo to work with dark theme **/
.snopy {
    margin : 15 0 0 30;
    font-weight : 900;
    font-size   : 120%;
}
.snopy span {
    color : red;
}
.smallfigcaption{
    color: var(--color-foreground-primary);
    font-size: var(--font-size--small);
    line-height: 1.2;
}
/**svg icons **/
.svglink:hover{
    filter:opacity(80%);
}

/**hide table titles that are needed in local toc **/
section.hide-me >h2{
    display: none;
}
section.hide-me2 >h3{
    display: none;
}

/** for autoapi acc. to Antoine Beyeler
https://bylr.info/articles/2022/05/10/api-doc-with-sphinx-autoapi/ **/
span.summarylabel {
    background-color: var(--color-foreground-secondary);
    color: var(--color-background-secondary);
    font-size: 70%;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 3px;
    vertical-align: 15%;
    padding-bottom: 2px;
    filter: opacity(40%);
}

table.summarytable {
    width: 100%;
}
