added webkit to css calc properties on detail panel, for safari