[ng-click],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}

.chat-area{
    display: block;
}

.chat-input{
    width: 100%;
    background-color: white;
    border-top: 4px solid #666;
    position: fixed;
    right: 0px;
    left: 0px;
    padding: 10px 3%;
    bottom: 0px;
    z-index: 1030;
    font-size: small;
    text-align: center;
}

.chat-input textarea{
    padding: 10px;
    width: 72%;
    margin-right: 10px;
    height: 60px;
    background-color: whitesmoke;
    border: 4px solid #666;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
}

.chat-input .add-button{
    height: 60px;
    width: 60px;
    line-height: 48px !important;
    background-color: #666;
    color: #FFF;
    font-size: 24px !important;
    font-weight: bold;
    font-size: 2em;
    /* padding: 8px 10px; */
    vertical-align: top;
    text-align: center;
    display: inline-block;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    border: 4px solid #AAA;
    cursor: pointer;
}

.chat-input .add-button:hover{
    color: #CCC;
    border: 4px solid #888;
}

.chat-more{
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    font-size: small;
    background-color: white;
    border: 2px solid #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    text-align: center;
    vertical-align:baseline;
    line-height: 20px !important;
}

.chat-bottom{
    clear: both;
    display: block;
    padding-top: 80px;
}

.chat-item{
    margin: 5px 0px;
    /*display: block;*/
    width: 100%;
}

.chat-item.chat-right{
    float: right;
}
.chat-item.chat-left{
    float: left;
}
.chat-item .replyto{
    display: block;
    font-style: italic;
    border-left: 2px solid #2c3e50;
    padding-left: 4px;
}

.chat-bubble {
    /*margin: 40px;*/
    margin-top: 3px;
    display: inline-block;
    position: relative;
    width: 80%;
    height: auto;
    background-color: lightyellow;
    border: 4px solid #666;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;

}

.chat-item.chat-right .chat-bubble{
    background-color: lightcyan;
}

.chat-item.chat-right .chat-bubble:before{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -23px;
    top: 6px;
    bottom: auto;
    border: 10px solid;
    border-color: #666 transparent transparent #666;
}
.chat-item.chat-right .chat-bubble:after{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -16px;
    top: 10px;
    bottom: auto;
    border: 10px solid;
    border-color: lightcyan transparent transparent lightcyan;
}

.chat-item.chat-left .chat-bubble:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: auto;
    left: -23px;
    top: 6px;
    bottom: auto;
    border: 10px solid;
    border-color: #666 #666 transparent transparent;
}
.chat-item.chat-left .chat-bubble:after{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: auto;
    left: -16px;
    top: 9px;
    bottom: auto;
    border: 10px solid;
    border-color: lightyellow lightyellow transparent transparent;
}

/* chat bubble contents */
.chat-text{
    padding: 10px;
    font-size: small;
    text-align: left;
    line-height: 1.5em;
}
.chat-text p{
    /* remove webkit p margins */
    white-space: pre-wrap;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}

.chat-text .credentials{
    float: right;
    font-size: smaller;
    color: #666;
}

.chat-person{
    width: 30px;
    display: inline-block;
    padding: 0px;
}

.chat-icon{
    /*position: relative;*/
    /*top: auto;*/
    height: 30px;
    width: 30px;
    line-height: 22px !important;
    background-color: #ffffff;
    color: #666;
    font-size: 12px !important;
    font-weight: bold;
    /*padding: 8px 10px;*/
    vertical-align:baseline;
    text-align: center;
    display: inline-block;
    -moz-border-radius: 60px;
    -webkit-border-radius: 60px;
    border-radius: 50%;
    border: 4px solid #666;
/*    -moz-box-shadow: 0px 0px 5px #000;
    -webkit-box-shadow: 0px 0px 5px #000;
    box-shadow: 0px 0px 5px #000;*/
}

.chat-admin{
    height: 30px;
    width: 30px;
    line-height: 22px !important;
    color: #ffffff;
    font-size: 12px !important;
    font-weight: bold;
    /*padding: 8px 10px;*/
    vertical-align:baseline;
    text-align: center;
    display: inline-block;    
}

.chat-item.chat-right .chat-bubble{
    float:right;
    margin-right: 25px;
}

.chat-item.chat-right .chat-person{
    float: right;
}

.chat-item.chat-left .chat-bubble{
    float:left;
    margin-left: 25px;
}

.chat-item.chat-left .chat-person{
    float: left;
}

.chat-new{
    position: absolute;
    height: 2rem;
    width: 2rem;
    top:20%;
    left:20%;
    line-height: 2rem !important;
    background-color: #ff0000;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem !important;
    vertical-align:baseline;
    text-align: center;
    display: inline-block;
    -moz-border-radius: 4rem;
    -webkit-border-radius: 4rem;
    border-radius: 50%;
    border: 1px solid #666;
}

.chat-new i{
    color: #2c3e50 !important;
    font-size: 1.2rem !important;
}