@page {
	size: A4;
    margin: 12mm;
}

.btn-secondary {
    --bs-btn-color: var(--bs-dropdown-link-color);;
    --bs-btn-bg: #00000000;
    --bs-btn-border-color: #00000000;
    --bs-btn-hover-color: var(--bs-dropdown-link-color);;
    --bs-btn-hover-bg: #00000000;
    --bs-btn-hover-border-color: #00000000;
    --bs-btn-focus-shadow-rgb: #00000000;
    --bs-btn-active-color: var(--bs-dropdown-link-color);;
    --bs-btn-active-bg: #00000000;
    --bs-btn-active-border-color: #00000000;
    --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0, );
    --bs-btn-disabled-color: var(--bs-dropdown-link-color);;
    --bs-btn-disabled-bg: #00000000;
    --bs-btn-disabled-border-color: #00000000;
}

.bg-body {
    background-color: #2b3541 !important;
}

body>footer, body[data-layout=landing]>footer {
    background-color: #2b3541 !important;
    color:  rgba(255,255,255,0.65) !important;
}

footer .flex-fill {
    color:  rgba(255,255,255,0.65) !important;
}

.navbar-nav .nav-item .nav-link {
    color: rgba(255,255,255,0.65);
}
.navbar-nav .nav-item .nav-link:hover, .nav-link:focus {
    color: rgba(255,255,255,0.8);
}
.navbar-nav .nav-item .nav-link.active, .nav-link.show {
    color: rgba(255,255,255,1);
}

.icons .dropdown-toggle {
    --bs-btn-color: #dee2e6;
    color: #dee2e6;
}
.icons .dropdown-toggle:hover {
    --bs-btn-color: #dee2e6;
    color: #dee2e6;
}

/* 
    PDF renders with this so altering it means i can somewhat control
    how the content in the pdf is rendered out.
*/
@media print {
    /* FORCE TABLES TO FIT IN PDF */
    .table-responsive {
        overflow: visible !important;
    }
    table {
        width: 100% !important;
        table-layout: fixed !important;
        font-size: 0.85em;
    }
    table th,
    table td {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    /* HIDE VERSION DROPDOWN IN PDF */
    #dropdown-version-area {
        display: none !important;
    }

    /* Smaller Text in the PDF */
    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        font-size: 9pt;
        line-height: 1.25;
    }

    p,
    li,
    td,
    th {
        font-size: 9pt;
    }

    h1 {
        font-size: 20pt;
    }

    h2 {
        font-size: 15pt;
    }

    h3 {
        font-size: 12pt;
    }
}

.dropdown-version-area {
    height: fit-content;
}

.dropdown-legend {
    font-size: 0.65rem;
}

.dropdown-version-icon {
    padding-right: 10px;
}
.dropdown-version-icon-small {
    padding-right: 0px;
}

/* Unsported Banner Mesage*/
.unsupported-banner {
    display: block;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #664d03;
    font-size: 13px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* prevent  overflow on small screens */
@media (max-width: 700px) {
    .unsupported-banner {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

@media print {
    body {
        font-size: 9.5pt;
    }

    article {
        font-size: 9.5pt;
    }

    article p,
    article li,
    article td,
    article th {
        font-size: 9.5pt;
    }

    article h1 {
        font-size: 21pt;
    }

    article h2 {
        font-size: 17pt;
    }

    article h3 {
        font-size: 13pt;
    }

    article h4 {
        font-size: 11pt;
    }

    code,
    pre {
        font-size: 8pt;
    }

    body,
    article {
        line-height: 1.45;
    }

    article p,
    article li {
        line-height: 1.45;
    }
}