/*--Andrew Wyler-David custom.js--*/
jQuery(document).ready(function ($) {
$('
').insertBefore('.front #horizontal-search');
$('.front #horizontal-search').wrap('');
$('ul.hero').css({'width':($(".front #horizontal-search").find("> .container > .row").width()+'px')});
$('.front #horizontal-search .location-form-group').attr('class','form-group location-form-group col-xs-12 col-md-2 col-lg-4');
$('.nav-tabs a').click(function(){
$(this).children('span').removeClass('btn-white').addClass('btn-primary');
$(this).parent().siblings().find('a.active').removeClass('active').children('span').removeClass('btn-primary').addClass('btn-white');
jQuery(this).tab('show');
});
});