No medical marijuana facility or marijuana facility shall be located within five hundred (500) feet of an existing elementary or secondary school, day care, or church (as each such term is defined in the State Marijuana Regulations). In the case of a freestanding medical marijuana facility or marijuana facility, the distance between the medical marijuana facility or marijuana facility and the school, day care, or church shall be measured from the external wall of the medical marijuana facility or marijuana facility structure closest in proximity to the school, day care, or church to the closest point of the property line of the school, day care, or church. If the school, day care, or church is part of a larger structure, such as an office building or strip mall, the distance shall be measured to the entrance or exit of the school, day care, or church closest in proximity to the medical marijuana facility or marijuana facility. In the case of a medical marijuana facility or marijuana facility that is part of a larger structure, such as an office building or strip mall, the distance between the medical marijuana facility or marijuana facility and the school, day care, or church shall be measured from the property line of the school, day care, or church to the medical marijuana facility or marijuana facility's entrance or exit closest in proximity to the school, day care, or church. If the school, day care, or church is part of a larger structure, such as an office building or strip mall, the distance shall be measured to the entrance or exit of the school, day care, or church closest in proximity to the medical marijuana facility or marijuana facility. Measurements shall be made along the shortest path between the demarcation points that can be lawfully traveled by foot.