I did a mistake, use
.ajaxSearch_highlight1{
color : #CC0000;
padding: 0;
font-weight: bold;
}
.ajaxSearch_highlight2{
color : #CB53DF;
padding: 0;
font-weight: bold;
}rather tha .AS_ajax_highlight1, .AS_ajax_highlight2
To understand which class should be added look at the code of the page highlighted.
For instance, search "basic", go to the page "W. Hamond Whitby Jet, The Shambles, York". Edit the code of the html page and search "basic".
The html code is:
This is a free <span class="ajaxSearch_highlight ajaxSearch_highlight1">Basic</span> listing on Inside York.
So you need to define the classes: ajaxSearch_highlight ajaxSearch_highlight1 to highlight the word found.