/* ----------------------------navnar starts--------------------------------- */
.navbar{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 6rem;
    left: 0px;
    right: 0px;
    top: 0px;
    z-index: 9999;
    background-color: #9ed1e9;
    /* border-radius: 0px 0px  1rem 1rem; */
    }
    #navbar_part1{
        display: flex;
        flex-direction: row-reverse;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        height: 3rem;
    }
    /* -------------------------dropdown menu starts------------------------ */
    .dropdown {
        padding: 0;
        margin-left: 5px;
        top: 2rem;
        right: 2px;
        width: 40%;
        height: 100vh;
        background-color: aliceblue;
        opacity: .94;
        display: none;
        flex-direction: column;
        position: absolute;
        z-index: 100;
    }
    .dropdown.active {display: flex;}
    
        .dropdown li {
            display: flex;
            flex-direction: row-reverse;
            align-items: center;
            padding: 1vh;
            height: 1rem;
            border-bottom: 2px solid #2d7ef7;
            border-radius: 3px;
            background: #c2e4ff;
            font-size: 3vw;
    
        }
    
    
    /* -------------------------dropdown menu ends------------------------ */
    #navbar_part2{
    display: flex;
    position: relative;
    width:80% ;
    justify-content: center;
    background-color: #cdedfc;
    border-radius: 10px;
    height: 2rem;
    }
    #navbar_part2 form{width: 100%;
        display: flex;
        height:100%;}
    
    #logo{
    font-size: 2rem;
    }
    #search_box{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0% 3%;
     }
    
    #search_box input{
        direction: rtl;
        background: transparent;
        border:transparent;
        outline: none;
        line-height: 1rem;
        position: absolute;
        right: 3vw;
    }
    /* ---------desktop view setup------------- */
    #navbar_part1_desktop{display: none;}
    /* --------------------------navnar ends--------------------------- */
    /* ---------------------------------------مدیا کوئری دسکتاپ------------------------------------- */
@media (min-width: 768px) {
    .navbar{display: none;}
    #navbar_part1{display: flex;
        background-color: #9ed1e9;
        width: 100%;height: 10px;
        margin: 3px;
        font-size: 13px;
        height: 20px;
        justify-content: space-between;
        flex-direction: row;
        border-radius: 5px 5px 0px 0px;
    }
    .navbar_part1_items{margin: 0px 5px;}
    #navbar_desktop{
        display: flex;
        flex-direction: column;
        align-items: center;
        direction: rtl;
        font-size: 14px;
        height: 2rem;
        max-height: 66px;
        width: 100%;
        border-radius: 3px;
    }
    #navbar_part2_desktop{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin: 0px 5px;
        background-color: #9ed1e9;
        
    }
    #navbar_desktop_right{
        display: flex;
        align-items: center;
    }
    .navbar_part2_desktop_right_items{
        margin: 0px .2rem;
    }
    #login_link{
        display: flex;
        align-items: center;
        border: 1px solid;
        padding: 0px 3px;
        border-radius: 5px;
    }
    #search_box_container_desktop{position: relative;
        background-color: #e2eff3;
        padding: 0px 5px;
        border-radius: 8px;
        min-width: 200px;
    }
    #search_box_container_desktop form{margin: 0px;}
    #search_input{border: none;outline: none;background-color: #e2eff3;}
    #logo_desktop{font-size: 20px;}
}