
/*------------------------------------
   Header
------------------------------------*/
header.page-header {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
}

header.page-header.page-header--dark {
    background-color: #212529;
}

header.page-header.page-header--dark .top-page-header {
    padding-right: 0;
    padding-left: 0;
    border-color: #363636;
}

header.page-header.page-header--dark .top-page-header ul li {
    color: #fff !important;
}

header.page-header.page-header--dark .bottom-page-header {
    background-color: #212529;
    margin-right: -15px;
    margin-left: -15px;
}

header.page-header.page-header--dark .bottom-page-header .user-items .user-item>a {
    color: #fff;
}

header.page-header.header-unset--box-shadow {
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

header.page-header .top-page-header {
    padding: 15px;
    border-bottom: 1px solid #f2f2f2;
}

header.page-header .top-page-header .contact-list ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

header.page-header .top-page-header .contact-list ul li {
    color: #62666d;
    margin-left: 15px;
}

header.page-header .top-page-header .contact-list ul li:last-child {
    margin-left: 0;
}

header.page-header .top-page-header .contact-list ul li i {
    color: #62666d;
    margin-left: 7px;
}

header.page-header .top-page-header .contact-list ul li a {
    color: #62666d;
    font-size: 15px;
}

header.page-header .top-page-header .top-header-menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

header.page-header .top-page-header .top-header-menu ul li {
    color: #000;
    margin-right: 15px;
}

header.page-header .top-page-header .top-header-menu ul li:first-child {
    margin-right: 0;
}

header.page-header .top-page-header .top-header-menu ul li a {
    color: #62666d;
}

header.page-header .bottom-page-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

header.page-header .bottom-page-header .site-logo {
    margin-left: 45px;
}

header.page-header .bottom-page-header .site-logo a {
    display: block;
}

header.page-header .bottom-page-header .site-logo a img {
    max-width: 100%;
}

header.page-header .bottom-page-header .user-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

header.page-header .bottom-page-header .user-items .user-item {
    margin-right: 20px;
    position: relative;
}

header.page-header .bottom-page-header .user-items .user-item:first-child {
    margin-right: 0;
}

header.page-header .bottom-page-header .user-items .user-item>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    align-items: center;
    color: #000;
    position: relative;
}

header.page-header .bottom-page-header .user-items .user-item>a i {
    font-size: 18px;
    color: #62666d;
}

header.page-header .bottom-page-header .user-items .user-item>a span.bag-items-number {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 18px;
    height: 18px;
    background-color: #ef4056;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

header.page-header .bottom-page-header .user-items .user-item>a.btn-auth {
    display: flex;
    align-items: center;
    height: 45px;
    line-height: 45px;
    background-color: #fff;
    border: 1px solid #e0e0e2;
    border-radius: 7px;
    color: #000;
    padding-right: 15px;
    padding-left: 15px;
}

header.page-header .bottom-page-header .user-items .user-item>a.btn-auth i {
    margin-left: 7px;
}

header.page-header .nav-wrapper {
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    padding: 0 15px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    z-index: 99;
}

header.page-header .nav-wrapper>ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    max-width: 1366px;
    padding-right: 15px;
    padding-left: 15px;
    margin: auto;
    float: right;
}

header.page-header .nav-wrapper>ul>li {
    margin-right: 20px;
}

header.page-header .nav-wrapper>ul>li:first-child {
    margin-right: 0;
}

header.page-header .nav-wrapper>ul>li>a {
    display: flex !important;
    align-items: center;
    font-weight: 500;
}

header.page-header .nav-wrapper>ul>li>a i {
    font-weight: bold;
    font-size: 16px;
    margin-left: 5px;
}

header.page-header .nav-wrapper>ul>li>a:hover {
    color: #007bff;
}

header.page-header .nav-wrapper>ul>li a {
    display: block;
    color: #000;
    line-height: 55px;
}

header.page-header .nav-wrapper.hidden--nav-wrapper {
    transform: translateY(-100%);
}

header.page-header.fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}


/*------------------------------------------------------------------- Header Responsive */
.header-responsive {
    background-color: #fff;
    padding: 10px 15px;
    display: none;
}

.header-responsive .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.header-responsive .header-top .side-navigation-wrapper .btn-toggle-side-navigation {
    background-color: transparent;
    border: none;
}

