.menu_side {
    float: right;
}

.navbar_menu>ul>li.ul-2 {
    margin-top: 40px;
}

.navbar_menu>ul>li:nth-child(7) {
    border-bottom: none;
}

.main_menu div.navbar_menu ul li a i {
    font-weight: 600;
}

@media (max-width: 767px) {
    #iepl_sidebar {
        display: none;
    }
    .menu_side {
        display: block;
    }
}

.navbar_menu,
.navbar_menu ul,
.navbar_menu ul li,
.navbar_menu ul li a,
.navbar_menu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.navbar_menu ul,
.navbar_menu ul li,
.navbar_menu ul li a,
.navbar_menu #menu-button {
    position: relative;
    display: grid;
}

.navbar_menu:after,
.navbar_menu>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.navbar_menu>ul>li {
    float: left;
    border-bottom: 1px solid #ececec;
}

.navbar_menu>ul>li:last-child {
    border-bottom: 0;
}

.navbar_menu>ul>li:first-child a {
    padding-top: 0px;
}

.navbar_menu>ul>li>a {
    padding: 10px 18px;
    font-size: 18px;
    color: #000;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 25px;
}

.navbar_menu ul ul {
    position: absolute;
    left: -9999px;
}

.navbar_menu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.navbar_menu li:hover>ul {
    left: auto;
}

.navbar_menu li:hover>ul>li {
    height: 45px;
}

.navbar_menu ul ul ul {
    margin-left: 100%;
    top: 0;
}

.navbar_menu ul ul li a {
    padding: 15px 20px 15px;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    background: #fff;
    color: #666 !important;
}

.navbar_menu ul ul li:hover>a,
.navbar_menu ul ul li a:hover {
    color: #ffffff;
}

.navbar_menu ul ul {
    width: 250px;
    box-shadow: 0 5px 35px -18px #000;
    border-top: solid #000 2px;
}

.navbar_menu ul ul li a:hover,
.navbar_menu ul ul li a:focus {
    color: #fff !important;
    padding: 15px 20px 15px;
}

.navbar_menu a:hover {
    color: #ff0000;
}

ul.second-ul {
    margin-top: 40px!important;
}


/**== menu css ==**/

@media (min-width: 992px) {
    #navbar_menu ul ul {
        background: #ddd;
    }
}

@media (max-width: 991px) {
    #navbar_menu>ul>li>a {
        padding: 16px 14px;
        padding-right: 14px;
    }
    .menu_side {
        margin: 0;
    }
    .main_menu,
    .menu_side {
        float: right;
        width: 100%;
    }
    .menu_icon {
        float: left;
        padding: 0;
        position: absolute;
        top: -58px;
        right: 15px;
        display: none;
    }
    #navbar_menu.small-screen ul {
        width: 100%;
        display: none;
    }
    #navbar_menu.small-screen.align-center>ul {
        text-align: left;
    }
    #navbar_menu.small-screen ul li {
        width: 100%;
        border-top: 1px solid rgba(120, 120, 120, 0.2);
    }
    #navbar_menu.small-screen ul ul li,
    #navbar_menu.small-screen li:hover>ul>li {
        height: auto;
    }
    #navbar_menu.small-screen ul li a,
    #navbar_menu.small-screen ul ul li a {
        width: 100%;
        border-bottom: 0;
        color: #222 !important;
    }
    #navbar_menu.small-screen ul ul li a:hover {
        width: 100%;
        border-bottom: 0;
        color: #fff !important;
    }
    #navbar_menu.small-screen ul ul li a:focus {
        width: 100%;
        border-bottom: 0;
        color: #fff !important;
    }
    #navbar_menu.small-screen>ul>li {
        float: none;
    }
    #navbar_menu.small-screen ul ul li a {
        padding-left: 15px;
    }
    #navbar_menu.small-screen ul ul ul li a {
        padding-left: 35px;
    }
    #navbar_menu.small-screen ul ul li a {
        color: #333;
        background: none;
    }
    #navbar_menu.small-screen ul ul li:hover>a,
    #navbar_menu.small-screen ul ul li.active>a {
        color: #fff;
    }
    #navbar_menu.small-screen ul ul,
    #navbar_menu.small-screen ul ul ul,
    #navbar_menu.small-screen.align-right ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }
    #navbar_menu.small-screen #menu-button {
        display: block;
        padding: 0;
        color: #fff;
        cursor: pointer;
        font-size: 0;
        text-transform: uppercase;
        font-weight: 600;
        width: 40px;
        height: 40px;
        border: solid #000 2px;
        border-radius: 5px;
        position: absolute;
        top: -60px;
        left: 15px;
    }
    #navbar_menu.small-screen #menu-button::after {
        position: absolute;
        top: 12px;
        right: 8px;
        display: block;
        height: 13px;
        width: 20px;
        border-top: 3px solid #000;
        border-bottom: 3px solid #000;
        content: '';
    }
    #navbar_menu.small-screen #menu-button::before {
        position: absolute;
        top: 17px;
        right: 8px;
        display: block;
        height: 3px;
        width: 20px;
        background: #000;
        content: '';
    }
    #navbar_menu.small-screen #menu-button.menu-opened::after {
        top: 16px;
        border: 0;
        height: 3px;
        width: 16px;
        background: #000;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        left: 10px;
    }
    #navbar_menu.small-screen #menu-button.menu-opened::before {
        top: 16px;
        background: #000;
        width: 16px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        left: 10px;
    }
    #navbar_menu.small-screen .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid rgba(120, 120, 120, 0.2);
        height: 46px;
        width: 46px;
        cursor: pointer;
    }
    #navbar_menu.small-screen .submenu-button.submenu-opened {
        background: #262626;
    }
    #navbar_menu.small-screen ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }
    #navbar_menu.small-screen .submenu-button:after {
        position: absolute;
        top: 22px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #333;
        content: '';
    }
    #navbar_menu.small-screen ul ul .submenu-button:after {
        top: 15px;
        right: 13px;
    }
    #navbar_menu.small-screen .submenu-button.submenu-opened:after {
        background: #ffffff;
    }
    #navbar_menu.small-screen .submenu-button:before {
        position: absolute;
        top: 19px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        background: #333;
        content: '';
    }
    #navbar_menu.small-screen ul ul .submenu-button:before {
        top: 12px;
        right: 16px;
    }
    #navbar_menu.small-screen .submenu-button.submenu-opened:before {
        display: none;
    }
    #navbar_menu.small-screen.select-list {
        padding: 5px;
    }
    #navbar_menu.small-screen {
        margin: 0;
        float: left;
        height: auto;
        z-index: 3;
        position: absolute;
        width: 100%;
        left: 0;
    }
    #navbar_menu.small-screen ul {
        background: #fff;
    }
    .first-ul li i {
        display: none;
    }
    /**== search_bar ==**/
    .search_icon {
        float: left;
        margin: 0 25px 0 0;
        position: absolute;
        right: 0;
        top: -67px;
    }
    .search_icon ul li {
        float: left;
        font-size: 25px;
    }
}

#navbar_menu li:hover>ul>li {
    background: transparent;
}

@media (min-width:575px) and (max-width:769px) {
    .header_top ul li {
        text-align: left;
    }
    .header_top ul li+li {
        text-align: right;
    }
    .topbar-left {
        width: 100%;
    }
    .header_top .social_icon ul li {
        margin-right: 10px;
    }
    #navbar_menu.small-screen #menu-button {
        top: -80px;
    }
}

@media (max-width: 320px) {
    #navbar_menu.small-screen #menu-button {
        top: -55px;
    }
}