
.communication {
  margin: 0 auto;
  width: 100%;
  min-width: 1200px;
  min-height: 500px;
  display: table;
  font-size: 12px;
}

.communication .clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.communication .pointer
{
  cursor: pointer;
}

.communication ol, .communication ul{list-style:none; padding: 0;}

.communication .header-title {
  padding: 20px 0 20px 30px;
  font-size:18px;
}

.communication .box {
  min-height: 500px;
}

.communication .event-list {
  width: 390px;
  float: left;
  border: 1px solid #c5c6c6;
  margin-left: 10px;
  min-height: 500px;
  background-color: #fefefe;
}

.communication .event-list .search {
  height: 90px;
  background-color: #d9dada;
}

.communication .search-input
{
  float: left ;
  margin: 10px;
}

.communication .search-actions
{
  float: right;
  margin: 12px;
}

.communication .search-actions div:first-child
{
  border-right: 1px solid #9d9e9e;
}

.communication .event-list .search-input input {
  border: none;
  border-radius: 5px;
  width:255px;
  padding: 6px;
}

.communication .event-list .fa-search {
  position: relative;
  left: -25px;
  top: 10px;
  color: #cfd0d0;
  float: right;
}

.communication .event-list .fa-remove {
  position: relative;
  left: -25px;
  top: 10px;
  color: #cfd0d0;
  float: right;
}

.communication .event-list ul {
  padding: 0;
  margin: 0;
  /*height: 100%;*/
  overflow-y: scroll;
  min-height: 420px;
}

.communication .event-list ul li {
  /*padding: 15px 20px;*/
  height: 55px;
  border-bottom: 1px solid #c5c6c6;
}

.communication .event-list ul li:hover, .communication .event-list ul li.selected {
  background-color: #d9dada;
}

/*
.communication .event-list ul li.selected input[type=checkbox]{
  visibility: hidden;
}
*/

.communication .event-list .item {
  cursor: pointer;
}

.communication .event-list .list input[type=checkbox] {
  float: left;
  margin: 20px 5px 0 20px;
}

.communication .event-list .list img {
  float: left;
  margin: 5px 7px 0 0;
}

.communication .event-list .list .about {
  float: left;
  margin: 5px 5px 0 0;
  width: 220px;
  overflow: hidden;
}

.communication .event-list .list .about .name{
  color: #727272;
  height: 30px;
  overflow: hidden;
}

.communication .event-list .list .haveUnread .about .name{
  color: #727272;
  font-weight: bold;
}

.communication .event-list .list .about .lmessage{
  color: #c1b2b5;
  height: 20px;
  overflow: hidden;
}
.communication .event-list .list .about .lmessage p {
  margin: 0;
}

.communication .event-list .list .time {
  float: left;
  margin: 15px 20px 0 0;
  color: #c1b2b5;
}

.communication .event-list .list .status {
  float: left;
  margin: 15px 5px 0 0;
  visibility: hidden;
}

.communication .event-list .list .haveUnread .status {
  visibility: visible;
}

.communication .event-list .list .status .online {
  color: #f90079;
}

.communication .event-conversation {
  min-height: 500px;
  margin-left: 10px;
  margin-right: 10px;
  width: calc(100% - 420px);
  min-width: 780px;
  float: left;
  border: 1px solid #c5c6c6;
  background-color: #fefefe;
  position: relative;
}

.communication .event-conversation.eventCUser {
  width: calc(100% - 20px);
}

.communication .conversation-header {
  height: 80px;
  background-color: #d9dada;
}

.communication .conversation-with {
  text-align: center;
  font-weight: bold;
  margin-top: 5px;
}

.communication .conversation-time {
  text-align: center;
  margin-top: 3px;
  border-bottom: 1px solid #ffffff;
}

.communication .conversation-email {
  margin: 0 0 0 2px;
  padding: 0;
}

.communication .conversation-email li {
  float:left;
  padding: 0px 4px 1px 5px;
  margin: 5px 2px 0 4px;
  background-color: #b2b3b3;
  color: #ffffff;
  border-radius: 4px;
}

.communication .conversation-email li:first-child span
{
  visibility: hidden;
}

.communication .conversation-email li span
{
  font-size: 18px;
}

.communication .conversation-email li span:hover
{
  color: #d9dada;
}

