/* Base Styles */
#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-weight: normal;
    text-decoration: none;
    line-height: 1;
    font-size: 1.09rem;
    color: #fff;
    position: relative;
}
#cssmenu a {
    line-height: 1.5;
}
#cssmenu {
    width: 100%;
    background: #fff;
}
#cssmenu > ul {
    /*border: 1px solid #000000;*/

    background: #393939;
    background: -moz-linear-gradient(#393939 0%, #393939 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #393939), color-stop(100%, #393939));
    background: -webkit-linear-gradient(#393939 0%, #393939 100%);
    background: linear-gradient(#393939 0%, #393939 100%);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
#cssmenu > ul:after {
    clear: both;
    content: '';
    display: table;
}

#menu {
    margin-bottom: 20px;
}

@media all and (max-width: 480px) {
    #cssmenu > ul {
        max-height: 32px;
        overflow: hidden;
        -webkit-transition: max-height 0.5s;
        transition: max-height 0.5s;
    }
    #cssmenu.expand ul {
        max-height: 900px;
    }
}
#cssmenu > ul > li {
    /* border-right: 1px solid #000000;*/

    float: left;
}
#cssmenu > ul > li.mobile {
    display: none;
}
#cssmenu > ul > li.active {
    background: #fff;
    background: -moz-linear-gradient(#fff 0%, #afafaf 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #afafaf));
    background: -webkit-linear-gradient(#fff 0%, #afafaf 100%);
    background: linear-gradient(#fff 0%, #afafaf 100%);
}
@media all and (max-width: 480px) {
    #cssmenu > ul > li {
        border-right: 0 none;

        display: block;
        float: none;
    }
    #cssmenu > ul > li.mobile {
        display: block;
    }
    #cssmenu > ul > li.mobile i {
        float:left;
        font-style: normal;
    }
}
#cssmenu > ul > li:last-child {
    border-right: 0 none;

    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}
#cssmenu > ul > li:last-child ul {
    left: auto;
    right: 0;
}
#cssmenu > ul > li.mobile {
    border-right: 0 none;

}
/* Menumaintxt */
#cssmenu > ul > li > a {
    margin: 0 0 2px 0;
    font-size: 1.09rem;
    display: block;
    color: #fff;

}
#cssmenu > ul > li > a > span {
    display: block;
    padding: 6px 10px;
    font-weight: bold;
}
#cssmenu > ul > li > a:hover {
    text-decoration: none;
}
#cssmenu > ul > li.active {
    border-bottom: none;
}
#cssmenu > ul > li.active > a {
    color: #FF0000;

}
/* Sub menu */
#cssmenu ul ul {
    background: #f9f9f9;
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    padding: 5px 13px;
    display: none;
    position: absolute;
    top: 33px;
    left: 0;
    width: 200px;
    z-index: 1;
}
@media all and (max-width: 480px) {
    #cssmenu ul ul {
        position: relative;
        top: 0;
        width: 100%;
    }
}
#cssmenu ul ul li {
    padding: 3px 0;
}
#cssmenu ul ul a {
    color: #2B1717;
    display: block;
    font-size: 1.09rem;
    font-weight: bold;
}
#cssmenu ul ul a:hover {
    color: #999999;
}
