::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #b6cecb;
}

#container {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 100%;
  max-width: 1000px;

  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

#history-container {
  position: absolute;
  overflow: scroll;
  top: 30px;
  bottom: 90px;
  left: 10px;
  right: 10px;
}

#chat-history {
  width: 100%;
  font-size: 14px;
  font-family: sans-serif;
  border-spacing: 0 10px;
}

#send-button {
  position: absolute;
  height: 60px;
  line-height: 60px;
  bottom: 10px;
  width: 80px;
  right: 10px;
  /* background: #cccccc; */
  /* color: #666666; */
  background: #df8465;
  color: #ffffff;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 0px 5px 5px 0px;
  transition: .2s ease-out;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#send-button:hover {
  background: #e59980;
  /* background: #d9d9d9; */
}

#message-container {
  position: absolute;
  height: 60px;
  bottom: 10px;
  left: 10px;
  right: 60px;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 5px 0px 0px 5px;
}

#message {
  position: absolute;
  border: 0;
  background-color: #ffffff;
  left: 10px;
  bottom: 10px;
  height: 40px;
  line-height: 40px;
  width: 95%;
  font-size: 14px;
  color: #333333;
  font-family: Helvetica, Arial, sans-serif;
  outline: none;
  /* overflow-y: scroll; */
  white-space: nowrap;
  overflow-x: scroll;
  resize: none;
}

#message-cover {
  position: absolute;
  height: 60px;
  line-height: 60px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  overflow: hidden;
  /* background-color: #d9d9d9; */
  background-color: #d4d4d4;
  color: #999999;
  border-radius: 5px 5px 5px 5px;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  vertical-align: middle;
  display: none;
}

#submit {
  position: absolute;
  height: 60px;
  line-height: 60px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  overflow: hidden;
  background-color: #d9d9d9;
  color: #999999;
  border-radius: 5px 5px 5px 5px;
  font-size: 16px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  vertical-align: middle;
  display: none;
}

.bubble {
  float: left;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  padding: 6px 12px 12px;
  line-height: 22px;
  max-width: calc(80% - 50px);
  min-width: 100px;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  text-align: left;
  vertical-align: middle;
  word-wrap: normal;
  word-break: break-all;
  white-space: normal;
  background: #ffffff;
  border-radius: 0px 15px 5px 15px;
  word-break: keep-all;
  word-wrap: break-word;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.left-arrow {
  float: left;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid #ffffff;
  border-left: 5px solid transparent;
}

.bubble-me {
  float: right;
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  padding: 6px 12px 12px;
  line-height: 22px;
  max-width: calc(80% - 50px);
  min-width: 100px;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  text-align: left;
  vertical-align: middle;
  word-wrap: normal;
  word-break: break-all;
  white-space: normal;
  background: #808080;
  color: #ffffff;
  /* background: #d9ffcc;
  color: #000000; */
  border-radius: 15px 0px 15px 5px;
  word-break: keep-all;
  word-wrap: break-word;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.2);
}

.right-arrow {
  float: right;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid #808080;
  /* border-top: 5px solid #d9ffcc; */
  border-right: 5px solid transparent;
}

.notification {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  line-height: 20px;
  width: 100%;
  font-size: 10px;
  font-family: Helvetica, Arial, sans-serif;
  color: #666666;
  letter-spacing: 1px;
  text-align: center;
  vertical-align: middle;
  word-wrap: normal;
  word-break: break-all;
  white-space: normal;
}

.button {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  padding: 6px 12px;
  margin-left: 5px;
  margin-bottom: 5px;
  line-height: 22px;
  max-width: calc(80% - 50px);
  min-width: 50px;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  text-align: center;
  vertical-align: middle;
  word-wrap: normal;
  word-break: break-all;
  white-space: normal;
  background: #df8465;
  color: #ffffff;
  border-radius: 5px 5px 5px 5px;
  word-break: keep-all;
  word-wrap: break-word;
  /* box-shadow: 0px 1px 1px rgba(0,0,0,0.2); */
  cursor: pointer;
  transition: .2s ease-out;
  user-select: none;
}

.button:hover {
  background: #e59980;
  /* background: #d9d9d9; */
}


.profile-image {
  display: inline-block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  background: #f2f2f2;
  width: 50px;
  height: 50px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.profile-image-charac {
  width: 50px;
  height: 12px;
  line-height: 12px;
  vertical-align: middle;
  text-align: center;
  letter-spacing: 0px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 7px;
  border-radius: 6px;
  color: #ffffff;
}


#progress-bar {
  position: absolute;
  top: 0px;
  left: 10px;
  right: 10px;
  height: 20px;
}

#progress {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0%;
  height: 20px;
  line-height: 20px;
  font-size: 10px;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  vertical-align: middle;
  background: #df8465;
  color: #ffffff;
  border-radius: 10px;
}


/* Slide style */

.slider {
  -webkit-appearance: none;
  width: 300px;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #df8465;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #df8465;
  cursor: pointer;
}


/*
Loading animation - thanks to: https://loading.io/css
*/

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 30px;
}

.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}
