/* The original desktop theme remains in main.css. Only Go form glue and narrow screens live here. */
.clear { clear: both; }
#sidebar .search-widget { background: none; padding: 0; }
#sidebar .search { box-sizing: border-box; width: 186px; height: 24px; }
#contentleft .comment-content { white-space: pre-wrap; overflow-wrap: anywhere; }
#contentleft .comment-post .cancel-reply[hidden] { display: none; }
.comment-pages { text-align: center; }
#related_log { font-size: 12px; }
.post-body { overflow-wrap: break-word; }
.post-body pre { white-space: pre-wrap; }
.post-body iframe { max-width: 100%; }
#contentleft .filter { padding-top: 20px; }
@media (max-width: 980px) {
  #wrap, #content, #footerbar { width: 100%; }
  #header { padding: 0 16px; }
  #header h1 { font-size: 26px; }
  #header h3 { margin-left: 0; }
  #banner { height: auto; }
  #banner img { height: auto; display: block; }
  #contentleft { box-sizing: border-box; width: calc(100% - 239px); }
}
@media (max-width: 700px) {
  #contentleft, #sidebar { box-sizing: border-box; float: none; width: 100%; }
  #contentleft { padding: 0 16px 20px; }
  #sidebar { border: 1px solid #e2ddde; padding: 0 16px 20px; }
  #nav li { display: inline-block; padding: 5px 9px; }
  .post-body img { height: auto; }
  .post-body table { max-width: 100%; }
  #contentleft .comment-post input { width: 55%; }
  #contentleft .comment-post #comment_submit { width: 111px; }
}
