* {
  box-sizing: border-box;
}

body {
  background-color: #edeff2;
  font-family: "Arial", sans-serif;
}

.introducing-text {
  font-size: 17px;
  font-weight: 350;
}

.chat_window {
  position: absolute;
  width: calc(100% - 20px);
  max-width: 800px;
  height: 400px;
  /*border-radius: 10px;*/
  background-color: #fff;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-42%);
  /*background-color: #f8f8f8;*/
  background-color: #fff;
  overflow: hidden;
}


.top_menu {
  background-color: #fff;
  width: 100%;
  height: 55px;
  padding: 20px 0 15px;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}


.top_menu .buttons {
  margin: 3px 0 0 20px;
  position: absolute;
}
.top_menu .buttons .button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  position: relative;
}
.top_menu .buttons .button.close {
  background-color: #f5886e;
}
.top_menu .buttons .button.minimize {
  background-color: #fdbf68;
}
.top_menu .buttons .button.maximize {
  background-color: #a3d063;
}
.top_menu .title {
  text-align: center;
  color: #bcbdc0;
  font-size: 20px;
}

.top_menu .title .logo {
  float: left;
  margin-top: -20px;
}
.top_menu .title .logo img {
  width: 60px;
}

.full_height {
  height: calc(100% - 90px);
}

.messages {
  position: relative;
  list-style: none;
  padding: 20px 10px 10px 10px;
  margin: 0;
  height: 85%;
  overflow: scroll;
}
.messages .message {
  clear: both;
  overflow: hidden;
  margin-bottom: 25px;
  transition: all 0.5s linear;
  opacity: 0;
}
.messages .message.left .avatar {
  background-color: #ffcd00;
  float: left;
}

.messages .message.left .avatar img.avatar {
}

.messages .message.left .text_wrapper {
  background-color: #f5f5f5; /*ffe6cb*/
  margin-left: 20px;
}
.messages .message.left .text_wrapper::after, .messages .message.left .text_wrapper::before {
  right: 99%;
  border-right-color: #f5f5f5; /*ffe6cb*/
}
.messages .message.left .text {
  color: #444;
}
.messages .message.right .avatar {
  background-color: #d2f3ff;
  float: right;
}
.messages .message.right .text_wrapper {
  background-color: #0088ff;
  margin-right: 20px;
  float: right;
}
.messages .message.right .text_wrapper::after, .messages .message.right .text_wrapper::before {
  left: 99%;
  border-left-color: #0088ff;
}
.messages .message.right .text {
  color: #ffffff;
  float: right;
}
.messages .message.appeared {
  opacity: 1;
}
.messages .message .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-block;
}
.messages .message .avatar img.avatar {
  width: 60px;
  height: 60px;
}

.messages .message.prompt {
  position: fixed;
  bottom: 130px;
  z-index: 0;
  display: flex;
  width: 98%;
  margin-top: 100px;
  background: white;
}

.messages .message.appeared.left.extended {
  margin-bottom: 150px;
  transition: all 0.0s linear;
}

.messages .message.appeared.left.default {
  margin-bottom: 20px;
}

.messages .message.prompt .text_wrapper {
  text-align: center;
  -webkit-box-shadow: 0px 0px 42px -6px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0px 42px -6px rgba(0,0,0,0.25);
  box-shadow: 0px 0px 32px -6px rgba(0,0,0,0.25);
  margin: 15px;
  cursor: pointer;
}

.messages .message.prompt .text_wrapper:hover {
  background-color: #0088ff;
}

.messages .message.prompt .text_wrapper:hover > .text {
  color: white;
}

.messages .message.prompt .text_wrapper::after,
.messages .message.prompt .text_wrapper::before {
  display: none;
}

.messages .message.music_card,
.messages .message.image_card,
.messages .message.remind_card {
  margin-top: -15px;
  overflow: initial;
  margin-bottom: 50px;
}

.messages .message.music_card .avatar,
.messages .message.remind_card .avatar {
  visibility: hidden;
}

.messages .message.left .text_wrapper.rounded_corner::after,
.messages .message.left .text_wrapper.rounded_corner::before {
  display: none;
}

.messages .message .text_wrapper.rounded_corner {
  min-width: 215px;
  background: #f5f5f5;
  border-width: 1px;
  border-color: #f4f4f4;
  border-style: solid;
  padding: 0px;
  overflow: hidden;
  width: fit-content;
}

.messages .message.image_card .text_wrapper.rounded_corner {
  max-width: 70%;
  height: 100%;
  width: fit-content;
  min-width: 215px;
}

.messages .message.image_card .text_wrapper.rounded_corner img {
  width: 100%;
}

.messages .message .text_wrapper .cover {
  padding: 15px;
  height: 70%;
  overflow: hidden;
  text-align: center;
}

