/* 
  Version: 1.0
  Author: Alireza Roshanaie
  Author URI: https://mihanjs.com/

*/

div.page-header {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.page-header .nav-wrapper>ul {
    display: flex;
    position: relative;
    max-width: 1366px;
    float: right;
    margin: auto;
    padding: 0;
    list-style: none;
}


div.page-header .nav-wrapper>ul>li>a {
    display: flex;
    align-items: center;
    height: 100%;
}

div.page-header .nav-wrapper>ul>li>a:hover {
    color: var(--primary-color, var(--colors-primary-color));
}

div.page-header .nav-wrapper>ul>li>a i {
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
}

div.page-header .nav-wrapper ul.parent>li a {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
}

div.page-header .nav-wrapper ul.parent>li a.submenu {
    line-height: 40px;
    text-decoration: underline;
    text-decoration-color: var(--primary-color, var(--colors-primary-color));
    text-underline-offset: 8px;
    font-weight: 700;
}

/* div.page-header .nav-wrapper>ul>li.category-list::before {
    content: '';
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    min-height: 455px;
    position: absolute;
    top: 100%;
    right: 0%;
    border-radius: 0 0 5px 5px;
    display: none;
    transition: all 0.2s ease-in-out;
} */


div.page-header .nav-wrapper>ul>li.category-list:hover:before {
    display: block;
}

div.page-header .nav-wrapper>ul>li.category-list>ul {
    position: absolute;
    background: #F2F2F2;
    min-height: 450px;
    right: 0;
    width: 220px;
    top: 101%;
    padding-right: 0;
    display: none;
    list-style: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 99;
}

div.page-header .nav-wrapper>ul>li.category-list:hover>ul {
    display: block;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li>a {
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding-right: 10px;
    line-height: 50px;
    font-weight: bold;
    display: block;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li.active>a {
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    color: var(--primary-color, var(--colors-primary-color));
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li ul.parent {
    background: var(--white, var(--colors-white));
    box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 800px;
    max-height: 450px;
    min-height: 450px;
    height: 450px;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    right: 220px;
    padding: 0 15px;
    display: none;
    list-style: none;
    z-index: 3;
}


@media screen and (min-width: 1024px) and (max-width: 1440px) {

    div.page-header .nav-wrapper>ul>li.category-list>ul>li ul.parent {
        width: 700px;
    }
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li ul.parent li.img {
    position: absolute;
    width: 300px;
    height: 100%;
    top: 0%;
    left: 0;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li.active ul.parent {
    display: flex;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li ul.parent>li:first-child {
    padding: 16px 0 12px 12px;
    list-style: none;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li ul.parent>li {
    padding: 0 12px;
    list-style: none;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li ul.parent>li>a {
    display: flex;
    align-items: center;
    font-weight: bold;
    line-height: 20px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 12px;
    text-decoration: underline;
    text-decoration-color: var(--primary-color, var(--colors-primary-color));
    text-underline-offset: 7px;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li>ul>li>a:hover {
    color: var(--primary-color, var(--colors-primary-color));
    padding-right: 5px;
}

div.page-header .nav-wrapper>ul>li.category-list ul.parent>li ul>li>ul li a {
    color: #191919;
    font-size: 13px;
    line-height: 27px;
    list-style: none;
}

div.page-header .nav-wrapper>ul>li.category-list>ul>li>ul>li .list-item-image:hover {
    padding-right: 0;
}

div.page-header ul {
    padding-right: 0;
}

div.page-header ul li::marker {
    content: none !important;
}