/*
   colors:
   primary blue = #21517a
   highlight yellow = #FFED00
*/

/* ============= Own styles ============= */
.menu-trigger {
  cursor: pointer;
  color: white;
  margin-right: 10px;
  float: right;
  margin-top: 3%;
}

/* Feedback container for rating */
.feedback-container {
  position: relative;
  width: 100%;
  text-align: center;
}

/* Star rating */
.rating-container {
  opacity: 0;
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

.rating > input{
 display:none;
}

.rating > label {
  position: relative;
  width: 1.1em;
  font-size: 2vw;
  color: #FFED00;
  cursor: pointer;
}

.feedback-container .rating > label {
  position: relative;
  width: 1.6em;
  font-size: 1.6em;
  color: #FFED00;
  cursor: pointer;
}

.rating > label::before{
  content: "\2605";
  position: absolute;
  opacity: 0;
}

.rating > label:hover:before,
.rating > label:hover ~ label:before {
  opacity: 1 !important;
}

.rating > input:checked ~ label:before{
  opacity:1;
}

.rating:hover > input:checked ~ label:before{
  opacity: 0.4;
}

.emotji {
  font-size: 18px;
}

/* ====================================== */

html {
  background: url("../img/rlb.png") no-repeat top center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  font-family: "Open Sans", sans-serif;
}

/* ============= css related to chats =============== */

.widget {
  display: none;
  width: 380px;
  right: 15px;
  height: 520px;
  bottom: 16%; 
  /* bottom: 7%; */
  position: fixed;
  background: #fff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.16), 0 0px 5px 0 #00000096;
}

.feedback-widget {
  display: none;
  width: 380px;
  right: 15px;
  height: 12%;
  bottom: 3%;
  position: fixed;
  background: #fff;
  //color: #fff;
  padding: 10px;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.16), 0 0px 5px 0 #00000096;
}

@media screen and (max-width: 480px) {
  .widget {
    right: 2px;
  }
  .feedback-widget {
    right: 2px;
  }
}

.chat_header {
  height: 60px;
  background: #21517a;
  border-radius: 10px 10px 0px 0px;
  padding: 5px;
  font-size: 20px;
}

.chat_header_title {
  color: white;
  float: left;
  margin-top: 3%;
  margin-left: 3%;
}

.chats {
  /* display: none; */
  height: 385px;
  padding: 10px;
  border-radius: 1px;
  overflow-y: scroll;
  //margin-top: 1px;
  transition: 0.2s;
}

div.chats::-webkit-scrollbar {
  overflow-y: hidden;
  width: 0px;
  /* remove scrollbar space /
    background: transparent;
    / optional: just make scrollbar invisible */
}

.clearfix {
  margin-top: 2px;
  margin-bottom: 2px;
}

.botAvatar {
  border-radius: 50%;
  width: 3em;
  height: 3em;
  float: left;
  margin-left: 5px;
  /* border: 2px solid  #060DCF ; */
}

.botMsg {
  float: left;
  margin-top: 5px;
  background: #e3e7ee;
  color: black;
  /* box-shadow: 2px 3px 9px 0px #9a82842e; */
  margin-left: 0.5em;
  padding: 10px;
  border-radius: 1.5em;
  max-width: 67%;
  min-width: 25%;
  font-size: 14px;
  line-height: 19.5px;
  word-wrap: break-word;
  border-radius: 5px 20px 20px 20px;
}

div.chats h1 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
div.chats h2 {
  font-size: 1.3rem;
  margin: 0.5rem 0;
  font-weight: bolder;
}
div.chats h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  font-weight: bolder;
}
div.chats h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
  font-weight: bolder;
}
div.chats h5 {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  font-weight: bolder;
}
div.chats h6 {
  font-size: 0.8rem;
  margin: 0.5rem 0;
  font-weight: bolder;
}

div.chats > pre {
  font-family: monospace, monospace;
  font-size: 1em;
  margin: 0 !important;
  /* display: inline !important; */
  white-space: initial !important;
}
div.chats > ul:not(.browser-default) {
  padding-left: 1em;
}
div.chats > ul:not(.browser-default) > li {
  list-style-type: initial;
}

div.chats > span.botMsg > p {
  margin: 0;
}

div.chats > span.botMsg > ol {
  padding-left: 1em;
}

div.chats > span.botMsg > ul li {
  list-style-type: circle;
  margin-left: 12px;
}

div.chats .collapsible-body ul li {
  list-style-type: circle;
  margin-left: 12px;
}

