.chat {
  background-color: var(--color-white);
  height: 100%;
  overflow: hidden;
  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-radius: 4px;
      border: 1px solid var(--color-brand-tertiary-shade-110);
      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;
  overflow-y: auto;
  padding: 0 20px 5px; }
  @media (min-width: 941px) {
    .chat__box {
      max-height: 490px; } }

.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--first:first-child {
    padding-top: 0; }

.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; }

.chat-settings {
  background-color: var(--color-white);
  height: 100%;
  position: absolute;
  top: 0;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  width: 100%;
  z-index: 100; }
  .chat-settings.is-active {
    -webkit-transform: translateX(0);
    transform: translateX(0); }

.chat-settings__title {
  color: var(--color-brand-secondary);
  position: relative;
  top: -2px; }

.chat-settings__overlay {
  background-color: var(--color-brand-secondary-alpha-70);
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  -webkit-transition: all 0.3s 0.1s;
  transition: all 0.3s 0.1s;
  visibility: hidden;
  width: 100%;
  z-index: 100; }
  .chat-settings__overlay.is-active {
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    visibility: visible; }

.chat-settings__overlay-content {
  background-color: var(--color-brand-tertiary);
  bottom: 0;
  height: 290px;
  padding: 20px;
  position: absolute;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: all 0.3s 0s;
  transition: all 0.3s 0s;
  width: 100%; }
  .is-active.chat-settings__overlay .chat-settings__overlay-content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s; }

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