﻿.b-icon {
    outline: none;
}
.header-nav {
    position: sticky;
    top: 0;
    margin: 0 0 1px 0;
    z-index: 1034;
    border-bottom: 1px solid #f2f2f2;
    background-color: #004025;
}
.header-nav .b-icon.bi {
    font-size: 24px;
}
.dropdown-toggle::after {
    display: none;
}
.navbar-nav {
    align-items: center;
}
.navbar-nav .nav-link {
    position: relative;
    cursor: pointer;
}
.qty-indicator {
    position: absolute;
    top: 0;
    right: -2px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    color: #fff;
    font-size: 12px;
    background: #ffc425;
    border-radius: 100%;
}
.b-sidebar-header {
    text-align: right;
}
.b-sidebar-body {
    padding: 15px;
}
.nav-item h6 {
    color: #fff;
    font-size: 13px;
    margin-bottom: 0px;
    padding-top: 2px;
    font-weight: 400;
}
.nav-item .nav-link{
    text-align: center;
}
/* logo */
.store-logo img {
    width: auto;
    height: auto;
    max-height: 53px;
}

/* sidebar-cart */

.sidebar {
    padding-left: 0;
}
.b-sidebar .item {
    position: relative;
    width: 100%;
    margin: 0 0 7.5px 0;
    padding: 0 0 7.5px 0;
    border-bottom: 1px solid #efefef;
}
.b-sidebar .item img {
    background-color: #F8F9FB;
}
.b-sidebar .item.comapre-product img {
    max-width: 100px;
}
.b-sidebar .item:last-child,
.b-sidebar .item:last-child:first-child {
    margin: 0;
    padding: 0;
    border-bottom: 0;
}
.b-sidebar .item .attributes {
    font-size: 14px;
    color: #888;
}
.b-sidebar .item .deleteitem {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.b-sidebar .item .col a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.header-nav .bi-cart-check {
    width: 40px;
    margin: 6px 0 0 0;
}
/*PhoneNumber*/
.navbar li.d-none.d-md-block.phonenumber a:hover span {
    color: #ffc425 !important;
}
.phonenumber a {
    font-size: 20px;
    padding-right: 16px;
}
/* menu toogler */
#sidebar-menu .b-sidebar-body {
    padding: 0;
}
.menu-toggler {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 50px;
    height: 31px;
    background-color: transparent !important;
    border: 0 !important;
}
.menu-toggler span {
    width: 30px;
    height: 3px;
    background: #fff;
}
/*Sub-navbar CSS*/

.submenu {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #004025;
    list-style-type: none;
    padding: 0;
    margin: 0;
    min-width: 250px;
}

/* Show submenu when hovering over the Products item */
.sub-navbar ul li:hover .submenu {
    visibility: visible;
    border-top: 2px solid #ffc425;
}

ul li .has-more-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    min-width: 500px !important;
}
.sub-navbar {
    background-color: #004025;
    padding: 5px 0;
    border-top: 1px solid #fff;
}
.sub-navbar > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
}
.sub-navbar > ul > li {
    position: relative;
}
.sub-navbar > ul > li > a {
    color: #ffff;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    display: block;
}

.sub-navbar ul ul li {
    width: 100%;
}
.sub-navbar ul ul li a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    text-align: left;
    display: block;
}
.sub-navbar ul li a:hover {
    background-color: #ffc425;
}

.sub-navbar > ul > li:nth-last-child(1):hover > .submenu,
.sub-navbar > ul > li:nth-last-child(2):hover > .submenu,
.sub-navbar > ul > li:nth-last-child(3):hover > .submenu{
    left: auto;
    right:0;
}
/*Sub-menu ends*/

@media (min-width: 576px) {
    .b-sidebar {
        width: 530px;
    }
}
@media (min-width: 992px) {
    .menu-container {
        align-items: flex-start;
    }
    .navbar-light .navbar-brand {
        text-align: center;
    }
    .top-header-items {
        justify-content: flex-end;
    }
    .menu-container, .store-logo, .top-header-items {
        -ms-flex-preferred-size: 0;
        flex-basis: unset;
        -ms-flex-positive: 1;
        flex-grow: unset;
        max-width: 100%;
    }

}
@media (max-width: 991px) {
    .header-nav {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        margin: 0 0 15px 0;
        background: #fff;
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
        z-index: 1034;
    }
    .header-nav #header-container{
        display:block;
    }
    .header-nav > .navbar {
        height: 58px;
    }
    .header-nav .navbar-brand img {
        max-height: 45px;
    }
    .header-nav .top-header-items.navbar-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #00502f;
        padding: 10px;
        display: inline-flex;
        justify-content: space-around;
        box-shadow: 0 -3px 6px rgba(0,0,0,0.16), 0 -3px 6px rgba(0,0,0,0.23);
    }
}
@media (max-width: 575px) {
    .sidebar-cart .item img {
        max-width: 75px;
    }
    .sidebar-cart .item .col a {
        display: table;
        max-width: calc(100% - 15px);
        font-size: 14px;
        line-height: 1;
    }
    .sidebar-cart .item .price,
    .sidebar-cart .item .quantity {
        font-size: 14px;
    }
    .sidebar-cart .item .attributes {
        font-size: 12px;
    }
    .sidebar-cart .b-sidebar-footer .h4 {
        font-size: 20px;
    }
    .sidebar-cart .b-sidebar-footer .h5 {
        font-size: 16px;
    }
}
@media (max-width: 380px) {
    .header-nav .navbar-brand img {
        max-width: 120px;
    }
}

/* dark header */

[dark-theme="true"] .header-nav {
    background-color: #2d3133;
    border-bottom: none;
}
[dark-theme="true"] .menu-toggler span {
    background: #fff;
}
[dark-theme="true"] .navbar-light .navbar-nav .nav-link {
    color: #fff;
}
[dark-theme="true"] .qty-indicator {
    background: #1FB0C7;
}
[dark-theme="true"] .sidebar-cart .item img {
    background-color: #2d3133;
    border: 1px solid #555;
}
.notification-list {
    background: #fff;
    padding: 7px;
}
.notification-list:hover {
        background: #004025;
        color: #fff;
    }
.notification-list:hover a {
    color: #fff;
}
    .notification-list:hover a.badge {
        color: #004025;
    }