#awina-chat .open-chat {
  background-color: #D4004B;
  color: #ffffff;
  visibility: visible;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 16px;
  font-weight: 500;
  padding: 1em 1em 1em 2em;
  -webkit-box-shadow: 10px 10px 25px 0px rgba(0,0,0,0.33);
  -moz-box-shadow:1 0px 10px 25px 0px rgba(0,0,0,0.33);
  box-shadow: 10px 10px 25px 0px rgba(0,0,0,0.33);
  cursor: pointer;
  border:0;
  -webkit-appearance: none;
  background: #D4004B url(assets/sprite.png) no-repeat 15px -10995px;
}

@media only screen and (min-width: 48.0625em) {
  #awina-chat .open-chat {
    background-position: 15px -10987px;
    padding: 1.5em 1em 1.5em 2em;
  }
}

#awina-chat .open-chat:hover {
  text-decoration: underline;
}

#awina-chat .chat-window {
  background-color: #ffffff;

  visibility: hidden;
  position: fixed;
  min-width: 300px;
  min-height: 300px;
  overflow: hidden;
  z-index: 9999;
  -webkit-box-shadow: 10px 10px 25px 0px rgba(0,0,0,0.33);
  -moz-box-shadow: 10px 10px 25px 0px rgba(0,0,0,0.33);
  box-shadow: 10px 10px 25px 0px rgba(0,0,0,0.33);

  width: 100%;
  height: 100%;
}

#awina-chat .chat-window.maximized {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 576px) {
  #awina-chat .chat-window {
    width: 500px;
    height: 80%;
    bottom: 0;
    right: 0;
  }
}

@media (min-width: 768px) {
  #awina-chat .chat-window {
    bottom: 30px;
    right: 30px;
    width: 600px;
  }
}

@media (min-width: 1320px) {
  #awina-chat .open-chat {
    right: calc((100% - 1280px) / 2);
  }
}

/* ------------ */

#awina-chat .chat-loading {
  width: 64px;
  height: 64px;
  position: absolute;
  top: 50%;
  left: 50%;

  margin: -32px 0 0 -32px;
}
#awina-chat .chat-loading:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #ccc;
  border-color: #ccc transparent #ccc transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
