.MessagePreviewForList {
    position: relative;
    padding: 1.25em 1.4rem;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.4;
    background-color: #fff;
}

.MessagePreviewForList:last-child {
    border-bottom: 0;
}

.MessagePreviewForList__linkOverlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-indent: -999em;
}

.MessagePreviewForList__messageMeta a,
.MessagePreviewForList__footer > * {
    position: relative; /** Z-index higher than .MessagePreviewForList__linkOverlay */
}

.MessagePreviewForList a { /** Selecting a tag is considered a bit ugly, but because of the .MessagePreviewForList scope it can do no harm */
    text-decoration: none !important;
}

.MessagePreviewForList a:hover {
    text-decoration: underline !important;
}

.MessagePreviewForList__messageBody {
    position: relative;
}

.MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__content {
    min-height: 7.5em;
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__media {
    display: none;
}

@media (min-width: 420px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 7em;
    }

    .MessagePreviewForList__media {
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        width: 6em;
        min-width: 3em;
        overflow: hidden;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__media--image {
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -7.778em;
    }
}

@media (min-width: 600px) {
    .MessagePreviewForList__messageBody--hasImage {
        padding-right: 9em;
    }

    .MessagePreviewForList__media {
        width: 7.5em;
        min-width: 7.5em;
        max-height: 7.5em;
        border-radius: 2px;
        background: #f8f8f8;
    }

    .MessagePreviewForList__media--empty {
        display: flex; /** vertical align middle */
        opacity: .5;
        text-align: center;
        background: #e2e2e2;
        pointer-events: none; /** Because we want to click on the .MessagePreviewForList__linkOverlay */
    }

    .MessagePreviewForList__mediaIcon {
        width: 3em;
        margin: 1em auto;
    }

    .MessagePreviewForList__messageBody--hasImage .MessagePreviewForList__footer {
        margin-right: -10em;
    }
}

.MessagePreviewForList__messageTitle {
    display: inline-block;/** Making the div as wide as its content because we want to click on the .MessagePreviewForList__linkOverlay  */
    margin: 0 0 0.3em;
    padding: 0;
    font-size: 1.25em;
    line-height: 1.25em;
}

.MessagePreviewForList__messageTitle a {
    word-break: break-word;
    color: inherit;
}

.MessagePreviewForList__messageMeta {
    position: relative;
    display: table;/** Making the div as wide as its content because we want to click on the .MessagePreviewForList__linkOverlay  */
    margin-bottom: .6em;
    padding-right: 1em; /** Leave space for Unread bullet */
    font-size: .9em;
    color: rgba(0,0,0,.54);
}

.MessagePreviewForList__content p {
    position: relative;
    margin: 0;
    padding: 0;
    word-break: break-word;
    line-height: inherit !important;
}

.MessagePreviewForList__footer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.3em;
    margin-bottom: -0.75em;
    font-size: .9em;
}

.MessagePreviewForList__likeButton,
.MessagePreviewForList__messageReactions {
    margin-top: .8em;
    margin-right: 1.5em;
}

.MessagePreviewForList__filterOptions {
    margin-top: .8em;
}

/**
 * highlight
 */

.MessagePreviewForList__highlightLabel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-indent: -999em;
    opacity: .08;
    pointer-events: none;
    box-shadow: 0 0 0 450px inset;
}

@media print {
    .MessagePreviewForList__messageMeta {
        display: block;
    }

    .MessagePreviewMetaForList__avatar {
        float: left;
        width: 3em;
        height: auto;
        margin-right: .5em;
    }

    .MessagePreviewForList__media {
        max-width: 4em;
        margin-right: 1em;
    }

    .MessagePreviewForList__mediaIcon {
        width: 100%;
        max-width: 100%;
    }
}

/**
 * Unread
 */

.MessagePreviewForList__unreadLabel {
    position: absolute;
    top: 1.6rem;
    right: 1.25rem;
    width: 0;
    height: 0;
    border: 6px solid;
    border-radius: 100%;
    text-indent: -999em;
}

/**
 * Removed
 */

.MessagePreviewForList--removed {
    opacity: .8;
}

.MessagePreviewForLis__notice {
    display: block;
    text-align: right;
    font-size: .9em;
    color: #da1b35;
}
