/*
* Customer-facing website header
* Restyles the RD Navbar markup shared by the marketing pages: slim logo row with the
* phone number and Schedule a Demo button, navy menu bar, navy Features dropdown.
* Pages opt in with class="section page-header site-header" on the <header>.
*/
.site-head-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2d3742;
}

.site-head-phone:hover {
    color: #0e76bc;
}

.site-head-phone-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: #0e76bc;
    font-size: 20px;
}

.site-head-phone-text {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: .03em;
    white-space: nowrap;
}

.site-head-phone-text small {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #74757f;
}

.site-head-demo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 30px;
    background: #f2c200;
    color: #12394b;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(242, 194, 0, .35);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.site-head-demo:hover, .site-head-demo:focus {
    background: #12394b;
    color: #ffffff;
    transform: translateY(-2px);
}

.site-head-demo .fa {
    font-size: 18px;
}

/* desktop: slimmer logo row, navy menu bar */
.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-aside-outer {
    border-top: 4px solid #0e76bc;
}

.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-aside {
    padding: 18px 0;
}

.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-brand img {
    max-height: 72px;
}

.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-collapse-content > * + * {
    margin-left: 40px;
}

.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-main-outer {
    background: #12394b;
}

.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-main {
    padding: 0;
}

.site-header .rd-navbar-static .rd-nav-link {
    color: #ffffff;
    padding: 18px 0;
}

.site-header .rd-navbar-static .rd-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #f2c200;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.site-header .rd-navbar-static .rd-nav-link:hover,
.site-header .rd-navbar-static .rd-nav-item.active .rd-nav-link,
.site-header .rd-navbar-static .rd-nav-item.focus .rd-nav-link,
.site-header .rd-navbar-static .rd-nav-item.opened .rd-nav-link {
    color: #f2c200;
}

.site-header .rd-navbar-static .rd-nav-link:hover::after,
.site-header .rd-navbar-static .rd-nav-item.active .rd-nav-link::after,
.site-header .rd-navbar-static .rd-nav-item.opened .rd-nav-link::after {
    transform: scaleX(1);
}

.site-header .rd-navbar-static .rd-nav-item > .rd-navbar-submenu-toggle,
.site-header .rd-navbar-static .rd-nav-item.active > .rd-navbar-submenu-toggle,
.site-header .rd-navbar-static .rd-nav-item.focus > .rd-navbar-submenu-toggle,
.site-header .rd-navbar-static .rd-nav-item.opened > .rd-navbar-submenu-toggle {
    color: #f2c200;
}

/* Client Login as an outlined pill at the end of the menu */
.site-header .rd-navbar-static .rd-nav-item:last-child .rd-nav-link {
    padding: 6px 18px;
    margin: 12px 0;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 20px;
}

.site-header .rd-navbar-static .rd-nav-item:last-child .rd-nav-link::after {
    display: none;
}

.site-header .rd-navbar-static .rd-nav-item:last-child .rd-nav-link:hover {
    background: #f2c200;
    border-color: #f2c200;
    color: #12394b;
}

.site-header .rd-navbar-corporate.rd-navbar-static .rd-navbar-megamenu {
    margin-top: 0;
    background: #12394b;
    border-top: 3px solid #f2c200;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
}

.site-header .rd-navbar-static .rd-megamenu-list-link {
    color: #d6ecfa;
}

.site-header .rd-navbar-static .rd-megamenu-list-link:hover,
.site-header .rd-navbar-static .rd-megamenu-list-link.current {
    color: #f2c200;
}

/* phone/tablet: phone number and demo button in the "more" panel */
.site-header .rd-navbar-fixed .rd-navbar-collapse-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 3px solid #0e76bc;
}

.site-header .rd-navbar-fixed .rd-navbar-collapse-content > * + * {
    margin-top: 18px;
}
