Evidence of type-I and type-II superconductivity and their coexistence in ZrB12