/**
 * @file
 * Styling for the Forum module.
 */

 .forum .field--item {
	display: none;
}
.forum footer { margin-bottom: 40px; }

.forum__description {
  margin: 0.5em;
  font-size: 0.9em;
}
.forum__icon {
  float: left; /* LTR */
  width: 24px;
  height: 24px;
  margin: 0 9px 0 0; /* LTR */
  background-image: url(../images/forum-icons.png);
  background-repeat: no-repeat;
}
[dir="rtl"] .forum__icon {
  float: right;
  margin: 0 0 0 9px;
}
.forum__title {
  overflow: hidden;
}
.forum .indented {
  margin-left: 20px; /* LTR */
}
[dir="rtl"] .forum .indented {
  margin-right: 20px;
  margin-left: 0;
}
.forum__topic-status--new {
  background-position: -24px 0;
}
.forum__topic-status--hot {
  background-position: -48px 0;
}
.forum__topic-status--hot-new {
  background-position: -72px 0;
}
.forum__topic-status--sticky {
  background-position: -96px 0;
}
.forum__topic-status--closed {
  background-position: -120px 0;
}



.c-comments .c-content-title-1 > h3.c-font-uppercase {
	font-size: 20px;
	margin-top: 40px;
}
.forum table td { padding: 15px; }
.forum td.forum__topics, .forum td.forum__posts { text-align: center; }
.forum table tr.even {
	background-color: #f7f7f7;
}
.forum .forum__name a, .forum .forum__title a {
	font-weight: 500; font-size: 120%;
}
.forum .forum__title span, .forum .forum__title span a {
	font-size: 90%;
}



.media-body {
	overflow: unset; background: #fff;
}

[dir="rtl"] .c-comments {
	text-align: right;
}

#content .comment-wrapper h2 {
  margin-bottom: 1em;
}
#content .comment-wrapper h2.comment-form__title {
  margin-bottom: 1em;
}
.field-node--comment {
  font-size: 0.934em;
}
.comment {
  display: table;
  margin-bottom: 19px;
  vertical-align: top;
}
[dir="rtl"] .comment {
  direction: rtl;
}

.comment__meta {
  padding: 0 30px 0 0; /* LTR */
  font-size: 1.071em;
}
[dir="rtl"] .comment__meta {
  padding: 0 0 0 30px;
}
.comment__attribution img {
  border: 1px solid #d3d7d9;
}
/* This is required to win over specificity of .field--type-image img */
.comment .field--name-user-picture img {
  margin: 0;
}
.comment__author .username {
  white-space: nowrap;
}
.comment__author {
  margin: 4px 0;
  line-height: 1.2;
}
.comment__time {
  margin-bottom: 4px;
  color: #68696b;
  font-size: 0.733em;
  line-height: 1.2;
}
.comment__permalink {
  font-size: 0.733em;
  line-height: 1.2;
  display: none;
}
.comment__content {
  position: relative;
  display: table-cell;
  width: 100%;
  padding: 10px 25px 10px 25px;
  vertical-align: top;
  word-break: break-word;
  hyphens: auto;
  border: 1px solid #d3d7d9;
  font-size: 0.929em;
  line-height: 1.6;
}

.comment__content a {
  hyphens: none;
}

.comment__content:before {
  position: absolute;
  top: 20px;
  right: 100%; /* LTR */
  content: "";
  border-top: 20px solid transparent;
  border-right: 20px solid #d3d7d9; /* LTR */
  border-bottom: 20px solid transparent;
}
[dir="rtl"] .comment__content:before {
  right: auto;
  left: 100%;
  border-right: none;
  border-left: 20px solid #d3d7d9;
}
.comment__content:after {
  position: absolute;
  top: 20px;
  right: 100%; /* LTR */
  margin-right: -1px; /* LTR */
  content: "";
  border-top: 20px solid transparent;
  border-right: 20px solid #fff; /* LTR */
  border-bottom: 20px solid transparent;
}
[dir="rtl"] .comment__content:after {
  right: auto;
  left: 100%;
  margin-right: 0;
  margin-left: -1px;
  border-right: none;
  border-left: 20px solid #fff;
}
.comment__content h3 {
  margin-top: 0.94em;
  margin-bottom: 0.45em;
  font-size: 1.171em;
}
.indented {
  margin-left: 40px; /* LTR */
}
[dir="rtl"] .indented {
  margin-right: 40px;
  margin-left: 0;
}
.comment .links {
  padding: 0 0 0.25em 0;
}
.comment .links li {
  padding: 0 0.5em 0 0; /* LTR */
  font-size: 1.08em;
}
[dir="rtl"] .comment .links li {
  padding: 0 0 0 0.5em;
}
.comment--unpublished {
  margin-right: 5px; /* LTR */
  padding: 5px 2px 5px 5px; /* LTR */
  background: #fff4f4;
}
[dir="rtl"] .comment--unpublished {
  margin-right: 0;
  margin-left: 5px;
  padding: 5px 5px 5px 2px;
}

/**
 * @todo: unpublished nodes have class .node--unpublished.
 * change this to .comment--unpublished.
 */
.unpublished .comment-text .comment-arrow {
  border-right: 1px solid #fff4f4;
  border-left: 1px solid #fff4f4;
}
.unpublished {
  padding: 20px 15px 0;
}
.comment-footer {
  display: table-row;
}
.comment--unpublished .comment__text:after,
.node--unpublished .comment__text:after {
  border-right-color: #fff4f4; /* LTR */
}
[dir="rtl"] .comment--unpublished .comment__content:after,
[dir="rtl"] .node--unpublished .comment__content:after {
  border-left-color: #fff4f4;
}
