style to cases segments