textarea.textbox.inputTextbox-size {
    overflow: hidden;
    width: 100%;
}

@media screen and (max-width: 767px) {
    textarea.textbox,
    .textbox-size {
      font-size: 16px;
    }
  }

textarea.textbox {
    width: 100%;
    height: 100%;
    position: absolute;
    resize:none;
    white-space: normal;
    padding: 5px 5px;
    /* border: 1px solid #6BA0B1; */
    border: none;
    font-family: HelveticaNeue-Light,HelveticaNeue,Helvetica,Arial;
}

textarea.textbox:focus,
.chatbotHolder .sendMessageButton:focus {
    outline: 2px solid #699FB1 !important;
    box-shadow: none !important;
}

.chatbotHolder .sendMessageButton.enabled .sendMessageButton__icon {
    filter: invert(100%);
}

textarea.textbox::placeholder {
    color: #999999;
    font-style: italic;
}

.textbox-size {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    padding: 5px 5px; /* should be same as textarea.textbox */
    visibility: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid transparent; /* should be same as textarea.textbox */
    font-style: italic;
    /* height: 200px; */
    font-family: HelveticaNeue-Light,HelveticaNeue,Helvetica,Arial;
}

.holderMsgDialog {
    padding-left: 10px;
    padding-right: 10px;
}

@media only screen and (max-width: 768px) {
    div .msgDialog {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 600px) {
    /* For tablets: */
    div.msgDialog {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.chatbotChatWrapper {
    margin-bottom: 5px;
}

.chatbotChatWrapper.user {
    text-align: right;
  }

  .chatbotChatWrapper .dialogWrapper {
    max-width: 70%;
    display: inline-block;
    right: -26px;
    position: relative;
    border-radius: 4px;
    text-align: left;
    left: 0px;
    word-wrap: break-word;
    padding: 5px 4px;
  }

  .chatbotChatWrapper.user .dialogWrapper {
    background-color: #f5fde7;
    border-color: #ececec;
    border: 1px solid #c5d9a0;
  }

  .chatbotChatWrapper.bot .dialogWrapper {
    background-color: #ffebeb;
    border-color: #ffe0e0;
    border: 1px solid #ffe0e0;
  }

  .chatContent p,
  .chatContent .dialogText {
    font-family: HelveticaNeue-Light,HelveticaNeue,Helvetica,Arial;
  }

  .dialogText {
    display: block;
    font-style: normal;
    font-size: 12px;
    font-weight: normal;
    padding-left: 3px;
    padding-right: 3px;
    line-height: 16px;
  }

  @media screen and (max-width: 767px) {
    .dialogText {
      font-size: 16px !important;
      line-height: 20px !important;
    }
  }

  .chatbotChatWrapper .dialogText>p {
      margin-bottom: 0px;
  }

  .chatbotChatWrapper.bot .dialogText {
    color: #dd2525;
  }

  .chatbotChatWrapper.user .dialogText {
    color: #333;
  }

  .chatbotChatWrapper.bot .dialogWrapper .dialogArrowBorder {
    border-right-color: #ffe0e0 !important;
    left: -6px;
  }

  .chatbotChatWrapper .dialogWrapper .dialogArrow {
      z-index: 2;
  }

  .chatbotChatWrapper.bot .dialogWrapper .dialogArrow {
    border-right-color: #ffebeb !important;
    left: -5px;
  }

  .chatbotChatWrapper.bot .dialogWrapper .dialogArrow,
  .chatbotChatWrapper.bot .dialogWrapper .dialogArrowBorder {
    margin-top: -2px;
    border-top: 6px solid transparent;
    border-right: 5px solid #ffe0e0;
    border-bottom: 5px solid transparent;
    bottom: 4px;
    position: absolute;
    background-color: transparent;
    width: 0px;
    height: 2px;
    display: inline-block;
  }

  .chatbotChatWrapper.user .dialogWrapper .dialogArrowBorder {
    border-left: 5px solid #c5d9a0 !important;
    right: -6px;
  }

  .chatbotChatWrapper.user .dialogWrapper .dialogArrow {
    border-left: 5px solid #f5fde7 !important;
    right: -5px;
  }

  .chatbotChatWrapper.user .dialogWrapper .dialogArrow,
  .chatbotChatWrapper.user .dialogWrapper .dialogArrowBorder {
    margin-top: -2px;
    border-top: 6px solid transparent;
    border-left: 5px solid #fff;
    border-bottom: 5px solid transparent;
    top: 8px;
    position: absolute;
    background-color: transparent;
    width: 0px;
    height: 2px;
    display: inline-block;
  }

  .chatbotChatWrapper .chatInfo {
    color: #999999;
    font-style: normal;
    font-family: HelveticaNeue,Helvetica,Arial;
    font-weight: normal;
    position: relative;
    font-size: .8em;
    top: 0;
    padding: 3px;
    display: hidden;
  }

  .chatbotChatWrapper.bot .chatInfo__text {
    display: flex;
    align-items: center;
    line-height: 1;
  }

  .chatbotChatWrapper.bot .chatInfo__text::before {
    content: '';
    width: 15px;
    height: 13px;
    background-image: url('./images/chatbot_small.png');
    background-size: cover;
    display: inline-block;
    margin-right: 3px;
    position: relative;
  }

  .chatbotChatWrapper .chatInfo__text > .timestamp {
      display: none;
  }

  .chatbotChatWrapper.bot .chatInfo {
    text-align: left;
  }

  .chatbotChatWrapper.user .chatInfo {
    text-align: right;
  }

  .holderMsgDialog .sysMessage,
  .holderMsgDialog .sysMessageBottom {
    color: #999999;
    text-align: center;
    margin-bottom: 10px;
}

.holderMsgDialog .sysMessageBottom__end-conversation {
  margin-top: 16px;
}

.dialogText .chat_response_btn,
.dialogText .chat_action_btn,
.dialogText .chat_reset_btn,
.dialogText .chat_contactcs_btn {
    line-height: 200%;
    padding-left: 0px;
    margin: 8px 0;
    width: 100%;
    background-color: #fff;
    border-color: #ffe0e0;
    border-style: solid;
    border-width: 1px;
    white-space: normal;
}

.dialogText .chat_response_btn:hover,
.dialogText .chat_action_btn:hover,
.dialogText .chat_reset_btn:hover,
.dialogText .chat_contactcs_btn:hover,
.dialogText .selected {
  background-color: #ffd3d5;
  border-color: #ffc4c4
}
