.chat {
  background-color: var(--color-white);
  height: 100%;
  width: 100%; }
  @media (min-width: 941px) {
    .chat {
      height: 560px; } }

.chat--float,
.chat--embed {
  left: 0;
  top: 0;
  z-index: 8000; }

.chat--float {
  position: absolute; }
  @media (min-width: 941px) {
    .chat--float {
      border-radius: 8px 8px 0 0;
      bottom: 0;
      box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.1);
      left: unset;
      right: 30px;
      top: unset;
      width: 400px; } }

.chat--embed {
  position: fixed; }
  @media (min-width: 941px) {
    .chat--embed {
      border: 1px solid var(--color-brand-tertiary-shade-110);
      border-radius: 4px;
      overflow: hidden;
      position: relative; } }
  .chat--embed .speech-bubble__avatar {
    top: 6px; }

.chat__wrapper {
  display: grid;
  grid-template-areas: 'chat-header' 'chat-main' 'chat-footer';
  grid-template-rows: 70px 1fr minmax(90px, auto);
  height: 100%; }

.chat__header {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--color-white);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  grid-area: chat-header;
  height: 70px;
  padding: 15px 20px;
  width: 100%;
  z-index: 100; }

.chat__box {
  -webkit-overflow-scrolling: touch;
  grid-area: chat-main;
  margin-top: -5px;
  overflow-y: auto;
  padding: 0 20px 5px; }

.chat__footer {
  background-color: var(--color-white);
  grid-area: chat-footer;
  min-height: 90px;
  padding: 15px 20px;
  width: 100%; }

.chat-content__wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative; }

.chat-content__wrapper--first {
  padding-top: 5px; }

.chat-content__wrapper:last-child {
  padding-bottom: 10px; }

.chat .chat__content {
  max-width: 100%; }
  @media (min-width: 941px) {
    .chat .chat__content {
      max-width: 290px; } }

.chat__content--user {
  -webkit-align-self: flex-end;
  -ms-flex-item-align: end;
  align-self: flex-end;
  margin-bottom: 5px;
  margin-left: 70px; }

.chat__content--bot {
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
  margin-bottom: 5px;
  margin-left: 35px;
  margin-right: 35px;
  max-width: calc(100% - 70px) !important; }

/*# sourceMappingURL=chat.css.map */
