/* Default Lex UI */
#lex-web-ui-fullpage {
  height: 100%;
  width: 100%;
}

.lex-web-ui-iframe {
  bottom: 1.5rem;
  display: none;
  /* hidden by default changed once iframe is loaded */
  margin-bottom: 0px;
  margin-left: 2px;
  margin-right: 3vw;
  margin-top: 2px;
  max-width: 66vw;
  height: 80vh;
  /* dynamically changed on iframe maximize/minimize */
  min-width: 47vw;
  /* half viewport width minus margin right */
  position: fixed;
  right: 0;
  z-index: 2147483637;
  /* max z-index (2147483647) - 10 */
}
.lex-web-ui-iframe iframe {
  box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.lex-web-ui-iframe--show {
  display: flex;
}

.lex-web-ui-iframe--minimize {
  max-width: 190px !important;
  max-height: 85px !important;
  border-radius: 85px !important;
}

/* disable box shadow when minimized */
.lex-web-ui-iframe.lex-web-ui-iframe--minimize iframe {
  box-shadow: none;
  border-radius: none;
}
.lex-web-ui-iframe iframe {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* hide on very small resolutions */
@media only screen and (max-width: 240px), only screen and (max-height: 256px) {
  .lex-web-ui-iframe {
    display: none !important;
  }
  .lex-web-ui-iframe--minimize {
    max-width: 300px !important;
    max-height: 85px !important;
  }
}
/* take most space on small resolutions (smart phones) */
@media only screen and (min-width: 241px) and (max-width: 480px) {
  .lex-web-ui-iframe {
    min-width: 96vw;
    height: 84vh;
    margin-right: 2vw;
    align-self: center;
  }
  .lex-web-ui-iframe--minimize {
    max-width: 190px !important;
    max-height: 85px !important;
    border-radius: 85px !important;
  }
}
/* adjust down on medium resolutions */
@media only screen and (min-width: 481px) and (max-width: 960px) {
  .lex-web-ui-iframe {
    min-width: 90vw;
  }
  .lex-web-ui-iframe.lex-web-ui-iframe--show.lex-web-ui-iframe--minimize {
    max-width: 300px !important;
    max-height: 85px !important;
    border-radius: 85px !important;
    min-width: 85px !important;
  }
}
button.min-button {
  border-radius: 60px;
}

.message-button {
  display: none;
}

/* Global Styles */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

[role=button] {
  cursor: pointer;
}

hr {
  width: 100%;
  margin-top: 0px;
  clear: both;
}

@media only screen and (max-width: 490px) {
  hr {
    margin-top: 60px;
  }
}
nav.toolbar.theme--dark {
  background-color: rgb(0, 39, 76) !important;
}
nav.toolbar.theme--dark .toolbar__content .toolbar__title {
  display: none !important;
}
nav.toolbar.theme--dark .toolbar__content button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Custom Lex UI */
#maincontent {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  line-height: 1.42857;
  color: #333333;
  background-color: #fff;
  padding-left: 15px;
  padding-right: 15px;
}

.localeInfo {
  display: none;
}

main, div {
  display: block;
}

.nav:before, .nav:after {
  content: none;
}

.logo-header img {
  height: 65px;
}

nav .toolbar__content .menu {
  display: none !important;
}

.message-bot .message-bubble {
  border-radius: 10px !important;
  background-color: rgb(240, 240, 240) !important;
  color: rgb(0, 0, 0) !important;
  box-shadow: rgb(153, 153, 153) 5px 5px 5px !important;
}
.message-bot .message-bubble .message-text {
  font-size: 17px !important;
  font-weight: normal !important;
  line-height: 1.3;
  font-family: Roboto, sans-serif;
}
.message-bot .message-bubble .message-text ul, .message-bot .message-bubble .message-text ol {
  padding: 0px 20px;
  margin: 0px 10px 10px;
}
.message-bot .message-bubble .message-text a {
  color: #005ea2;
  text-decoration: none;
}
.message-bot .message-bubble .message-text a:hover {
  text-decoration: underline;
  color: #25407f;
}

.message-human .message-bubble {
  border-radius: 10px !important;
  background-color: rgb(92, 132, 0) !important;
  color: rgb(255, 255, 255) !important;
  box-shadow: rgb(153, 153, 153) 5px 5px 5px !important;
}
.message-human .message-bubble .message-text {
  font-size: 18px !important;
  font-weight: bold !important;
  line-height: 1.6;
}
.message-human .message-bubble .message-text ul, .message-human .message-bubble .message-text ol {
  padding: 0px 20px;
  margin: 0px 10px 10px;
}

.card__actions .btn {
  font-size: 1em !important;
  min-width: 44px !important;
  background-color: rgb(10, 110, 253) !important;
  color: rgb(255, 255, 255) !important;
  border-radius: 4px;
  margin: 4px !important;
}