html {
  height: 100%;
}

body {
  height: 100%;
  background: white;
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0px;
}

.message {
  border: 1px solid #D3D3D3;
  position: relative;
  background: white;
  max-width: 90%;
  margin: 10px 10px;
  padding: 10px;
}

.message_wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.message p {
  font-size: 16px;
  padding: 6px 20px;
  margin: 0px;
}

.left {
  float: left;
}

.right {
  float: right;
}

.m_left {
  border-radius: 0px 40px 40px 40px;
  -webkit-animation: fadein 1.5s;
  /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 1.5s;
  /* Firefox < 16 */
  -ms-animation: fadein 1.5s;
  /* Internet Explorer */
  -o-animation: fadein 1.5s;
  /* Opera < 12.1 */
  animation: fadein 1.5s;
}

.m_right {
  border-radius: 40px 0px 40px 40px;
  background-color: #D3D3D3;
  opacity: .5;
}

.m_left:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 6px solid #D3D3D3;
  border-right: 6px solid transparent;
  border-top: 6px solid #D3D3D3;
  border-bottom: 6px solid transparent;
  transform: rotate(-90deg);
  left: -1px;
  top: -11px;
}

.m_left:after {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 9px solid #fff;
  border-right: 9px solid transparent;
  border-top: 9px solid #fff;
  border-bottom: 9px solid transparent;
  transform: rotate(-90deg);
  left: 0px;
  top: -9px;
}

.m_right:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 6px solid #D3D3D3;
  border-right: 6px solid transparent;
  border-top: 6px solid #D3D3D3;
  border-bottom: 6px solid transparent;
  transform: rotate(180deg);
  right: -1px;
  top: -11px;
}

.button {
  opacity: 0;
  padding: 10px;
  border: 1px solid #D3D3D3;
  position: relative;
  background: white;
  max-width: 90%;
  margin: 0px 10px 10px 10px;
  border-radius: 40px;
  -webkit-animation: fadein 1.5s;
  /* Safari, Chrome and Opera > 12.1 */
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-delay: 1s;
  /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 1.5s;
  /* Firefox < 16 */
  -moz-animation-fill-mode: forwards;
  -moz-animation-delay: 1s;
  /* Firefox < 16 */
  -ms-animation: fadein 1.5s;
  /* Internet Explorer */
  -ms-animation-fill-mode: forwards;
  -ms-animation-delay: 1s;
  /* Internet Explorer */
  -o-animation: fadein 1.5s;
  /* Safari, Chrome and Opera > 12.1 */
  -o-animation-fill-mode: forwards;
  -o-animation-delay: 1s;
  /* Safari, Chrome and Opera > 12.1 */
  animation: fadein 1.5s;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

.button a {
  font-size: 14px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87);
  padding: 10px 10px;
  cursor: pointer;
}

.reset {
  background-color: #4489f1;
  float: right;
  width: 30%;
  text-align: center;
  margin-top: 20px;
  -webkit-animation: fadein 3s;
  /* Safari, Chrome and Opera > 12.1 */
  -webkit-animation-fill-mode: forwards;
  -moz-animation: fadein 3s;
  /* Firefox < 16 */
  -moz-animation-fill-mode: forwards;
  -ms-animation: fadein 3s;
  /* Internet Explorer */
  -ms-animation-fill-mode: forwards;
  -o-animation: fadein 3s;
  /* Opera < 12.1 */
  -o-webkit-animation-fill-mode: forwards;
  animation: fadein 3s;
  animation-fill-mode: forwards;
}

.reset a {
  color: white;
  width: 100%;
}

.fixed {
  position: fixed;
  z-index: 100;
}

.logos {
  background-color: #F6F6F6;
  width: 100%;
  padding: 20px 20px 20px 30px;
  border-bottom: 1px solid #D3D3D3;
  border-top: 1px solid #D3D3D3;
}

.title {
  height: 40px;
  line-height: 40px;
  vertical-align: bottom;
  text-align: left;
  margin: 0 0 0 60px;
  padding: 0;
  font-size: 20px;
}

.titletitle {
  font-size: 20px;
}

.subtitle {
  font-size: 10px;
  line-height: 10px;
}

.controls_logo {
  width: 40px;
  height: 40px;
  background-image: url('googleassistant.png');
  background-size: cover;
  float: left;
}

.assistant_logo {
  width: 40px;
  height: 40px;
  background-image: url('googleassistant.png');
  background-size: cover;
  float: left;
}

#bottom_spacer {
  position: relative;
  float: left;
  width: 100%;
  height: 20px;
}

#conversation {
  margin: 100px 30px 10px 30px;
  scroll-behavior: smooth;
}

#assistant {
  max-height: 50%;
  height: 50%;
  width: 100%;
  overflow: hidden;
  scroll-behavior: smooth
}

#dashboard {
  width: 100%;
  height: 50%;
  max-height: 50%;
  font-size: 14px;
  text-align: center;
}

.centered {
  margin:auto;
  text-align: center;
  padding: 20px 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 20px;
  top: 20px;
  float: right;
  right: 62px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(37px);
  -ms-transform: translateX(37px);
  transform: translateX(37px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
  margin-left: 48%;
  margin-right: 52%;
}

.lds-spinner div {
  transform-origin: 32px 32px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 29px;
  width: 5px;
  height: 14px;
  border-radius: 20%;
  background: #D3D3D3;
}

.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes lds-spinner {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media only screen and (max-width: 680px) {
  .subtitle {
    display: none;
  }

  .titletitle {
    font-size: 12px;
  }

  .message p {
    font-size: 10px;
    padding: 4px 10px;
  }

  .button a {
    font-size: 10px;
  }

  .button {
    padding: 4px;
    margin: 2px;
  }

  .widget {
    font-size: 10px;
    width: 20%
  }

  .widget .status p {
    font-size: 10px;
  }

  #conversation {
    margin: 10px 10px;
  }
}
