/* #0B5FBF, not the site blue: white 14px bold on #228ECF is 3.6:1, under AA.
   main.css has * { border-radius: 5px !important }, hence the !important radii. */

.tl-out-header *,
.tl-out-header *::before,
.tl-out-header *::after {
    box-sizing: border-box;
}

.tl-out-header .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0;
    /* Bootstrap's -15px: the only gutter comes from .container */
    margin-left: 0;
    margin-right: 0;
    float: none;
}

/* clearfix pseudo-elements become flex items */
.tl-out-header .navbar-header::before,
.tl-out-header .navbar-header::after {
    content: none;
}

.tl-out-header .navbar-brand {
    float: none;
    display: flex;
    align-items: center;
    height: auto;
    padding: 0;
    /* beats .navbar > .container .navbar-brand { margin-left: -15px } */
    margin: 0 !important;
}

.tl-out-header .navbar-brand > img {
    height: 26px;
    width: auto;
    display: block;
    margin: 0;
}

.tl-out-actions {
    display: flex;
    align-items: center;
}

/* margin, not gap: flex gap needs Chrome 84 / Safari 14.1 */
.tl-out-actions > * + * {
    margin-left: 10px;
}

/* the full selector beats landing.css .affix-top a (0,1,1) */
.tl-out-header .tl-out-actions a.tl-out-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .15s ease;
}

.tl-out-header .tl-out-actions a.tl-out-login:hover,
.tl-out-header .tl-out-actions a.tl-out-login:focus {
    color: #fff;
    text-decoration: none;
}

.tl-out-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 22px !important;
    background-color: #0b5fbf;
    /* !important: .affix-top a would otherwise decide this */
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .15s ease;
}

.tl-out-cta:hover,
.tl-out-cta:focus {
    background-color: #094c99;
    color: #fff;
    text-decoration: none;
}

.tl-out-login:focus-visible,
.tl-out-cta:focus-visible,
.tl-out-header .navbar-brand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .9);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .tl-out-header .navbar-header {
        min-height: 64px;
    }

    .tl-out-header .navbar-brand > img {
        height: 32px;
    }
}

.tl-out-header,
.tl-out-header .container,
.tl-out-header .navbar-header {
    border-radius: 0 !important;
}
