add style for duration