The calculated distance (air line) between Idlib and Dayr Ḩāfir is approximately 62 miles respectively 100 kilometers.
By car or train, the actual journey to Dayr Ḩāfir is certainly longer, as only the direct route (as the crow flies) between Idlib and Dayr Ḩāfir has been calculated here.
Air line (approximately)
100 kilometers
54 nautical miles