* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: el_m;
}

body {
    font-family: el_m;
}

.nav .wrapper .mega-box {
    width: 100%;

}

.co_fon {
    color: #000;
}

@font-face {
    font-family: el_m;
    font-style: normal;
    src: local('el_m Regular'), local('el_m-Regular'), url(ElMessiri-VariableFont_wght.ttf);
    font-display: swap;
}

nav {

    position: relative;
    width: 100%;
    z-index: 999;
    height: 65px;
    line-height: 65px;

}

nav .wrapper {
    position: relative;
    /* max-width: 1250px;*/
    padding: 0 30px;

    margin: auto;
    display: flex;

    justify-content: space-between;
    flex-direction: row-reverse;



}

.wrapper .logo img,
.img_fo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.imnnj a img {
    width: 70px;
    height: 200px;
    object-fit: contain;
}

.text-rti {
    direction: ltr;
}

.wrapper .nav-links {
    display: inline-flex;
    flex-direction: row-reverse;
    /* display: flex; 
    align-items: center;
    width: 100%;
    margin: 0;*/
    /* height: 0; 
    padding: 0;
    justify-content: flex-end;*/

}

.nav-links li {
    list-style: none;
}

.fa-bars:before,
.fa-times:before {
    color: #000;
    font-size: 24px
}

.wrapper a:not([href]):not([class]) {
    color: #f2f2f2;
    text-decoration: none;
}

.nav-links li a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 9px 15px;

    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links .fa:before {

    color: #294a99 !important;
}

.nav-links li a:hover {
    background: #294a99 !important;
    color: #f2f2f2;
}

.nav-links li a:hover .fa {
    background: #f2f2f2 !important;
}



.nav-links li:hover .mega-box {
    top: 65;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;


}



.mega-box {
    position: absolute;
    top: 65px;
    width: 100%;
    left: 0;
    padding: 0 5px;
    opacity: 0;
    visibility: hidden;

}

.mega-box .content {
    background: #e4e4e4;
    padding: 25px 20px 3px;
    display: flex;
    width: 100%;
    justify-content: space-between;

}

.content .row_row {
    width: 100%;
    line-height: 45px;
    color: #000;
}

.row_row header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.content .row_row header {
    color: #000;
    font-size: 17px;
    font-weight: 500;
    /* width: 100%;*/
    background: #aec7dd;
    border: 1px solid #000;
    border-radius: 20px;
    padding-right: 7px;
    margin-left: 5px;


}

.content .row_row .mega-links li a {


    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    /*  width: 100%;*/

}



.content .row_row .mega-links {

    border-left: 1px solid rgba(0, 0, 0, 0.09);
    color: #000;
    /*  width: 100%;*/

}

.content .row_row:nth-child(5) .mega-links {
    border-left: 0px;
}

.row_row .mega-links li {
    padding: 0 5px;
}

.row_row .mega-links li a {
    padding: 0 20px;
    color: #d9d9d9;
    font-size: 20px;
    display: block;
}

.row_row .mega-links li a:hover {
    color: #f2f2f2;
}


.mega-links .dropdown-item {
    white-space: inherit;

}

.wrapper .btn_n {
    color: #fff;
    font-size: 29px;
    cursor: pointer;
    display: none;
}

.wrapper .btn_n.cancel-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}

.nav-links .mobile-item {
    display: none;
}

@media screen and (max-width: 1001px) {
    .wrapper .btn_n {
        display: block;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        background: #f2f2f2;
        display: block;
        top: 0;

        left: -100%;
        overflow-y: auto;
        line-height: 50px;
        padding: 50px 10px;
        box-shadow: 1 15px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;

    }



    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn_n.menu-btn {
        display: none;
    }

    #showMega:checked~.mega-box {
        max-height: 100%;
    }

    .nav-links::-webkit-scrollbar {
        width: 0px;

    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 4px;
        display: block;
        font-size: 20px;

    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        font-size: 20px;
        color: #000;
        font-weight: 500;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .nav-links li a:hover {
        color: #f2f2f2;
    }

    .nav-links .mobile-item:hover {
        background: #3A3B3C;
        color: #f2f2f2;

    }

    .mega-box {
        position: static;
        top: 65px;
        width: 100%;
        opacity: 1;
        visibility: visible;
        padding: 0 0px;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;

    }

    .mega-box .content {
        background: #f2f2f2;
        flex-direction: column;
        padding: 2px 1px 0 0px;
    }

    .mega-box .content .row_row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.08)
    }

    .mega-box .content .row_row:nth-child(1) {
        border-top: 0px;
    }

    .content .row_row .mega-links {
        border-left: 0px;
        padding-left: 15px;

    }

    .row_row .mega-links li {
        margin: 0;


    }

    .row_row .mega-links li a {
        padding: 0 5px;
        color: #000;
    }

    .content .row_row header {
        font-size: 19px;
        color: #000;
        border: 1px solid #000;
        border-radius: 20px;
        padding-right: 7px;
        background: #aec7dd;
    }

}

.wrapper input {
    display: none;
}