The Custer County Courthouse will be closed Thursday, Aug. 19, so repairs and clean-up can be done after a water heater broke and flooded parts of the building Wednesday night.