.live-chat .row {
    justify-content: space-around;
  }
  @media (max-width: 978px) {
    .live-chat .row .visual {
      grid-area: image;
      display: grid;
      grid-template-areas: "layers";
      align-content: center;
      justify-content: center;
    }
    .live-chat .row .text {
      width: 93%;
      margin: -1rem auto 3rem;
    }
  }
  
  .live-chat.blue .dotparent {
    background-color: #503D67;
  }
  .live-chat.blue .chatSarah {
    background-color: #503D67;
  }
  .live-chat.blue .chathead {
    background-color: #503D67;
  }
  .live-chat.blue .lightbluebg {
    background: #f5f5f5;
  }
  .live-chat.pink .dotparent {
    background-color: var(--bp-primary-accent-color);
  }
  .live-chat.pink .chatSarah {
    background-color: var(--bp-primary-accent-color);
  }
  .live-chat.pink .chathead {
    background-color: var(--bp-primary-accent-color);
  }
  .live-chat.pink .lightbluebg {
    background: #f5f5f5;
  }
  .live-chat .text {
    max-width: 500px;
  }
  
  .dotparent {
    height: 48px;
    width: 80px;
    border-width: 5px;
    border-radius: 8px 8px 8px 8px;
    margin: 20px 4.25rem 20px auto;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dotparent span:nth-child(2) {
    animation-delay: 40ms;
  }
  .dotparent span:nth-child(3) {
    animation-delay: 150ms;
  }
  .dotparent::after {
    background: url("/img/industries/sales/sarah.png"), no-repeat;
    transform: translateX(4.25rem);
    content: " ";
    position: absolute;
    display: block;
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    width: 2.9rem;
    min-height: 3.5rem;
  }
  
  .dotparent span.chatdot {
    height: 8px;
    width: 8px;
    padding: 1px;
    margin: 3px;
    background-color: var(--white);
    border-radius: 50%;
    animation-name: zoom;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }
  
  @keyframes zoom {
    0% {
      transform: scale(1);
      background-color: var(--very-light-grey);
    }
    25% {
      transform: scale(0.6);
      background-color: var(--very-light-grey);
    }
    50% {
      transform: scale(1.1);
      background-color: #ffffff5d;
    }
    100% {
      transform: scale(1);
      background-color: var(--very-light-grey);
    }
  }
  .lightbluebg {
    margin: auto;
    margin-top: 6rem;
    border-radius: 8px;
    margin-bottom: 6rem;
    padding: 0 1rem;
  }
  
  .bluechat {
    margin: -3.3rem auto 4rem auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 400px;
    max-width: 100%;
    box-shadow: 0px 3px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #FFFFFF;
  }
  
  .bluechat .chatbubble {
    padding: 1rem 1rem 0 1rem;
    font-size: .8rem;
    text-align: left;
  }
  .bluechat .chatbubble.chatSarah {
    border-radius: 8px 8px 0px 8px;
    margin-bottom: 25px;
    margin-right: 4.4rem;
    margin-left: .8rem;
  }
  .bluechat .chatbubble.chatSarah p {
    color: var(--white);
    opacity: 1;
  }
  .bluechat .chatbubble.chatSarah::after {
    background: url("/img/industries/sales/sarah.png"), no-repeat;
    margin-right: -3.5rem;
    right: 0;
    bottom: 0;
  }
  .bluechat .chatbubble.chatKarla {
    background-color: var(--very-light-grey);
    border-radius: 8px 8px 8px 0px;
    margin-left: 3.5rem;
    left: 0;
    max-width: 72%;
  }
  .bluechat .chatbubble.chatKarla p {
    color: #666666;
    opacity: 1;
  }
  .bluechat .chatbubble.chatKarla::after {
    background: url("/img/tour/2021/chat-john.png"), no-repeat;
    margin-left: -3.5rem;
    left: 0;
    bottom: 0;
  }
  .bluechat .chatbubble.chatSarah::after, .bluechat .chatbubble.chatKarla::after {
    content: " ";
    position: absolute;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 2rem;
    min-height: 2rem;
  }
  .bluechat .chatbubble p.chatcopy {
    font-family: var(--font-regular);
    font-size: .8rem;
    opacity: 1;
    margin-top: 0;
  }
  
  .chatinfo {
    height: 4rem;
    width: 100px;
    margin-top: 15px;
    margin-left: 10px;
    text-align: left;
    font-size:0.6rem;
  }
  
  .chathead .ico-chevron {
    color: #fff;
    transform: rotate(180deg);
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 1.1rem;
    margin-left: 0.5rem;
    font-size: 1rem;
  }
  
  .bluechat .chathead {
    border-radius: 8px 8px 0 0;
    height: 4rem;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
  }
  .bluechat .chathead .chatarrow img {
    position: absolute;
    margin-top: 2rem;
    margin-left: -270px;
  }
  .bluechat .chathead .karlachat img {
    margin: 15px 5px 10px 35px;
    width: 2.4rem;
  }
  .bluechat .chathead span {
    color: var(--white);
  }
  .bluechat .chathead span.chatname {
    font-family: var(--font-medium);
    font-size: 1rem;
    margin: 0;
  }
  .bluechat .chathead span.chatstatus p {
    font-family: var(--font-light);
    margin-top: -5px;
    font-size: 0.6rem;
  }
  
  .chatbutton {
    position: absolute;
    bottom: -6.5rem;
    height: 5rem;
    width: 5rem;
    right: 0;
  }
  
  .textinput img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }
  
  .emoji {
    height: 1.5rem;
    max-width:1.5rem;
    width: auto;
    margin-bottom: 0.5rem;
  }
  
  @media (max-width: 834px) {
    .bluechat .chatbubble.chatSarah {
      border-radius: 8px 8px 0px 8px;
      margin-bottom: 25px;
    }
  }
  @media screen and (max-width: 768px) {
    .chathead .karlachat img {
      margin: 15px -30px 10px 20px;
    }
  }
  @media screen and (max-width: 768px) {
    .bluechat {
      max-width: 320px;
    }
  
    .chathead .karlachat img {
      margin: 15px -30px 10px -250px;
    }
  
    .chatinfo {
      margin-left: 85px;
    }
  
    .chatbutton {
      bottom: -6rem;
      height: 4rem;
      width: 4rem;
    }
  }
  @media (max-width: 360px) {
    .chathead .karlachat img {
      margin: 15px 0px 10px 20px;
    }
  
    .chathead .chatarrow img {
      margin-left: -240px;
    }
  
    .bluechat .chatbubble.chatSarah {
      border-radius: 8px 8px 0px 8px;
      margin-bottom: 25px;
      margin-right: 3.5rem;
      margin-left: 1rem;
    }
    .bluechat .chatbubble.chatKarla {
      margin-right: 1rem;
    }
    .bluechat .chatbubble.chatSarah::after, .bluechat .chatbubble.chatKarla::after {
      content: " ";
      position: absolute;
      display: block;
      background-size: 70%;
      background-position: center;
      background-repeat: no-repeat;
      width: 3rem;
      min-height: 3rem;
    }
    .bluechat .chatbubble.chatSarah::after {
      margin-right: -3.2rem;
      right: 0;
      bottom: 0;
    }
    .bluechat .chatbubble.chatKarla::after {
      margin-left: -3.3rem;
    }
  
    .dotparent::after {
      width: 3rem;
      min-height: 3rem;
      margin-left: -0.8rem;
    }
  }
  .blue .bluechat .chatbubble.chatKarla::after {
    background: url("/img/tour/2021/chat-john.png"), no-repeat;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  .pink .bluechat .chatbubble.chatKarla::after {
    background: url("/img/industries/sales/karla.png");
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  .live-chat:not(.pink) .bluechat .chatbubble.chatSarah {
    margin-left: auto;
    max-width: 72%;
  }