.wmd-panel { margin-left: 25%; margin-right: 25%; width: 50%; min-width: 500px; }

.wmd-button-bar { position: relative; padding: 5px; background-color: #f5f5f5; zoom: 1; }
.wmd-button-bar:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.wmd-preview { margin-top: 10px; padding: 10px; border: 1px dashed #ddd; zoom: 1; }
.wmd-preview:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

.wmd-button-row { list-style: none; margin: 0; padding: 0 0; font-size: 12px; line-height: 20px; color: #777; overflow: visible; }
.wmd-button-row li { float: left; display: block; margin: 0 5px; font-weight: bold; cursor: pointer; }
.wmd-button-row li:hover { color: #555; }
.wmd-button-row li a { color: #777; text-decoration: none; }
.wmd-button-row li.wmd-spacer { width: 10px; height: 20px; }

.wmd-bold-button { left: 0px;   background-position: 0px 0; }
.wmd-italic-button { left: 25px;  background-position: -20px 0; }
.wmd-spacer1 { left: 50px; }
.wmd-link-button { left: 75px;  background-position: -40px 0; }
.wmd-quote-button { left: 100px;  background-position: -60px 0; }
.wmd-code-button { left: 125px;  background-position: -80px 0; }
.wmd-image-button { left: 150px;  background-position: -100px 0; }
.wmd-spacer2 { left: 175px; }
.wmd-olist-button { left: 200px;  background-position: -120px 0; }
.wmd-ulist-button { left: 225px; background-position: -140px 0; }
.wmd-heading-button { left: 250px; background-position: -160px 0; }
.wmd-hr-button { left: 275px; background-position: -180px 0; }
.wmd-spacer3 { left: 300px; }
.wmd-undo-button { left: 325px; background-position: -200px 0; }
.wmd-redo-button { left: 350px; background-position: -220px 0; }
.wmd-help-button { right: 0px; background-position: -240px 0; }

.wmd-prompt-background { background-color: #000; }

.wmd-prompt-dialog { background-color: #fff; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
.wmd-prompt-dialog > div { font-size: 0.8em; font-family: arial, helvetica, sans-serif; }

.wmd-embed-help { padding: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; width: 180px; background-color: rgb(61, 124, 177); position: absolute; z-index: 1001; top: 30px; right: 0px; }
.wmd-embed-help p {font-size: 12px; border-bottom: none; margin-bottom: .2em; padding-bottom: 0px; color: #fff;}
.wmd-embed { background-color: transparent; color: #888; padding: 0px;}
.try_embed { font-size: 12px; border-bottom: none; color: #fff; font-weight: bold; padding-right: 16px; background: url(../images/arrows/white_right.gif) no-repeat; background-position: right center; }

.oembed { margin: 0px auto 1em auto; padding: 0px; }
.oembed .credit { font-weight: normal; }
.oembed-video .credit,
.oembed-photo .credit  {  margin: 0px; padding: 0px; font-size: 12px; }

.oembed-video p small { color: #777; }

.oembed-link { float: none; }
.oembed-link .credit { font-size 14px; line-height: 18px; }

.wmd-preview .oembed-video { margin: 0 auto 10px auto; padding: 70px 10px; background: #333; text-align: center; }
.wmd-preview .oembed-video h3 { font-size: 20px; color: #fff; }
.wmd-preview .oembed-video p { color: #fff; }
.wmd-preview .oembed-video a { color: #fff; }

body.entry_detail .wmd-preview p { border-bottom: 0px;  }

.list .comment .oembed, #comment_form .oembed, #answers .oembed, .comment_text .oembed { float: right; margin: 0 0 10px 10px; clear: right; }
.list .comment .oembed-link, #comment_form .oembed-link, #answers .oembed-link, .comment_text .oembed-link { float: none; }
.list .comment .oembed-video p, .list .comment .oembed-photo p,
#answers .list .oembed-video p, #answers .list .oembed-photo p { font-size: 12px; }

.comment_text { zoom: 1; }
.comment_text:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

.galleries .wmd-preview, .galleries .wmd-button-bar { width: 600px; }
#comment_form .wmd-image-button { display: none; }
/* .list .comment ul, .wmd-preview ul, #answers ul { list-style-type: disc; margin-left: 15px; } */

