/* BEGIN sphinx-immaterial customization */

/* LIGHT */
[data-md-color-scheme="default"] {
    --md-primary-fg-color: #FE7A00; /* Header, Links, Navigation*/
    --md-primary-fg-color--light: #FE7A00;
    --md-primary-fg-color--dark: #FE7A00;
    --md-accent-fg-color: #FE7A00; /* hover Links*/
    --md-default-fg-color: #000000; /* Text Paragraph*/
    --md-default-fg-color--light: #000000; /* Überschriften*/
}

/* overwrite background for pygments styled code blocks*/
pre.highlight:not(.api-field),
div.highlight:not(.api-field) {
    background-color: var(--md-code-bg-color) !important;
}

/* FONTS */
@font-face {
    font-family: "Red Hat Display";
    src: url("fonts/RedHatDisplay-Regular.ttf");
}

@font-face {
    font-family: "Red Hat Display";
    src: url("fonts/RedHatDisplay-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "Red Hat Mono";
    src: url("fonts/RedHatMono-Regular.ttf");
}

@font-face {
    font-family: "Red Hat Mono";
    src: url("fonts/RedHatMono-Bold.ttf");
    font-weight: 700;
}

:root {
    --md-text-font: "Red Hat Display";
    --md-code-font: "Red Hat Mono";
}

.md-typeset ol li blockquote, .md-typeset ol li p, .md-typeset ul li blockquote, .md-typeset ul li p {
  margin: .2em 0;
}

.md-typeset ol li, .md-typeset ul li {
  margin-bottom: .2em;
}

.md-typeset ol li :is(ul, ol), .md-typeset ul li :is(ul, ol) {
  margin-bottom: .2em;
  margin-top: .2em;
}

.md-grid {
    max-width: 64rem; /* width of sidebar-primary + content + sidebar-secondary*/
}

.md-sidebar {
    width: 13rem; /* width of sidebar-primary and sidebar-secondary*/
}

@media screen and (max-width: 76.1875em) {
    [dir="ltr"] .md-sidebar--primary {
        left: -13rem;
    }
    [data-md-toggle=drawer]:checked~.md-container .md-sidebar--primary {
        transform: translateX(13rem);
    }
}

html {
  font-size: 150%;
}

@media screen and (min-width: 100em) {
  html {
    font-size: 150%;
  }
}

@media screen and (min-width: 125em) {
  html {
    font-size: 150%;
  }
}

.md-typeset {
  font-size: .7rem;
}

.md-typeset h1 {
  font-size: 1.35rem;
}

.md-typeset h2 {
  font-size: 1.05rem;
}

.md-typeset pre {
    font-size: .6rem; /* for code blocks use smaller size*/
    padding: .5em 1em;
    overflow-x: auto;
}

.md-typeset pre>code {
    font-size: 1em; /* make sure immaterial theme doesn't shrink code as this is already done by the pre rule above*/
    padding: 0; /* padding already happens in the parent pre as defined above */
}

.md-nav {
  font-size: .65rem;
  line-height: 1.1;
}

.md-sidebar--primary .md-ellipsis {
    margin-left: 0.3rem; /* indentation of sidebar-primary sub elements*/
}

table.docutils {
    font-size: .65rem;
    border-collapse: collapse;
}

table.docutils td, table.docutils th {
    border: 1px solid #e1e4e5;
}

table.docutils td p, table.docutils th p {
    margin: 1.5px 6px !important;
}

/* Tool capability matrix*/
.check-matrix-table {
    border-collapse: collapse;
    border: 0 !important;
    overflow: visible !important;
}

.check-matrix-table th {
    white-space: nowrap;
    font-size: 0.65rem;
    padding: 20px 10px !important;
    border: 0 !important;
    min-width: inherit !important;
}

.check-matrix-table abbr {
    border: 0 !important;
}

.check-matrix-table th .cmt-in .cmt-out p {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #e1e4e5 !important;
}

.check-matrix-table td, .check-matrix-table td p, .check-matrix-table td .cmt-in {
    padding: 1px 2px !important;
    margin: 0 !important;
}

.check-matrix-table td p {
    max-width: 19em;
}

.check-matrix-table td:first-child {
    border-left: 0 !important;
}

.check-matrix-table th > .cmt-in {
    -webkit-transform: translate(24px, 16px) rotate(315deg);
    -ms-transform: translate(24px, 16px) rotate(315deg);
    transform: translate(24px, 16px) rotate(315deg);
    transform-origin: bottom;
    width: 16px;
}

/* sphinx-immaterial overrides*/
.md-typeset table.data:not(.plain) th, .md-typeset table.data:not(.plain) td {
    min-width: inherit;
    padding: 0;
}
/* end sphinx-immaterial overrides*/

.category-table {
    padding-left: 30px !important;
    padding-bottom: 20px !important;
    border: 0 !important;
    width: 100% !important;
    display: table !important;
}

.category-table td, .category-table ul, .category-table p {
    padding: 0 !important;
    margin: 0 !important;
}

.category-table td {
    border: 0 !important;
    padding-right: 20px !important;
    width: 33.3%;
}

.center {
    text-align: center;
}

/* === Admonitions === */
/* important, caution, warning */
.md-typeset :is(.admonition, details):is(.important, .caution, .warning) {
    border-color: #FE7A00;*/
}

.md-typeset :is(.important, .caution, .warning) > :is(.admonition-title, summary) {
    background-color: rgba(254,122,0,.1);
}

.md-typeset :is(.important, .caution, .warning) > :is(.admonition-title, summary)::before {
    background-color: #FE7A00;
}

/* info, example*/
.md-typeset :is(.admonition, details):is(.info, .example) {
    border-color: #70877F;
}

.md-typeset :is(.info, .example) > :is(.admonition-title, summary) {
    background-color: rgba(112,135,127,.1);
}

.md-typeset :is(.info, .example) > :is(.admonition-title, summary)::before {
    background-color: #70877F;
}

/* === guilabel, menuselection === */
.guilabel, .menuselection {
    border: 1px solid #70877F;
    background: rgba(112,135,127,.1);
    font-size: 80%;
    font-weight: 700;
    border-radius: 4px;
    padding: 0 4px;
    margin: auto 2px;
    vertical-align: text-top;
}

/* footer */
.md-footer-logo img {
    margin-top: .5rem;
    height: 40px;
}

.md-footer-links {
    margin-top: .9rem;
}
.md-footer-links a {
    margin-right: .8rem;
    text-decoration: none;
}
.md-footer-links a:hover {
    text-decoration: underline;
}

/* END sphinx-immaterial customization */
