html.jsxchat, body.jsxchat-window {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    overflow: hidden;

}

.nofloat {
    clear: both;
}

.unselectable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.jsxchat-templates {
    display: none;
}

.tooltip {
    display: none;
    height: 134px;
    width: 319px;
    z-index: 10000;
}

.tooltip-content {
    padding: 5px;
    color: #656565;
    float: left;
    background-color: #ffffff;
    width: 300px;
    min-height: 134px;
    border: 1px solid #bbbbba;
}

.dark-mode .tooltip-content {
   color: #ffffff;
   background-color: #333333;
   border: 1px solid #222222;
}

.tooltip-arrow {
    float: left;
    background: transparent url('../gfx/profile-arrow.png') no-repeat 0px 62px;
    width: 7px;
    height: 134px;
    margin: 0px 0px 0px -1px;
}

.tooltip-content table {
    text-align: left;
    font-size: 12px;
    margin-top: 5px;
    width: 190px;
}

.tooltip-content table td,
.tooltip-content table th {
    padding: 4px 4px 4px 0px;
}

.tooltip-content .nickname {
    font-size: 16px;
    font-weight: bold;
}

.tooltip-content .presence-statustext,
.tooltip-content .last-active, 
.tooltip-content .last-active-title {
    font-weight: normal;
    font-style: italic;
}

.profile-data {
    float: left;
}

.profile-link,
.start-private-link,
.other-user-ignore-link,
.other-user-profile-link,
.other-user-unignore-link {
    color: #555555;
    outline: 0;
    text-decoration: none;
    font-weight: normal;
    background-color: #e4e4e4;
    padding: 5px 10px;
    border-radius: 20px;
    margin-top: 10px;
    float: left;
}

.profile-link:hover,
.start-private-link:hover,
.other-user-ignore-link:hover,
.other-user-profile-link:hover,
.other-user-unignore-link:hover {
    background-color: #2f90ea;
    color: #ffffff;
}

.profile-link,
.other-user-profile-link {
    margin-right: 5px;
}

.other-user-right .other-user-profile-link,
.other-user-right .other-user-ignore-link,
.other-user-right .other-user-unignore-link {
    margin-top: 10px;
}

.avatar {
    float: left;
    margin: 5px 10px 0px 0px;
}

.jsxchat-content {
    width: 40%;
    margin-left: 30%;
    margin-top: 10%;
}

.status-messages {
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    background-color: #ccccee;
    border: 2px solid #bbbbcc;
    margin-bottom: 5px;
}

.connect-panel {
    width: 100%;
    background-color: #ccccee;
    padding: 10px;
    border: 2px solid #bbbbcc;
}

.connect-panel select {
    height: 6em;
}

.room-form label,
.room-form input {
    display: block;
}

.room-form .room-list {
    width: 95%;
}

.room-form .room-list option {
    padding: 5px;
    font-weight: bold;
}

body .customWindowContent {
    overflow: hidden !important;
}

.room-window {
  height: 100%;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
}

.dark-mode .room-window {
  border-left: 1px solid #1b1b1b;
  border-right: 1px solid #1b1b1b;
}

.buffer-panel {
  width: 100%;
  height: 100%;
}

.private-container,
.room-container {
  width: 100%;
}

.room-container {
  height: 92%;
}

.room-top {
  height: 350px;
}

.room-buffer,
.private-buffer {
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: #ffffff;
  float: left;
  word-wrap: break-word;
}

.dark-mode .room-buffer {
  background-color: #181818;
}

.buffer-footer {
  width: 100%;
  background-color: #ffffff;
}

.dark-mode .buffer-footer {
  background-color: #222222;
}

.buffer-footer-content-room,
.buffer-footer-content-priv {
  margin: auto;
}

.buffer-footer-content-room {
  width: 768px;
}

.buffer-footer-content-priv {
  width: 470px;
}

.room-buffer {
  width: 622px;
  height: 100%;
}

.private-buffer {
  width: 300px;
  height: 200px;
}

.private-window {
  height: 100%;
}

.private-window .private-buffer {
  width: 100%;
  height: 168px;
}

.dark-mode .private-window .private-buffer {
  background-color: #222222;
}

.other-user {
  height: 83px;
  background-color: #f2f2f2;
}

.dark-mode .other-user {
  background-color: #333333;
}

.other-user-avatar {
  float: left;
  width: 80px;
  height: 80px;
}

