graphs-conversation .message {

    position: relative;
    float: left;
    clear: both;
    margin: 10px 0;
    .calc(max-width, ~"100% - 44px");
    margin-left: 22px;
    min-height: 64px;
    border-radius: 10px;
    background-color: @gray-lighter;

    &.right {

        float: right;
        margin-left: 0;
        margin-right: 22px;
        background-color: fade(@primary-color, 15);
        .picture {
            left: auto;
            right: -20px;
        }
        .description {
            padding-left: 0;
            padding-right: 20px;
        }

    }

    &:last-child {
        margin-bottom: 80px;
    }

    .picture {
        position: absolute;
        .calc(top, ~"50% - 22px");
        float: left;
        left: -20px;
        width: 40px;
        height: 40px;

        .graph, .placeholder, .empty {
            position: absolute;
            top: 0;
            left: 0;
            width: 40px;
            height: 40px;
            border: 4px solid white;
            background-size: 100% 100%;
            .border-radius(~"24px");
        }
        .empty {
            background: #ccc;
        }
    }

    .attachment {
        float: left;
        clear: left;
        width: 100px;
        height: 100px;
        .border-radius(~"7px");
        border: 1px solid #333;
        background-size: 100% auto;
        margin-bottom: 10px;
    }

    .description {
        float: left;
        margin: 20px;
        padding-left: 20px;

        .time {
            float: left;
            font-size: 12px;
            color: gray;
        }
        .text {
            float: left;
            clear: left;
            font-size: 14px;
            white-space: pre-line;
        }
    }

    &.error .description .time {
        color: red;
    }

}

