.yellowbooks-header-top-container {
    position: relative;
    z-index: 1;
    padding: 10px 0;
}

/*Sticky Header*/
.yellowbooks-sticky-header {
    position: static;
    top: -100px;
    transition: var(--transition);
    z-index: 1001;
}

.yellowbooks-header-is-sticky {
    box-shadow: 0 5px 20px 0 var(--deaf-font-color-600);
    left: 0;
    position: fixed;
    top: 0;
    transition: var(--transition);
    width: 100%;
}

.admin-bar .yellowbooks-header-is-sticky {
    top: 32px;
}

.yellowbooks-header-top {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.yellowbooks-header-container .yellowbooks-header-logo {
    margin: 0 20px 0 0;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.yellowbooks-header-container .yellowbooks-header-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.yellowbooks-header-menus {
    display: flex;
    align-items: center;
}

.yb-current-user-details {
    display: flex;
    align-items: center;
}

.yellowbooks-header-menus a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    position: relative;
    cursor: pointer;
    display: unset;
    padding: 0;
}

.yellowbooks-header-container.yb-inner-header .yellowbooks-navigation-nav a {
    display: unset;
    padding: 0;
}

.yellowbooks-header-menus a:hover {
    border-bottom: 4px solid var(--a-hover-color);
}

.yellowbooks-header-menus .yb-sign-up {
    margin-left: 30px;
    font-weight: 700;
}

.yb-current-user-details a:hover {
    border: 0 !important;
}

.yb-current-user-details a img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-left: 6px;
}

.yellowbooks-navigation-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
}

.yellowbooks-navigation-nav li {
    line-height: 15px;
    margin: 0 30px 0 0;
    padding: 0;
}

.yellowbooks-header-menus a i {
    font-size: 18px;
    margin: 0 8px 0 0;
}

.yb-current-user-name {
    text-transform: capitalize;
    font-size: 15px;
}

/*-------------- Header Search ------------------*/
.yellowbooks-header-search {
    margin-right: 100px;
}

