﻿[contenteditable=true]:empty:not(:focus):before{
  content:attr(placeholder);
  color: rgba(0, 0, 0, 0.2);
  font-style:italic;
  
}
[contenteditable] {
  border: 1px solid #000;
  margin: 2px 2px 2px 2px;
  line-height: 30px;
  -webkit-appearance: textfield;
  appearance: textfield;
  padding: 0px 10px 0px 10px;
  font-size: 20px;
  min-height:30px;
 overflow-wrap:break-word;
}

.emojiIcon 
{
    height: 20px;
    width: 20px;
   margin-left:2px;
     margin-right:2px;
     pointer-events: none;

}

#MessageContainer
{
    position: fixed;
    bottom: 0px;
    right: 20px;
    width: 300px;
    background-color: White;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 4px 8px 5px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    max-height: 700px;
}
#MessageBox
{
    position: relative;
    width: 300px;
    max-height: 380px;
    overflow: auto;
}

.MsgIcon
{
    width: 30px;
    height: 30px;
    margin: 0px;
}

p.speech, p.speechright
{
    position: relative;
    display: inline-block;
    max-width: 200px;
    text-align: center;
    line-height: 20px;
    background-color: #fff;
    border: 4px solid #666;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 2px 2px 4px #888;
    -moz-box-shadow: 2px 2px 4px #888;
    box-shadow: 2px 2px 4px #888;
    padding: 5px;
    min-height: 40px;
}
p.speech
{
    top: 5px;
    left: 0px;
}
p.speechright
{
    top: 5px;
    right: 0px;
}

p.speech:before
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -16px;
    top: 12px;
    border: 8px solid;
    border-color: #666 #666 transparent transparent;
}

p.speech:after
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -8px;
    top: 15px;
    border: 5px solid;
    border-color: #fff #fff transparent transparent;
}
p.speechright:before
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: -16px;
    top: 12px;
    border: 8px solid;
    border-color: #666 transparent transparent #666;
}

p.speechright:after
{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: -8px;
    top: 15px;
    border: 5px solid;
    border-color: #fff transparent transparent #fff;
}
.MsgBoxMain, .MsgBoxMainRight
{
    display: inline-block;
    width: 180px;

    margin-top:0px;
    margin-left:10px;
    margin-right:10px;
    margin-bottom:0px;
}
.MsgBoxMainRight
{
    text-align: right;
  
}
#MessageHeader
{
    background-color: rgb(246,246,246);
}

.PicHolder
{
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align:right;
    vertical-align: top;
        
}
.timedisplay
{
    font-size:15px;
    text-align:center;
}