The former mining village of Rosewell lies between Loanhead and Penicuik in Midlothian, south of Edinburgh.