Afternoon means strictly after 12pm (midday), ending in the evening when it starts getting dark. In conclusion, it is technically still correct to say good morning after 12pm, as long as the sun has not yet reached its zennith. Whether or not it is acceptable on the receiving end is another matter. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.