$(document).ready(function() {
    $('.catalog-item').click(function() {
        var el = $(this);
        if ( el.hasClass('active') ) {
            el.find('div.block').hide('slow', function() {
              el.toggleClass('active');
              el.parent('.item-wrap').toggleClass('uv'); });
        } else {
            el.find('div.block').parent().toggleClass('active').parent('.item-wrap').toggleClass('uv');
            el.find('div.block').show('slow');
        }
    })
})

