/**
 * Created by PhpStorm.
 * User: esh
 * Project name kriweb_frontend 
 * 18.02.2024 03:52
 * Bünyamin AKÇAY <bunyamin@bunyam.in>
 */

/* adds some margin below the link sets  */
.navbar{
    box-shadow: none;
}

.navbar .dropdown-menu div[class*="col"] {
    margin-bottom: 1rem;
}

.navbar .dropdown-menu {
    border: none;

}

.navbar .navbar-nav .nav-item .nav-link {
    color: #38475D;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    padding: 4px 9px;
}

.navbar .navbar-nav .nav-item .nav-link span {
    padding: 5px 10px;
}


/* secondarynavbar */
.custom-dropdown {
    position: relative;
    display: inline-block;
    background-color: #F2F2F2;

}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F2F2F2;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown content on hover */
.custom-dropdown:hover .dropdown-content {
    display: block;

}

.nav-secondary {

}

.nav-secondary li a {
    color: #38475D;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    padding: 4px 9px;
}

.nav-secondary li a:hover {
    color: #161d25;
}

.icon-wab {
    height: 27px;
}

.upper-shopping-cart {
    position: relative;
}

.upper-shopping-cart .cart-count {
    position: absolute;
    bottom: -7px;
    right: 3px;
    width: 17px;
    height: 17px;
    border-radius: 10px;
    text-align: center;
    line-height: 12px;
    font-size: 12px;
    font-family: 'Poppins';
}


/* breakpoint and up - mega dropdown styles */
@media screen and (min-width: 992px) {

    /* remove the padding from the navbar so the dropdown hover state is not broken */
    .navbar {
        padding-top: 5px;
        padding-bottom: 0px;
    }

    /* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
    .navbar .nav-item {
        padding: .5rem .5rem;

    }

    /* makes the dropdown full width  */
    .navbar .dropdown {
        position: static;
    }


    .navbar .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        top: 55px;
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.3s linear;
        padding-top: 0px !important;
        /*

        background-color: rgba(0, 0, 0, 0.6) !important;
        height: 100vh;

         */
    }

    .navbar .dropdown-menu .mid-container {
        background-color: #F2F2F2;
    }

    #page-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .navbar .dropdown-menu .mid-container .row {
        width: 100%;
    }

    .navbar .navbar-nav .nav-item.open .nav-link {
        background-color: #ed781c;
        border-color: #ed781c;
        color: #FFFFFF;
        border-radius: 6px;
    }

    .nav-link:hover {
        color: #fff !important;
    }

    .hl-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        line-height: 14px;
    }

    .hl-title {
        font-size: 14px;
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        line-height: 15px;

    }

    .hl-p {
        font-size: 12px;
        font-family: 'Poppins', sans-serif;
        color: #9E9E9E;
        line-height: 12px;

    }

    .hl-b {
        font-size: 10px;
        text-transform: none;
    }

    li.link-item {
        padding: 10px 0;
        list-style: none;
    }

    li.link-item a {
        font-size: 14px;
        font-family: 'Poppins';
        color: #38485E;
        font-weight: 600;
    }

    li.li-h {
        font-size: 16px;
        font-family: 'Poppins';
        color: #6b6b6b;
        font-weight: 600;
        list-style: none;
        text-transform: uppercase;
    }

    .link-item i.feather, .link-item i.line-icon, .link-item i.fab {
        border: 1px solid #38485E;
        padding: 5px;
        border-radius: 15px;
        margin-right: 4px;
    }


    /* shows the dropdown menu on hover */
    .navbar .dropdown:hover .dropdown-menu, .navbar .dropdown .dropdown-menu:hover {
        display: block;
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.3s linear;
    }

    .navbar .dropdown-menu {
        border: 1px solid rgba(0, 0, 0, .15);
        background-color: #fff;
    }

    .col-hosting{
        padding-right: 0;padding-left: 0;
    }

}

/* breakpoint for mobile */
@media screen and (max-width: 991px) {
    .custom-dropdown {
        margin-top: 5px;
        margin-right: 10px;
    }

    .upper-shopping-cart {
        margin-top: 5px;
        margin-right: 10px;
    }

    .upper-shopping-cart .cart-count {
        bottom: 0px;
        right: 0px;
    }

    .hide-on-mobile {
        display: none !important;
    }
    .dropdown-menu .container{
        display: block;
    }
    .col-hosting{
        margin-left: 8.33%;
    }
    .links.mt-4{
        margin-top: 0 !important;
    }
    li.link-item{
        list-style: none;
    }
    li.link-item a{
        font-size: 13px;
        font-family: 'Poppins';
        color: #38485E;
    }
}


