// Header
$('#searchForm div').addClass('divSearch');
$('#searchForm div').addClass('input-group');
$('#textToSearch').addClass('input');
$('#textToSearch').removeAttr('placeholder');
// $('#textToSearch').attr('autocomplete', 'on')
var $LabelDiv = "<label for='name' class='input-label'>Search</label>";
$('.divSearch').prepend( $LabelDiv );
// move search form to wh_logo_and_publication_title_container
$('#searchForm').appendTo('.wh_logo_and_publication_title_container');

// $('#textToSearch').focus(function(){
//     $('#searchForm > .divSearch > .input-label').hide();
// })

//#region Images
if (IsAuthoring) {
    $('img').each(
        function(){
            $(this).css({'border': 'none'});
        });
};

$('img').each(function() {
    if ($(this).width() <= 50) {
        $(this).css('border','none');
        $(this).css('margin-bottom','0');
    }  
});
// #endregion