/*
 * Copyright 2012 Denis Washington <denisw@online.de>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.post-stream {
  background-color: white;
}

.post-stream .loading {
  text-align: center;
  padding: 8px;
}

.post-stream .new-topic {
  padding: 14px 13px 13px;
  position: relative;
  overflow: hidden;
  display: block;
}

.post-stream textarea {
  width: 100%;
  margin: 0;
  padding: 5px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  resize: none;
  white-space: pre-wrap;
  word-wrap: break-word;
  border: 1px solid rgba(0, 0, 0, 0.13);
  font: 13px/19.5px sans-serif;
  outline: 0;
  z-index: 2;
}

.post-stream .new-topic .controls, .post-stream .new-comment .controls {
  text-align: right;
}

.post-stream .new-topic textarea {
  height: 84px;
}

.post-stream .new-comment {
  margin: 0 0 0 59px;
}

.post-stream .new-comment textarea {
  height: 48px;
}

.post-stream .thread {
  padding: 13px;
  border-top: 1px solid #d6d3c7;
}

.post-stream .comment {
  margin-top: 2em;
  margin-left: 16px;
  font-size: 90%;
}

.post-stream .avatar {
  float: left;
  margin-right: 8px;
}

.post-stream .thread .avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.post-stream .comment .avatar {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.post-stream .title {
  font-size: 120%;
  line-height: 110%;
  margin: 0 0 0.5em 0;
}

.post-stream .author-id {
  font-size: 75%;
  font-weight: normal;
  color: #444;
}

.post-stream .content {
  font-family: inherit;
  white-space: pre-wrap;
}

.post-stream .thread .content {
  margin-top: 0;
  margin-left: 56px;
  clear: none;
}

.post-stream .comment .content {
  margin-left: 40px;
}