.other-user-middle {
  float: left;
  margin: 10px 0px 0px 10px;
}

.other-user-nickname {
  font-size: 16px;
  float: left;
}

.dark-mode .other-user-nickname {
  color: #ffffff;
}

.other-user-right {
  float: right;
  margin: 10px 10px 0px 0px;
}

.message {
  line-height: 18px;
  font-size: 14px;
  margin: 5px 0px 5px 4px;
  color: #000000;
}

.dark-mode .message {
  color: #ffffff;
}

.message .nickname {
  font-weight: bold;
  color: #5c5c5c;
}

.dark-mode .message .nickname {
  color: #aaaaaa;
}

.message .nickname-right {
  margin-right: 5px;
  color: #a9a9a9;
}

.message .nickname-left {
  color: #a9a9a9;
}

.message.mentionsuser .nickname {
  font-weight: bold;
  color: #ef7827;
}

.message.fromuser .nickname {
  font-weight: normal;
  color: #5c5c5c;
}

.dark-mode .message.fromuser .nickname {
  color: #dedede;
}

.message .userip {
  margin: 0px 0px 0px 10px;
  color: #898989;
  font-style: italic;
}

.system-message {
  color: #a9a9a9;
  font-size: 14px;
  line-height: normal;
  margin: 5px 0px 5px 4px;
  font-style: italic;
  font-weight: normal;
}

.system-message span {
  margin-right: 5px;
}

.dark-mode .system-message {
  color: #777777;
}

.ignore .system-message {
  display: none;
}

.room-occupants {
  height: 100%;
  width: auto;
  background-color: #ffffff;
  overflow-y: scroll;
  overflow-x: hidden;
#  float: right;
}

.dark-mode .room-occupants {
  background-color: #222;
}

.occupant {
  color: #555555;
  margin: 4px;
}

.dark-mode .occupant {
  color: #bababa;
}

.occupant.registered {
  font-weight: bold;
}

.occupant .show-away {
  color: #aaaaaa;
}

.dark-mode .show-away {
  color: #666666;
}

.occupant .show-dnd {
  color: #ff9999;
}

.occupant .show-xa {
  color: #bbbbbb;
  font-style: italic;
  font-weight: bold;
}

.room-input,
.private-input {
  height: 21px;
  border-top: 2px solid rgba(119, 119, 119, 0.25);
  border-bottom: 1px solid rgba(119, 119, 119, 0.25);
}

.room-input .input-buffer-form {
  float: left;
  width: 697px;
  margin-top: 1px;
}

.private-input .input-buffer-form {
  float: left;
  width: 425px;
  margin-top: 1px;
}

.input-buffer-input {
  width: 100%;
  border: none;
  outline: none;
}

.dark-mode .input-buffer-input {
  background-color: #1b1b1b;
  color: #ffffff;
}

.input-buffer-buttons {
  float: left;
  position: relative;
}

.input-buffer-tools-button {
    width: 25px;
    height: 21px;
    position: relative;
    float: left;
    background: url('../gfx/tools_button.png');
    cursor: pointer;
    border-left: 1px solid #bbbbba;
    border-right: 1px solid #bbbbba;
}

.dark-mode .input-buffer-tools-button {
    background: url('../gfx/tools_button-dark.png');
    border-left: 1px solid #1b1b1b;
    border-right: 1px solid #1b1b1b;
}

.input-buffer-tools-button.selected {
    background: url('../gfx/tools_button_selected.png');
}

.dark-mode .input-buffer-tools-button.selected {
    background: url('../gfx/tools_button_selected-dark.png');
}

.input-buffer-color-panel {
    display: none;
    background-color: #ffffff;
    border: 1px solid #bbbbba;
    bottom: 22px;
    float: left;
    height: 80px;
    left: -53px;
    position: absolute;
    width: 95px;
    padding: 5px;
}

.dark-mode .input-buffer-color-panel {
    background-color: #222222;
    border: 1px solid #333333;
    color: #ffffff;
}

