﻿.chat-message {
  background: #f9f9f9;
  padding: 10px; }

.chat {
  list-style: none;
  margin: 0; }

.chat li img {
  width: 45px;
  height: 45px;
  border-radius: 50em;
  -moz-border-radius: 50em;
  -webkit-border-radius: 50em; }

img {
  max-width: 100%; }

.chat-body {
  padding-bottom: 20px; }

.chat li.left .chat-body {
  margin-left: 70px;
  background-color: #fff; }

.chat li .chat-body {
  position: relative;
  font-size: 11px;
  padding: 10px;
  border: 1px solid #f1f5fc;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }

.chat li .chat-body .header {
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5fc;
  display: flow-root; }

.chat li .chat-body p {
  margin: 0;
  line-height: 30px; }

.chat li.left .chat-body:before {
  position: absolute;
  top: 10px;
  left: -8px;
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-top: 1px solid #f1f5fc;
  border-left: 1px solid #f1f5fc;
  content: '';
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg); }

.chat li.right .chat-body:before {
  position: absolute;
  top: 10px;
  right: -8px;
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-top: 1px solid #f1f5fc;
  border-right: 1px solid #f1f5fc;
  content: '';
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg); }

.chat li {
  margin: 15px 0; }

.chat li.right .chat-body {
  margin-right: 70px;
  background-color: #fff; }

.chat-box {
  /*
  position: fixed;
  bottom: 0;
  left: 444px;
  right: 0;
*/
  padding: 15px;
  border-top: 1px solid #eee;
  transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease; }

li.left .primary-font {
  float: left;
  display: block; }

li.left small {
  float: right; }

li.right .primary-font {
  float: right;
  display: block; }

li.right small {
  float: left; }

small {
  font-size: 12px; }

a:hover, a:active, a:focus {
  text-decoration: none;
  outline: 0; }
