/*
 * Project-specific Swagger UI overrides.
 */

/* stylelint-disable */

.description img {
    background-color: white;
}

html.dark-mode .description img {
    background-color: #646464;
}

.auth-wrapper .auth-container .renderedMarkdown p {
    line-height: 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.description {
    line-height: 1.2rem;
}

li code {
    line-height: 1.3rem;
    padding: 0.166rem;
}

.topbar-wrapper a:first-child svg {
    display: none;
}

.topbar-wrapper a:first-child {
    display: block;
    width: 180px;
    height: 40px;
    background-image: url('../images/timeBuzzer-logo-white.svg');
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
}

@media (min-width: 901px) {
    body.api-sidebar-enabled .topbar-wrapper a:first-child {
        display: none;
    }
}

html,
body {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.api-doc-footer {
    font: 0.75rem sans-serif;
    color: white;
    background-color: black;
    padding: 8px 20px;
    visibility: hidden;
}

.api-doc-footer .wrapper {
    margin: 0 auto;
    max-width: 1460px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 3rem;
}

html.dark-mode .api-doc-footer {
    background-color: #2a2e30;
}

body.loaded .api-doc-footer {
    visibility: visible;
}

.api-doc-footer a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.api-doc-footer a:hover {
    text-decoration: underline;
}

.api-doc-footer a:visited {
    color: white;
}

/* swagger logo */
.api-doc-footer a:first-child {
    margin-left: 2rem;
    margin-right: 1rem;
}

@media (max-width: 500px) {
    .api-doc-footer .wrapper {
        gap: 1rem;
    }

    .api-doc-footer a:first-child {
        margin: 0;
    }
}

.download-url-wrapper {
    display: none !important;
}

.topbar {
    min-height: 60px;
}
