html {
    --primary-color: #004E9E;
    --primary-light-color: #69A6DA;

    --page-secondary-foreground-color: #B2B2B2;
    
    --warning-color: #FFE565;
    --warning-color-dark: #C2A518;
    --warning-color-darker: #846E04;
    --note-color: #97D6FF;
    --note-color-dark: #1875B1;
    --note-color-darker: #044772;
    --deprecated-color: #BEBEBE;
    --deprecated-color-dark: #808080;
    --deprecated-color-darker: #555555;
}

@media (prefers-color-scheme: dark) {
    html:not(.light-mode) {
        /* define dark-mode variable overrides here if you DON'T use doxygen-awesome-darkmode-toggle.js */
        --warning-color: #3b2e04;
        --warning-color-dark: #f1b602;
        --warning-color-darker: #ceb670;
        --note-color: #163750;
        --note-color-dark: #1982D2;
        --note-color-darker: #dcf0fa;
        --deprecated-color: #2e323b;
        --deprecated-color-dark: #738396;
        --deprecated-color-darker: #abb0bd;
    }
}

@media (prefers-color-scheme: dark) {
    html:not(.light-mode) div.contents div.dyncontent img,
    html:not(.light-mode) div.contents center img,
    html:not(.light-mode) div.contents > table img,
    html:not(.light-mode) div.contents div.dyncontent iframe,
    html:not(.light-mode) div.contents center iframe,
    html:not(.light-mode) div.contents table iframe {
        filter: none !important;
    }
}

html.dark-mode div.contents div.dyncontent img,
html.dark-mode div.contents center img,
html.dark-mode div.contents > table img,
html.dark-mode div.contents div.dyncontent iframe,
html.dark-mode div.contents center iframe,
html.dark-mode div.contents table iframe {
    filter: none !important;
}

/* Product Comparison Table (Appendix B) */

table.sortable td:nth-child(1) {  
  white-space: nowrap; 
}

/* Product Comparison Table (Appendix B) - Dark Mode */

table.sortable tbody {
    border: none;
    margin: var(--spacing-medium) 0;
    box-shadow: 0 0 0 1px var(--separator-color);
    border-radius: var(--border-radius-small);
}

table.sortable tbody {
    border: none;
    margin: var(--spacing-medium) 0;
    box-shadow: 0 0 0 1px var(--separator-color);
    border-radius: var(--border-radius-small);
}

table.sortable caption {
    display: block;
}

table.sortable th {
    background: var(--tablehead-background);
    color: var(--tablehead-foreground);
    font-weight: 600;
    font-size: var(--page-font-size);
}

table.sortable tr th:first-child {
    border-top-left-radius: var(--border-radius-small);
}

table.sortable tr th:last-child {
    border-top-right-radius: var(--border-radius-small);
}

table.sortable td,
table.sortable th {
    border: 1px solid var(--separator-color);
    padding: var(--spacing-small) var(--spacing-medium);
}

table.sortable td:first-child,
table.sortable th:first-child {
    border-left: none;
}

table.sortable tr:first-child td,
table.sortable tr:first-child th {
    border-top: none;
}

table.sortable tr:last-child td,
table.sortable tr:last-child th {
    border-bottom: none;
}

table.sortable th {
    border-width: 1px 1px 1px 0px !important;
}

@media (prefers-color-scheme: dark) {
    table.sortable td,
	table.sortable th {
		background: var(--page-background-color) !important;
	}
	table.sortable tr.even td {
		background-color: #404040 !important;
	}
}

@media screen and (min-width: 2000px) {

    div.contents, div.header .title, div.header .summary {
        max-width: 2050px !important;
    }
}


