There are specific requirements for solo cross countries and nighttime flights, as well.
These 40 hours contain at least 20 hours of flight instruction and 10 hours of solo training. There are specific requirements for solo cross countries and nighttime flights, as well.