/* Chatbot styles */
/* Chatbot in nav */
#chatbot-menu-item-mobile {
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  /* padding-left: 20px;
  padding-right: 20px;
  height: 62px; */
}

#chatbot-menu-item-mobile span {
  color: #ffffff;
}

@media screen and (min-width: 1024px) {
  #chatbot-menu-item-mobile {
    display: none !important;
  }
}

#chatbot-menu-item {
  display: none !important;
}

@media screen and (min-width: 1024px) {
  #chatbot-menu-item {
    display: inline-block !important;
  }
}

#chatbot-menu-item a:after,
#chatbot-menu-item-mobile a:after {
  display: none;
}

#chatbot-link {
  font-size: 25px;
  text-align: center;
  display: inline-block !important;
  padding: 10px !important;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #013d73;
  transition: transform 0.3s;
}

.chatbot-gif {
  transition: transform 0.3s;
}

#chatbot-link.active {
  background-color: white;
}

#chatbot-link:hover {
  transform: scale(1.1);
}

#chatbot-link:hover .chatbot-gif {
  transform: scale(0.9);
}

#chatbot-link.active:hover {
  transform: scale(1.1);
}

@media screen and (min-width: 1024px) {
  #chatbot-link {
    background-color: #004a8d;
  }

  #chatbot-menu-item {
    padding-right: 1px;
  }

  #chatbot-link {
    /* margin: 20px 3px 20px 18px; */
    width: auto;
    height: auto;
  }
}

@media screen and (min-width: 800px) {
  #chatbot-link {
  /* margin: 20px 3px 20px 28px; */
    margin: 11px 3px 20px 30px;
  }
}

@media screen and (min-width: 1200px) {
  #chatbot-link {
    margin: 11px 3px 20px 30px;
  }
}

#chatbot-link img {
  display: block;
  height: auto;
}

.chatbot-gif {
  width: 30px;
  min-height: 30px;
}

/* Chatbot content */
#chatbot-overlay {
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  top: 0;
  font-family: "GothamRounded-Light" !important;
}

.chatbot-wrapper {
  background-color: white;
  border-top: 1px solid #000;
  height: calc(100vh - 91px);
  position: fixed;
  top: 91px;
  width: 100vw;
  /* box-sizing: border-box; */
}

@media screen and (min-width: 768px) {
  .chatbot-wrapper {
    width: 320px;
    height: 700px;
    right: 3vw;
    margin: 0px;
    top: 127px;
    border-radius: 6px;
    box-shadow: 0 2px 139px 0 rgba(0, 0, 0, 0.5);
  }
}

@media screen and (min-width: 768px) and (max-height: 850px) {
  .chatbot-wrapper {
    height: 600px;
  }
}

@media screen and (min-width: 1024px) {
  #chatbot-overlay {
    z-index: 1000;
  }

  .chatbot-wrapper {
    border: none;
  }
}

#chatbot-overlay #app {
  position: relative;
  height: 100%;
}

@media screen and (min-width: 768px) {
  #app {
    height: 700px;
  }
}

#chatbot-overlay .wrapper.ai-window {
  padding: 1rem;
  margin: 0px;
  width: auto !important;
  height: calc(100% - 87px);
  overflow-y: auto;
}

#chatbot-overlay .wrapper.ai-window::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
}

#chatbot-overlay .wrapper.ai-window::-webkit-scrollbar {
  width: 7px;
  background-color: transparent;
}

#chatbot-overlay .wrapper.ai-window::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #bdbdbb;
}

@media screen and (min-width: 768px) {
  #chatbot-overlay .wrapper.ai-window {
    height: auto;
    max-height: 562px;
    margin-top: 50px;
  }
}

@media screen and (min-width: 768px) and (max-height: 850px) {
  #chatbot-overlay .wrapper.ai-window {
    max-height: 464px;
    padding: 1rem 30px 1rem 1rem;
  }
}

#close-chatbot {
  position: absolute;
  right: 0px;
  top: 0;
  color: #004b90;
  font-weight: bold;
  margin: 15px;
  font-size: 18px;
  z-index: 2;
  cursor: pointer;
  /* display: none; */
}

/* @media screen and (min-width: 768px) {
  #close-chatbot {
    display: block;
  }
} */

#chatbot-overlay .up {
  display: none;
  font-size: 32px;
  background-color: white;
  padding: 10px;
  border-radius: 50%;
}

