/* Custom Navbar Layout - Bihelia */
/* Logo pushed left, icons pushed right, menu fills between dynamically */

/* ====================================
   MAIN ROW: single line, space-between
   ==================================== */

.headerarea .desktop__menu__wrapper > .row.common__row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

/* ====================================
   LOGO: stick to left edge
   ==================================== */

.navbar__logo__col {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin-right: 15px;
}

.headerarea__logo {
    display: flex;
    align-items: center;
}

.headerarea__logo img {
    max-height: 55px;
    width: auto;
    display: block;
}

/* ====================================
   MENU CENTER: natural width, centered
   ==================================== */

.navbar__menu__col {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headerarea__main__menu {
    text-align: center;
    width: 100%;
}

.headerarea__main__menu nav > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.headerarea__main__menu nav > ul > li {
    flex: 0 0 auto;
    margin: 0 4px;
    white-space: nowrap;
}

.headerarea__main__menu nav > ul > li > a {
    display: block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 8px;
    line-height: 60px;
    transition: color 0.3s;
}

/* ====================================
   ICONS: stick to right edge
   ==================================== */

.navbar__icons__col {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin-left: 15px;
}

.headerarea__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.headerarea__right__nav,
.headerarea__right ul {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.headerarea__right ul li {
    margin-right: 8px !important;
    flex-shrink: 0;
}

.headerarea__right ul li:last-child {
    margin-right: 0 !important;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (min-width: 1400px) {
    .headerarea__main__menu nav > ul > li > a {
        font-size: 14px;
        padding: 10px 10px;
    }
    .headerarea__main__menu nav > ul > li {
        margin: 0 6px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .headerarea__main__menu nav > ul > li > a {
        font-size: 12px;
        padding: 10px 6px;
    }
    .headerarea__main__menu nav > ul > li {
        margin: 0 3px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .headerarea__main__menu nav > ul > li > a {
        font-size: 11px;
        padding: 10px 4px;
    }
    .headerarea__main__menu nav > ul > li {
        margin: 0 1px;
    }
    .navbar__logo__col {
        margin-right: 8px;
    }
    .navbar__icons__col {
        margin-left: 8px;
    }
}

/* Tablet and below: hide desktop menu */
@media (max-width: 991px) {
    .navbar__menu__col {
        display: none !important;
    }
    .headerarea .desktop__menu__wrapper > .row.common__row {
        justify-content: space-between;
    }
}

/* ====================================
   DROPDOWN / MEGA MENU
   ==================================== */

.headerarea__main__menu nav > ul > li.position-static {
    position: static;
}

.headerarea__submenu.headerarea__megamenu {
    left: 0;
    right: 0;
    width: 100%;
}

/* ====================================
   STICKY HEADER
   ==================================== */

.headerarea.sticky .desktop__menu__wrapper > .row.common__row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
}
