 $(document).ready(function() {
	 
///////////////////////////////LIGHTBOX////////////////////////
			//Examples of how to assign the ColorBox event to elements
			$(".single").colorbox();
			$("a[rel='graphic-gallery']").colorbox();
			$("a[rel='illus-gallery']").colorbox();
			$("a[rel='brand-gallery']").colorbox();
			$("a[rel='web-gallery']").colorbox();
			$("a[rel='photo-gallery']").colorbox();
			$("a[rel='motion-gallery']").colorbox();
			$(".video-gal").colorbox({iframe:true, innerWidth:"75%", innerHeight:"75%"});


/////////////////////////////SLIDE FOR HRESUME//CV////////////////////////
 $('small#view-resume a').click(function() {    
		$('section#cv').fadeTo("slow",0.85);
		$('body').addClass('fixed');
		$('#wrapper-content').addClass('all-fixed');
		$('#nav-first-child').css("visibility", "hidden");
 });
 $('.close-btn').click(function() {    
		$('section#cv').fadeOut("slow");
		$('body').removeClass('fixed');
		$('#wrapper-content').removeClass('all-fixed');
		$('#nav-first-child').css("visibility", "visible");
 });
/////////////////////////////HOVER EFFECT FOR INFO BOX////////////////////////
 $('li.work-item').hover(function() {   
          
        //display the aux info caption  
		$(this).find('div.work-caption').stop(false,true).fadeIn("fast");
	//	$(this).find('div.work-caption').css("z-index","9999");
//		$(this).css("z-index","10"); 
    },  
    function() {        
        //hide the caption  
        $(this).find('div.work-caption').stop(false,true).fadeOut("slow");
    });

 /////////////////////////////SLIDE EFFECT FOR FILTER MENU////////////////////////
 
$("nav").hover(function() {
	
		$(this).find("li.fade-option").stop()
		.animate({left: "25", opacity:1}, "fast")
		.css("visibility","visible")

	}, function() {
		$(this).find("li.fade-option").stop()
		.animate({left: "0", opacity: 0}, "meddium")
		.css("display","inline")
	});
	
 });
