/* Shared branding for the exported HTML pages. */
.logo {
    padding: 22px 0;
}

.onrela-brand {
    display: block;
    width: 172px;
    max-width: 100%;
    container-type: inline-size;
}

.onrela-brand:hover {
    text-decoration: none;
}

.onrela-brand img {
    width: 100%;
    height: auto;
}

.onrela-brand__tagline {
    display: block;
    /* Align with the wordmark's visible bounds inside the SVG. */
    width: 67.382%;
    margin-left: 32.492%;
    margin-top: 1px;
    color: #6480a7;
    font-family: Arial, sans-serif;
    font-size: calc(9px + 1pt);
    font-size: calc(5.3cqw + 1pt);
    /* Keep the larger caption within the wordmark's width. */
    letter-spacing: calc(0.2cqw - 0.69px);
    line-height: 1.4;
    text-align: justify;
    text-align-last: justify;
    white-space: nowrap;
}

.bottom-logo .onrela-brand {
    width: 207px;
}

.bottom-logo .onrela-brand__tagline {
    color: #fff;
}

.top-header > .container > .row {
    align-items: center;
}

.top-header > .container > .row > .col-md-6 {
    width: auto;
    flex: 1 1 auto;
}

.top-header > .container > .row > .col-md-2,
.top-header > .container > .row > .col-md-4 {
    width: auto;
    flex: 0 0 auto;
}

.top-header .top-menu ul.nav {
    justify-content: flex-end;
}

.top-header .top-menu ul.nav li a.top-menu-max {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.top-menu-max img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.top-menu-max:focus-visible,
.onrela-brand:focus-visible {
    outline: 3px solid #6853d5;
    outline-offset: 4px;
}

@media (min-width: 769px) and (max-width: 1199px) {
    .top-header > .container {
        width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .logo {
        padding: 15px 0 12px 15px;
    }

    .onrela-brand {
        width: 172px;
    }

    .top-header > .container > .row > .col-md-4 {
        flex: 1 1 auto;
    }

    .top-header .top-menu ul.nav li.item-max {
        display: block;
    }
}
