/* Om Detective Agency - custom overrides */

/* Hide main header when sticky is active (home page) */
.main-header.style-two.fixed-header .header-lower {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

/* Home page header layout: logo left | nav center | call box right */
.main-header.style-two .header-lower {
    background: #e53622;
    padding-right: 0 !important;
}

.main-header.style-two .home-header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 90px;
    padding-right: 0 !important;
}

.main-header.style-two .home-header-layout .logo-box {
    float: none;
    flex: 0 0 auto;
    margin-right: 0;
    padding: 0;
    z-index: 2;
}

.main-header.style-two .home-header-layout .logo-box .logo {
    padding: 12px 20px;
    max-width: none;
    background: #fff;
}

.main-header.style-two .home-header-layout .logo-box .logo img {
    max-height: 65px;
    width: auto;
    display: block;
}

.main-header.style-two .home-header-layout .nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.main-header.style-two .home-header-layout .nav-center .main-menu {
    float: none;
}

.main-header.style-two .home-header-layout .main-menu .navigation > li {
    padding: 0;
    margin: 0 18px;
}

.main-header.style-two .header-lower .home-header-layout .main-menu .navigation > li > a,
.main-header.style-two .sticky-header .home-header-layout .main-menu .navigation > li > a {
    color: #fff;
}

.main-header.style-two .header-lower .home-header-layout .main-menu .navigation > li.current > a,
.main-header.style-two .header-lower .home-header-layout .main-menu .navigation > li:hover > a,
.main-header.style-two .sticky-header .home-header-layout .main-menu .navigation > li.current > a,
.main-header.style-two .sticky-header .home-header-layout .main-menu .navigation > li:hover > a {
    color: #fff;
}

.main-header.style-two .home-header-layout .menu-right-content {
    float: none;
    flex: 0 0 auto;
    padding: 0;
    z-index: 2;
    position: absolute;
    right: 39px;
}

.main-header.style-two .home-header-layout .menu-right-content:before {
    display: none;
}

/* Black call box — same as About Us page */
.main-header.style-two .home-header-layout .support-box {
    position: relative;
    display: inline-block;
    background: #1b1b1b;
    padding: 18px 30px 18px 95px;
    margin-right: 0;
}

.main-header.style-two .home-header-layout .support-box i {
    position: absolute;
    left: 40px;
    top: 19px;
    font-size: 40px;
    line-height: 40px;
    color: #e53622;
}

.main-header.style-two .home-header-layout .support-box h6 {
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}

.main-header.style-two .home-header-layout .support-box h6 a {
    color: #fff;
}

.main-header.style-two .home-header-layout .support-box p {
    color: #7b7b7b;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.main-header.style-two .home-header-layout .nav-center .mobile-nav-toggler .icon-bar {
    background: #fff;
}

.main-header.style-two .sticky-header .home-header-layout .nav-center .mobile-nav-toggler .icon-bar {
    background: #fff;
}

/* Sticky header (home) */
.main-header.style-two .sticky-header .home-header-layout {
    min-height: 75px;
}

.main-header.style-two .sticky-header .home-header-layout .logo-box .logo {
    padding: 8px 15px;
    background: #fff;
}

.main-header.style-two .sticky-header .home-header-layout .logo-box .logo img {
    max-height: 50px;
}

.main-header.style-two .sticky-header .home-header-layout .support-box i {
    color: #e53622;
}

/* Style-one sticky header logo */
.main-header.style-one .sticky-header .logo-box .logo img {
    max-height: 55px;
    width: auto;
}

.main-header.style-one .sticky-header .support-box h6 a,
.main-header.style-one .sticky-header .support-box p {
    color: #fff;
}

.main-header.style-one .sticky-header .support-box i {
    color: #fff;
}

/* Mobile */
@media only screen and (max-width: 1200px) {
    .main-header.style-two .sticky-header {
        display: block !important;
    }

    .main-header.style-two .home-header-layout .nav-center {
        position: static;
        transform: none;
        margin-left: auto;
    }

    .main-header.style-two .home-header-layout .nav-center .main-menu {
        display: none !important;
    }

    .main-header.style-two .home-header-layout .nav-center .mobile-nav-toggler {
        display: block;
        margin-top: 0;
    }

    .main-header.style-two .home-header-layout .menu-right-content .support-box {
        padding: 12px 20px 12px 60px;
    }

    .main-header.style-two .home-header-layout .support-box i {
        left: 20px;
        top: 14px;
        font-size: 30px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .main-header.style-two .home-header-layout .menu-right-content .support-box p {
        display: none;
    }

    .main-header.style-two .home-header-layout .menu-right-content .support-box {
        padding: 12px 15px 12px 50px;
    }

    .main-header.style-two .home-header-layout .support-box h6 {
        font-size: 14px;
    }
}
