changed #main to .main for inheritance li issue