﻿.sidenav {
    display: none;
}

.navbar-holder {
    width: 100%;
    height: 100px;
}

.navbar-holder-mobile {
    display: none;
    height: 100px;
}

#header1 {
    left: 0;
    top: 16px;
    width: 85%;
    right: 17px;
    height: 63px;
    margin: auto;
    z-index: 1040;
    border-radius: 16px;
    padding: 15px 30px 15px 0px;
    background-color: var(--header_bcolor1);
    box-shadow: 0 16px 12px -10px rgba(60,64,67,42%);
    transition: all .25s cubic-bezier(.4,0,.2,1) -.1s;
}

#mySidenav hr {
    border: 0;
    opacity: .25;
    margin: 1rem 0;
    color: inherit;
    border-top: 1px solid;
}

.dropdown-content {
    /*left: 0;*/
    right: 0;
    top: 63px;
    display: none;
    z-index: 10000;
    direction: rtl;
    min-width: 160px;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.side-dropdown {
    display: flex;
    direction: rtl;
    align-items: center;
    flex-direction: row-reverse;
    padding: 12px 16px !important;
    justify-content: space-between;
}

    .side-dropdown:hover .side-dropdown-content {
        display: block;
    }

.side-dropdown-content {
    top: -2px;
    left: -160px;
    display: none;
    z-index: 9000;
    direction: rtl;
    min-width: 160px;
    position: absolute;
    background-color: #f9f9f9;
    transition: all 2s ease-in;
    animation: fadeToLeft .4s linear;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    float: none;
    display: block;
    text-align: right;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--header_fcolor);
    border-bottom: 2px solid transparent;
    flex: 1;
}

.dropdown-content .content-item:hover {
    color: var(--formButton_hover);
    border-bottom: 2px solid var(--formButton_hover);
}

.left-header {
    color: #fff;
    width: 125px;
    height: 63px;
    border-radius: 13px 0 0 13px;
    transition: all ease-in-out .4s;
    background-color: var(--formButton_bcolor1);
}

/*   .left-header:hover {
        background-color: var(--formButton_hover);
    }*/

.search-container {
    left: 120px;
    width: 290px;
    display: flex;
    margin: 0 auto;
    direction: rtl;
    position: absolute;
}

input.search-bar {
    width: 100%;
    height: 40px;
    outline: none;
    margin: 0 auto;
    direction: rtl;
    font-size: 13px;
    border-radius: 10px;
    padding: 0 20px 0 38px;
    border: 1px solid #d0cfce;
}

    input.search-bar:focus {
        color: #363c41;
        transition: 0.35s ease;
        border: 1px solid var(--formButton_bcolor1);
    }

        input.search-bar:focus::-webkit-input-placeholder {
            opacity: 0;
            transition: opacity 0.45s ease;
        }

        input.search-bar:focus::-moz-placeholder {
            opacity: 0;
            transition: opacity 0.45s ease;
        }

        input.search-bar:focus:-ms-placeholder {
            opacity: 0;
            transition: opacity 0.45s ease;
        }

.search-icon {
    left: 32px;
    float: left;
    width: 23px;
    height: 100%;
    position: relative;
}

.panel-login-btn {
    padding: 19px;
    text-decoration: none;
    color: var(--formButton_fcolor);
}

.mobile-login-btn {
    width: 30px;
    height: 30px;
    padding: 3px;
    display: none;
    margin: 0px 5px;
    fill: var(--header_fcolor);
}

.mobile-logo-path {
    stroke: var(--formButton_fcolor);
}

.nav-title {
    font-size: 16px;
    color: var(--header_fcolor);
}

.nav-logo {
    width: auto;
    height: auto;
    max-height: 48px;
}

.content-item {
    font-size: 14px;
    font-weight: 600;
    padding: 18px 0;
    line-height: 24px;
    color: var(--header_fcolor);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}
    /*        حقوردی 1403/11/03*/
    .content-item:not(.dropDown-link-1) {
        direction: rtl;
    }

    .content-item:hover {
        color: var(--formButton_hover) !important;
        border-bottom: 3px solid var(--formButton_hover);
    }

@keyframes fadeToLeft {
    from {
        opacity: 0;
        left: -100px;
    }

    to {
        opacity: 1;
    }
}

@media (max-width : 1480px) {
    #header1 {
        top: 0;
        width: 100%;
        border-radius: 0;
    }

    .left-header {
        border-radius: 0;
    }

    .nav-title {
        font-size: 14px !important;
    }

    .content-item {
        font-size: 12px !important;
    }
}

@media (max-width : 992px) {
    .navbar-holder {
        display: none;
    }

    .navbar-holder-mobile {
        display: block;
        height: 48px;
        width: 100%;
    }

    #header1 {
        height: 48px;
        padding: 15px 15px 15px 0px;
    }

    .left-header {
        width: 17%;
        height: 48px;
    }

    .search-container {
        display: none;
    }

    .nav-content {
        display: none !important;
    }

    .mobile-login-btn {
        display: flex;
    }

    .panel-login-btn {
        display: none;
    }

    .sidenav {
        top: 0;
        width: 0;
        right: 0;
        bottom: 0;
        display: flex;
        z-index: 40000;
        position: fixed;
        padding-top: 5rem;
        overflow-x: hidden;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
        transition: all ease-in-out 0.5s;
        background-color: var(--formButton_bcolor1);
    }

    .search-container-mobile {
        width: 230px;
        display: flex;
        direction: rtl;
        margin: 1rem auto;
        transform: translateX(-10px)
    }

    .sidenav .link-style, .dropDown-link-mobile-1 {
        padding: 17px;
        line-height: 1;
        display: block;
        font-size: 13px;
        transition: 0.3s;
        text-decoration: none;
        min-width: max-content;
        color: var(--formButton_fcolor);
    }

    .sidenav a:hover {
        color: var(--formButton_fcolor);
    }

    .sidenav div:hover {
        color: var(--formButton_fcolor);
    }

    .sidenav hr {
        width: 100%;
        color: #818181;
    }

    .sidenav .closebtn {
        top: 15px;
        width: 40px;
        right: 10px;
        font-size: 36px;
        margin-left: 50px;
        position: absolute;
    }

    .sidenav .mobile-turn-content {
        padding: 12px;
        border-radius: 16px;
        align-items: center;
        margin-bottom: 4rem;
        min-width: max-content;
        justify-content: center;
        border: 3px solid var(--formButton_fcolor);
    }

    .mobile-turn-content a {
        font-size: 15px;
        font-weight: bold;
        color: var(--formButton_fcolor);
    }

    .sub-dropdown-mobile-1 {
        padding: 14px;
        font-size: 13px;
    }

    .dropdown-content-mobile, .sub-dropdown-content {
        width: 100%;
        display: none;
        direction: rtl;
        min-width: 160px;
        background-color: var(--formButton_bcolor1);
    }

        .dropdown-content-mobile a .sub-dropdown-content a {
            opacity: .9;
            float: none;
            display: block;
            padding: 12px 16px;
            text-align: center;
            text-decoration: none;
            color: var(--formButton_fcolor);
        }

        .sub-dropdown-content a {
            color: #d3d3d3;
        }

    .dropdown-content a:hover .sub-dropdown-content a:hover {
        color: var(--formButton_bcolor1);
    }

    .sub-dropdown-content-1 .sub-dropdown-item:last-child {
        padding-bottom: 0
    }
}

@media (max-width: 500px) {
    .nav-title {
        font-size: 12px !important;
        text-align: center;
        line-height: 19px;
    }
}
