// only for mobile width
if ((screen.width<650)) {
$(".sys_user-nav-mobile").hide(); //hide the nav on load if on smaller screens
$('.sys_datepicker').attr('type', 'date'); //use the device date picker only on mobile
// Add input types for mobile users
$('.email').attr('type', 'email');
$('.sys_timesubelement input').attr('type', 'number');
$("label:contains('Phone')" ).next().find('input').attr('type', 'tel');
$('.dateITA').attr('type', 'date');
$("label:contains('Website')" ).next().find('input').attr('type', 'url');
$('.sys_events-search-control.sys_modular-search-control').appendTo('.sys_events'); // Move shared events search to bottom on mobile
}