.bootstrap_chat {
  background-color: #0e4065;
  min-height: 100vh;
}

.text-small {
  font-size: 0.9rem;
}

.messages-box,
.chat-box {
  height: 510px;
  overflow-y: scroll;
}

.quick-response-btn {
  background: rgba(13, 110, 253, 0);
  border-radius: 12px !important;
  border-color: rgb(177, 177, 177);
  color: rgb(215, 215, 215);
  margin-right: 5px;
  margin-top: 0px;
}

.quick-response-btn:hover {
  background-color: rgb(177, 177, 177);
  border-color: rgb(177, 177, 177);
}

#more-button:hover {
  background: linear-gradient(rgb(170, 200, 250) 0%, rgb(150, 180, 240) 39%);
  /* Change background color */
  color: #fff;
  /* Change text color */
}

.chat-box .media-body .bg-primary.rounded {
  display: inline-block;
}

.chat-box-wrap .w-75 {
  width: 80% !important;
}

.form-control-textarea {
  height: 72px !important;
  overflow: hidden;
  resize: none;
  font-size: 15px;
}

@media(max-width:1024px) {

  .small,
  small {
    font-size: .6em;
  }

  .table>:not(caption)>*>* {
    padding: 12px 3px;
  }

  #chat_id {
    left: 15px;
    top: 20px;
    margin: 0 !important;
  }

  .language-select {
    display: flex;
    align-items: center;
    top: 10px !important;
    right: 15px !important;
    padding: 0 !important;
  }

  #restart-btn {
    margin: 0 0 0 10px !important;
  }

  .chat-box {
    height: calc(100vh - 170px);
  }

  #quick-response-grp {
    overflow-x: auto;
    display: flex;
    position: absolute;
    z-index: 1;
    margin: -23px 0 0;
    width: 94%;
    background-color: #fff;
  }

  .quick-response-btn {
    white-space: nowrap;
  }

  .chat-box-wrap {
    height: calc(100vh - 119px);
    position: relative;
    max-width: 100% !important;
  }

  .rounded-circle {
    min-width: 40px;
    height: 40px;
  }

  .table p {
    margin: 0;
  }

  h3 {
    font-size: 1.2rem;
  }

  .table {
    font-size: 0.8rem;
    vertical-align: middle;
  }

  #chat_id {
    top: 10px;
    font-size: 10px !important;
    z-index: 1;
  }

  header.text-center .display-4 {
    font-size: 1.3rem;
    margin: 0 !important;
  }

  header.text-center {
    margin-top: 20px;
    position: absolute;
    left: 15px;
    top: 4px;
  }

  .table input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
  }

  .text-small {
    font-size: 0.9rem;
    margin: 0;
  }

  .bootstrap_chat .chatbot-container {
    padding: 58px 0 0 !important;
    width: 100%;
    max-width: 100%;
  }

  .bootstrap_chat {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
  }
}

@media(max-width:767px) {

  .restart-text,
  .submit-text {
    display: none;
  }

  #language-select {
    font-size: 14px;
  }

  .number-select {
    min-width: 75px;
  }

  .day-select {
    min-width: 95px;
  }

  .form-select {
    font-size: 14px;
  }

  .chat-box {
    height: calc(100vh - 196px);
  }

  .language-select {
    top: 10px !important;
  }
}

@media(max-width:340px) {
  #chat_id {
    font-size: 10px !important;
  }

  #language-select {
    font-size: 12px;
    min-height: 36px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media(max-width:767px) {
    .chat-box {
      height: calc(100vh - 240px);
    }
  }
}