@import url(https://fonts.googleapis.com/css?family=Roboto);

#cssmenu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: table;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 9
}

    #cssmenu ul li {
        display: table-cell;
        box-sizing: border-box;
        z-index: 9
    }

        #cssmenu,
        #cssmenu #menu-button,
        #cssmenu ul li,
        #cssmenu ul li a {
            margin: 0;
            padding: 0;
            border: 0;
            list-style: none;
            line-height: 1;
            position: relative;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box
        }

            #cssmenu,
            #cssmenu #menu-button,
            #cssmenu ul li a {
                display: block;
                box-sizing: border-box;
                z-index: 9
            }

                #cssmenu:after,
                #cssmenu > ul:after {
                    display: block;
                    clear: both;
                    visibility: hidden;
                    line-height: 0;
                    height: 0
                }

                #cssmenu #menu-button {
                    display: none
                }

#cssmenu {
    font-family: Roboto, sans-serif
}

    #cssmenu > ul > li {
        border-right: 1px solid #ffcb67;
        width: 16%
    }

        #cssmenu > ul > li:last-child {
            border-right: none
        }

    #cssmenu.align-center > ul {
        font-size: 0;
        text-align: center
    }

        #cssmenu.align-center > ul > li {
            display: inline-block;
            float: left
        }

    #cssmenu.align-center ul ul {
        text-align: left
    }

    #cssmenu.align-right > ul > li {
        float: right
    }

    #cssmenu > ul > li > a {
        padding: 25px 0;
        margin-right: 0;
        font-size: 15px;
        text-decoration: none;
        color: #fff;
        text-transform: capitalize;
        height: 56px;
        text-align: center
    }

    #cssmenu > ul > li:hover > a {
        background: #fbb030;
        color: #fff
    }

.selected {
    background: url(../images/li_hover.png) center bottom no-repeat;
    color: #000 !important
}

#cssmenu ul ul {
    position: absolute;
    left: -9999px
}

#cssmenu.align-right ul ul {
    text-align: right
}

#cssmenu ul ul li {
    height: 0;
    display: block;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease
}

#cssmenu li:hover > ul {
    left: auto
}

#cssmenu.align-right li:hover > ul {
    left: auto;
    right: 0
}

#cssmenu li:hover > ul > li {
    height: 35px
}

#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0
}

#cssmenu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%
}

#cssmenu ul ul li a {
    border-bottom: 1px solid #838383;
    padding: 11px 10px;
    width: auto;
    font-size: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    background: #646464
}

#cssmenu ul ul li.has-sub > a:after,
#cssmenu ul ul li.has-sub > a:before,
#cssmenu ul ul ul li.has-sub > a:after {
    position: absolute;
    width: 12px;
    display: block;
    content: ''
}

#cssmenu ul ul li.last-item > a,
#cssmenu ul ul li:last-child > a {
    border-bottom: 0
}

#cssmenu ul ul li a:hover,
#cssmenu ul ul li:hover > a {
    color: #000;
    background: #a8a8a8;
    transition: all .3s ease-in
}

#cssmenu ul ul li.has-sub > a:after,
#cssmenu ul ul li.has-sub > a:before,
#cssmenu.align-right ul ul li.has-sub > a:after {
    background: url(../images/menu_arrow.png) right center no-repeat
}

#cssmenu ul ul li.has-sub > a:after {
    top: 10px;
    right: 12px;
    height: 14px;
    transition: all .3s ease-in
}

#cssmenu.align-right ul ul li.has-sub > a:after {
    right: auto;
    left: 11px
}

#cssmenu ul ul li.has-sub > a:before {
    top: 10px;
    right: 12px;
    height: 14px
}

#cssmenu.align-right ul ul li.has-sub > a:before {
    right: auto;
    left: 14px
}

#cssmenu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0
}

#cssmenu ul ul ul li a {
    background: #a8a8a8
}

    #cssmenu ul ul ul li a:hover,
    #cssmenu ul ul ul li:hover > a {
        color: #000;
        background: #fbb030;
        transition: all .3s ease-in
    }

.submenu_mar_left {
    margin-left: -100% !important
}

#cssmenu ul ul ul ul {
    top: inherit;
    bottom: 0
}

    #cssmenu ul ul ul ul li a {
        background: #fbb030;
        color: #000
    }

        #cssmenu ul ul ul ul li a:hover {
            background: #ed1c24;
            color: #fff
        }

#cssmenu ul ul ul li.has-sub > a:after {
    top: 10px;
    right: 12px;
    height: 14px;
    background: url(../images/menu_arrow_1.png) right bottom no-repeat;
    transition: all .3s ease-in
}

