$(document).ready(function()
{
	$('#slider ul.blocks li').hover(
		function()
		{
		
		$(this).css({'z-index':'10'});
		$(this).find('img').animate({marginTop:'-7px',marginLeft:'0px',top:'10%',left:'10%',width:'210px',height:'174px',padding:'0px'}, 140);
		   
		 },
		 function()
		 {
		$(this).css({'z-index':'0'});
		$(this).find('img').animate({marginTop:'0',marginLeft:'0',top:'0',left:'0',width:'210px',height:'174px',padding:'0px'},160);
			 
		 });
});

$(document).ready(function()
{
	$('.thumb-work').hover(
		function()
		{
		$(this).find('.thumb-image').animate({top:'0px'}, 150),
		$(this).find('h3').animate({fontSize:'138.4%',paddingBottom:'3px',paddingTop:"3px"}, 140);
		   
		 },
		
		 function()
		 {
		$(this).find('.thumb-image').animate({top:'-18px'}, 550),
		$(this).find('h3').animate({fontSize:'92.3%',paddingBottom:'1px',paddingTop:"0px"},400);
			 
		 });
});

$(document).ready(function()
{
	$('.work-list').hover(
		function()
		{
		$(this).find('span').animate({bottom:'35px'}, 150),
		$(this).find('.backward').animate({left:'0px'}, 150),
		$(this).find('.forward').animate({right:'0px'}, 150);
		   
		 },
		
		 function()
		 {
		 $(this).find('span').animate({bottom:'-35px'}, 270),
		 $(this).find('.backward').animate({left:'-50px'}, 240),
		$(this).find('.forward').animate({right:'-50px'}, 240);
			 
		 });
});

$(document).ready(function()
{
	$('.cols-area .works').hover(
		function()
		{
		$(this).find('.works-top').animate({top:'-23px'}, 150),
		$(this).find('.works-bottom').animate({bottom:'-23px'}, 150);
		   
		 },
		
		 function()
		 {
		 $(this).find('.works-top').animate({top:'0px'}, 240),
		$(this).find('.works-bottom').animate({bottom:'0px'}, 240);
			 
		 });
});

$(document).ready(function() {
	$(".nav-services .service").tooltip({
		position: 'bottom right',
		offset: [-50, 0],
		effect: 'slide'
	}).dynamic({ bottom: { direction: 'down', bounce: true } });
});

$(document).ready(function() {
	$(".service-thumb .thumb").tooltip({
		position: 'top left',
		offset: [120, 0],
		effect: 'slide'
	}).dynamic({ top: { direction: 'down', bounce: true } });
});

$(document).ready(function() {
	$(".project-thumbs .thumb").tooltip({
		offset: [230, 0],
		effect: 'slide',
		relative: true,
		slideInSpeed: 200,
		slideOutSpeed: 180
	});
});

$(document).ready(function() {
	$(".project-thumbs .thumb2").tooltip({
		offset: [220, 0],
		effect: 'slide',
		relative: true,
		slideInSpeed: 200,
		slideOutSpeed: 180
	});
});