.communication .conversation-email li:last-child {
  float:right;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
}

.communication .conversation-history {
  padding: 30px 30px 20px;
  overflow-y: scroll;
  min-height: 350px;
}

.communication .conversation-history ul {
  padding: 0;
}
.communication .conversation-history ul li{
  margin-bottom: 20px;
}

.communication .conversation-history .img-avatarMe {
  float: left;
  margin:10px 0 0 30px;
}

.communication .conversation-history .img-avatarOther {
  float: right;
  margin:30px 0 0 10px;
}

.communication .conversation-history .message-data-info {
  clear:both;
}

.communication .conversation-history .message-data-info span {
  color: #a8aab1;
  /*padding-left: 6px;*/
}

.communication .conversation-history .message {
  padding: 10px 20px;
  line-height: 26px;
  border-radius: 10px;
  width: calc(100% - 100px);
  position: relative;
}

.communication .conversation-history .message:after {
  bottom: 40%;
  left: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-left-color: #99d0d2;
  border-width: 10px;
  margin-right: -10px;
}

.communication .conversation-history .my-message {
  background: #99d0d2;
  float:left;
  text-align: right;
  /*max-height: 200px;*/
  overflow: hidden;
}

.communication .conversation-history .other-message {
  background: #ecf2f6;
}

.communication .conversation-history .other-message:after {
  border-left-color: #ffffff;
  left: 0%;
  margin-left: -20px;
  border-right-color: #ecf2f6;
}

.communication .conversation-message {
  height:65px;
  border-top: 1px solid #c5c6c6;
  position: relative;
}
.communication .conversation-message textarea {
  width: 100%;
  border: none;
  padding: 10px 20px;
  resize: none;
}

.communication .conversation-message .img-send {
  position:absolute;
  right: 10px;
  top: 10px;
}

.communication .conversation-message .div-attachment {
  position:absolute;
  right: 50px;
  top: 15px;
}

.communication .conversation-message .div-attachment-holder {
  position:relative;
}

.communication .conversation-message .div-emoji {
  position: absolute;
  right: 10px;
  top: 0px;
}

.communication .conversation-message .div-emoji-holder {
  position:relative;
}

.communication .conversation-message .img-emoji {
  position:absolute;
  right: 70px;
  top: 15px;
}

