#chat {
  #chat-area-wrapper {
    .messages-block {
      -ms-overflow-style: none;  /* Internet Explorer 10+ */
      scrollbar-width: none;  /* Firefox */
    }

    #scroll-down-button {
      display: none;
    }

    &[data-chat-scroll-mode="scrolling"] #scroll-down-button {
      display: block;
    }

    .page-break {
      a.previous-link {
        font-size: 0.7rem;
        &:hover {
          opacity: 70%;
        }
      }
    }
    .chat-message {
      .message-wrapper {

        .message-frame {
          width: 300px;
        }

        .message-photo-wrapper {
          .photo {
            max-width: 100%;
          }

          .audio{
            max-width: 100%;
          }

          .font-small {
            text-decoration: none;
            font-size: 0.7rem;
          }
        }

        .message-author {
          font-size: 0.6rem;
          font-weight: bold;
        }

        .actions {
          position: absolute;
          top: 0px;
          right: 0px;
          display: none;

          form.button_to {
            display: inline-block;

            button {
              i {
                font-size: 0.8rem;
              }
            }
          }
        }
        &:hover {
          .actions {
            display: inline;
          }
        }
      }
    }
  }
}
