* {
  box-sizing: border-box;
}
.div_logo {
  padding: 0 16px;
  text-align: center;
  min-height: 75px;
}
.div_logo img {
  margin-top: 24px;
  max-height: 40px;
  max-width: 100%;
  min-height: 40px;
  height: auto;
  width: auto;
}
html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  color: black;
  background-color: #fff;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
}

header {
  width: 100%;
  position: absolute;
  text-align: center;
  bottom: 20px;
}

header a,
header a:visited {
  font-size: 18px;
  color: #dedede;
  text-decoration: none;
}

header a:hover {
  text-decoration: underline;
}

section {
  height: 70%;
  background-color: #fff;
}

section input,
section textarea {
  resize: vertical;
  line-height: 1.5rem;
  display: block;
  height: 100px;
  width: 62%;
  margin: 10px auto;
  outline: none;
  background-color: transparent;
  border: none;
  border: 2px solid #2b2b2a;
  border-radius: 5px;
  padding-left: 10px;
  font-size: 16px;
  color: black;
}

#messages {
  background-color: #fff;
  padding: 10px;
  height: 100%;
  width: 60%;
  margin: 0 auto;
  overflow-y: auto;
}

#messages p {
  margin: 5px 0;
  padding: 0;
}

.info {
  margin: 5px 0;
  font-style: italic;
}

.message-container {
  margin: 5px 0;
  color: #e3e3e3;
  border: 1px solid #ef7215;
  background-color: #ef7215;
  border-radius: 0px 10px 10px 10px;
}
.message-container .message a {
  text-decoration: underline;
  color: white;
  cursor: pointer;
}
.message-container.align-right {
  background-color: #575656;
  border-color: #575656;
  border-radius: 10px 0px 10px 10px;
}

.message-container .username {
  display: inline-block;
  margin-right: 5px;
  font-weight: bold;
  width: auto;
  color: #fff;
}

.me,
.username.me {
  font-weight: bold;
  color: cyan;
}

.message-container .username.me {
  display: inline-block;
  margin-right: 5px;
}

.saas-widget-footer {
  background-color: transparent;
  padding-top: 10px;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  line-height: 1;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}

.saas-widget-footer-privacy-link {
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  line-height: 14px;
  font-size: 12px;
  display: inline-block;
  vertical-align: bottom;
  max-width: -webkit-calc(100% - 32px);
  max-width: -moz-calc(100% - 32px);
  max-width: calc(100% - 32px);
  text-decoration: none;
  color: black;
}

.msg_input input,
.msg_input textarea {
  color: rgb(255, 255, 255);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  text-overflow: ellipsis;
  resize: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
}

#messages img {
  margin: 10% 45%;
  width: 10%;
}

#messages .message img {
  margin: 0%;
  width: 90%;
}
.message-container {
  width: 100%;
  float: left;
  position: relative;
  padding: 15px 10px 20px 60px;
  font-size: 18px;
}
.align-right {
  float: right !important;
  width: 90%;
}
.align-right span {
  float: right;
  text-align: right;
}

.agent_img {
  position: absolute;
  left: 9px;
  top: 10px;
  margin: 0 !important;
  border-radius: 50%;
  height: 40px;
  width: 40px !important;
  object-fit: cover;
}

.radio_option_button_msg {
  margin: 4px;
  outline: none;
  cursor: pointer;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  text-align: left;
  min-height: 36px;
  font-weight: 400;
  -webkit-box-shadow: 0 2px 6px rgb(0 0 0 / 12%);
  -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 6px rgb(0 0 0 / 12%);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border: 1px solid #212021;
  outline: none;
  padding: 8px 12px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 20px;
  font-size: 14px;
}

@media (max-width: 767px) {
  section {
    height: auto;
    background-color: #fff;
  }

  #messages {
    width: 100%;
    background-color: #fff;
    height: calc(100vh - 130px);
  }
  .message-container {
    border: 1px solid #ef7215;
    background-color: #ef7215;
    padding: 10px 10px 10px 60px;
    font-size: 15px;
    border-radius: 0px 10px 10px 10px;
    min-height: 60px;
    color: #e3e3e3;
    line-height: 22px;
  }
  .agent_img {
    left: 9px;
    top: 10px;
  }
  .message-container .username {
    width: auto;
    color: #fff;
  }
  .message-container.align-right {
    background-color: #575656;
    border-color: #575656;
    min-height: auto;
    border-radius: 10px 0px 10px 10px;
    width: 90%;
  }

  #chat-input {
    line-height: 1.5rem;
    background-color: #fff;
    color: #000;
    width: 95%;
    border: 1px solid #ccc;
    height: auto;
    min-height: 100px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
    resize: vertical;
  }
  #chat-input-mbl {
    line-height: 1.5rem;
    background-color: #fff;
    color: #000;
    width: 95%;
    border: 1px solid #ccc;
    height: auto;
    min-height: 100px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
    resize: vertical;
  }
  .saas-widget-footer-privacy-link {
    color: #575656;
    margin-top: 10px;
    padding-bottom: 20px;
  }
  html,
  body {
    background: #fff;
  }
  hr {
    color: #ef7215;
  }
}

#chat-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#chat-input-mbl:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.message-container .username a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

#send_msg_btn {
  display: none;
}
@media (max-width: 480px) {
  #send_msg_btn {
    display: block;
    color: #fff;
    border-radius: 10px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s;
    animation-timing-function: ease-in-out;
    background-color: #ef7215;
    border-color: #ef7215;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    padding: 1.48rem 0.5rem;
    margin-top: 3% !important;
    margin: auto;
    font-size: 1.2rem;
}
  

  #chat-input-mbl {
    min-height: 70px;
    float: left;
    margin-left: 10px;
    width: 80%;
  }

  #messages {
height: calc(100vh - 90px);
  }
}