@media all and (max-width:768px) {
    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
        font-size: 13px
    }

    #cssmenu {
        width: 100%
    }

        #cssmenu ul {
            width: 100%;
            display: none;
            background: #646464
        }

        #cssmenu.align-center > ul {
            text-align: left
        }

        #cssmenu ul li {
            width: 100%;
            border-top: 1px solid #838383
        }

        #cssmenu > ul > li:last-child {
            border-right: 1px solid #838383
        }

        #cssmenu ul li:hover a {
            background: 0 0
        }

        #cssmenu li:hover > ul > li,
        #cssmenu ul ul li {
            height: auto
        }

        #cssmenu ul li a {
            color: #fff !important;
            background: 0 0;
            padding: 10px 0 10px 10px;
            height: auto;
            transition: all .3s ease-in;
            text-align: left
        }

            #cssmenu ul li a:hover,
            #cssmenu ul ul li a {
                color: #000 !important;
                transition: all .3s ease-in
            }

        #cssmenu ul ul li a {
            height: 25px;
            background: #c8c8c8 !important;
            padding: 10px 0 23px 20px
        }

        #cssmenu ul li a:hover {
            background: #a8a8a8
        }

        #cssmenu ul ul li a:hover {
            background: #fbb030 !important;
            color: #fff !important
        }

        #cssmenu > ul > li {
            float: none;
            display: block
        }

        #cssmenu ul ul ul li a {
            padding-left: 35px;
            background: #eaeaea !important
        }

        #cssmenu ul ul ul ul li a {
            padding-left: 50px;
            background: #fff !important
        }

        #cssmenu ul ul li.active > a,
        #cssmenu ul ul li:hover > a {
            color: #fff
        }

        #cssmenu ul ul,
        #cssmenu ul ul ul,
        #cssmenu.align-right ul ul {
            position: relative;
            left: 0;
            width: 100%;
            margin: 0;
            text-align: left
        }

        #cssmenu #menu-button:after,
        #cssmenu #menu-button:before {
            right: 8px;
            width: 20px;
            content: ''
        }

        #cssmenu ul ul > li.has-sub > a:after,
        #cssmenu ul ul > li.has-sub > a:before,
        #cssmenu > ul > li.has-sub > a:after,
        #cssmenu > ul > li.has-sub > a:before {
            display: none
        }

        #cssmenu #menu-button {
            display: block;
            padding: 10px 0 10px 10px;
            color: #fff;
            cursor: pointer;
            font-size: 16px;
            text-transform: none;
            font-weight: 700;
            background: #ED1C24
        }

            #cssmenu #menu-button:after {
                position: absolute;
                top: 16px;
                display: block;
                height: 4px;
                border-top: 2px solid #fff;
                border-bottom: 2px solid #fff
            }

            #cssmenu #menu-button:before {
                position: absolute;
                top: 10px;
                display: block;
                height: 2px;
                background: #fff
            }

            #cssmenu #menu-button.menu-opened:after {
                top: 16px;
                border: 0;
                height: 2px;
                width: 15px;
                background: #fff;
                -webkit-transform: rotate(45deg);
                -moz-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                -o-transform: rotate(45deg);
                transform: rotate(45deg)
            }

            #cssmenu #menu-button.menu-opened:before {
                top: 16px;
                background: #fff;
                width: 15px;
                -webkit-transform: rotate(-45deg);
                -moz-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
                -o-transform: rotate(-45deg);
                transform: rotate(-45deg)
            }

        #cssmenu .submenu-button {
            position: absolute;
            z-index: 99;
            right: 0;
            top: 0;
            display: block;
            border-left: 1px solid #838383;
            height: 33px;
            width: 34px;
            cursor: pointer
        }

        #cssmenu ul ul .submenu-button {
            height: 33px;
            width: 34px
        }

        #cssmenu .submenu-button:after,
        #cssmenu .submenu-button:before {
            position: absolute;
            display: block;
            width: 12px;
            height: 14px;
            content: ''
        }

        #cssmenu .submenu-button:after {
            top: 12px;
            right: 11px;
            background: url(../images/menu_arrow_resp.png) right center no-repeat
        }

        #cssmenu ul ul .submenu-button:after {
            top: 10px;
            right: 11px;
            background: url(../images/menu_arrow_resp_1.png) right center no-repeat
        }

        #cssmenu .submenu-button.submenu-opened:after {
            background: url(../images/menu_arrow_resp_act.png) right center no-repeat
        }

        #cssmenu ul ul .submenu-button.submenu-opened:after {
            background: url(../images/menu_arrow_resp_1_act.png) right center no-repeat
        }

        #cssmenu ul ul ul .submenu-button:after {
            top: 10px;
            right: 11px;
            background: url(../images/menu_arrow_resp_2_act.png) right center no-repeat
        }

        #cssmenu ul ul ul .submenu-button.submenu-opened:after {
            background: url(../images/menu_arrow_resp_2.png) right center no-repeat
        }

        #cssmenu ul ul ul li.has-sub > a:after {
            background: 0 0
        }

        #cssmenu .submenu-button:before {
            top: 12px;
            right: 16px
        }

        #cssmenu ul ul .submenu-button:before,
        #cssmenu ul ul ul .submenu-button:before {
            top: 12px;
            right: 16px;
            background: 0 0
        }

        #cssmenu .submenu-button.submenu-opened:before {
            display: none
        }

    .selected {
        background: #999;
        color: #fff !important
    }

    .submenu_mar_left {
        margin-left: 0 !important
    }
}

.active{
    background-color:grey;
}
