
#candy ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.roster-pane {
	display: none;
}

#chat-tabs {
	display: none;
}

#chat-toolbar {
	height: 32px;
}

.message-pane-wrapper {
	overflow-y: scroll;
}

#chat-toolbar li {
	width: 16px;
	height: 16px;
	margin-left: 5px;
	float: left;
	display: inline-block;
	cursor: pointer;
	background-position: top left;
	background-repeat: no-repeat;
}

#chat-toolbar #emoticons-icon { 
	display: none;
}

#chat-toolbar .usercount {
	background-image: url(img/action/usercount.png);
	cursor: default;
	padding-left: 20px;
	width: auto;
	margin-right: 5px;
	float: right;
}

.usercount span {
	display: inline-block;
	padding: 1px 3px;
	background-color: #666;
	font-weight: bold;
	border-radius: 3px;
	color: #ccc;
}

#chat-toolbar #emoticons-icon {
	background-image: url(img/action/emoticons.png);
}

#chat-toolbar .context {
	background-image: url(img/action/settings.png);
	display: none;
}

#chat-sound-control {
	background-image: url(img/action/sound-off.png);
}

#chat-sound-control.checked {
	background-image: url(img/action/sound-on.png);
}

#chat-autoscroll-control {
	background-image: url(img/action/autoscroll-off.png);
}

#chat-autoscroll-control.checked {
	background-image: url(img/action/autoscroll-on.png);
}

#chat-statusmessage-control {
	background: url(img/action/statusmessage-off.png);
}

#chat-statusmessage-control.checked {
	background: url(img/action/statusmessage-on.png);
}

.message-pane {
	padding-top: 1px;
}

.message-pane li {
	cursor: default;
	border-bottom: 1px solid #ccc;
	box-shadow: 0 1px 0 0 white;
}

.message-pane small {
	/*display: none;*/
	color: #a00;
	font-size: 10px;
	/*position: relative;*/
	float: right;
	background-color: #f7f7f7;
	text-align: center;
	line-height: 20px;
	margin: 4px 0;
	padding: 0 5px;
	right: 5px;
}

.message-pane li:hover {
	background-color: #f7f7f7;
}

/*.message-pane li:hover small {
	display: block;
}*/

.message-pane li>div {
	overflow: auto;
	padding: 2px 0 2px 5px;
	line-height: 24px;
	white-space: -o-pre-wrap; /* Opera */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.message-pane li>div p {
	margin: 0;
}

.message-pane .rlabel {
	font-weight: bold;
	white-space: nowrap;
	display: block;
	width: 80px;
	margin-right: 15px;
	float: left;
	overflow: hidden;
	/*text-align: right;*/
	color: black;
}

.message-pane .spacer {
	color: #aaa;
	font-weight: bold;
	margin-left: -14px;
	float: left;
}

.message-pane .subject, .message-pane .subject .label {
	color: #a00;
	font-weight: bold;
}

.message-pane .adminmessage {
	color: #a00;
	font-weight: bold;
}

.message-pane .infomessage {
	color: #888;
	font-style: italic;
}

.message-pane div>a {
	color: #a00;
}

.message-pane a:hover {
	text-decoration: underline;
}

.message-pane .emoticon {
	vertical-align: text-bottom;
	height: 15px;
	width: 15px;
}

.message-form input {
	padding: 5px 10px;
	font-size: 14px;
	width: 80%;
	display: block;
	outline-width: 1;
	background-color: white;
	float: left;
}

.message-form input.submit {
	cursor: pointer;
	background-color: #ccc;
	color: #666;
	padding: 5px 10px;
	width: auto;
	font-size: 12px;
	line-height: 12px;
	height: 25px;
	font-weight: bold;
	border-radius: 3px;
	float: right;
	margin-top: 4px;
}

#tooltip {
	position: fixed;
	z-index: 10;
	display: none;
	margin: 13px -18px -3px -2px;
	color: #333;
	font-size: 11px;
	padding: 5px 0;
}

#context-menu {
	position: fixed;
	z-index: 10;
	display: none;
	padding: 5px 10px;
	margin: 13px -28px -3px -12px;
}


#chat-modal {
	background: #eee;
	width: 300px;
	padding: 20px 5px;
	color: #333;
	font-size: 16px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -160px;
	margin-top: -45px;
	text-align: center;
	display: none;
	z-index: 100;
	border: 5px solid #888;
	border-radius: 5px;
	box-shadow: 0 0 5px black;
}

#chat-modal-overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	background-image: url(img/overlay.png);
}

#chat-modal.modal-login {
	display: block;
	margin-top: -100px;
}

#chat-modal-spinner {
	display: none;
	margin-left: 15px;
}

#chat-modal form {
	margin: 15px 0;
}

#chat-modal label, #chat-modal input, #chat-modal select {
	display: block;
	float: left;
	line-height: 26px;
	font-size: 16px;
	margin: 5px 0;
}

#chat-modal input, #chat-modal select {
	padding: 2px;
	line-height: 16px;
	width: 150px;
}

#chat-modal input[type='text'],
#chat-modal input[type='password'] {
	background-color: white;
	border: 1px solid #ccc;
	padding: 4px;
	font-size: 14px;
	color: #333;
}

#chat-modal label {
	 text-align: right;
	 padding-right: 1em;
	 clear: both;
	 width: 100px;
}

#chat-modal input.button {
	float: none;
	display: block;
	margin: 5px auto;
	clear: both;
	position: relative;
	top: 10px;
	width: 200px;
}

#chat-modal .close {
	position: absolute;
	right: 0;
	display: none;
	padding: 0 5px;
	margin: -17px 3px 0 0;
	color: #999;
	border-radius: 3px;
}

#chat-modal .close:hover {
	color: #333;
	background-color: #aaa;
}