Having some border difficulties

I'm working on a new skin and I'm trying to find the css templates that style the border for nodeLastPost.secondaryContent on the index and for the followers on a members' profile page, as well as the border for the div.mainText.secondaryContent (where the username and latest status update displays on the profile page) and the border between the sidebar on the profile page and the statuses.

Any idea where I can find them? I've tried searching the templates for the ones I could find through firefox's inspect element but haven't managed to locate them.

Still having some border difficulties. Would greatly appreciate the help!

Ok, so first up is when you've clicked the "more options" to post a reply, or when creating a new thread.

Here's an example of it on the reply:
I need to get rid of those blue lines. Anyone know how? I'll also need to remove those in the posting for a new thread for between the a) input field and tags, b) between tags and buttons, c) between buttons and options, d) between options and polls, e) between those and the post button.

The other is when viewing a member's profile as seen here:

The followers and those the member are following are not taking on the styling of the rest of the sections in the sidebar, and along the right side of the sidebar there is another unwanted border. Any help with these?

And also, slightly off topic but related to the above issue - how do I center the avatar and the content blocks in the member account profile view?