#portlet_chatportlet_WAR_3cmsportlet * {
  box-sizing: border-box; }

#portlet_chatportlet_WAR_3cmsportlet body {
  font: 14px monospace;
  max-width: 480px;
  margin: 0 auto;
  padding: 30px 20px; }

#portlet_chatportlet_WAR_3cmsportlet input {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px; }

#portlet_chatportlet_WAR_3cmsportlet button {
  /* float: right; */ }

#portlet_chatportlet_WAR_3cmsportlet li {
  margin: 5px 0; }

.frameChat {
  border: 1px solid #af9e9e;
  display: inline-table;
  padding: 1px; }

.frameChat #send {
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  width: 14%; }

.frameChat img.exit {
  float: right;
  width: 19px;
  position: absolute;
  top: -8px;
  left: 206px; }

#chatControls {
  overflow: auto; }

#userlist {
  position: fixed;
  left: 50%;
  list-style: none;
  margin: 0 0 0 250px;
  background: #eee;
  padding: 5px 10px;
  width: 150px;
  top: 30px; }

#chat {
  max-height: 300px;
  overflow: scroll; }

#chat p {
  margin: 5px 0;
  font-weight: 300; }

#chat .timestamp {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 12px; }

#chat article {
  background: #eee;
  padding: 10px;
  margin: 10px 0;
  border-left: 5px solid #aaa;
  position: relative;
  word-wrap: break-word; }

#chat article:last-of-type {
  background: #c9edc3;
  border-left-color: #74a377;
  animation: enter .2s 1; }

@keyframes enter {
  from {
    transform: none; }

  50% {
    transform: scale(1.05); }

  to {
    transform: none; } }

/* Blink */
@keyframes newMessage {
  50% {
    opacity: 0.0; } }

@-webkit-keyframes newMessage {
  50% {
    opacity: 0.0; } }

.newMessage {
  color: blue;
  animation: newMessage 2s step-start 0s infinite;
  -webkit-animation: newMessage 2s step-start 0s infinite; }

