#categories ul {
    margin: 0 0 15px 0;
    padding: 0;
    border: 1px solid #e1e1e1;
    background: #fff;
}

#categories ul li:first-child {
    background: #fff;
}

#categories ul li:last-child {
    padding: 10px;
    border-bottom: none;
    background: #fff;
}

#categories ul li {
    position: relative;
    border-bottom: 1px solid #e1e1e1;
    list-style: none;
}

#categories ul li h4 {
    position: relative;
    top: 0;
    left: -10px;
    padding: 6px 10px 6px 35px;
    border-radius: 2px;
    background: #00a85b;
    background: -moz-linear-gradient(top, #00a85b 0%, #009f56 50%, #007e44 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00a85b), color-stop(50%, #009f56), color-stop(100%, #007e44));
    background: -webkit-linear-gradient(top, #00a85b 0%, #009f56 50%, #007e44 100%);
    background: -o-linear-gradient(top, #00a85b 0%, #009f56 50%, #007e44 100%);
    background: -ms-linear-gradient(top, #00a85b 0%, #009f56 50%, #007e44 100%);
    background: linear-gradient(to bottom, #00a85b 0%, #009f56 50%, #007e44 100%);
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .8);
    font-size: 14px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00a85b', endColorstr='#007e44', GradientType=0);
}

#categories ul li h4:after {
    position: absolute;
    top: 3px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-image: url(../img/sprite-2.png);
    background-position: center left;
    background-repeat: no-repeat;
    content: '';
}

#categories .ex-com li h4:after {
    background-position: -19px center;
}

#categories .purchases li h4:after {
    background-position: -38px center;
}

#categories .info li h4:after {
    background-position: -58px center;
}

#categories .reg_pol li h4:after {
    background-position: -78px;
}

#categories ul li:first-child:before {
    position: absolute;
    top: 26px;
    left: -10px;
    width: 10px;
    height: 7px;
    background-image: url(../img/corner.png);
    content: '';
}

#categories ul li a,
#categories ul li div {
    display: block;
    padding: 5px 25px;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f6f6f6));
    background: -webkit-linear-gradient(top, #ffffff 0%, #f6f6f6 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #f6f6f6 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #f6f6f6 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 100%);
    color: #262626;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, .9);
    font-size: 12px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0);
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    text-decoration: none;
}

#categories ul li.category div {
    background: #dcdcdc;
}

#categories ul li:not(.category):not(.active) a:hover {
    background: #efefef;
    text-decoration: none;
}

#categories ul li.active a {
    background: #dbdbdb;
    background: -moz-linear-gradient(top,  #dbdbdb 0%, #ffffff 50%, #ffffff 50%, #dbdbdb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dbdbdb), color-stop(50%,#ffffff), color-stop(50%,#ffffff), color-stop(100%,#dbdbdb));
    background: -webkit-linear-gradient(top,  #dbdbdb 0%,#ffffff 50%,#ffffff 50%,#dbdbdb 100%);
    background: -o-linear-gradient(top,  #dbdbdb 0%,#ffffff 50%,#ffffff 50%,#dbdbdb 100%);
    background: -ms-linear-gradient(top,  #dbdbdb 0%,#ffffff 50%,#ffffff 50%,#dbdbdb 100%);
    background: linear-gradient(to bottom,  #dbdbdb 0%,#ffffff 50%,#ffffff 50%,#dbdbdb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb', endColorstr='#dbdbdb',GradientType=0 );
}