.header-responsive .header-top .side-navigation-wrapper .btn-toggle-side-navigation i {
    font-size: 18px;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation {
    position: fixed;
    top: 0;
    right: -290px;
    width: 290px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: all 0.2s ease;
    z-index: 100;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation.toggle {
    right: 0;
}

/*-----------------------------------------*/
.header-responsive .header-top .side-navigation-wrapper .side-navigation .site-logo {
    padding: 20px 15px;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .site-logo a {
    display: block;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .site-logo a img {
    max-width: 100%;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .divider {
    height: 1px;
    background-color: #ececec;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*-----------------------------------------*/
.header-responsive .header-top .side-navigation-wrapper .side-navigation ul.not-list-children li a {
    display: block;
    color: #000;
    padding: 5px 15px;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation ul.not-list-children li a i {
    margin-left: 5px;
}

/*-----------------------------------------*/
.header-responsive .header-top .side-navigation-wrapper .side-navigation .category-list li a {
    display: block;
    color: #000;
    padding: 8px 10px;
    font-size: 12px;
    font-family: 'iranyekan';
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .category-list li.has-children>a {
    position: relative;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .category-list li.has-children>a:after {
    content: "\f078";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    left: 15px;
    top: 5px;
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .category-list li.has-children>a.active:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.header-responsive .header-top .side-navigation-wrapper .side-navigation .category-list li.has-children ul {
    display: none;
    background-color: #f0f0f1;
    padding: 15px 20px 15px 15px;
    list-style-type: none;
}

.header-responsive .header-top .side-navigation-wrapper .overlay-side-navigation {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 99;
}

/*-----------------------------------------*/
.header-responsive .header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.header-responsive .header-bottom .search-box {
    flex-grow: 1;
    margin-left: 20px;
    position: relative;
}

.header-responsive .header-bottom .search-box form {
    display: flex;
    align-items: center;
    position: relative;
}

.header-responsive .header-bottom .search-box form input {
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 7px;
    padding: 10px;
    border: none;
}

.header-responsive .header-bottom .search-box form i {
    position: absolute;
    left: 10px;
    font-size: 18px;
}

.header-responsive .header-tools a {
    color: #000;
    margin-left: 7px;
    position: relative;
}

.header-responsive .header-tools a:last-child {
    margin-left: 0;
}

.header-responsive .header-tools a i {
    font-size: 18px;
}

.header-responsive .header-tools a .bag-items-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 18px;
    height: 18px;
    background-color: #e91f4f;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-logo-menu{
    width:50%;
    margin: 0 auto;
    display: block;
}
/*--------------------- Header Responsive */

/*---------------------------- Media Queries */

@media only screen and (max-width: 960px) {
    header.page-header {
        display: none;
        position: unset !important;
    }
    #main {
        margin-top: 165px;
    }
    .search-form .search-input-box input {
        padding-right: 25px !important;
    }
    .header-responsive {
        display: block;
        direction: rtl;
        position: fixed;
        top: 0px;
        padding: 10px 7px;
        z-index: 100;
        width: 100%;
        list-style: none;
        background: #fff;
        font-size: 18px;
        line-height: 18px;
        border-color: rgba(129, 129, 129, 0.2);
        border-bottom-width: 1px;
        border-bottom-style: solid;
    }
    .header-responsive .header-top{
        padding: 8px;
        margin:0;
    }
    .header-responsive .header-bottom{
        padding: 8px;
    }
    .category-list {
        direction: rtl;
        text-align: right;
    }

    #mobile-navigation-area {
        display: none !important;
    }

    .search-form {
        min-width: 300px;
        margin-top: 2px;
        margin-bottom: 0px;
        border-radius: 5px;
        background: #f0f0f0 !important;
        border: 1px solid #e3ecf3;
    }
}

@media only screen and (max-width: 480px) {
    .header-responsive .header-top>.site-logo {
        max-width: 100%;
    }
}

@media only screen and (min-width: 280px) and (max-width: 768px) {
    #search-box {
        border-radius: 10px;
        left: unset !important;
        transform: unset !important;
        display: block !important;
        margin-top: unset !important;
        background: #f0f0f0 !important;
        border: 1px solid #e3ecf3 !important;
        right: 12px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 599px) {
    #search-box button {
        background: none !important;
        width: 18px !important;
        margin-top: 1px;
        height: auto !important;
        right: 10px;
        left: auto;
        top: 7px;
    }
    .search-form .search-input-box input {
        padding-right: 20px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 599px) {
    #search-box {
        padding: 0px 0px !important;
        width: 70%;
    }
}
/*---------------------------- Media Queries */
