:root {
  --cta-color: #891c27;
  --rating-color: #ff9529;
  --rating-color2: #ffdf00;
  --base: #3463d9;
  /*--base: #c6d5f9;*/
  /*--base: #dee2ec;*/
  --base-light1: #8cd5f7;
  --base-dark1: #1c3c8b;
  --headerHeight: 45px;
  --footerHeight: 60px;
  --tag-color: #e3e6ec;
  --input-bg: #bfbfbf;
  --keyboard-bg-light: #f7eef1;
}

/* Overrides */

.btn-primary.disabled,
.btn-primary:disabled {
  color: #888;
  background-color: #ccc;
  border-color: #ccc;
}

body {
  background-color: #e6e6e6;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

#bot {
  display: grid;
  grid-template-rows: var(--headerHeight) 1fr auto;
  height: 100vh; /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
}
.bot-footer {
  width: 100%;
  box-shadow: 0px -3px 15px -3px rgba(0,0,0,0.1);
  z-index: 20;
}
#widget-control {
  background-color: var(--input-bg);
}
#widget-keyboard {
  background-color: var(--keyboard-bg-light);
  transition: all .4s;
}
.pac-container {
  transform: translateY(calc(-179px - var(--footerHeight) + 20px));
}
#unread-notification {
  width: 100%;
  position: fixed;
  bottom: 0.7rem;
  display: flex;
  justify-content: center;
  z-index: 100;
}
#unread-notification button {
  background-color: var(--base-dark1);
  color: black;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(40px);
}
#unread-notification button.show {
  opacity: 1;
  transform: translateY(0px);
}

.lexResponse {
  border-radius: 2rem;
  border-top-left-radius: 4px;
  background-color: #f2f2f2;
  max-width: 80%;
}
.lexResponse p:last-child {
  margin-bottom: 0.375rem;
}

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

.bot-header #info {
  /*content: var(--colorName);*/
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  position: absolute;
  color: white;
  background-color: #bada55;
  text-align: left;
  overflow: visible;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.message-title {
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.description {
  overflow-y: hidden;
  white-space: pre-line;
  height: 3.8rem;
  width: 100%;
  font-size: 0.8rem;
  position: absolute;
  z-index: 10;
  left: 0;
  padding: 0 1rem;
  transition: height 0.3s;
  background-color: #fff;
}
.description p {
  overflow: hidden;
  padding-bottom: 1rem;
  height: 245px;
  background: linear-gradient(white 30%, rgba(255, 255, 255, 0)),
  linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%,
  radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),
  radial-gradient(
          50% 100%,
          farthest-side,
          rgba(0, 0, 0, 0.2),
          rgba(0, 0, 0, 0)
  )
  0 100%;
  background: linear-gradient(white 30%, rgba(255, 255, 255, 0)),
  linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%,
  radial-gradient(
          farthest-side at 50% 0,
          rgba(0, 0, 0, 0.2),
          rgba(0, 0, 0, 0)
  ),
  radial-gradient(
          farthest-side at 50% 100%,
          rgba(0, 0, 0, 0.2),
          rgba(0, 0, 0, 0)
  )
  0 100%;
  background-repeat: no-repeat;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}
.description .resize {
  display: flex;
  width: 100%;
  height: 1.5rem;
  background-color: #ffffffea;
  bottom: 0;
  position: absolute;
  left: 0;
}
.description .resize:hover {
  cursor: pointer;
}
.description .resize i {
  transform: rotate(90deg) scale(2);
  margin: 0 auto;
  font-style: normal;
  transition: all 0.3s;
}
.description.expanded .resize i {
  transform: rotate(270deg) scale(2);
}
.showClose::before {
  content: "\203A";
  font-size: 1.3rem;
  position: absolute;
  bottom: -5px;
  left: 50%;
  text-align: center;
  z-index: 1;
  transform: rotate(-90deg);
  transition: all 0.3s;
  opacity: 1;
}
.showClose .btn {
  opacity: 0;
  transition: all 0.3s;
}
.description.expanded p {
  overflow-y: scroll;
}
.description.expanded {
  height: 280px;
}