textarea {
  box-shadow: none;
  resize: none;
  outline: none;
  overflow: hidden;
  font-family: Lato;
}

textarea::-webkit-input-placeholder {
  font-family: Lato;
}

textarea-webkit-scrollbar {
  width: 0 !important;
}

.userMsg {
  animation: animateElement linear 0.2s;
  animation-iteration-count: 1;
  margin-top: 5px;
  word-wrap: break-word;
  padding: 10px;
  float: right;
  margin-right: 0.5em;
  background: #21517a;
  color: white;
  margin-bottom: 0.15em;
  font-size: 13px;
  max-width: 64%;
  min-width: 15%;
  border-radius: 20px 5px 20px 20px;
  /* box-shadow: 0px 2px 5px 0px #9a828454; */
}

blockquote {
  margin: 20px 0;
  padding-left: 1.5rem;
  border-left: 5px solid #ee6e73;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}

.userAvatar {
  animation: animateElement linear 0.3s;
  animation-iteration-count: 1;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
  float: right;
  margin-right: 5px;
  /* border: 2px solid  #060DCF ; */
}

.usrInput {
  padding: 0.5em;
  width: 85%;
  border: 0;
  padding-left: 15px;
  height: 40px;
}

.keypad {
  /* display: none;  */
  background: white;
  height: 50px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 5px;
  border-radius: 0px 0px 10px 10px;
  border-top: 1px solid #e3e7ee;
}

#sendButton {
  cursor: pointer;
  color: #21517a;
  float: right;
  margin-right: 15px;
  margin-top: 10px;
}
/*
#sendButton {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: inline-block;
  float: right;
  margin-right: 30px;
  text-align: center;
  padding: 5px;
  font-size: 20px;
  cursor: pointer;
  color: #21517a;
}
*/

.imgProfile {
  box-shadow: 0 0px 1px 0 rgba(0, 0, 0, 0.16), 0 0px 10px 0 #00000096;
  border-radius: 38px;
  width: 76px;
}

#profile_div {
    z-index: 10000000000;
}
.profile_div {
  /* display: none; */
  position: fixed;
  /* width: 10%; */
  right: 50px;
  bottom: 30px;
  cursor: pointer;
  z-index: 10000000000;
}

/* css for dropdown menu of the bot */

#close,
#restart,
#clear {
  cursor: pointer;
}

.dropdown-trigger {
  cursor: pointer;
  color: white;
  margin-right: 5px;
  float: right;
  margin-top: 3%;
}

.dropdown-content li > a,
.dropdown-content li > span {
  color: #21517a;
}

