text: $(".scrollup").click(function(){
  	$("html, body").animate({scrollTop: 0},"slow");
  });
  $('#navbarReduzido').hide().removeClass('animated fadeInDown');
   // Bind to scroll
  $(window).scroll(function () {
      if ($(this).scrollTop() > 10) {
          $('#navbar').hide().removeClass('animated fadeInDown');
          $('#navbarReduzido').show().addClass('navbar-fixed-top animated fadeInDown');
      } else {
          $('#navbarReduzido').removeClass('navbar-fixed-top animated fadeInDown').hide();
          $('#navbar').show().addClass('animated fadeInDown');
      }
  });
  
  
  !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t,n=navigator.userAgent,a=/iphone/i.test(n),i=/chrome/i.test(n),r=/android/i.test(n);e.mask={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"},e.fn.extend({caret:function(e,t){var n;if(0!==this.length&&!this.is(":hidden")&&this.get(0)===document.activeElement)return"number"==typeof e?(t="number"==typeof t?t:e,this.each(function(){this.setSelectionRange?this.setSelectionRange(e,t):this.createTextRange&&((n=this.createTextRange()).collapse(!0),n.moveEnd("character",t),n.moveStart("character",e),n.select())})):(this[0].setSelectionRange?(e=this[0].selectionStart,t=this[0].selectionEnd):document.selection&&document.selection.createRange&&(n=document.selection.createRange(),e=0-n.duplicate().moveStart("character",-1e5),t=e+n.text.length),{begin:e,end:t})},unmask:function(){return this.trigger("unmask")},mask:function(n,o){var c,l,u,s,f,m,h,g;if(!n&&this.length>0){var p=(c=e(this[0])).data(e.mask.dataName);return p?p():void 0}return o=e.extend({autoclear:e.mask.autoclear,placeholder:e.mask.placeholder,completed:null},o),l=e.mask.definitions,u=[],s=h=n.length,f=null,n=String(n),e.each(n.split(""),function(e,t){"?"==t?(h--,s=e):l[t]?(u.push(new RegExp(l[t])),null===f&&(f=u.length-1),e<s&&(m=u.length-1)):u.push(null)}),this.trigger("unmask").each(function(){function c(){if(o.completed){for(var e=f;e<=m;e++)if(u[e]&&w[e]===p(e))return;o.completed.call($)}}function p(e){return e<o.placeholder.length?o.placeholder.charAt(e):o.placeholder.charAt(0)}function d(e){for(;++e<h&&!u[e];);return e}function v(e){for(;--e>=0&&!u[e];);return e}function k(e,t){var n,a;if(!(e<0)){for(n=e,a=d(t);n<h;n++)if(u[n]){if(!(a<h&&u[n].test(w[a])))break;w[n]=w[a],w[a]=p(a),a=d(a)}S(),$.caret(Math.max(f,e))}}function b(e){var t,n,a,i;for(t=e,n=p(e);t<h;t++)if(u[t]){if(a=d(t),i=w[t],w[t]=n,!(a<h&&u[a].test(i)))break;n=i}}function y(t){var n=$.val(),a=$.caret(),i=function(){e.proxy(e.fn.caret,$,a.begin,a.begin)()};if(g&&g.length&&g.length>n.length){for(T(!0);a.begin>0&&!u[a.begin-1];)a.begin--;if(0===a.begin)for(;a.begin<f&&!u[a.begin];)a.begin++;setTimeout(i,0)}else{var r=T(!0),o=n.charAt(a.begin);a.begin<h&&(u[a.begin]?u[a.begin].test(o)&&a.begin++:a.begin=r),setTimeout(i,0)}c()}function x(e){T(),$.val()!=C&&$.change()}function j(e){if(!$.prop("readonly")){var t,n,i,r=e.which||e.keyCode;g=$.val(),8===r||46===r||a&&127===r?(n=(t=$.caret()).begin,(i=t.end)-n==0&&(n=46!==r?v(n):i=d(n-1),i=46===r?d(i):i),R(n,i),k(n,i-1),e.preventDefault()):13===r?x.call(this,e):27===r&&($.val(C),$.caret(0,T()),e.preventDefault())}}function A(t){if(!$.prop("readonly")){var n,a,i,o=t.which||t.keyCode,l=$.caret();if(!(t.ctrlKey||t.altKey||t.metaKey||o<32)&&o&&13!==o){if(l.end-l.begin!=0&&(R(l.begin,l.end),k(l.begin,l.end-1)),(n=d(l.begin-1))<h&&(a=String.fromCharCode(o),u[n].test(a))){if(b(n),w[n]=a,S(),i=d(n),r){var s=function(){e.proxy(e.fn.caret,$,i)()};setTimeout(s,0)}else $.caret(i);l.begin<=m&&c()}t.preventDefault()}}}function R(e,t){var n;for(n=e;n<t&&n<h;n++)u[n]&&(w[n]=p(n))}function S(){$.val(w.join(""))}function T(e){var t,n,a,i=$.val(),r=-1;for(t=0,a=0;t<h;t++)if(u[t]){for(w[t]=p(t);a++<i.length;)if(n=i.charAt(a-1),u[t].test(n)){w[t]=n,r=t;break}if(a>i.length){R(t+1,h);break}}else w[t]===i.charAt(a)&&a++,t<s&&(r=t);return e?S():r+1<s?o.autoclear||w.join("")===E?($.val()&&$.val(""),R(0,h)):S():(S(),$.val($.val().substring(0,r+1))),s?t:f}var $=e(this),w=e.map(n.split(""),function(e,t){if("?"!=e)return l[e]?p(t):e}),E=w.join(""),C=$.val();$.data(e.mask.dataName,function(){return e.map(w,function(e,t){return u[t]&&e!=p(t)?e:null}).join("")}),$.one("unmask",function(){$.off(".mask").removeData(e.mask.dataName)}).on("focus.mask",function(){if(!$.prop("readonly")){clearTimeout(t);var e;C=$.val(),e=T(),t=setTimeout(function(){$.get(0)===document.activeElement&&(S(),e==n.replace("?","").length?$.caret(0,e):$.caret(e))},10)}}).on("blur.mask",x).on("keydown.mask",j).on("keypress.mask",A).on("input.mask paste.mask",function(){$.prop("readonly")||setTimeout(function(){var e=T(!0);$.caret(e),c()},0)}),i&&r&&$.off("input.mask").on("input.mask",y),T()})}})}),
  $("input[name='telefone']").mask("(99) 9?999-99999");