.activity-type, .cuisine-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: grey;
  display: flex;
  height: 3.2em;
  overflow: hidden;
  margin-bottom: 2px;
}
.activity-type .tag, .cuisine-type .tag {
  background-color: var(--tag-color);
  margin-right: 2px;
  padding: 0 4px;
  color: black;
  border-radius: 2px;
  display: inline-flex;
  margin-bottom: 2px;
  font-weight: 500;
}
.activity-type .tag {
  background-color: #af143e;
  color: white;
  line-height: 1.4em;
}
.address {
  font-size: 0.8rem;
  height: 2.4rem;
  overflow: hidden;
}
#bot-name {
  text-align: center;
  position: fixed;
  color: #fff;
  width: 100%;
  font-weight: 700;
  margin: 0px;
  padding: 0px !important;
}
#conversation {
  overflow: auto;
  padding-bottom: 10px;
}
.btn {
  border-radius: 2rem;
  font-weight: 700;
  font-size: 15px;
}
.btn-primary {
  background-color: var(--base);
  border-color: var(--base);
}
.activities-container {
  overflow-x: scroll;
  min-height: 450px;
  padding-left: 0.25rem;
}
.activities {
  float: left;
}
.activities .lexResponse {
  border-radius: 1rem;
  box-shadow: rgba(45, 45, 45, 0.1) 0 2px 2px, rgba(45, 45, 45, 0.05) 0 0 2px,
  rgba(49, 49, 49, 0.05) 0 3px 4px, rgba(42, 42, 42, 0.1) 0 2px 8px,
  rgba(32, 32, 32, 0.02) 0 8px 8px, rgba(32, 32, 32, 0.05) 0 8px 16px !important;
}
.activities .lexResponse.p-3 {
  padding: 0 !important;
}
.card {
  max-width: unset;
  width: 240px;
  border: 0 solid transparent;
  background-color: #fff !important;
}
.card .message-title {
  height: 2.5em;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.restaurants .card .message-title {
  height: 2.5em;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
.card .mr-auto {
  text-align: left;
}
.card .ml-auto {
  text-align: right;
}
.card label {
  font-size: 0.8em;
  margin-bottom: 0;
}
.card img {
  position: relative;
  height: 150px;
  object-fit: cover;
}
.card:last-of-type {
  margin-right: 0.5rem !important;
}
.priceAndRating {
  margin-top: 4.5rem;
  min-height: 3em;
}
.priceAndRating {
  margin-top: 4.7rem;
  min-height: 3em;
}
.restaurants .priceAndRating {
  margin-top: 0.5rem;
}

.rating {
  margin-top: -3px;
  display: flex;
  position: relative;
  justify-content: flex-end;
  height: 1em;
}
.priceContainer p {
  margin-top: -3px;
  font-weight: 700;
}
.currency {
  font-size: 0.6rem;
}
.starsContainer {
  position: relative;
}
.stars {
  position: relative;
  top: -4px;
  left: 0;
  width: 85px;
  height: 22px;
}
.stars.actual {
  position: absolute;
  overflow: hidden;
}
.stars.actual svg {
  width: 85px;
}
.hidden {
  display: none;
}
.p-3.poweredBy {
  padding: 0 1rem !important;
  font-size: 0.7rem;
}

.progress {
  font-size: 40px;
}

.progress span {
  font-size: 50px;
  animation-name: blink;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.progress span:nth-child(2) {
  animation-delay: 0.2s;
}

.progress span:nth-child(3) {
  animation-delay: 0.4s;
}

.btn-danger {
  width: -webkit-fill-available;
  background-color: var(--cta-color);
  border-color: var(--cta-color);
}
@keyframes blink {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}


/**
 * ==============================================
 * Bouncing loader
 * ==============================================
 */
@keyframes bouncing-loader {
  to {
    opacity: 0.3;
    transform: translate3d(0, -.2rem, 0);
  }
}
.bouncing-loader {
  display: flex;
  justify-content: center;
}
.bouncing-loader > div {
  width: .4rem;
  height: .4rem;
  margin: 0.8rem 0.2rem;
  background: #8385aa;
  border-radius: 50%;
  animation: bouncing-loader 0.6s infinite alternate ease-out;
}
.bouncing-loader > div:nth-child(2) {
  animation-delay: 0.2s;
}
.bouncing-loader > div:nth-child(3) {
  animation-delay: 0.4s;
}

/**
 * ==============================================
 * Progress bar
 * ==============================================
 */
.progress-container {
  z-index: 100;
}
.progress-line,
.progress-line:before {
  height: 3px;
  width: 100%;
  margin: 0;
}
.progress-line {
  position: fixed;
  background-color: #b3d4fc;
  display: -webkit-flex;
  display: flex;
}
.progress-line:before {
  background-color: var(--base);
  content: "";
  transform: scaleX(0) translateX(0%);
  -webkit-animation: running-progress 1s cubic-bezier(0.694, 0.0482, 0.335, 1)
  infinite;
  animation: running-progress 1s cubic-bezier(0.694, 0.0482, 0.335, 1) infinite;
}
@-webkit-keyframes running-progress {
  0% {
    -webkit-transform: scaleX(1) translateX(-100%);
    transform: scaleX(1) translateX(-100%);
  }
  100% {
    -webkit-transform: scaleX(1) translateX(100%);
    transform: scaleX(1) translateX(100%);
  }
}
@keyframes running-progress {
  0% {
    -webkit-transform: scaleX(1) translateX(-100%);
    transform: scaleX(1) translateX(-100%);
  }
  100% {
    -webkit-transform: scaleX(1) translateX(100%);
    transform: scaleX(1) translateX(100%);
  }
}