#chatbot-overlay .title {
  font-size: 25px;
  line-height: 30px;
  vertical-align: middle;
  text-align: center;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 0px;
  font-family: "GothamRounded-Light" !important;
  margin-left: 0px;
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  #chatbot-overlay .title {
    margin-top: 30%;
  }
}

#chatbot-overlay .mdc-typography--body2 {
  font-size: 13px;
  line-height: 15px;
  font-family: "GothamRounded-Light" !important;
  margin-top: 20px;
}

#chatbot-overlay .query {
  box-sizing: border-box;
  padding: 18px 18px 18px 18px;
  background-color: white;
  z-index: 1000;
  width: 100%;
  border-top: 1px solid #f0f0f0;
  position: absolute;
  bottom: 0px;
  box-shadow: unset;
  font-family: "GothamRounded-Light" !important;
}

@media screen and (min-width: 768px) {
  #chatbot-overlay .query {
    bottom: 54px;
  }
}

#chatbot-overlay .queryform {
  width: 100%;
  height: 50px;
  padding: 15px 40px 15px 15px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 9px 15px 0 rgba(0, 0, 0, 0.23);
  border-radius: 25px;
  border: 1px solid rgba(151, 151, 151, 0.1);
  margin: 0px;
  font-family: "GothamRounded-Light" !important;
}

#chatbot-overlay .queryform::placeholder {
  opacity: 0.3;
  color: #000000;
  font-size: 15px;
  font-weight: 300;
  line-height: 23px;
  font-family: "GothamRounded-Light" !important;
}

#chatbot-overlay .iicon {
  position: absolute;
  vertical-align: middle;
  color: #c0c0c0;
  cursor: pointer;
  right: 14px;
  bottom: 13px;
  margin: 0px;
}

#chatbot-overlay .recording {
  color: #f44336;
}

#chatbot-overlay .iicon.t2s {
  display: none;
  margin-left: 10px;
  margin-right: 20px;
}

@media screen and (max-width: 720px) {
  #chatbot-overlay .iicon.t2s {
    right: 0;
  }
}

#chatbot-overlay .chat-window {
  width: 100%;
}

#chatbot-overlay .bubble {
  max-width: 300px;
  padding: 17px;
  float: right;
  animation: msg 0.25s linear;
  border-radius: 12px 12px 0px 12px;
  background-color: #f1f1f1;
  color: #000000;
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
  font-family: "GothamRounded-Light" !important;
}

#chatbot-overlay .bubble.bot {
  background-color: #004b90;
  color: #ffffff;
  float: left;
  margin-right: 10px;
  border-radius: 12px 12px 12px 0;
}

#chatbot-overlay td {
  margin-top: 30px;
  margin-bottom: 10px;
}

#chatbot-overlay .mdc-card {
  background-color: white;
  max-width: 300px;
  margin-bottom: 5px;
  animation: msg 0.45s ease-in-out;
}

#chatbot-overlay .slide {
  margin: 5px;
  max-width: 300px;
}

#chatbot-overlay .slider {
  max-width: 300px;
  margin-left: -5px;
}

#chatbot-overlay .mdc-fab {
  background-color: white;
  color: #ff9800;
}

#chatbot-overlay .rightnav {
  margin-left: -32px;
}

@media screen and (max-width: 720px) {
  #chatbot-overlay .rightnav {
    margin-left: -35px;
  }
}

@media screen and (max-width: 320px) {
  #chatbot-overlay .rightnav {
    margin-left: -70px;
  }
}

#chatbot-overlay .leftnav {
  margin-right: -35px;
}

@media screen and (max-width: 720px) {
  #chatbot-overlay .leftnav {
    display: none;
  }
}

#chatbot-overlay .openlink {
  vertical-align: middle;
  margin-top: -5px;
  margin-left: 5px;
  color: #004991;
}

#chatbot-overlay .mdc-card__media-item {
  height: auto;
  width: 100%;
  margin-top: -5px;
}

#chatbot-overlay .chips {
  margin-left: -10px;
}

#chatbot-overlay .suggestion {
  margin-top: 10px;
  float: left;
  margin-left: 10px;
  padding: 17px;
  color: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  cursor: pointer;
  animation: controls 0.25s linear;
  border-radius: 12px 12px 12px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

#chatbot-overlay .suggestion.link {
  background-color: #7fa5c7;
  color: #ffffff;
  text-decoration: none;
  border: 0 none;
}

#chatbot-overlay .mdc-list-item__start-detail {
  border-radius: 50%;
}

#chatbot-overlay .copyright {
  display: none;
}

@keyframes msg {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes controls {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
