/*
* navbar.css
***************************************************************************** */
nav {
    display: block;
    float: left;
    clear: both;
    width: 100%;
    max-width: 100%;
    background: #fff;
    margin: 0;
    border: 0;
    height: auto;
    position: relative;

    /* -webkit-box-shadow: 0 4px 10px -7px rgb(0 0 0 / 75%);
    -moz-box-shadow: 0 4px 10px -7px rgba(0,0,0,0.75);
    box-shadow: 0 4px 10px -7px rgb(0 0 0 / 75%); */
}

/* --------------------------------------------------- */
.container-nav {
    display: block;
    clear: left;
    float: none;
    width: 100%;
    height: 75px;
    max-width: 1150px;
    margin: 0 auto;
    background: url(/images/bannerbg.jpg);
}

a.logo-banner {
    display: block;
    float: left;
    width: 250px;
    height: 65px;
    background: url(/images/medicallogo.png) no-repeat;
    background-size: contain;
    margin: 10px 0 0;
}
a.logo-banner:hover { margin-top: 7px; }

/* Legal YP: right-side CTA box */
.legal-nav-cta {
    position: fixed;
    top: 0;
    right: 20px;
    z-index: 1000;
    background-color: #420808;
    padding: 5px 15px;
    display: flex;
    align-items: center;
}

.legal-nav-cta-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-nav-cta-box a,
.legal-nav-cta-box a:link,
.legal-nav-cta-box a:visited {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.legal-nav-cta-sep {
    color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    /* hide CTA on small screens to prevent overlap with mobile nav toggle */
    .legal-nav-cta { display: none; }
}

/* When the CTA is inside the carouselsearch container (a flex row), align it to the right and center vertically */
.container-carouselsearch .legal-nav-cta {
    position: relative; /* let the flexbox layout manage positioning */
    margin-left: auto; /* push to the right */
    align-self: center; /* vertical centering within the flex row */
}
