Internal Kinematics of Galaxies at z=0.25-0.45