.messages .message.remind_card .text_wrapper .cover {
  height: 40%;
  font-size: 45px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-top: 0px;
}

.messages .message.image_card .text_wrapper .cover {
  padding: 0px;
  background-size: cover;
  height: initial;
  background: white;
}

.messages .message.remind_card .text_wrapper .cover span {
  padding-left: 5px;
  font-size: 20px;
  text-transform: uppercase;
}

.messages .message.remind_card .text_wrapper .fold {
  height: 60%;
}

.messages .message .text_wrapper .fold .repeat {
  color: #bdbdbd;
  cursor: pointer;
}

.messages .message .text_wrapper .fold .repeat i {
  -webkit-transition: 0.6s ease-out;
  -moz-transition:  0.6s ease-out;
  transition:  0.6s ease-out;
}

.messages .message .text_wrapper .fold span {
  color: #0088ff;
  cursor: pointer;
}

.blue_background {
  background-color: #0088ff;
  height: 30px;
  width: 30px;
  position: absolute;
  z-index: 1;
}

.fa_button {
  position: absolute;
  display: flex;
  width: 90%;
  color: white;
  font-size: 50px;
  justify-content: center;
  align-items: center;
  height: 70%;
}

.fa_button i {
  z-index: 10;
  cursor: pointer;
}

.blue_button {
  color: #0088ff;
  -webkit-transform: rotateZ(720deg);
  -moz-transform: rotateZ(720deg);
  transform: rotateZ(720deg);
}

.hidden {
  display: none !important;
}

