/* Shared EvoCars header: black, white mark and the navigation font from the preview. */
body #masthead,
body #masthead .bg-area,
body #cb-nav-bar,
body #cb-nav-bar .menu-bg-area,
body #cb-nav-bar #main-menu-wrap,
body #mobhead,
body #mobhead .bg-area,
body #mobhead .background {
    background: #000 !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}
body #cb-nav-bar .main-menu > li > a,
body #cb-nav-bar .sub-menu a {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: transparent !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
}
body #cb-nav-bar .main-menu > li > a {
    font-size: 22px !important;
    line-height: 1 !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
body #cb-nav-bar .main-menu > li > a:hover,
body #cb-nav-bar .main-menu > li.current-menu-item > a,
body #cb-nav-bar .main-menu > li.current-menu-ancestor > a {
    color: #fff !important;
    background: transparent !important;
    text-decoration: underline;
    text-underline-offset: 6px;
}
body #cb-nav-bar a {background-color: transparent !important;}
body #cb-nav-bar .sub-menu {
    background: #000 !important;
}
body #cb-nav-bar .sub-menu a {font-size: 19px !important;}
body #cb-nav-bar .icons-wrap a,
body #cb-nav-bar .icons-wrap i,
body #cb-nav-bar #main-menu-wrap > ul:not(.main-menu) a,
body #cb-nav-bar #main-menu-wrap > ul:not(.main-menu) i,
body #mobhead .icons-wrap a,
body #mobhead .icons-wrap i {
    color: #fff !important;
    background-color: transparent !important;
}
body #cb-nav-bar .icons-wrap svg,
body #mobhead .icons-wrap svg {fill: currentColor;}
/* Join the homepage slider directly to the black navigation. */
body.home #block-wrap-21008 {margin-top: 0 !important;}
body.home #block-wrap-21008 .slider {padding-top: 0 !important;}
/* The menu bar is the only desktop header. */
body #masthead {display: none !important;}
body #cb-nav-bar #cb-nav-logo img {
    content: normal !important;
    width: 500px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
}
@media (min-width: 1024px) {
    body #cb-nav-bar {height: auto !important;}
    body #cb-nav-bar #main-menu-wrap {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
        align-items: center !important;
        box-sizing: border-box;
        gap: 0;
        min-height: 120px !important;
        height: auto !important;
        padding: 16px 0 !important;
    }
    body #cb-nav-bar #cb-nav-logo {
        display: flex !important;
        align-items: center !important;
        position: static !important;
        transform: none !important;
        grid-column: 1;
        justify-self: start;
        min-width: 0;
        width: 500px !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body #cb-nav-bar #cb-nav-logo a {display: flex; align-items: center; width: 100%; line-height: 0;}
    body #cb-nav-bar .main-menu {
        grid-column: 2;
        justify-self: center;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center;
        flex: 0 0 auto;
        margin: 0 auto !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
    }
    body #cb-nav-bar .main-menu > li {height: auto !important; align-self: center;}
    body #cb-nav-bar .main-menu > li > a {display: flex; align-items: center; height: auto !important; padding-left: 12px !important; padding-right: 12px !important;}
    body #cb-nav-bar #main-menu-wrap > ul:not(.main-menu) {
        grid-column: 3;
        justify-self: end;
        padding-right: 30px;
        display: flex !important;
        align-items: center !important;
        align-self: center;
        position: static !important;
        transform: none !important;
        flex: 0 0 auto;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }
}
@media (max-width: 1023px) {
    body #masthead {display: none !important;}
    body #mob-menu-wrap {background: #000 !important; color: #fff !important;}
    body #mob-menu-wrap a {
        font-family: 'Barlow Condensed', sans-serif !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        letter-spacing: .025em !important;
        color: #fff !important;
        background: transparent !important;
    }
    body #mobhead .logo-mobile img {
        width: 230px !important;
        max-width: calc(100vw - 120px) !important;
        height: auto !important;
        max-height: 65px !important;
    }
    body #mobhead .header-padding {padding-top: 12px !important; padding-bottom: 12px !important;}
}
