applying style in custom select