.spin {
  -webkit-animation: spin 6s infinite linear;
  -moz-animation: spin 6s infinite linear;
  -o-animation: spin 6s infinite linear;
  animation: spin 6s infinite linear;
  -webkit-transform-origin: 50% 50%;
  transform-origin:50% 50%;
  -ms-transform-origin:50% 50%; /* IE 9 */
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.messages .message .text_wrapper .fold {
  font-size: 15px;
  padding: 20px;
  padding-top: 15px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.messages .message .text_wrapper .fold .title {
  margin-right: 15px;
}

.messages .message .text_wrapper .fold .info {
  font-size: 12px;
}

.messages .message.remind_card .text_wrapper .fold .info {
  font-size: 14px;
}

.messages .message .text_wrapper {
  display: inline-block;
  padding: 15px;
  border-radius: 25px;
  width: calc(100% - 85px);
  min-width: 100px;
  position: relative;
  width: 70%;
}
.messages .message .text_wrapper::after, .messages .message .text_wrapper:before {
  top: 10px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.messages .message .text_wrapper::after {
  border-width: 13px;
  margin-top: 0px;
}
.messages .message .text_wrapper::before {
  border-width: 12px;
  margin-top: 0px;
}
.messages .message .text_wrapper .text {
  font-size: 15px;
  font-weight: 300;
}

.bottom_wrapper {
  position: relative;
  width: 100%;
  background-color: #fff;
  padding: 20px 20px;
  position: absolute;
  bottom: 0.5%;
  z-index: 100;
  padding-top: 0px;
}

.bottom_wrapper .blocker {
  position: absolute;
  z-index: 1000;
  /* background: red; */
  width: 100%;
  height: 100px;
  width: 95%;
}

@media screen and (min-width: 1600px) {
  .bottom_wrapper {
    bottom: 4%;
  }
}

.rounded_corner
{
  height:215px;
	border: solid 1px #555;
	background-color: #eed;
  -webkit-box-shadow: 0px 0px 42px -6px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 0px 42px -6px rgba(0,0,0,0.25);
  box-shadow: 0px 0px 42px -6px rgba(0,0,0,0.25);
	border-radius:25px;
}

.remind_card .rounded_corner {
  height:150px;
}

.popover-title {
  display: none;
}

.popover.right {
  box-shadow: none;
}

.popover.right span {
  cursor: pointer;
}

.go_up {
  top: 120px;
  transition: top 0.5s; /*default 1s*/
}

.bottom_wrapper .message_input_wrapper.siriwave_on {
  border: 0px;
}

.bottom_wrapper .message_input_wrapper {
  display: inline-block;
  height: 52px;
  border-radius: 25px;
  border: 1px solid #bcbdc0;
  /*width: calc(100% - 120px);*/
  position: relative;
  margin-top: 15px;
  padding: 0px 20px;
  float: right;
  width: 95%;
  padding-left: 65px;
  overflow: hidden;
  margin-bottom: 15px;
}

.bottom_wrapper .message_input_wrapper .message_input {
  border: none;
  height: 100%;
  box-sizing: border-box;
  width: calc(85% - 95px);
  position: absolute;
  outline-width: 0;
  color: gray;
  font-size: 16px;
}
.bottom_wrapper .send_message {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-radius: 50px;
  background-color: #0088ff;
  border: 2px solid #0088ff;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s linear;
  text-align: center;
  position: absolute;
  z-index: 100;
}
.bottom_wrapper .send_message .icon {
  padding-top: 20px;
}

.bottom_wrapper.blocked .send_message {
  background-color: #b5b5b5;
  border: 2px solid #a6a6a7;
}

.bottom_wrapper.blocked .message_input::-webkit-input-placeholder {
  color: #dbdbdb;
}

/*.bottom_wrapper .send_message:hover {
  color: #a3d063;
  background-color: #fff;
}*/
.bottom_wrapper .send_message .text {
  font-size: 18px;
  font-weight: 300;
  display: inline-block;
  line-height: 48px;
}

.message_template {
  display: none;
}

/*  Ripple */

.ripple {
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  position: absolute;
  opacity: 1;
}

.rippleEffect {
  animation: rippleDrop 0.7s linear;
  animation-iteration-count: infinite;
}

@keyframes rippleDrop {
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

input.message_input::-webkit-input-placeholder  {
  -webkit-transition: opacity 1s linear;
}
input.message_input.fadeOut::-webkit-input-placeholder  {
  opacity: 0;
}

input.message_input:focus::-webkit-input-placeholder  {
  opacity: 0;
  -webkit-transition: opacity 0s linear;
}

.popover-content {
  padding: 5px 14px;
  font-size: 20px;
}

.login-register {
  text-align: right;
  padding: 0 50px;
}
.my-account {
  cursor: pointer;
}
.my-account .dropdown-menu {
  border: 1px solid #ddd;
  padding: 10px 0;
}

.my-account .dropdown-menu  a {
  padding: 5px 20px;
  color: #000;
  display: inline-block;
  width: 100%;
}
.my-account .dropdown-menu a:hover
{
  background-color: #ddd;
}

.login-register > div {
  display: inline-block;
  margin: 20px 5px;
}
.login-register > div > a {
  background-color: #26C6DA;
  border: none;
  padding: 10px 20px;
  border-radius:3px;
  box-shadow: 1px 5px 20px -5px rgba(0, 0, 0, 0.4);
  color: #fff;
  margin-top: 10px;
  cursor: pointer;
}
.login-register .register a {
  background-color: #ef5350;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  box-shadow: 1px 5px 20px -5px rgba(0, 0, 0, 0.4);
  color: #fff;
  margin-top: 10px;
  cursor: pointer;
}

.login-register a:hover {
  background-color: #22bcd0;
  text-decoration: none;
}
.login-register .register a:hover {
  background-color: #dc4340;
  text-decoration: none;
}
.modal-dialog.modal-popup .modal-content {
  width: 360px;
  padding: 30px;
  margin: auto;
  border-radius: 0;
}
.modal {
  text-align: center;
  padding: 0 !important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
.modal-popup .modal-content .modal-body {
  padding: 0;
}
.modal-dialog.modal-popup  .modal-header {
  padding: 0 0 30px 0;
  border: 0;
}
.modal-dialog.modal-popup .modal-header h4 {
  font-size: 30px;
  color: #000;
  text-align: center;
}
.row-control {
  position: relative;
}
.row-control span {
  position: absolute;
  left: 10px;
  top: 17px;
}
.row-control input {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px 15px 15px 35px;
  box-sizing: border-box;
  font-size: 14px;
}

.modal-popup .modal-content .modal-body button{
  width: 100%;
  background: #4CAF50;
  border: 0;
  padding: 15px;
  margin: 0;
  outline: 0;
  text-transform: uppercase;
  color: #fff;
  font-size: 14px;
  text-align: center;
  border-radius: 0;
}
.form-warning {
  color: #d80101;
}
.form-warning + .form-warning {
  display: none;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
}

.lds-ellipsis div {
  position: absolute;
  top: -12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #b7b4b4;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}

.general-map{
  height: 200px;
}
.messages .message.show-map .text_wrapper {
  width: 50%;
}
.show-map .popover {
  display: none !important;
}


.connected {
  display: flex;
}

.connected_circle {
  width: 1em;
  height: 1em;
  background: lightgreen;
  border-radius: 0.5em;
  margin-top: 0.2em;
}

.connect_status {
  padding: 0.5em;
}

.connected_text {
  padding-left: 0.5em;
}

.start_chat_parent {
  display: -webkit-flex;
  -webkit-align-items: center;
  display: flex;
  align-items: center;
  padding: 4em;
  margin-top: 4em;
}

#start_chat {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5em;
}

@media(max-width: 1600px) {
  .messages {
      height: 75%;
  }
}