.discussion h3 {
    font-weight: 300;
}

.discussion .input-empty {
    border-color: rgba(221, 90, 90, 0.8);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(229, 71, 71, 0.6);
}

.discussion .grid * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ---- grid ---- */

.discussion .grid {
    max-width: 100%;
}

/* clearfix */
.discussion .grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- grid-item ---- */

.discussion .grid-item {
   /* max-height: 150px; */
    float: left;
    border: 1px solid #ccc;
    overflow: hidden;
    position: relative;
}

.discussion .grid-item img:hover {
    opacity: 0.5;
    -webkit-transition: border-color 0.2s linear;
    -moz-transition: border-color 0.2s linear;
    -o-transition: border-color 0.2s linear;
    transition: border-color 0.2s linear;
}

.discussion .grid-item--width2 { width: 50%; min-height: 150px }
.discussion .grid-item--width3 { width: 33.33333333%; }


/* ---- center thumbnail horizontally and vertically ---- */
.discussion .grid-item img {
    margin: auto;
    display: block;
    width: 100%;
}

.discussion .attachments ul {
    margin: 10px 0;
    padding: 0;
}

.discussion .attachments ul li {
    list-style: none;
    padding: 0;
    margin: 0;
    word-wrap: break-word;
    word-break: break-all;
}

.discussion .add-comment-btn {
    width: 100%;
    text-align: left;
    padding: 6px 16px;
    border: 1px solid #e5e5e5;
    color: #c7c7c7;
    background-color: #fafafa;
    cursor: text;
    margin-bottom: 20px;
}

.discussion .control-row {
    padding-bottom: 10px;
}

.discussion .new-comment {
    position: relative;
    margin-bottom: 10px;
}

.discussion .new-comment img {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
}

.discussion .new-comment-edit textarea {
    z-index: 1;
    padding: 15px 15px 15px 70px;
    border: 0;
    background-color: rgba(1, 1, 1, 0);
    color: #494b52;
}

.mention-popover-container {
    min-width: 250px;
}

.mention-popover-pic {
    display: inline-block;
    width: 32px;
}

.mention-popover-info {
    overflow: auto;
    padding-left: 4px;
}

.comment .mention {
    background-color: #e2e6ff;
}

.mention-edit-highlights {
    position:absolute;
    color: transparent;
    white-space: pre-wrap;
    border: 0;
    overflow: hidden;
    height: 100%;
    background-color: #f8f8f8;
}
.mention-edit-control {
    position: relative;
}
.new-comment .mention-edit-highlights {
    padding: 15px 15px 15px 70px;
}

.mention-edit-dropdown-locator {
    background-color: transparent;
    top: 0;
    left: 0;
    z-index: -10;
}

.mention-edit {
    position: relative;
}

.mention-edit-outer-hidden{
    visibility:hidden;
}

.mention-edit-container {
    position: relative;
    margin-bottom: 10px;
}

.mention-edit-editor {
    background-color: transparent;
    min-height: 60px;
}

.mention-edit-dropdown {
    margin-top: 5px;
    position: absolute;
    z-index: 10;
}

.mention-edit-dropdown-header {
    min-width: 300px;
    border: 1px solid var(--gray-300);
    border-bottom: none;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: white;
}

.mention-edit-dropdown-header input {
    border: 0;
    margin: 1px 2px;
    padding: 0;
    height: 20px;
    width: 99%;
    background: rgba(255,255,255, 0.8);
    border-color: var(--gray-300);
}

.mention-edit-dropdown-list {
    padding-top: 5px;
    background-color: white;
    margin: 0;
    border: 1px solid var(--gray-300);
    border-top: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    max-height: 250px;
    overflow: auto;
}

.mention-edit-dropdown-list li {
    margin: 5px;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
}

.mention-edit-dropdown-list li:first-child {
    margin-top: 0;
}

.mention-user-selected {
    background-color: var(--blue-100);
}

.comment-row {
    overflow: visible;
    width: 100%;
}

.comment-row small .glyphicons {
	vertical-align: middle;
}

.comment-row p {
    margin-bottom: 0;
}

.reply.comment-row:first-child {
    margin-top: 15px;
}

ng-include {
    display: block;
}
