$(document).ready(function() {
	// CSS OVERRIDE
    $.cssRule({
		".toggle-container": ["display:none"]
	});
	// ANIMATIONS
	$('#header .logo a')
		.hover(function(){
			$(this).stop().animate(
				{paddingTop:'15px'},
				{duration:200});
		}, function(){
			$(this).stop().animate(
				{paddingTop:'10px'},
				{duration:200});
	});
	$('#nav-top-left ul li a, #nav-top-right ul li a')
		.hover(function(){
			$(this).stop().animate(
				{paddingTop:'12px'},
				{duration:100});
		}, function(){
			$(this).stop().animate(
				{paddingTop:'10px'},
				{duration:100});
	});
	// TWITTER
	$('#twitter').show(600).one("mouseenter", function() {
		$('#twitter-msg-1').slideDown(400);
	});
    $('#twitter a.twitter-msg-yes').click(function () {
		$('#twitter .twitter-msg').slideUp(400);
    });
    $('#twitter a.twitter-msg-no').click(function () {
		$('#twitter .twitter-msg').slideUp(400);
		return false;
    });
	// FORM STYLING
	$('.clearField')
		.clearField({blurClass: 'myBlurredClass', activeClass: 'myActiveClass'})
		.hover(function(){
			$(this).stop().animate(
				{backgroundColor:'#171717'},
				{duration:400});
		}, function(){
			$(this).stop().animate(
				{backgroundColor:'#111111'},
				{duration:400});
	});
	
});

