.qnabuilder-contentarea > .wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px;
  font-size: 14px;
  padding: 20px 10px 20px 10px;
  min-height: 300px;
}

.qnabuilder-contentarea > .wrapper input[type="text"],
.qnabuilder-contentarea > .wrapper textarea {
  background-color: #f9f9f9;
}

.qnabuilder-contentarea input.notValid,
.qnabuilder-contentarea textarea.notValid {
  border: 1px solid red;
}

.app-qna-page-detail .glyphicon.glyphicon-pencil {
  font-size: 12px;

  background-color: #204d74;
  color: #fff;
  border-radius: 4px;
  padding: 5px;
  margin-right: 4px;
}
.app-qna-page-detail .glyphicon.glyphicon-pencil:hover {
  background-color: #286090;
}
.app-qna-page-detail .glyphicon.glyphicon-trash {
  font-size: 12px;
  background-color: #d9534f;
  color: #fff;
  border-radius: 4px;
  padding: 5px;
  margin-right: 4px;
}
.app-qna-page-detail .glyphicon.glyphicon-trash:hover {
  background-color: #c9302c;
}
.app-qna-page-detail .glyphicon:active {
  transform: scale(0.96);
}

.qnabuilder-contentarea > .wrapper .cursor-poiner {
  cursor: pointer;
}

.full-flex {
  position: absolute;
  flex-direction: column;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
}

.full-flex > .inner {
  padding: 30px;
  border-radius: 6px;
  background: #f9f9f9;
  text-align: center;
}

.question-container h4 {
  font-size: 1.1em;
  color: #666;
  margin: 0;
  margin-bottom: 16px;
}
.question-container .question-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.question-container .detail {
  flex-grow: 1;
  max-width: calc(100% - 44px);
}
.question-container .detail h3 {
  margin: 0;
}

.question-container .detail .question-detail {
  margin-top: 24px;
  white-space: pre-line;
}

.question-container .buttons {
  text-align: right;
  margin-top: 32px;
  width: 100%;
}
.app-qna-page-detail .name-date {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.85em;
  width: 100%;
  margin-top: 16px;
}
.app-qna-page-detail .name-date .photo-name {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.app-qna-page-detail .name-date .photo-name .photo {
  margin-right: 6px;
}
.app-qna-page-detail .name-date .photo-name .photo img {
  border-radius: 30px;
  height: 30px;
  width: 30px;
}
.app-qna-page-detail .name-date .date {
  color: #888;
}
.app-qna-page-detail .name-date .date:before {
  content: " - ";
  margin-left: 6px;
  margin-right: 6px;
}

.app-qna-page-detail .vote-container {
  align-self: stretch;
  flex-shrink: 0;
  width: 40px;
  padding-left: 14px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}
.app-qna-page-detail .vote-container .count {
  line-height: 1.3;
  font-size: 0.95em;
}
.app-qna-page-detail .vote-container .text {
  line-height: 1.3;
  font-size: 0.7em;
  color: #888;
}
.app-qna-page-detail .vote-container .glyphicon {
  font-size: 20px;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.app-qna-page-detail .vote-container .glyphicon:hover {
  color: #333;
  transform: scale(1.15);
}

.post-answer-container {
  border-top: solid 1px #ddd;
  margin-top: 26px;
  margin-bottom: 26px;
  position: relative;
}
.post-answer-container textarea {
  min-height: 100px;
}
.post-answer-container .buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.post-answer-container .full-flex {
  background: rgba(255, 255, 255, 0.45);
}
.post-answer-container h5 {
  font-weight: bold;
}
.answer-list-container {
  margin-top: 36px;
  margin-bottom: 24px;
}
.answer-list-container h4.count {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.answer-list-container .qna-list-item {
  border-bottom: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.answer-list-container .qna-list-item .detail {
  flex-grow: 1;
  max-width: calc(100% - 44px);
}
.answer-list-container .qna-list-item .name-date {
  margin-top: 0;
}
.answer-list-container .qna-list-item .detail .answer {
  margin-top: 24px;
  white-space: pre-line;
}
.answer-list-container .qna-list-item .buttons {
  text-align: right;
  margin-top: 24px;
  width: 100%;
}
.answer-list-container .buttons {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .qnabuilder-contentarea > .wrapper {
    padding: 40px;
    font-size: 16px;
  }
}