.yellowbooks-header-search .cwp-search-form {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.yellowbooks-header-search span.select2-selection.select2-selection--single {
    border: 0 !important;
    margin: 0 !important;
    padding-left: 35px !important;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field,
.yellowbooks-header-search .search-form-fields .yellow-books-form-field {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.yellowbooks-header-search .search-form-fields .cwp-submit-search {
    margin: 0 0 0 0;
    border-radius: 0;
    background-color: var(--primary-color);
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    min-height: 45px;
    transition: var(--transition);
    border: none;
}


.yellowbooks-header-search .search-form-fields .cwp-submit-search:hover:before {
    color: var(--primary-color);
}

.yellowbooks-header-search .search-form-fields .cwp-search-field>label {
    display: none;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field {
    width: calc((100% - 80px) / 2) !important;
    margin: 0;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 0;
    position: relative;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field:first-child {
    box-shadow: inset 0 -4px 0 0 #ffd400;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field:first-child::before,
.yellowbooks-header-search .search-form-fields .cwp-search-field:nth-child(2)::before {
    content: var(--search-icon-code);
    font-family: var(--icons-font);
    color: #000000;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 600;
    padding: 0 12px;
    position: absolute;
    left: 0px;
    top: 10px;
    z-index: 99;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field:nth-child(2)::before {
    content: var(--marker-icon-code);
}

.yellowbooks-header-search .search-form-fields .cwp-search-field:nth-child(2) {
    border-bottom: 1px solid #ccc;
}

.yellowbooks-header-search .search-form-fields [data-name="search_button"] {
    width: 80px !important;
    margin: 0;
    padding: 0;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field input {
    background-color: #FFFFFF;
    min-height: 35px;
    border-color: transparent;
    border-radius: 0;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    color: var(--heading-color);
    padding: 0;
    margin: 0 !important;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field .cwp-field-google-address-input-container {
    position: relative;
    width: 100%;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field .cwp-field-google-address-input-container svg {
    top: 30%;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field input::placeholder {
    font-size: 15px;
    line-height: 18px;
    font-weight: normal;
    color: #333333;
    opacity: 0.35;
}

.yellowbooks-header-search .search-form-fields .cwp-search-field:nth-child(3) input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.yb-inner-header.yellowbooks-header-container .yellowbooks-header-logo {
    margin: 0;
    width: 120px;
}

.yellowbooks-header-search {
    margin-right: 0;
    width: calc(100% - 260px);
}

.yb-inner-header .yellowbooks-header-menus {
    width: 23px;
}


#yb-header-toggle-menu>i {
    cursor: pointer;
    font-size: 26px;
}

.yb-header-dropdown-menu {
    padding: 12px;
    border: 0;
    box-shadow: 0 0 12px 5px rgba(0, 0, 0, .05);
    border-radius: 4px !important;
    width: 240px;
    z-index: 99999;
    background: #fff;
}

.yellowbooks-header-menus .yb-header-dropdown-menu .yb-signin,
.yellowbooks-header-menus .yb-header-dropdown-menu .yb-signup,
.yellowbooks-header-menus .yb-header-dropdown-menu .yb-signout {
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 15px;
}

.yellowbooks-header-menus .yb-header-dropdown-menu .yb-sign-in,
.yellowbooks-header-menus .yb-header-dropdown-menu .yb-sign-up,
.yellowbooks-header-menus .yb-header-dropdown-menu .yb-sign-out {
    font-size: 14px;
    margin: 0;
}

.yb-header-dropdown-menu .yellowbooks-navigation-nav {
    display: block;
}

.yb-header-dropdown-menu .yellowbooks-navigation-nav li {
    margin: 0 0 8px 0;
    padding: 0;
}

.yb-header-dropdown-menu .yellowbooks-navigation-nav li:last-child {
    margin: 0;
}

#menu-inner-header a,
#menu-inner-header a i {
    font-size: 14px;
}


/*----------------- Header Bottom -----------------*/
.yb-inner-header .yellowbooks-header-bottom-container {
    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-color: #CCCCCC8F;
    padding: 10px 0 5px 0;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li {
    margin: 0 30px 5px 0;
    position: relative;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li:last-child {
    margin: 0 0 5px 0;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li i {
    margin-right: 8px;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li .sub-menu {
    -webkit-box-shadow: 0 2px 12px 5px rgba(0, 0, 0, .05);
    box-shadow: 0 2px 12px 5px rgba(0, 0, 0, .05);
    position: absolute;
    height: 200px;
    min-width: 320px;
    border-radius: 4px;
    background-color: #fff;
    z-index: 99;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 11px 15px;
    top: 18px;
    display: none;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li .sub-menu .sub-menu {
    display: flex;
    min-width: unset;
    height: unset;
    box-shadow: unset;
    padding: 0;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li .sub-menu li {
    margin: 0 0 5px 0;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li .sub-menu li a {
    display: flex;
    align-items: center;
}

.yellowbooks-header-bottom #menu-header-bottom-menus li.menu-item-has-children:hover .sub-menu {
    display: flex;
}


@media (max-width: 480px) {
    .yellowbooks-header-search {
        width: 100%;
        margin-top: 20px;
    }

    .yellowbooks-header-search .search-form-fields .cwp-search-field {
        width: 100% !important;
        border-right: 1px solid #ccc;
    }

    .yellowbooks-header-search .search-form-fields .cwp-search-field:first-child::before,
    .yellowbooks-header-search .search-form-fields .cwp-search-field:nth-child(2)::before {
        top: 8px;
    }

    .yellowbooks-header-search .search-form-fields [data-name="search_button"] {
        width: 100% !important;
    }

    .yellowbooks-header-search .search-form-fields .cwp-submit-search {
        min-height: 38px;
        font-size: 14px;
    }
}

/*--------- Dashboard Header------------*/
.yellowbooks-dashboard-header-container {
    background: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 18px;
    margin-bottom: 35px;
}
.yellowbooks-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1152px !important;
    width: 1152px !important;
}
.yellowbooks-dashboard-header .yellowbooks-header-logo {
    margin: 0 20px 0 0;
    width: 200px;
}
.yellowbooks-dashboard-header .yellowbooks-header-logo img{
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}
.yellowbooks-dashboard-header-nav {
    display: flex;
    align-items: center;
    gap: 19px;
}
.yellowbooks-dashboard-header-nav .yellowbooks-dashboard-header-help {
    display: flex;
    gap: 3px;
    align-items: center;
}
.yellowbooks-dashboard-header-user {
    width: 35px;
    height: 35px;
}
.yellowbooks-dashboard-header-user img {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.yellowbooks-dashboard-header-nav .yellowbooks-dashboard-header-help a,
.yellowbooks-dashboard-header-nav .yellowbooks-dashboard-header-help p {
    color: #222222;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.yellowbooks-dashboard-header-nav .yellowbooks-dashboard-header-help a:hover{
    color: var(--a-hover-color) !important;
}