/* MediRoles hero video background */
.banner-hero.hero-2.has-video-bg {
    background-image: none !important;
    overflow: hidden;
    position: relative;
}

/* Theme default overlay is opacity .8 — too strong for video */
.banner-hero.hero-2.has-video-bg:before {
    background-color: #06275f !important;
    opacity: .25 !important;
    z-index: 1;
}

.banner-hero.hero-2.has-video-bg .hero-video-wrap {
    bottom: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.banner-hero.hero-2.has-video-bg .hero-video-bg {
    height: 100%;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.banner-hero.hero-2.has-video-bg .hero-video-overlay {
    background: linear-gradient(180deg, rgba(6, 39, 95, .18) 0%, rgba(0, 87, 184, .12) 55%, rgba(6, 39, 95, .22) 100%);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.banner-hero.hero-2.has-video-bg .banner-inner {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .banner-hero.hero-2.has-video-bg .hero-video-bg {
        display: none;
    }
}

/* Force flat top nav: no dropdown for Home / Find a Job / Companies */
.header .main-menu > li > .sub-menu,
.mobile-header-wrapper-inner .main-menu > li > .sub-menu,
.burger-icon-active .main-menu > li.has-children > .sub-menu {
    display: none !important;
}

.header .main-menu > li.has-children > a .arrow-down,
.mobile-header-wrapper-inner .main-menu > li.has-children > a .arrow-down {
    display: none !important;
}

.header .main-menu > li.has-children:hover > .sub-menu,
.header .main-menu > li.has-children:focus-within > .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
