.chat {
        margin-bottom: 1em;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ---- Chat posts -------------------------------------------------------------------------- */

    .chat ul.chat__posts {
        border: 1px solid var(--ck-color-base-border);
        border-top-left-radius: var(--ck-border-radius);
        border-top-right-radius: var(--ck-border-radius);
        /*border-bottom: none;*/
        margin: 1em 0 0;
        padding: 1em;
        list-style-position: inside;
    }

    .chat ul.chat__posts li {
        display: flex;
    }

    .chat ul.chat__posts li.new-post {
        /* Highlight a new post in the chat. */
        animation: highlight 600ms ease-out;
    }

    .chat ul.chat__posts li + li {
        margin-top: 1em;
    }

    .chat .chat__posts li .photo {
        border-radius: 100%;
        height: 40px;
        margin-right: 1.5em;
    }

    .chat .chat__posts li .time, .chat__posts__post__time {
        color: hsl(0, 0%, 72%);
        font-size: .78em;
    }
    .chat__posts__post__mailto{
        font-size: .9em;
    }
    .chat__posts__post__mailto-user{
        font-size: .78rem;
    }

    .chat .chat__posts .chat__posts__post__message > strong::after,
    .chat__posts__post__mailto-user::after {
        content: "•";
        padding-left: 5px;
        padding-right: 5px;
        color: hsl(0, 0%, 72%);
    }

    @keyframes highlight {
        0% {
            background-color: yellow;
        }

        100% {
            background-color: white;
        }
    }

/* ---- Chat editor ------------------------------------------------------------------------- */
    .chat .chat__editor {
        /* Anti–FOUC (flash of unstyled content). */
        padding: 1em;
        border: 1px solid var(--ck-color-base-border);
    }

    .chat .chat__editor + .ck.ck-editor {
        margin-top: 0;
    }

    .chat .chat__editor + .ck.ck-editor .ck.ck-toolbar {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    /* ---- In–editor mention list --------------------------------------------------------------- */
    .ck-mentions .mention__item {
        display: block;
    }

    .ck-mentions .mention__item img {
        border-radius: 100%;
        height: 30px;
    }

    .ck-mentions .mention__item span {
        margin-left: .5em;
    }

    .ck-mentions .mention__item.ck-on span {
        color: var(--ck-color-base-background);
    }

    .ck-mentions .mention__item .mention__item__full-name {
        color: hsl(0, 0%, 45%);
    }

    .ck-mentions .mention__item:hover:not(.ck-on) .mention__item__full-name {
        color: hsl(0, 0%, 40%);
    }

    /* ---- Chat editor content styles ----------------------------------------------------------- */
    .chat .ck-content .mention {
        background: unset;
    }

    .chat .ck.ck-content a,
    .chat .chat__posts a {
        color: hsl(231, 89%, 53%);
    }
    span.mention {
        cursor: pointer;
        color: var(--primary);
    }
    span.mention:hover {
        color: var(--gray);
    }

figure.image.image-style-align-center{
    text-align: center !important;
}

.item_comment figure img, .chat__posts figure img{
    width: 100%;
    max-width: 250px !important;
}

.wall_post .comment-text figure.image img{
    max-width: 100% !important;
    width: 60% !important;
    border-radius: 8px;
    margin-top: 12px;
}

.wall_post figure.image{
    text-align: left;
    width: 100% !important;
}

.wall_post figure.image img{
    max-width: 100% !important;
}



@media (max-width: 620px) {
    figure.image{
        text-align: center;
        width: 100% !important;
    }
    figure.image img{
        max-width: 100% !important;
    }
    .chat__posts__post__message{
        width: 100%;
        max-width: 100%;
    }
}

.content_all_chats{
    max-height: 450px;
    overflow-y: auto;
    padding-right: 5px;
    overflow-x: hidden !important;
}

.text-not-comment{
    color: #a7aaad;
    font-size: 10pt;
    float: right!important;
}

@media only screen and (max-width: 500px) {
    .text-not-comment{
        color: #a7aaad;
        font-size: 11pt;
        text-align: center;
        margin-top: 10px;
        border: 1px #d3d8dc70 solid;
        border-radius: 8px;
        padding: 5px;
        background-color: #d3d8dc10;
        width: 100%;
    }
}

.tooltip-inner {
    max-width: 750px;

}

.tooltip ul {
    list-style-type: none;
    margin-left: 1px;
    padding-left: 1px;
    max-width: 100% !important;
    margin-bottom: 0px;

}

.item_comment {
    background: #f9f9f9 !important;
}

.tooltip ul li {
    text-align: left !important;
}

.load_ajax_comment {
    display: flex !important;
    column-gap: 10px;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    margin-block: 20px;
}

.pulse {
    animation: pulseAnimation .4s ease-out;
}

.swal2-popup {
    font-size: 1.0rem !important;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1.2);
  }
}

figure.image.image-style-align-center {
  text-align: center !important;
}

figure.image.image-style-align-center > figcaption {
  text-align: center;
}