@keyframes animateElement {
  0% {
    opacity: 0;
    transform: translate(0px, 10px);
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}

/*========== css related to chats elements============= */

/* css for card details of carousel cards */

.content {
  transition: 0.2s;
  display: none;
  width: 350px;
  right: 15px;
  height: 500px;
  bottom: 5%;
  position: fixed;
  background: white;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0px 2px 10px 1px #b5b5b5;
}

.content_header {
  object-fit: cover;
  width: 100%;
  height: 40%;
  border-radius: 10px 10px 0px 0px;
}

.content_data {
  overflow-y: scroll;
  height: 70%;
  position: absolute;
  left: 0px;
  width: 100%;
  top: 30%;
  z-index: 1000;
  border-radius: 10px;
  background: white;
  padding: 5px;
  box-shadow: 0px -1px 20px 3px #9c9393ba;
}

.content_title {
  color: black;
  font-weight: 600;
  word-wrap: break-word;
  padding-left: 5px;
  font-size: 1.2em;
  width: 80%;
  border-radius: 0.28571429rem;
}

.votes {
  font-size: 12px;
  color: lightslategray;
}

.ratings {
  margin-top: 5px;
  background: #9acd32;
  padding: 5px;
  color: white;
  border-radius: 5px;
}

.user_ratings {
  border-radius: 0.28571429rem;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.total_ratings {
  font-size: 12px;
  opacity: 0.5;
  margin-left: 5px;
}

.content_data > .row .col {
  padding: 5px;
}

.metadata_1,
.metadata_2,
.metadata_3,
.metadata_4,
.row {
  margin-bottom: 0px;
}

.metadata_1 {
  color: lightslategrey;
  padding: 5px;
}

.order,
#closeContents {
  color: #21517a;
}

.metadata_2,
.metadata_3,
.metadata_4,
.metadata_5,
.metadata_6 {
  color: lightslategrey;
  padding: 5px;
}

.average_cost,
.timings,
.location,
.cuisines {
  width: 70%;
  float: right;
  margin-right: 25%;
}

.fa .fa-user-o {
  font-size: 15px;
}

.stars-outer {
  display: inline-block;
  position: relative;
  font-family: FontAwesome;
}

.stars-outer::before {
  content: "\f006 \f006 \f006 \f006 \f006";
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

.stars-inner::before {
  content: "\f005 \f005 \f005 \f005 \f005";
  color: #f8ce0b;
}

div.content::-webkit-scrollbar {
  width: 0 !important;
}

div.content_data::-webkit-scrollbar {
  overflow-y: hidden;
  width: 0px;
  /* remove scrollbar space /
    background: transparent;
    / optional: just make scrollbar invisible */
}

/* css for single card */

.singleCard {
  padding-left: 10%;
  padding-right: 10px;
}

/* css for image card */

.imgcard {
  object-fit: cover;
  width: 80%;
  height: 50%;
  border-radius: 10px;
  margin-left: 1%;
}

/* css for markdown images */

.imgcard_mrkdwn {
  width: 80%;
  border-radius: 10px;
  margin-left: 1%;
}

/* css for suggestions buttons */

.suggestions {
  padding: 5px;
  width: 80%;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 2px 5px 5px 1px #dbdade;
}

.menuTitle {
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.menu {
  padding: 5px;
}

.menuChips {
  display: block;
  background: #21517a;
  color: #fff;
  text-align: center;
  padding: 5px;
  margin-bottom: 5px;
  cursor: pointer;
  border-radius: 15px;
  font-size: 14px;
  word-wrap: break-word;
}

/* cards carousels */

.cards {
  display: none;
  position: relative;
  max-width: 340px;
}

.cards_scroller {
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  height: 210px;
  width: 340px;
  transition: width 0.5s ease;
  margin-left: 5px;
  /* Enable Safari touch scrolling physics which is needed for scroll snap */
  -webkit-overflow-scrolling: touch;
}

.cards_scroller img {
  border-radius: 10px;
}

.cards div.note {
  position: absolute;
  /* vertically align center */
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  position: absolute;
  font-size: 4em;
  color: white;
}

.cards .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  width: 30px;
  border-radius: 2px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  z-index: 1;
}

.cards .arrow.next {
  display: none;
  font-size: 2em;
  color: #21517a;
  right: -15px;
}

.cards .arrow.prev {
  display: none;
  font-size: 2em;
  color: #21517a;
  left: 0px;
}

.cards_scroller::-webkit-scrollbar {
  width: 0 !important;
}

.cards_scroller > div.carousel_cards {
  margin: 5px;
  scroll-snap-align: center;
  position: relative;
  scroll-behavior: smooth;
}

.cards_scroller div.carousel_cards {
  min-width: 50%;
  min-height: 70%;
  /* background: #e3e7ee; */
  border: 1px solid #e3e7ee;
  border-radius: 10px;
}

.carousel_cards .cardDescription em {
  color: #FCD12A;
  font-weight: bolder;
}

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translatex(-10px);
    -moz-transform: translatex(-10px);
    -o-transform: translatex(-10px);
    transform: translatex(-10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translatex(0);
    -moz-transform: translatex(0);
    -o-transform: translatex(0);
    transform: translatex(0);
  }
}

.in-left {
  -webkit-animation-name: fadeInLeft;
  -moz-animation-name: fadeInLeft;
  -o-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.8s;
  -moz-animation-duration: 0.8s;
  -o-animation-duration: 0.8s;
  animation-duration: 0.8s;
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  -o-animation-duration: 0.8s;
  animation-delay: 0.8s;
}

/* css for cards within the cards carousels */

.cardBackgroundImage {
  width: 100%;
  border-radius: 5px;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.cardFooter {
  background: rgba(56, 53, 60, 0.86);
  border-radius: 0px 0px 5px 5px;
  position: absolute;
  z-index: 3;
  color: white;
  bottom: 0;
  width: 100%;
  height: 30%;
  word-wrap: break-word;
  padding: 1px;
}

.cardTitle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 90%;
  /* height: 40%; */
  display: inline-block;
  margin-bottom: 1px;
  font-size: 14px;
  /* font-weight: 600; */
  padding: 5px;
  /* color:#21517a; */
  color: #ffffff;
  cursor: pointer;
}

.cardDescription {
  padding: 5px;
  font-size: 13px;
  /* color: white; */
  line-height: 15px;
  overflow: hidden;
  max-height: 180px;
}

/*css for dropDown messages*/
.dropDownMsg {
  //float: left;
  margin-top: 10px;
  //background: white;
  color: black;
  //box-shadow: 2px 3px 9px 0px #9a828422;
  border: 1px solid #e3e7ee;
  margin-left: 60px;
  border-radius: 1.5em;
  max-width: 60%;
  min-width: 25%;
  font-size: 13px;
  word-wrap: break-word;
  padding: 0px 5px;
}

.dropDownMsg > select {
  border: transparent;
  background: transparent;
  padding: 0px;

}
.dropDownMsg > select:focus {
  outline: none;
}

/* css for quick replies */

.quickReplies {
  opacity: 0;
  padding: 5px 0px;
  position: relative;
  width: 100%;
  /*
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  */
  text-align: center;
  transition: all 0.2s;
  transform: scale(0.98);
  will-change: transform;
  user-select: none;
  cursor: pointer;
  scroll-behavior: smooth;
}

.quickReplies::-webkit-scrollbar {
  width: 0 !important;
}

.quickReplies.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  transform: scale(1);
}
.toggleGroups {
  display: inline-block;
    height: 32px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(0,0,0,0.6);
    line-height: 32px;
    padding: 0 12px;
    border-radius: 16px;
    background-color: #e4e4e4;
    margin-bottom: 5px;
    margin-right: 5px;
}
.chip, .toggleGroups {
  background-color: white;
  border: 1px solid#21517a;
  color: #21517a;
  /*font-weight: bolder;*/
  text-align: center;
  padding: 0 10px;
}

