Synthesis of different thio-scaffolds bearing sulfonamide with subnanomolar carbonic anhydrase II and IX inhibitory properties and X-ray investigations for their inhibitory mechanism.