jQuery(function() {

jQuery('#small-projects li:nth-child(3n+3)').css({ marginRight: '0px'});

jQuery('.blog_posts li').hover(function(){

    jQuery(this).addClass('hovered');
    jQuery('.blog_posts li:not(.hovered)').stop().animate({ opacity: .7 }, 250);

}, function(){

    jQuery(".hovered").removeClass('hovered');
    jQuery('.blog_posts li').stop().animate({ opacity: 1 }, 250);

});

jQuery('.work-element img').hover(function(){

    jQuery(this).stop().animate({ opacity: .8 }, 250);

}, function(){

    jQuery(this).stop().animate({ opacity: 1 }, 350);

});

jQuery('#slider-widget').hover(function(){

    jQuery(this).stop().animate({ opacity: .95 }, 250);

}, function(){

    jQuery(this).stop().animate({ opacity: 1 }, 350);

});

jQuery(function() {

   jQuery('#blog-entries li:first').css({ paddingTop: '0px'});
   jQuery('#blog-entries li:last').css({ borderBottom: '0px'});
  
});

jQuery('.post-widget li:last').css({ 'margin-bottom': 0 });
jQuery('.post-widget li:last').css({ 'padding-bottom': 0 });
jQuery('.post-widget li:last').css({ border: 'none'});

jQuery('#tabs-1 ul li:last').css({ border: 'none'});
jQuery('#tabs-2 ul li:last').css({ border: 'none'});
jQuery('#tabs-3 ul li:last').css({ border: 'none'});

jQuery('#tabs-1 ul li:last').css({ 'margin-bottom': 0 });
jQuery('#tabs-2 ul li:last').css({ 'margin-bottom': 0 });
jQuery('#tabs-3 ul li:last').css({ 'margin-bottom': 0 });

jQuery('#tabs-1 ul li:first').css({ 'padding-top': 0 });
jQuery('#tabs-2 ul li:first').css({ 'padding-top': 0 });
jQuery('#tabs-3 ul li:first').css({ 'padding-top': 0 });

});