.chip:hover, .toggleGroups:hover {
  background-color: #21517a;
  color: white;
}

/* css for charts */

#expand:hover {
  font-size: 18px;
}

#expand {
  position: absolute;
  right: 10px;
  top: 10px;
}

.modal {
  height: 60%;
  border-radius: 10px;
}

.chart-container {
  position: relative;
  margin: auto;
  height: 25vh;
  width: 90%;
  border-radius: 10px 10px 10px 10px;
  margin-left: 5%;
  background: white;
  box-shadow: 2px 3px 9px 0px #9a82847a;
  margin-top: 5px;
}

/* css for collapsible */

.collapsible {
  margin-top: 10px;
  margin-left: 5%;
  max-width: 90%;
  min-width: 25%;
  font-size: 13px;
  word-wrap: break-word;
  background: white;
}
div.chats > ul.collapsible {
  padding-left: 0px;
}
div.chats > ul.collapsible > li {
  list-style-type: none;
}

.collapsible-body {
  padding: 2px 15px 15px 15px;
}

.collapsible-header {
  padding: 10px;
  font-weight: bold;
  color: #21517a;
}

/* css for botTyping */

.botTyping {
  float: left;
  margin-top: 5px;
  background: #e3e7ee;
  color: #000000;
  /* box-shadow: 2px 3px 9px 0px #9a82847a; */
  margin-left: 0.5em;
  padding: 10px;
  border-radius: 5px 20px 20px 20px;
  max-width: 60%;
  min-width: 20%;
  word-wrap: break-word;
  border-radius: 5px 20px 20px 20px;
}

.botTyping > div {
  width: 5px;
  height: 5px;
  background-color: #21517a;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  margin-right: 5px;
}

.botTyping .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.botTyping .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

input:focus {
  outline: none;
}

video:focus {
  outline: none;
}

.video-container {
  margin-top: 10px;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  margin-left: 5%;
  border-radius: 10px;
  border-style: none;
}

/* Bot pop-up intro */

.tap-target {
  color: #fff;
  background: #21517a;
}
.tap-target-origin {
  display: none;
}
.tap-target-wrapper {
  width: 600px;
  height: 600px;
}

.pdf_attachment {
  border: 0.5px solid #00000014;
  width: 60%;
  //height: 14%;
  border-radius: 10px;
  margin-left: 60px;
  box-shadow: 2px 3px 9px 0px #9a82842e;
  margin-top: 10px;
  margin-bottom: 5px;
}

.pdf_icon {
  border-radius: 10px 0px 0px 10px;
  height: 100%;
  font-size: 25px;
  padding: 4% 4% 4% 7% !important;
  background-color: #21517a;
  color: white;
}

.pdf_link {
  padding: 5% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdf_link a {
  color: #21517a;
}
