* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {

    height: 100%;
    width: 100%;
    background-color: white;

}

.ss_message_crate {

    text-decoration: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: flex-end;
    background-color: white;
    border: 1px solid black;
    border-radius: 8px;

    margin-top: 5px;
    margin-bottom: 5px;

}

.ss_message_crate > label {

    margin-top: auto;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;

    background-color: #549270;
    color: white;

    max-height: 15%;
    width: 100%;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;

    padding: 5px;

}

.ss_preview {

    min-width: 96px;
    min-height: 96px;
    max-width: 100px;
    max-height: 100px;
    display: block;
    padding: 5px;

}

.ss_message_avatar:first-child{
    position: absolute;
    width: 24px;
    height: 24px;
    margin-left: -20px;
    margin-top: -25px;
    z-index: 1;
}

.ss_message_avatar {
    position: absolute;
    width: 24px;
    height: 24px;
    margin-top: -25px;
    margin-left: -6px;
    z-index: calc(var(--i) + 2);
    border-radius: 50%;
    border: 2px solid white;
}

.ss_message > p {
  overflow-wrap: break-word;
  word-break: break-word;
}
