$(document).ready(function(){
				

		        stLight.options(
			        {
				        publisher:'c3bf4067-ab4f-4d34-b8b3-68f1d6111d0f',
				        onClose:function(){
				        	$('.st_sharethis').removeClass("clicked-share");
							$("a.btn").animate({  backgroundColor: '#565553 !important'},500); 
				        },
				        onhover:false
				    }
			    );
				
				// $('ul#items li:first').livequery(function() {
				//    $(this).addClass("margin-right"); 
				// });

				$(".st_sharethis").bind('mouseover', function() {
					$(this).addClass("clicked-share");
					$("a.btn").animate({  backgroundColor: '#a3a291 !important'},1000); 
				});



				$("div#second").hide();	
					$("a.more-btn").click(function() {
						$(this).addClass("clicked");
						$("div#first").fadeOut('fast');
						$("div#second").fadeIn('fast');
						});
					
					$("a.back-btn").click(function() {
						$("div#second").fadeOut('fast');
						$("div#first").fadeIn('fast');	
						});						
			
			    $("nav ul li:not(.current_page_item) a").mouseover(function() {
			        $(this).animate({ backgroundColor:'#6f706a', color:'#FFF'},1000);
			        $(this).css({ borderTopLeftRadius: 2, borderTopRightRadius: 2, borderBottomLeftRadius: 2, borderBottomRightRadius: 2, MozBorderRadius: 2 });
			    	}).mouseout(function() {
			        $(this).animate({ backgroundColor:'#484742', color:'#d2d3c5', borderTopLeftRadius: 2, borderTopRightRadius: 2, borderBottomLeftRadius: 2, borderBottomRightRadius: 2, MozBorderRadius: 2 },1000);
			        $(this).stop();
			    }); 
			
			   
			   $("li.unselected a, a.more-btn, a.back-btn").mouseover(function() {
			         $(this).animate({ backgroundColor:'#565553', color:'#FFF'},1000);
			    	}).mouseout(function() {
			        $(this).animate({ backgroundColor:'#a1a092', color:'#FFF'},1000);
			        $(this).stop();
			    });

			   // $("body.page-template-page-single-work-php a.btn").mouseover(function() {
			   //       $(this).animate({ backgroundColor:'#a1a092', color:'#FFF'},1000);
			   //  	}).mouseout(function() {
			   //      $(this).animate({ backgroundColor:'#565553', color:'#FFF'},1000);
			   //      $(this).stop();
			   //  });

			    $("ul#filter li.segment-1 a").mouseover(function() {
			    	$(this).animate({ color:'#47443F'}, 1000);
			    	}).mouseout(function() {
			   		$(this).animate({  color:'#47443F'},1000);
			        $(this).stop();			    	
			    });

			    // $("ul#filter li a").mouseover(function() {
			    // 	$(this).animate({ color:'#47443F'}, 1000);
			    // 	}).mouseout(function() {
			   	// 	$(this).animate({  color:'#A3A281'},1000);
			    //     $(this).stop();
			    // });
			    
			    $("div.work-block div.work-images").hover(function(){
			    	$("a.inactive" ,this).fadeToggle('slow');
			    });    
			});
