Added margins to details div