.privatemsg-message-new {
  background: #f0f0f0;
}
.pm-nj-message span.new,
.privatemsg-message span.new {
  display: none;
}
.nodejs-messages-wrapper {
  bottom: 10px;
  left: 0;
  margin: 10px 10px 0;
  position: fixed;
  width: 340px;
}
.wrapper-alert {
  -moz-border-radius: 5px;
  -moz-box-shadow: 0 2px 15px #000;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 0 2px 15px #000;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 5px;
  box-shadow: 0 2px 15px #000;
  color: #fff;
  cursor: pointer;
  margin: 0 0 10px;
  overflow: hidden;
  padding: 10px;
  position: relative;
  text-shadow: 0px 1px 0px #262626;
  width: 320px;
}
.pmnj-minichat .close,
.wrapper-alert .close-button {
  -moz-border-radius: 3px;
  -moz-box-shadow: 0 0 2px #111;
  -webkit-border-radius: 3px;
  -webkit-box-shadow: 0 0 2px #111;
  background: url(../img/close.gif) no-repeat 50% 50% #000;
  border-radius: 3px;
  box-shadow: 0 0 2px #111;
  display: block;
  height: 7px;
  margin: 0 0 0 10px;
  opacity: 0.6;
  padding: 5px;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 7px;
}
.pmnj-minichat .close:hover,
.wrapper-alert .close-button:hover {
  opacity: 1;
}
.pmnj-minichat .open-thread {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background: #000;
  border: 2px solid #ccc;
  border-radius: 4px;
  height: 10px;
  position: absolute;
  right: 21px;
  text-indent: -9999em;
  top: 1px;
  width: 11px;
  z-index: 2;
}
.pmnj-minichat .open-thread:hover {
  border-color: #fff;
}
.form-actions a.mini-chat {
  padding-left: 5px;
}
.wrapper-alert .picture {
  float: left;
  height: 50px;
  margin: 0 10px 0 0;
  width: 50px;
}
.wrapper-alert .picture img {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  height: auto;
  max-width: 100%;
  width: auto;
}
.wrapper-alert .body {
  overflow: hidden;
}
.wrapper-alert .username {
  font-weight: bold;
}
.wrapper-alert .links ul {
  margin: 10px 0;
  overflow: hidden;
  padding: 0;
}
.wrapper-alert .links li {
  float: left;
  list-style: none;
  margin: 0 10px 0 0;
}
.wrapper-alert .links a {
  color: #fff;
}
.pmnj-minichat {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  background: #222121;
  background: rgba(33, 33, 33, 0.75);
  border-radius: 4px;
  font: normal 11px/1.3 tahoma, arial, verdana, sans-serif, Lucida Sans;
  height: 290px;
  min-height: 230px;
  min-width: 220px;
  overflow: hidden;
  padding: 7px 10px 10px;
  top: auto;
  width: 260px;
  z-index: 1000;
}
.pmnj-minichat p {
  margin: 0 0 5px;
}
.pmnj-minichat .close {
  cursor: pointer;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 102;
}
.pmnj-minichat .pmnj-minichat-inner {
  padding-top: 21px;
  position: relative;
}
.pmnj-minichat .pmnj-mes {
  background: #fff;
  height: 200px;
  overflow: auto;
  padding: 5px;
}
div.pmnj-minichat textarea {
  height: 40px;
  line-height: 1.3;
  max-height: 62px;
  overflow-y: auto;
  padding: 0;
  resize: none;
}
div.pmnj-minichat .name {
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: bold;
  height: 21px;
  left: 0;
  line-height: 21px;
  overflow: hidden;
  position: absolute;
  right: 22px;
  top: 0;
}
.pmnj-minichat.ui-draggable-dragging .name {
  cursor: move;
}
.pmnj-minichat.at-top {
  z-index: 1001;
}
.pm-nj-message {
  overflow: hidden;
}
.pm-nj-message .privatemsg-author-avatar {
  float: left;
  height: 40px;
  margin: 0 5px 5px 0;
  width: 40px;
}
.pm-nj-message .privatemsg-author-avatar img {
  height: auto;
  max-width: 100%;
  width: auto;
}
.privatemsg-message .privatemsg-message-body img,
.pm-nj-message .privatemsg-message-body img {
  height: auto;
  max-width: 100%;
  width: auto;
}
.pm-nj-message .privatemsg-message-column {
  float: none;
  overflow: hidden;
  width: auto;
}
div.privatemsg-message-information {
  border-bottom: 1px solid #c5c5c5;
  margin-bottom: 5px;
  text-align: right;
  width: 100%;
}
div.privatemsg-message-information .privatemsg-author-name {
  float: left;
}
.privatemsg-author-name {
  font-size: 110%;
  font-weight: bold;
  padding-right: 1em;
}
.pmnj-minichat .form {
  margin: 5px 0;
}
.pmnj-minichat .form label,
.pmnj-minichat .form .form-submit {
  display: none;
}
.pmnj-minichat .form * {
  margin: 0;
}
.pmnj-minichat .form-item {
  padding: 0;
}
.pmnj-minichat .pmnj-mes-inner {
  padding-bottom: 20px;
  position: relative;
}
.typing {
  background: url(../img/typing.gif) 0 6px no-repeat;
  bottom: 0;
  color: #666;
  height: 20px;
  left: 0;
  padding-left: 20px;
  position: absolute;
}

/* Thread page. */
.thread-messages-wrap {
  padding-bottom: 20px;
  position: relative;
}
.thread-messages-wrap .thread-inner {
  height: 500px;
  overflow: auto;
}
