﻿/*
    Update in 20 Feb 2025
    By Shahab
    For WaterPurifier Project
    
*/

.menupanel {
    justify-content: center;
    align-items: center;
    display: flex;
    direction: rtl;
    overflow-x: auto;
    overflow-y: hidden;
}

.menupanel,
.menumaster,
.menuheader,
.istitr,
.menuheader > a {
    color: #143546;
}

    .menupanel:hover,
    .menumaster:hover,
    .menuheader:hover,
    .istitr:hover {
        color: #67b0d6 !important;
    }

.menumaster {
    min-width: 50px;
    float: right;
    margin-left: 40px;
    list-style-type: none;
    cursor: default;
    letter-spacing: 2px;
    font-family: 'B Nazanin';
    font-size: 18px;
    color: #000;
}

.showhand {
    cursor: pointer !important;
}

    .showhand:hover {
        color: #67b0d6 !important;
    }

.menulist {
    list-style-type: none;
    position: relative;
    display: inline;
    float: right;
    width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    display: flex;
    flex-direction: column;
}

    .menulist > li {
        justify-content: flex-start;
        margin: 10px 10px 10px 10px;
        display: flex;
        direction: rtl;
        padding-right: 25px;
        border-bottom: 1px dotted #423f3f;
        padding-bottom: 5px;
    }

        .menulist > li:hover {
            border-bottom: 1px solid #000000;
        }

.menupanel2 {
    /*right: 10%;*/
    left: 0%;
}

.menuline {
    margin-top: 35px;
}

.istitr {
    font-size: 14px;
}

.flmenu {
    margin-top: 10px;
    color: #67b0d6 !important;
}

    .flmenu > a {
        margin-top: 10px;
        color: #67b0d6;
    }

        .flmenu > a :hover {
            color: #f6846a !important;
        }

.openmenu {
    display: inline !important;
}

.closemenu {
    display: none;
}

.secondlayer {
    background-color: #f5f5f5;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    /*-ms-transition: all 1s linear;*/
    -o-transition: all 1s linear;
    transition: all 1s linear;
    overflow-y: auto;
    overflow-x: auto;
    position: absolute;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    z-index: 1000;
}

.firstlevel {
    background-color: #f5f5f5;
}

.hesela {
    height: 50px;
    background-color: #fff;
}

.menuhasimg {
    list-style-type: none;
    justify-content: center;
    align-items: center;
    display: flex;
    direction: rtl;
}

    .menuhasimg > .flmenu {
        float: right;
        margin-right: 35px;
    }

    .menuhasimg > li > a {
        position: relative;
    }

    .menuhasimg > .flmenu a > img {
        width: 150px;
        height: 100px;
        z-index: 1;
    }

    .menuhasimg > li > a > span {
        z-index: 2;
    }

.imginmenu {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #989898;
    margin-right: -150px;
    pointer-events: none;
    top: auto;
    bottom: 26px;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 22px;
    font-weight: bold;
}

.menudown {
    margin-right: 7px;
}

.mastermenu900 {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #000;
    top: 0px;
    right: 0px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #539be7;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
}

    .mastermenu900 > div {
        width: 20px;
        border-bottom: 1px solid #eee;
        height: 2px;
        margin: 2px auto;
    }

.parentmenu900 {
    width: 300px;
    position: absolute;
    min-height: 100vh;
    height: auto;
    right: -300px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    background-color: #000;
    background: rgba(0,0,0,.5);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    z-index: 1000;
    box-sizing: border-box;
    top: 50px;
}

    .parentmenu900 > ul {
        display: flex;
        flex-direction: column;
    }

        .parentmenu900 > ul > li {
            margin-top: 30px;
            justify-content: start;
            display: flex;
            align-items: start;
            width: 100%;
            font-size: 17px;
            border-bottom: 1px dotted;
            padding-bottom: 9px;
        }

            .parentmenu900 > ul > li,
            .parentmenu900 > ul > li > div,
            .parentmenu900 > ul > li > div > a {
                box-sizing: border-box;
                color: #fff;
            }


.showparentmenu900 {
    right: 0;
}
