@charset "UTF-8";
#dirXmpp {
  position: fixed;
  z-index: 50000;
  opacity: 0;
}
#dirXmpp #dirXmppIcon {
  background-image: url("msngr-icon.svg");
  background-size: cover;
  background-position: center center;
  position: fixed;
  bottom: 3em;
  right: 3em;
  width: 3em;
  height: 3em;
  opacity: 1;
  cursor: pointer;
}
#dirXmpp #dirXmppMsngr {
  position: fixed;
  right: 5em;
  width: 20em;
  min-width: 15em;
  min-height: 15em;
  height: 30em;
  bottom: 0em;
  display: none;
  background-color: #754B38;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 10px black;
}
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead {
  border-radius: 10px 10px 0 0;
  background-color: #4C3125;
  height: 60px;
  display: flex;
  cursor: move;
}
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead .ava {
  border-radius: 16px;
  width: 32px;
  height: 32px;
  margin: 14px;
  background-color: #754B38;
  background-image: url("ChatAva-3.jpg");
  background-size: cover;
}
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead .name {
  flex-grow: 4;
  line-height: 60px;
  font-size: larger;
  color: #C77F5F;
}
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead .icoClose,
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead .icoBell {
  font-size: smaller;
  text-align: center;
  width: 60px;
  line-height: 60px;
  color: #C77F5F;
  cursor: pointer;
}
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead .icoBell {
  opacity: 0.5;
  font-size: medium;
}
#dirXmpp #dirXmppMsngr #dirXmppMsngrHead .icoBell:hover {
  opacity: 0.9;
}
#dirXmpp #dirXmppMsngr #sendbox {
  position: absolute;
  bottom: 0em;
  left: 0em;
  right: 0em;
  height: 60px;
  background-color: #EB9571;
}
#dirXmpp #dirXmppMsngr #sendbox #msgbox {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 50px;
  padding: 0.1em 0.5em;
}
#dirXmpp #dirXmppMsngr #sendbox #msgbox #newmsg {
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  resize: none;
  overflow: hidden;
  padding: 0;
}
#dirXmpp #dirXmppMsngr #sendbox #send {
  border: none;
  border-radius: 5px;
  background: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50px;
  background-image: url(send-icon.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 60%;
}
#dirXmpp #dirXmppMsngr #log {
  scrollbar-width: thin;
  scrollbar-color: #4C3125 #754B38;
  /* для Chrome/Edge/Safari */
  top: 60px;
  color: black;
  background-color: #754B38;
  position: absolute;
  bottom: 60px;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: 0;
  width: 100%;
  padding: 1em;
  font-size: small;
}
#dirXmpp #dirXmppMsngr #log::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
#dirXmpp #dirXmppMsngr #log::-webkit-scrollbar-track {
  background: #754B38;
}
#dirXmpp #dirXmppMsngr #log::-webkit-scrollbar-thumb {
  background-color: #4C3125;
}
#dirXmpp #dirXmppMsngr #log #welcome {
  text-align: center;
  padding-top: 50%;
  height: 100%;
  margin-bottom: 1em;
  cursor: pointer;
}
#dirXmpp #dirXmppMsngr #log #welcome p {
  color: #EB9571;
}
#dirXmpp #dirXmppMsngr #log .record {
  position: relative;
  padding: 1em 1.2em;
  margin-bottom: 0.5em;
  word-wrap: break-word;
}
#dirXmpp #dirXmppMsngr #log .record.in {
  border-radius: 10px 10px 10px 0px;
  background-color: #C77F5F;
  margin-right: 3em;
}
#dirXmpp #dirXmppMsngr #log .record.draft {
  border-radius: 10px 10px 10px 0px;
  background-color: #EB9571;
  margin-right: 3em;
}
#dirXmpp #dirXmppMsngr #log .record.out {
  border-radius: 10px 10px 0px 10px;
  background-color: #EB9571;
  margin-left: 3em;
}
#dirXmpp #dirXmppMsngr #log .record .created {
  display: none;
  position: absolute;
  bottom: 0;
  font-size: xx-small;
}

@media print {
  #dirXmpp {
    display: none;
  }
}