/* Original artwork and typography; clip only the reflected MIDT pixels. */
.header-full-title.midt-brand { position: relative; background-image: none; }
.midt-brand::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 290px;
    height: 61px;
    background: url("../img/colors/blue/logo-v1-small-nobg.jpg") no-repeat left center;
    clip-path: polygon(0 0, 290px 0, 290px 61px, 104px 61px, 104px 40px, 0 40px);
    pointer-events: none;
}
.midt-footer-brand-container {
    overflow: hidden;
    width: 479px;
    max-width: 100%;
    margin-bottom: 20px;
    background-image: linear-gradient(to top, #f0f0f0, #f4f4f4);
}
.header-full-title.midt-footer-brand {
    float: none;
    display: block;
    width: 479px;
    margin-bottom: 0;
    color: #666;
    text-decoration: none;
}
.midt-brand-sector {
    display: block;
    margin: 15px 0 5px;
    color: #0099da;
    font-family: "Muli", sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 120%;
    word-spacing: -7px;
}
.midt-brand-description { display: block; margin-bottom: 15px; font-size: 1.2em; text-align: center; }
.midt-footer-brand .midt-brand-description { color: #666; }
.midt-brand:focus-visible, .top-nav a:focus-visible {
    outline: 2px solid #006b99 !important;
    outline-offset: 3px;
}
@media (max-width: 480px) {
    .header-full-title.midt-footer-brand {
        transform: scale(.58);
        transform-origin: top left;
        margin-bottom: -20px;
    }
}
/* Account actions share the existing main-navigation treatment. */
#header-full-top .top-nav { margin-top:26px; }
#header .midt-nav-account > a { max-width:220px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#header .midt-nav-account i, #header .midt-nav-login i, #header .midt-logout i { margin-right:4px; }
#header .midt-nav-logout form { display:none; }
#header .midt-logout { display:block; margin:0; padding:10px 15px; border:0; border-radius:0; color:#fff; background:transparent; font-family:"Lato",sans-serif; font-size:14px; font-weight:400; line-height:20px; cursor:pointer; text-align:left; }
#header .midt-logout:hover, #header .midt-logout:focus { color:#fff; background:#444; }
#header .midt-logout:focus-visible { outline:2px solid #fff; outline-offset:-4px; }
@media (min-width:768px) {
    #header .navbar-nav { display:flex; flex-wrap:wrap; float:none; width:100%; }
    #header .navbar-nav > .midt-nav-account, #header .navbar-nav > .midt-nav-login { margin-left:auto; }
    #header .midt-logout { margin-top:-1px; padding-top:16px; padding-bottom:15px; font-size:16px; }
}
@media (min-width:768px) and (max-width:991px) { #header .midt-logout { padding-left:8px; padding-right:8px; font-size:14px; } }

/* Native checkbox: MVC's hidden false value must not break a custom adjacent-label indicator. */
#loginForm .midt-remember { display:flex; align-items:center; gap:8px; min-height:24px; }
#loginForm .midt-remember input[type="checkbox"] { position:static; opacity:1; width:18px; height:18px; margin:0; z-index:auto; appearance:auto; accent-color:#0099da; cursor:pointer; }
#loginForm .midt-remember label { margin:0; padding:0; font-weight:400; cursor:pointer; }
#loginForm .midt-remember input[type="checkbox"]:focus-visible { outline:2px solid #006b99; outline-offset:3px; }

.midt-nav-account > a { max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
