.green {
    color: #88cc00;
}

.red {
    color: #FF0000;
}

.md-typeset__table {
    min-width: 100%;
}

.md-typeset table:not([class]) {
    display: table;
}

@media print {
    body {
        font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    }

    h1,
    h2,
    h3,
    h4 {
        border: none !important;
    }

    .md-typeset,
    .admonition,
    code,
    table {
        font-size: 12px !important;
    }

    td.linenos {
        display: none !important;
    }

    figure img {
        max-height: 600px !important;
        /* Approx. 50-55% of the viewport height */
        width: auto !important;
        /* Maintain aspect ratio */
        height: auto !important;
        /* Ensure height is auto to respect max-height */
    }

    .admonition-title::before {
        left: 12px !important;
        top: 12px !important;
    }

    article table,
    ol {
        page-break-before: auto !important;
        page-break-inside: auto !important;
    }

    article>p {
        margin-left: 6px !important;
    }

    article ol {
        margin-left: 32px !important;
    }

    article ul {
        margin-left: 24px !important;
    }

    #doc-cover .logo {
        margin: auto;
        width: 300px !important;
        height: 300px !important;
    }

    address {
        font-style: normal;
        text-align: left;
    }

    #doc-back_cover {
        page: last_page !important;
    }

    table {
        border-collapse: collapse !important;
    }

    th,
    td {
        padding: 0.5em 0.8em !important;
    }

    th,
    tr,
    td {
        border: 1px solid black !important;
    }

    .md-typeset>div,
    .md-typeset>div.admonition,
    .md-typeset>details,
    .md-typeset>div.tabbed-set,
    .md-typeset>blockquote,
    .md-typeset>mark,
    .md-typeset>table,
    .md-typeset>p {
        margin-left: 0.45rem !important;
    }

    .md-typeset h4,
    .md-typeset h5,
    .md-typeset h6 {
        margin-left: 0.45rem !important;
    }

}

@page: first {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;

    @top-right {
        content: none !important;
    }

    @bottom-center {
        content: none !important;
    }

    @bottom-right {
        content: none !important;
    }
}

@page last_page {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;

    @top-right {
        content: none !important;
        font-size: 0.7rem !important;
    }

    @bottom-left {
        content: 'Copyright © 2024 Qvest Stream GmbH' !important;
        font-size: 0.7rem !important;
    }
}

@page {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;

    @top-right {
        font-size: 0.7rem !important;
    }

    @bottom-center {
        content: none !important;
        font-size: 0.7rem !important;
    }

    @bottom-right {
        content: '' counter(page)'/' counter(pages)'' !important;
        font-size: 0.7rem !important;
    }
}