	
// Links animation
$(document).ready(function(){
	$(".nav ul ul a").hover(function(){
		$(this).find('span').stop().animate({marginLeft:'10px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	},function(){
		$(this).find('span').stop().animate({marginLeft:'0px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	});
	
	$(".col_1 li a").hover(function(){
		$(this).find('span').stop().animate({marginLeft:'10px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	},function(){
		$(this).find('span').stop().animate({marginLeft:'0px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	});
 
});

// Hover effect Sidebar list
$(document).ready(function(){
	$('.col_1 li a')
		.css( {backgroundPosition: "left 50%"} )
		.mouseover(function(){
			$(this).stop().animate(
				 { backgroundPosition:"(9px 50%)"},
				 { queue: false,
				   duration: 300,
				   easing: 'easeOutQuart'
			})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(left 50%)"}, {duration:400, complete:function(){
				$(this).css({backgroundPosition: "left 50%"})
			}})
		})
});
// Links animation
$(document).ready(function(){
	$(".nav ul ul a").hover(function(){
		$(this).find('span').stop().animate({marginLeft:'10px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	},function(){
		$(this).find('span').stop().animate({marginLeft:'0px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	});
	
	$(".col_1_schedule li a").hover(function(){
		$(this).find('span').stop().animate({marginLeft:'10px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	},function(){
		$(this).find('span').stop().animate({marginLeft:'0px'},{queue:false, duration:300, easing: 'easeOutQuart'})
	});
 
});

// Hover effect Sidebar list
$(document).ready(function(){
	$('.col_1_schedule li a')
		.css( {backgroundPosition: "left 50%"} )
		.mouseover(function(){
			$(this).stop().animate(
				 { backgroundPosition:"(9px 50%)"},
				 { queue: false,
				   duration: 300,
				   easing: 'easeOutQuart'
			})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(left 50%)"}, {duration:400, complete:function(){
				$(this).css({backgroundPosition: "left 50%"})
			}})
		})
});

// Smooth Scroll effect
$(document).ready(function(){
 
    $('a[href*=#]').click(function() {
 
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
        && location.hostname == this.hostname) {
 
            var $target = $(this.hash);
 
            $target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
 
            if ($target.length) {
 
                var targetOffset = $target.offset().top;
 
                $('html,body').animate({scrollTop: targetOffset}, 1000);
 
                return false;
 
            }
 
        }
 
    });
 
});



