#chatWindowBox {
  display: none;
  position: absolute;
  right: 0px;
  bottom: 0px;
  z-index: 100;
  width: 100%;
}
#chatWindowBox .mytext{
  border:0;padding:10px;background:whitesmoke;
}
#chatWindowBox .text{
  width:75%;display:flex;flex-direction:column;
}
#chatWindowBox .text > p:first-of-type{
  width:100%;margin-top:0;margin-bottom:auto;line-height: 13px;font-size: 12px;
}
#chatWindowBox .text > p:last-of-type{
  width:100%;text-align:right;color:silver;margin-bottom:-7px;margin-top:auto;
}
#chatWindowBox .text-l{
  float:left;padding-right:10px;
}
#chatWindowBox .text-r{
  float:right;padding-left:10px;
}
#chatWindowBox .avatar{
  display:flex;
  justify-content:center;
  align-items:center;
  width:25%;
  float:left;
  padding-right:10px;
}
#chatWindowBox .macro{
  margin-top:5px;width:85%;border-radius:5px;padding:5px;display:flex;
}
#chatWindowBox .msj-rta{
  float:right;background:whitesmoke;
}
#chatWindowBox .msj{
  float:left;background:white;
}
#chatWindowBox .frame{
  background:#e0e0de;
  height:450px;
  /*overflow:hidden;*/
  padding:0;
  float: right;
}
#chatWindowBox .frame > div:last-of-type{
  position:absolute;bottom:5px;width:100%;display:flex;
}
#chatWindowBox ul {
  width:100%;
  list-style-type: none;
  padding:18px;
  position:absolute;
  bottom:32px;
  display:flex;
  flex-direction: column;
  height: 348px;
  overflow-y: scroll;
}
#chatWindowBox .msj:before{
  width: 0;
  height: 0;
  content:"";
  top:-5px;
  left:-14px;
  position:relative;
  border-style: solid;
  border-width: 0 13px 13px 0;
  border-color: transparent #ffffff transparent transparent;
}
#chatWindowBox .msj-rta:after{
  width: 0;
  height: 0;
  content:"";
  top:-5px;
  left:69px;
  position:relative;
  border-style: solid;
  border-width: 13px 13px 0 0;
  border-color: whitesmoke transparent transparent transparent;
}
#chatWindowBox input:focus{
  outline: none;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #d4d4d4;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #d4d4d4;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #d4d4d4;
}
:-moz-placeholder { /* Firefox 18- */
  color: #d4d4d4;
}


#chatWindowBox .popup-head {
  background-color: #2d7fb1;
  clear: both;
  color: #fff;
  display: inline-table;
  font-size: 21px;
  padding: 7px 10px;
  width: 100%;
  font-family: Oswald;
}
#chatWindowBox .popup-body {
  position: relative;
  height: 390px;
}
#chatWindowBox .popup-head-left img {
  border: 1px solid #7b7b7b;
  border-radius: 50%;
  width: 44px;
}
#chatWindowBox .chat-header-button {
  background: transparent none repeat scroll 0 0;
  border: 1px solid #636364;
  border-radius: 50%;
  font-size: 14px;
  height: 30px;
  width: 30px;
}
#chatWindowBox .popup-head .popup-head-right {
  margin: 11px 7px 0;
}
#chatWindowBox .popup-head-right .btn-group {
  display: inline-flex;
  margin: 0 8px 0 0;
  vertical-align: top !important;
}
#chatWindowBox .popup-head-right .btn-group .dropdown-menu {
  border: medium none;
  min-width: 122px;
  padding: 0;
}
#chatWindowBox .popup-head-right .btn-group .dropdown-menu li a {
  font-size: 12px;
  padding: 3px 10px;
  color: #303030;
}