/* CSS for Amazon chatbot */
body.full-screen {
  overflow: hidden;
}

div.chat-bot img {
  cursor: pointer;
  width: 100px;
  position: fixed;
  float: right;
  z-index: 99;
  right: 5rem;
  bottom: 10rem;
  top: unset;
}

div.chat-bot div.chat-bot-wrapper {
  position: fixed;
  float: right;
  z-index: 10001;
  right: 10px;
  bottom: 10px;
  top: unset;
  border: 3px solid #b40931;
  border-bottom: 40px solid #b40931;
  box-shadow: 0 0 6px #00000069;
  width: 400px;
}

div.chat-bot-wrapper {
  display: none;
}

div.chat-bot-wrapper.active {
  display: block;
}

div.chat-bot-wrapper #conversation_bar {
  background: rgba(180, 9, 49, 1);
  display: flex;
  justify-content: flex-end;
  height: 40px;
  align-items: center;
}

div.chat-bot-wrapper #conversation_bar span {
  cursor: pointer;  
  cursor: pointer;
  font-size: 0;
  background: transparent;
  border: none;
  padding: 5px;
}

div.chat-bot-wrapper #conversation_bar span:active {
  outline: none;
  box-shadow: none;
}

div.chat-bot-wrapper #conversation_bar span:last-child {
  margin-right: 5px;
}

div.chat-bot-wrapper #conversation_bar span:first-child::before {
  content: '';
  width: 25px;
  height: 25px;
  display: block;
  background: url(minimize.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}

div.chat-bot-wrapper #conversation_bar span:last-child::before {
  content: '';
  width: 25px;
  height: 25px;
  display: block;
  background: url(enlarge.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}

div.chat-bot-wrapper #chatform {
  margin-top: 0;
  background: #fff;
  border-top: 1px solid #b40931;
  padding: 5px 0;
  display: flex;
  align-items: center;
}

div.chat-bot-wrapper #chatform input {
  border: none;
  width: calc(100% - 80px);
}

div.chat-bot-wrapper #chatform input::placeholder {
  font-style: normal;
  color: #000;
}

div.chat-bot-wrapper #chatform input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

#chatform button.btn.btn-submit {
  border-radius: 10px;
  padding: 5px 15px;
  background: #E1716E;
  color: #fff;
  box-shadow: 0 2px 3px #00000029;
  margin-right: 10px;
  width: 70px;
  position: relative;
}

#chatform button.btn.btn-submit::before {
  content: '';
  position: absolute;
  width: 66px;
  height: 30px;
  border: 1px #fff solid;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  display: block;
  top: 1px;
  left: 1px;
}

div.chat-bot-wrapper #conversation {
  /* width: 400px; */
  height: 400px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 4px;
  overflow: auto;
}

div.chat-bot-wrapper input#wisdom {
  padding: 4px;
  font-size: 1em;
}

div.chat-bot-wrapper input::placeholder {
  color: #ccc;
  font-style: italic;
}

div.chat-bot-wrapper p.userRequest {
  margin: 4px;
  padding: 4px 10px 4px 10px;
  border-radius: 4px;
  min-width: 50%;
  max-width: 85%;
  float: right;
  background-color: #7d7;
}

div.chat-bot-wrapper p.lexResponse {
  margin: 4px;
  padding: 4px 10px 4px 10px;
  border-radius: 4px;
  text-align: left;
  min-width: 50%;
  max-width: 85%;
  float: left;
  background-color: #bbf;
  font-style: italic;
}

div.chat-bot-wrapper p.lexResponse span {
  cursor: pointer;
}

div.chat-bot-wrapper p.lexError {
  margin: 4px;
  padding: 4px 10px 4px 10px;
  border-radius: 4px;
  text-align: right;
  min-width: 50%;
  max-width: 85%;
  float: right;
  background-color: #f77;
}

div#conversation_heading {
  text-align: center;
  padding: 5px;
  background: #E8DCDC;
}

/* width */
#conversation::-webkit-scrollbar {
  width: 5px;
}

/* Track */
#conversation::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

/* Handle */
#conversation::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
#conversation::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.chat-bot-wrapper.active.full-screen {
  width: 100vw;
  height: 100vh;
  background: #fff;
  top: 0;
  right: 0;
}

div.chat-bot-wrapper.full-screen #conversation {
  height: calc(100vh - 160px) !important;
}

SPAN[onclick="chatbot_click_chat(this);"]:hover {
	text-decoration: underline;
}

p.lexResponse a {
  word-break: break-word;
}

/* --------------------RESPONSIVE----------------------- */
@media only screen and (max-width: 600px) {
  div.chat-bot div.chat-bot-wrapper {
    width: calc(100vw - 30px);
    right: 15px;
  }
}