.input-buffer-color-panel .color-picker {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.input-buffer-color-panel th,
.input-buffer-color-panel td {
    padding: 0px 5px 5px 0px;
    vertical-align: middle;
    text-align: left;
}

.input-buffer-color-panel .input-buffer-color-example {
    padding: 4px;
}

.input-buffer-emoticons-button {
    width: 25px;
    height: 21px;
    position: relative;
    float: left;
    background: url('../gfx/emoticons_button.png');
    cursor: pointer;
    border-left: 1px solid #bbbbba;
    border-right: 1px solid #bbbbba;
}

.dark-mode .input-buffer-emoticons-button {
    background: url('../gfx/emoticons_button-dark.png');
    border-left: 1px solid #232323;
    border-right: 1px solid #232323;
}

.input-buffer-emoticons-button.selected {
    background: url('../gfx/emoticons_button_selected.png');
}

.input-buffer-emoticons-panel {
    display: none;
    background-color: #ffffff;
    border: 2px solid #bbbbba;
    bottom: 22px;
    float: left;
    height: 75px;
    left: -202px;
    position: absolute;
    width: 240px;
}

.dark-mode .input-buffer-emoticons-panel {
    background-color: #333333;
    border: 2px solid #222222;

}

.input-buffer-tools-panel {
    display: none;
    border: 1px solid #bbbbba;
    position: absolute;
    bottom: 22px;
    left: -48px;
    background-color: #fff;
}

.dark-mode .input-buffer-tools-panel {
    border: 1px solid #333333;
    background-color: #222222;
}

.input-buffer-tools-panel ul li {
    color: #5c5c5c;
    width: 100px;
    height: 21px;
    text-align: center;
    padding: 5px 0px 0px 0px;
    cursor: pointer;
}

.dark-mode .input-buffer-tools-panel ul li {
    color: #acacac;
}

.input-buffer-tools-panel ul li:hover {
    color: #ffffff;
    background: url('../gfx/tools_menu_gradient_selected.png');
}

#mColorPicker {
    height: 137px !important;
}

#mColorPickerSwatches {
    display: none;
}

#mColorPickerFooter {
    display: none;
}

.input-buffer-emoticons-panel .emoticon {
   padding: 2px; 
}

.jsxchat-room-popup {
    height: 340px;
}
.jsxchat-private-popup {
    height: 240px;
}

.user-roster form {
  width: 100%;
  height: 100%;
  color: #5c5c5c;
  font-size: 16px;
}

.user-roster .blockpriv-box {
  width: 100%;
  background-color: #f2f2f2;
  padding: 8px 0px 16px 8px;;
  font-weight: bold;
}

.dark-mode .user-roster .blockpriv-box {
  background-color: #333333;
  color: #ffffff;
}

.user-roster .user-roster-ignore,
.user-roster .user-roster-allow {
  width: 100%;
}

.user-roster .user-roster-ignore-list,
.user-roster .user-roster-allow-list {
  width: 100%;
  height: 156px;
  overflow-x: hidden;
  overflow-y: auto;
}

.user-roster .user-roster-element {
  padding: 2px 0px 2px 8px;
}

.user-roster .user-roster-remove {
  cursor: pointer;
  margin: 4px 10px 0px 0px;
  width: 10px;
  height: 11px;
  background: url('../gfx/user_roster_remove.png');
  display: inline-block;
  float: right;
}

.dark-mode .user-roster .user-roster-remove {
    background: url('../gfx/user_roster_remove-dark.png');
}

.user-roster form input[type=checkbox] {
  display: none;
}

.user-roster form input[type=checkbox] + label {
  width: 50px;
  height: 20px;
  background: url('../gfx/checkbox_on.png');
  display: inline-block;
  position: relative;
  top: 5px;
  left: 30px;
}

.user-roster form input[type=checkbox]:checked + label {
  background: url('../gfx/checkbox_off.png');
}

.user-roster form input[type=text] {
  width: 100%;
  border: none;
  border-top: 2px solid #e4e4e4;
  outline: none;
}

.dark-mode .user-roster form input[type=text] {
   border-top: 2px solid #333333;
}

.user-roster form input[type=text]::-webkit-input-placeholder,
.user-roster form input[type=text]:-moz-placeholder,
.user-roster form input[type=text]::-moz-placeholder,
.user-roster form input[type=text]::-ms-input-placeholder {
  color: #afafaf;
  font-style: italic;
}

.dark-mode .user-roster-ignore-input {
 background-color: #222222;
 color: #ffffff;
}

.dark-mode .user-roster-allow-input {
 background-color: #222222;
 color: #ffffff;
}

.dialog-window-body {
  height: 100%;
  font-size: 14px;
  text-align: center;
}

.dialog-window-header {
  height: 100%;
  margin: 14px 5px -50px 5px;
}

.dialog-window-header span.reason {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.dialog-window-footer {
  height: 30px;
}


