$(document).ready(function(){
  $('.ciudad').hide();
  $('.sombra').hide();
  $('.ciudad').css("margin-top","330px").fadeIn(800);
});

$(document).ready(function(){
  $('.sombra').fadeIn(1000);
  $('.logos').animate({"margin-top": "+=12px"}, 800).slideDown(900);
});
  
$(document).ready(function(){
  $('.socialicons').hover(
  function () {
    $(this).queue(function() {
      $(this).animate({"margin-top": "-=15px"}, "slow");
      $(this).dequeue();
    });
  }, 
  function () {
  $(this).queue(function() {
    $(this).animate({"margin-top": "+=15px"}, "slow");
     $(this).dequeue();
    });
  });
});

$(document).ready(function(){
  $('.ciudad').click(function() {
    var $logo = $('div.ciudad');
    if (this.id =="charlotte")
    {
      $("#jacksonville").fadeOut(200);
      $("#Wilson").fadeOut(200);
      $('.sombra').fadeOut(500);
      $logo.fadeOut(500);
    }
    else if (this.id =="jacksonville")
    {
      $("#charlotte").fadeOut(200);
      $("#Wilson").fadeOut(200);
      $('.sombra').fadeOut(500);
      $logo.fadeOut(500);
    }
    else if (this.id =="Wilson")
    {
      $("#charlotte").fadeOut(200);
      $("#jacksonville").fadeOut(200);
      $('.sombra').fadeOut(500);
      $logo.fadeOut(500);
    }
  });
}); 
