Horizontally center search bar bootstrap nav
<p>I am attempting to center the search bar in my navbar. I am using bootstrap, I tried text-center on the md-4 but it had no effect.</p>

<p>Here is a link to my code.</p>

<p><a href="http://bootsnipp.com/snippets/50b38" rel="nofollow">http://bootsnipp.com/snippets/50b38</a></p>