/* GCG additions to Doxygen Awesome 2.5.0. */
html {
    --primary-color: #a64b00;
    --primary-dark-color: #793600;
    --primary-light-color: #ffad52;
    --header-background: #fffaf0;
    --content-maxwidth: 1100px;
    --border-radius-large: 7px;
    --border-radius-medium: 5px;
}

@media (prefers-color-scheme: dark) {
    html:not(.light-mode) {
        --primary-color: #ffb34f;
        --primary-dark-color: #ffd195;
        --primary-light-color: #945513;
        --on-primary-color: #211a12;
        --header-background: #29241d;
    }
}

.gcg-site-nav {
    --link-color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    width: 100%;
    padding: 9px 20px;
    color: #fff;
    background: #3d3429;
    border-top: 4px solid #fa0;
    font-size: 14px;
}

.gcg-site-nav a,
.gcg-site-nav a:visited {
    color: #fff;
    text-decoration: none;
}

.gcg-site-nav a:hover,
.gcg-site-nav a:focus-visible {
    --link-color: #ffcc66;
    color: #ffcc66;
    text-decoration: underline;
}

.gcg-home-link {
    font-weight: 700;
}

.gcg-version-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.gcg-version-select {
    max-width: 100%;
    min-width: 110px;
    padding: 5px 26px 5px 8px;
    border: 1px solid #c8bda9;
    border-radius: 4px;
    background: #fff;
    color: #342b20;
    font: inherit;
}

.gcg-version-select:disabled {
    opacity: 1;
}

.gcg-version-select:focus-visible {
    outline: 3px solid #ffb52e;
    outline-offset: 2px;
}

#projectname a,
#projectname a:visited {
    color: inherit;
}

#projectlogo img {
    padding: 6px;
    background: #a64b00;
    border-radius: 50%;
}

.contents center > ul,
.contents center > ol {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.gcg-legal {
    margin: 0;
    padding: 4px 12px;
    font-size: 11px;
    text-align: right;
}

@media screen and (max-width: 600px) {
    .gcg-site-nav {
        gap: 8px 16px;
        padding: 8px 12px;
    }

    .gcg-version-label {
        width: 100%;
        margin-left: 0;
    }
}
