// Desenvolvido por Rodrigo Seoane
// Ultima Modificação : 11/03/2011
// contato ; rms.webdesign@gmail.com 

	$(document).ready(function(){  
				// Ajustando a ultima coluna do portfolio
				$('.coluna:last').css("margin-right","0px");
				$('#rodape div:last').css("margin-right","0px");
				
				
				// ALternativas de CSS Para o IE 
				if ( $.browser.msie ) {
   					/*var url = "http://www.rodrigoseoane.com/v1/";
					$(location).attr('href',url);*/
					
					//COlunas do Portfolio
					$('.coluna').css("margin-right","11px");
					$('.coluna:last').css("margin-right","0px");
					//COlunas do Rodape
					$('#rodape div').css("margin-right","11px");
					$('#rodape div:last').css("margin-right","0px");
					
					//Remove o Value do Submit
					$('input#envia').val("");
		 		} 	
				//seu código aqui  			
				$(".inside li img").hover(
						
					  function () {					  	
						$(this).children("span").css("top","0px").show("slow");
				}, 
					  function () {					 
						$(this).children("span").css("top","-60px").fadeOut("fast");
					  }
				);
				$("#midias li a img").hover(
						
					  function () {					  	
						$(this).css("paddingTop","6px");
				}, 
					  function () {					 
						$(this).css("paddingTop","18px");
					  }
				);
				
				//$("#html5 img").click(
//					function(){
//						 if ($("#html5 p").is(":hidden")) {
//							$("#html5 p").slideDown("slow");
//						  } else {
//							$("#html5 p").hide();
//						  };
//					});
				
				$("#html5 img").toggle(
					function(){						 
							$("#html5 p").animate({								
        						top: "40px",
        						right: "20px"						
							  }, 900);						  						  
					},
					function(){						 
							$("#html5 p").animate({								
        						top: "-300px",
        						right: "20px"						
							  }, "fast" );						  						  
					}
					);
										
					
				WebFont.load({
					 google: {
					 	families: ['Yanone Kaffeesatz', 'Nobile']
					 }
					 }); 
				
				//$("#orcamento button").click (function() {
//						$(this).css("background-position", "0px -78px");
//				});
				$("a.lightbox").lightBox();
			});  