.communication .empty-event {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.communication .empty-event i{
  font-size: 120px;
  color: #D7DADC;
}

.communication .align-left {
  text-align: left;
}

.communication .align-right {
  text-align: right;
}

.communication .float-right {
  float: right;
}

.communication .float-left {
  float: left;
}

.communication .more {
  background: #fefefe;
  padding: 10px;
  width: 140px;
  height: 70px;
  margin: 20px auto;
  border: 1px solid #c5c6c6;
  border-radius: 4px;
  display: block;
  position: absolute;
  top: -90px;
  left: -90px;
}

.communication .more.emojiMore {
  width: 120px;
  height: 100px;
  top: -100px;
  left: -160px;
}

.communication .more.emojiMore li {
  float: left;
}

.communication .more li{
  padding-bottom: 5px;
}

.communication .rich-message {
  background: #fefefe;
  padding: 0px;
  width: 310px;
  height: 260px;
  margin: 20px auto;
}

.communication .rich-message .rich-title {
  background: #bde782;
  padding: 10px;
  color: #ffffff;
}

.communication .rich-message .rich-actions {
  text-align: right;
  padding: 10px;
}

.communication .rich-message .rich-actions button{
  width:60px;
  border: none;
}

.communication .rich-message .rich-actions button.rm-btn-cancel{
  background: #b2b3b3;
  color: #ffffff;
}

.communication .rich-message .rich-actions button.rm-btn-ok{
  background: #b2c669;
  color: #ffffff;
}

.communication .rich-message ul {
  padding: 10px;
}

.communication .rich-message ul li {
  margin-bottom: 10px;
}

.communication .rich-message ul li:last-child {
  margin-bottom: 0px;
}

.communication .rich-message ul li>div {
   display: inline-block;
   vertical-align: top;
   text-align: right;
   padding-left: 2px;
}

.communication .rich-message ul li div:first-child {
  width: 80px;
}

.communication .rich-message input, .communication .rich-message textarea, .communication .rich-message select {
  border: 1px solid #c5c6c6;
  border-radius: 4px;
  background: #fefefe;
  line-height: inherit;
}

.communication .file-message {
  background: #fefefe;
  padding: 0px;
  width: 310px;
  height: 200px;
  margin: 20px auto;
}

.communication .file-message .rich-title {
  background: #bde782;
  padding: 10px;
  color: #ffffff;
}

.communication .file-message .rich-actions {
  text-align: right;
  padding: 10px;
}

.communication .file-message .rich-actions button {
  width:50px;
  border: none;
}

.communication .file-message .rich-actions button.fm-btn-cancel {
  background: #b2b3b3;
  color: #ffffff;
}

.communication .file-message .rich-actions button.fm-btn-ok{
  background: #b2c669;
  color: #ffffff;
}

.communication .file-message ul {
  padding: 10px;
}

.communication .file-message ul li {
  margin-bottom: 10px;
}

.communication .file-message ul li:last-child {
  margin-bottom: 0px;
}

.communication .file-message ul li div {
   display: inline-block;
   vertical-align: top;
   text-align: right;
   padding-left: 2px;
}

.communication .file-message ul li div:first-child {
  width: 80px;
}

.communication .file-message input, .communication .file-message textarea {
  border: 1px solid #c5c6c6;
  border-radius: 4px;
  background: #fefefe;
}

.communication .file-message input[type=file] {
  width: 200px;
}

.communication .new-email {
  background: #fefefe;
  padding: 0px;
  width: 310px;
  height: 130px;
  margin: 20px auto;
}

.communication .new-email .rich-title {
  background: #bde782;
  padding: 10px;
  color: #ffffff;
}

.communication .new-email .rich-actions {
  text-align: right;
  padding: 10px;
}

.communication .new-email .rich-actions button{
  width:50px;
  border: none;
}

.communication .new-email .rich-actions button.nm-btn-cancel{
  background: #b2b3b3;
  color: #ffffff;
}

.communication .new-email .rich-actions button.nm-btn-ok{
  background: #b2c669;
  color: #ffffff;
}

.communication .new-email ul {
  padding: 10px;
}

.communication .new-email ul li div {
   display: inline-block;
   vertical-align: top;
   text-align: right;
   padding-left: 2px;
}

.communication .new-email ul li div:first-child {
  width: 80px;
}

.communication .new-email input {
  border: 1px solid #c5c6c6;
  border-radius: 4px;
  background: #fefefe;
}

.communication .ng-modal-overlay {
  position:absolute;
  z-index:9999;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#000000;
  opacity: 0.2;
}

.communication .ng-modal-dialog {
  z-index:10000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
}

.communication .ng-modal-dialog-content {
  padding:10px;
  text-align: left;
}

.communication .emoji {
    background: transparent url(../img/emoji_sprite.png) 0 0 no-repeat;
    /*float: left;*/
    display:inline-block;
    margin-right: 2px;
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

/*smile :) */
.communication .smile {
  background-position: -69px 0;
}

/*frown :( */
.communication .frown {
  background-position: -773px 0;
}

/*tongue :P */
.communication .tongue {
  background-position: -677px 0;
}

/*grin :D */
.communication .grin {
  background-position: -453px 0;
}

/*upset :O */
.communication .upset {
  background-position: -1125px 0;
}

/*wink ;) */
.communication .wink {
  background-position: -485px 0;
}

/*unsure :/ :\*/
.communication .unsure {
  background-position: -773px 0;
}

/*cry :'( */
.communication .cry {
  background-position: -1349px 0;
}

/*angel O) */
.communication .angel {
  background-position: -1957px 0;
}

/*kiss :* */
.communication .kiss {
  background-position: -293px 0;
}

/*confused o.O */
.communication .confused {
  background-position: -901px 0;
}

/* Dialog max height*/
/*
.modal-dialog,
.modal-content {
    height: 80%;
}

.modal-body {
    max-height: calc(100% - 120px);
    overflow-y: auto;
}
*/

.communication .search-filter
{
  margin-left: 10px;
}

.communication-message-dialog .bootstrap-dialog-message
{
  height: 70%;
  height: calc(100vh - 200px);
  overflow-y: auto;
  word-wrap: break-word;
  overflow-x: hidden;
}