.UpdateMyProfile label>span>span.anon-label:after {
    content: "";
}

.messages-rolling {
    background: #ebebeb;
    padding: 5px 20px;
    margin: 0 !important;
    height: 445px;
    opacity: 0;
    width: 361px;
}

.messages-rolling.shown {
    animation: fadeIn 500ms ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#messageContainer {
    position: relative;
    height: calc( 100% - 80px);
    overflow: hidden;
}

.message {
    position: absolute;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 8px;
    left: 0;
    margin-bottom: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px 16px 0px 16px;
}

.message-text {
    font-size: 14px;
}

.message-author {
    font-size: 12px;
    font-weight: 700;
    float: right;
}

@media (max-width: 767.99px) {
    /* #messageContainer {
        display: flex;
        flex-direction: column;
        height: 240px;
        overflow: hidden;
        width: 100%;
    }

    .message {
        position: relative;
        margin: 0 auto;
    }
*/
    .messages-rolling {
        /* background-color: white; */
        /* height: 300px; */
        width: 100%;
    } 

}

article.article {
    gap: 20px;
}


/* to show the block under for tablet */

@media (min-width: 768px) and (max-width: 1024px) {
    .article:has(.messages-rolling) {
        display: block;
    }

    .messages-rolling {
        width: 450px;
        margin-top: 30px !important;
    }

}