@keyframes fadeIn {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

@keyframes grow {
  0% {
    width: 1px;
    height: 1px;
    right: 12px;
    top: 12px;
  }
  70% {
    width: 24px;
    height: 24px;
    right: -5px;
    top: -5px;
  }
  100% {
    width: 20px;
    height: 20px;
  }
}

@keyframes spin {
  0% {
    transform: rotate(50deg);
  }
  70% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes rollIn {
  0% {
    transform: translateX(40px) rotate(90deg);
    opacity: 0;
  }
  70% {
    transform: translateX(0) rotate(-10deg);
    right: 37px;
    opacity: 1;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    right: 30px;
    opacity: 1;
  }
}

.__akia-chat-icon-wrapper {
  animation: 0.3s ease-out 0s 1 rollIn;
  bottom: 30px;
  height: 60px;
  position: fixed;
  right: 30px;
  width: 60px;
  z-index: 9999997;
}

.__akia-chat-icon {
  background-color: #23c2cc;
  background-image: url(/images/webchat/chat-logo.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 50px 50px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  height: 60px;
  position: absolute;
  width: 60px;
  z-index: 9999997;
  transition: 0.3s;
}

.__akia-chat-icon:hover {
  background-color: #1EA5AD;
}

.__akia-chat-icon:active {
  scale: 0.97;
}

.__akia-chat-box {
  animation: 0.2s ease-out 0s 1 fadeIn;
  background-color: #fff;
  border-radius: 15px;
  bottom: 110px;
  box-sizing: border-box;
  display: none;
  overflow: hidden;
  position: fixed;
  right: 30px;
  z-index: 2147483647;
  height: 700px;
  max-height: 75vh;
  width: 394px;
  max-width: 100%;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
}

.__akia-chat-box-iframe {
  background-color: #fff;
  border: 0;
  width: 100%;
  flex: 1;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.__akia-chat-box-iframe::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#__akia-chat-checkbox {
  visibility: hidden;
  position: absolute;
}

#__akia-chat-checkbox:checked ~ .__akia-chat-icon-wrapper > .__akia-chat-icon {
  animation: 0.3s ease-out 0s 1 spin;
  background-image: url(/images/webchat/chat-close.png);
  background-size: 38px 38px;
}

#__akia-chat-checkbox:checked ~ .__akia-chat-icon-wrapper > .__akia-chat-icon:hover {
  background-color: #1EA5AD !important;
}

#__akia-chat-checkbox:checked ~ .__akia-chat-box,
.__akia-chat-modal-open .__akia-chat-box {
  display: flex !important;
  flex-direction: column;
}

.__akia-chat-notification-icon {
  width: 20px;
  height: 20px;
  background-color: #E86219;
  border-radius: 50%;
  position: absolute;
  z-index: 999999997;
  right: -2px;
  top: -2px;
  display: none;
}

#__akia-notification.hidden {
  display: none;
}

#__akia-notification {
  color: #333;
  display: block;
  max-width: 220px;
  background-color: #fff;
  font-size: 13px;
  font-family: Helvetica, Arial, sans-serif;
  position: fixed;
  bottom: 30px;
  right: 110px;
  padding: 15px 20px;
  line-height: 17px;
  border-radius: 8px;
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.2);
  
  animation: 0.2s ease-out 0s 1 fadeIn, fadeOut 0.2s ease-out 10s 1 forwards;
  cursor: pointer;
  z-index: 9999997;
}

.__akia-new-notif ~ .__akia-chat-notification-icon {
  animation: 0.1s ease-out 0s 1 grow;
  display: block;
}

.__akia-banner {
  background-color: rgb(0, 0, 255);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  z-index: 999;
}

.__akia-banner-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  line-height: 14px;
  font-size: 14px;
}

.__akia-banner-left {
  flex: 1;
  margin-right: 15px;
}

.__akia-banner-title {
  font-size: 16px;
  line-height: 16px;
  color: #000;
  margin: 0;
  margin-bottom: 4px;
}

.__akia-banner-subtitle {
  font-size: 12px;
  line-height: 12px;
  color: #000;
}

.__akia-banner-contact-form {
  display: flex;
}

.__akia-banner-contact-form input {
  box-sizing: border-box;
  border-top: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  border-right: 0;
  font-size: 12px;
  line-height: 12px;
  height: 30px !important;
  padding: 8px 15px;
  margin-right: 8px;
  outline: none;
  font-family:inherit;
}

.__akia-banner-contact-form button {
  border-radius: 30px;
  border: 0;
  font-size: 12px;
  line-height: 12px;
  color: #fff;
  cursor: pointer;
  outline: none;
  padding: 8px 15px;
}

.__akia-banner-close-button {
  margin-right: 15px;
  background-image: url(/images/webchat/chat-close.png);
  background-size: 30px;
  bottom: 30px;
  height: 30px;
  width: 30px;
  cursor: pointer;
}

.__akia-banner-input-wrapper {
  display: flex;
  align-items: center;
  border-radius: 20px;
  border: 0;
  background-color: #fff;
  padding: 0 15px;
  margin-right: 15px;
}

#__akia-country-wrapper {
  display: inline-block;
  position: relative;
  background-color: #fff;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 12px;
  outline: none;
  padding: 0 8px 0 0;
}

#__akia-country-label {
  line-height: 30px;
  text-align: center;
}

#__akia-country {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 600px) and (orientation: portrait) {
  .__akia-chat-box {
    bottom: 0;
    right: 0;
    z-index: 999999999;
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    transition: 0.2s;
  }

  .__akia-hidden-chat-icon .__akia-chat-icon {
    display: none;
  }

  .__akia-focused-chat-box.__akia-chat-box {
    bottom: 0px;
    height: 40vh;
  }

  body.__akia-chat-modal-open {
    overflow: hidden;
    position: fixed;
  }

  .__akia-chat-box {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }

  #__akia-notification {
    max-width: 180px;
  }
}

.__akia-powered-by {
  background-color: #eee !important;
  display: block !important;
  padding: 8px 30px !important;
  text-transform: uppercase !important;
  font-size: 9px !important;
  text-decoration: none !important;
  line-height: 9px !important;
  color: #aaa !important;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif !important;
  text-align: center !important;
  transition: 0.3s !important;
  margin: 0 !important;
  outline: 0 !important;
}

.__akia-powered-by:hover {
  background-color: #ddd !important;
  color: #777 !important;
}

