@keyframes dialog_blick {
  from {
    box-shadow: 0 0 0 -30px rgb(2, 78, 93);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(2, 78, 93, 0.2);
  }
  to {
    box-shadow: 0 0 0 -30px rgb(2, 78, 93);
  }
}
@keyframes dialog_blick_newmsg {
  from {
    box-shadow: 0 0 0 -30px rgb(6, 165, 197);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(6, 165, 197, 0.2);
  }
  to {
    box-shadow: 0 0 0 -30px rgb(6, 165, 197);
  }
}
@keyframes msg_count_anim {
  from {
    background: rgb(255, 255, 255);
    color: #000;
  }
  50% {
    background: rgb(9, 140, 194);
    color: #fff;
  }
  to {
    background: rgb(255, 255, 255);
    color: #000;
  }
}
.atl-dialog {
  right: 40px;
  bottom: 40px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgb(115, 115, 115);
  position: fixed;
  /*overflow: hidden;*/
  z-index: 1000;
}
.atl-dialog.new-msg .atl-dialog-opener {
  animation-name: dialog_blick_newmsg;
}
.atl-dialog:not(.opened) .atl-dialog-window {
  width: 0;
  height: 0;
  opacity: 0;
}
.atl-dialog-opener {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /*overflow: hidden;*/
  cursor: pointer;
  background-image: url("images/envelope-opener.svg");
  background-color: rgb(3, 104, 115);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  animation: none;
}
.atl-dialog-opener span {
  width: 20px;
  height: 20px;
  background: #fff;
  border: rgb(13, 202, 189) solid 1px;
  color: #000;
  position: absolute;
  left: -2px;
  top: -2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 20px;
  font-size: 0.7em;
  font-weight: 400;
  animation: msg_count_anim 2s ease-in-out 0s infinite;
}
.atl-dialog.new-msg .atl-dialog-opener {
  animation: dialog_blick 1.5s ease-in-out 0s infinite;
}
.atl-dialog-window {
  position: fixed;
  bottom: 115px;
  max-height: calc(100vh - 160px);
  height: 700px;
  right: 40px;
  width: 400px;
  max-width: calc(100vw - 20px);
  background: #fff;
  box-shadow: var(--shadow-block);
  border-radius: 15px;
  color: rgb(22, 22, 22);
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  opacity: 1;
  transition: all 0.5s;
}
@media screen and (max-width: 480px) {
  .atl-dialog-window {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
    max-height: none;
    max-width: none;
    box-sizing: border-box;
    border-radius: 0;
  }
}
.atl-dialog-window > * {
  padding: 0 20px;
}
.atl-dialog-window-label {
  color: rgb(120, 120, 120);
  font-size: 0.85em;
  line-height: 1.3em;
  text-align: center;
  margin-top: 15px;
}
.atl-dialog-window-chat {
  overflow: auto;
  height: 100%;
  margin-top: 15px;
  font-size: 0.85em;
  line-height: 1.2em;
}
.atl-dialog-window-chat-role {
  margin-bottom: 10px;
}
.atl-dialog-window-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  padding-bottom: 15px;
  position: relative;
}
.atl-dialog-window-chat-title {
  display: flex;
  justify-content: flex-end;
}
.atl-dialog-window-chat-title span {
  background: RGBA(13, 202, 189, 1);
  background: linear-gradient(90deg, rgb(13, 202, 189) 0%, rgb(8, 140, 194) 100%);
  color: #fff;
  height: 2.4em;
  line-height: 2.4em;
  border-radius: 1.2em;
  padding: 0 1em;
}
.atl-dialog-window-chat-item {
  display: flex;
  width: 100%;
  cursor: pointer;
}
.atl-dialog-window-chat-item:hover .atl-dialog-window-chat-repost {
  opacity: 1;
}
.atl-dialog-window-chat-item .atl-dialog-window-repost-sender {
  color: rgba(22, 22, 22, 0.8);
}
.atl-dialog-window-chat-item.own .atl-dialog-window-chat-msg {
  background: rgb(3, 104, 115);
  color: #fff;
}
.atl-dialog-window-chat-item.own .atl-dialog-window-chat-time {
  color: #fff;
}
.atl-dialog-window-chat-item.own .atl-dialog-window-chat-img {
  display: none;
}
.atl-dialog-window-chat-item.own .atl-dialog-window-chat-repost {
  order: 1;
  margin: 0 10px 0 0;
}
.atl-dialog-window-chat-item.own .atl-dialog-window-chat-content {
  order: 2;
}
.atl-dialog-window-chat-item.own .atl-dialog-window-repost-sender {
  color: rgba(255, 255, 255, 0.7);
}
.atl-dialog-window-chat-img {
  margin-right: 10px;
  align-items: flex-end;
  position: relative;
  padding-left: 40px;
  min-height: 55px;
}
.atl-dialog-window-chat-img img {
  width: 40px;
  height: 40px;
  display: block;
  position: absolute;
  left: 0;
  bottom: 15px;
  border-radius: 50%;
}
.atl-dialog-window-chat-date {
  text-align: center;
}
.atl-dialog-window-chat-content {
  width: 100%;
}
.atl-dialog-window-chat-msg {
  background: rgb(242, 242, 242);
  border-radius: 20px;
  padding: 15px;
  box-sizing: border-box;
}
.atl-dialog-window-chat-msg .atl-dialog-window-repost {
  margin-bottom: 5px;
  border-bottom: none;
  font-size: 0.9em;
  padding: 0 20px;
}
.atl-dialog-window-chat-msg .atl-dialog-window-repost:before {
  border-right-color: #fff;
  background: no-repeat;
  width: 0;
}
.atl-dialog-window-chat-time {
  color: rgb(120, 120, 120);
  text-align: right;
  font-size: 0.85em;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0 5px;
}
.atl-dialog-window-chat-repost {
  display: flex;
  align-items: end;
  margin: 0 0 0 10px;
  cursor: pointer;
  opacity: 0;
}
.atl-dialog-window-chat-repost span {
  display: block;
  width: 18px;
  height: 15px;
  background-image: url("images/repost.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
}
.atl-dialog-window-top {
  border-bottom: rgb(242, 242, 242) solid 1px;
  padding-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.atl-dialog-window-top-exit {
  margin-right: 5px;
  cursor: pointer;
}
.atl-dialog-window-top-exit:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: rgba(33, 33, 33, 0.87) solid 2px;
  border-right: none;
  border-bottom: none;
  transform: rotate(-45deg);
}
.atl-dialog-window-top-data {
  line-height: 1.1em;
}
.atl-dialog-window-top-name {
  font-weight: 500;
}
.atl-dialog-window-top-status {
  font-size: 0.7em;
  color: rgb(120, 120, 120);
}
.atl-dialog-window-top-img img,
.atl-dialog-window-top-img svg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgb(120, 120, 120);
}
.atl-dialog-window-end {
  border-top: rgb(242, 242, 242) solid 1px;
}
.atl-dialog-window-repost {
  border-bottom: rgb(242, 242, 242) solid 1px;
  padding: 10px 20px;
  margin: 0 -20px;
  display: flex;
  height: 44px;
  position: relative;
  align-items: center;
  font-size: 0.8em;
}
.atl-dialog-window-repost:before {
  content: "";
  display: block;
  width: 40px;
  background-image: url("images/repost.svg");
  background-position: left center;
  background-size: 25px auto;
  background-repeat: no-repeat;
  height: 100%;
  border-right: rgb(3, 104, 115) solid 2px;
  margin-right: 15px;
}
.atl-dialog-window-repost-data {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.8em;
  position: relative;
}
.atl-dialog-window-repost-sender {
  height: 20px;
  color: rgba(22, 22, 22, 0.8);
}
.atl-dialog-window-repost-msg {
  height: 20px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.atl-dialog-window-repost span {
  padding-right: 12px;
  padding-top: 12px;
  position: relative;
  cursor: pointer;
  margin-left: 15px;
}
.atl-dialog-window-repost span:before, .atl-dialog-window-repost span:after {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  background: rgb(22, 22, 22);
  position: absolute;
  top: 5px;
  left: 0;
}
.atl-dialog-window-repost span:before {
  transform: rotate(-45deg);
}
.atl-dialog-window-repost span:after {
  transform: rotate(45deg);
}
.atl-dialog-window-bottom {
  border: rgb(64, 164, 205) solid 2px;
  border-radius: 20px;
  padding: 5px 12px;
  position: relative;
  height: 6em;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  margin-top: 15px;
}
.atl-dialog-window-bottom.opened {
  height: 14em;
}
.atl-dialog-window-bottom-send {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  background-color: rgb(3, 104, 115);
  background-image: url("images/arrow_up.svg");
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s;
  opacity: 1;
}
.atl-dialog-window-bottom-send.hide {
  opacity: 0.5;
}
.atl-dialog-window-bottom-title {
  font-size: 0.75em;
  color: rgb(134, 134, 134);
  line-height: 1em;
  padding: 5px 0;
}
.atl-dialog-window-bottom-input {
  height: 100%;
}
.atl-dialog-window-bottom-input textarea {
  background: none;
  box-shadow: none;
  resize: none;
  width: 100%;
  color: rgb(22, 22, 22) !important;
  font-size: 0.9em;
  font-weight: 300;
  overflow: hidden;
  transition: all 0.5s;
  margin: 0 -2px;
  padding: 0 2px;
  box-sizing: content-box;
  height: 100%;
}

/*# sourceMappingURL=style.css.map */
