﻿*
{
	margin: 0;
	padding: 0;
}

body
{
	font-family: Arial;
	font-size: 12px;
	
	min-width: 750px;
	min-height: 512px;
	
	width: 100%;
	height: 100%;
	
	position: absolute;
}

a:link, a:visited
{
	color: #aaf;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

table.index-table
{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-color: #444;
	border-collapse: collapse;
	overflow: hidden;
}

div#chat-tabs
{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

div#chat-list-secondary
{
	position: absolute;
	top: 6px;
	left: 6px;
	right: 6px;
	/*height: 40px;*/
	background-color: #333;
	border-radius: 4px;
	padding: 4px;
	
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

td.index-table-sep
{
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	width: 3px;
	background-color: #555;
	cursor: col-resize;
}

div.chat-list-holder
{
	background-color: #171717;
	box-shadow: 1px 1px 2px black inset;
	border: 1px solid black;
	position: absolute;
	left: 6px;
	right: 6px;
	top: 6px;
	bottom: 6px;
	border-radius: 6px;
	padding: 6px;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	
	overflow: hidden;
}

div.chat-list-scroller
{
	overflow-y: auto;
	position: absolute;
	left: 6px;
	top: 6px;
	right: 6px;
	bottom: 6px;
}

li.chat-list-sep
{
	list-style-type: none;
	height: 1px;
	cursor: default;
	background-color: #1c1c1c;
	margin: 4px 0px;
}

li.chat-list-item
{
	list-style-type: none;
	cursor: default;
	color: #fc0;
	padding: 4px 6px;
	border-radius: 2px;
	margin: 2px 0px;
}

li.chat-list-item-add
{
	opacity: 0.5;
}

li.chat-list-item:hover
{
	opacity: 1.0;
	background-color: #332727;
}

li.chat-list-item-selected, li.chat-list-item-selected:hover
{
	background-color: #fc0;
	color: black;
	font-weight: bold;
	opacity: 1.0;
}

div.chat-tab
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

div.settings-holder
{
	position: absolute;
	top: 6px;
	left: 6px;
	right: 6px;
	bottom: 6px;
	overflow-x: hidden;
	overflow-y: auto;
}

div.chat-messages
{
	background-color: #171717;
	position: absolute;
	top: 6px;
	left: 6px;
	right: 6px;
	bottom: 130px;
	border-radius: 6px;
	box-shadow: 1px 1px 2px black inset;
	border: 1px solid black;
	color: #e7e7e7;
	padding: 4px;
	font-size: 13px;
}

div.chat-controls
{
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 100px;
	height: 24px;
	padding: 2px;
}

div.chat-container
{
	position: absolute;
	top: 4px;
	left: 4px;
	right: 4px;
	bottom: 4px;
	overflow-y: auto;
	/*cursor: text;*/
}

div.chat-input
{
	background-color: #171717;
	position: absolute;
	left: 6px;
	right: 6px;
	bottom: 6px;
	height: 80px;
	border-radius: 6px;
	box-shadow: 1px 1px 2px black inset;
	border: 1px solid black;
	padding: 4px;
}

textarea.chat-input
{
	display: block;
	/*position: absolute;
	left: 4px;
	right: 4px;
	top: 4px;
	bottom: 22px;*/
	resize: none;
	color: #ccc;
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	outline: none;
	font-family: Consolas, "Lucida Console", Monaco, monospace;
	font-size: 13px;
}

li.chat-list-item .unread::before
{
	content: '+';
}

li.chat-list-item .unread
{
	float: right;
	padding: 2px 4px;
	font-weight: bold;
	color: black;
	background-color: #fc0;
	border-radius: 2px;
	font-size: 75%;
}

span.chat-entry-date
{
	color: #777;
	/*width: 200px;*/
	display: inline-block;
	font-family: inherit;
	font-size: inherit;
}

span.chat-entry-user
{
	font-weight: bold;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
}

span.chat-entry-user[role="2"]
{
	color: #afa;
}

span.chat-entry-user[role="3"]
{
	color: #faa;
}

span.chat-entry-user[role="4"]
{
	color: #fea;
}

span.chat-entry-text
{
	/*display: inline-block;*/
	/*margin-left: 4px;*/
	vertical-align: top;
}

div.chat-entry
{
	clear: both;
	width: 100%;
	padding: 2px 0px;
	border-bottom: 1px solid #333;
	font-family: Consolas, "Lucida Console", Monaco, monospace;
	font-size: inherit;
	color: #ccc;
	position: relative;
	white-space: nowrap;
	vertical-align: top;
}

div.chat-entry:nth-child(even)
{
	background-color: #1e1e1e;
}

div.chat-entry:nth-child(odd)
{
	background-color: #202020;
}

div.chat-entry:last-child
{
	border-bottom: none;
}

error
{
	color: red;
	font-style: italic;
}

li.chat-list-item-user
{
	cursor: pointer;
}

li.chat-list-item-user[role="0"]
{
	color: #888;
}

li.chat-list-item-user[role="1"]
{
	color: #ccc;
}

li.chat-list-item-user[role="2"]
{
	color: #afa;
	font-weight: bold;
}

li.chat-list-item-user[role="3"]
{
	color: #faa;
	font-weight: bold;
}

div.user-actions
{
	margin-top: 2px;
}

div.user-actions > a
{
	display: inline-block;
	font-size: 75%;
	font-weight: bold;
	margin: 3px 1px;
	padding: 2px 4px;
	text-transform: uppercase;
	text-decoration: none;
	color: black;
	background-color: #fdc;
	border-radius: 2px;
	cursor: pointer;
	opacity: 0.5;
}

div.user-actions > a:hover
{
	opacity: 1.0;
}

botinfo
{
	font-style: italic;
	color: #898;
}

userinfo
{
	font-style: italic;
	color: #898;
}

action
{
	font-style: italic;
	color: #898;
}

div#master-loggedout, div#master-loader
{
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #444;
	text-align: center;
}

span#master-logout-message
{
	display: inline-block;
	margin-top: 48px;
	font-size: 48px;
	color: #fdc;
	text-shadow: 1px 1px 3px black;
	background-color: #171717;
	box-shadow: 1px 1px 2px black inset;
	border: 1px solid black;
	padding: 10px 40px;
	border-radius: 6px;
}

div#master-loader img
{
	margin-top: 48px;
	background-image: url(../img/loaderbg.png);
}

div#master-loader span
{
	display: inline-block;
	margin-top: 16px;
	font-size: 16px;
	color: #fea;
	font-weight: bold;
	text-shadow: 1px 1px 2px black;
}

li.chat-list-item-active
{
	cursor: pointer;
}

a.message-delete-link
{
	position: absolute;
	top: 3px;
	right: 3px;

	vertical-align: top;
	margin-right: 2px;
	background-color: red;
	color: black;
	text-decoration: none;
	border-radius: 2px;
	opacity: 0.75;
	
	background-image: url(../img/del-white.png);
	background-position: 1px 1px;
	background-repeat: no-repeat;
	width: 13px;
	height: 13px;
	
	cursor: pointer;
}

a.message-delete-link:hover
{
	opacity: 1.0;
}

div.message-todelete, div.message-todelete:nth-child(even), div.message-todelete:nth-child(odd)
{
	background-color: #400;
}

div.chat-entry-left, div.chat-entry-right
{
	display: inline-block;
	vertical-align: top;
}

div.chat-entry-right
{
	/*position: absolute;*/
	white-space: normal;
	word-wrap: break-word;
	overflow: hidden;
	/*margin-right: 16px;*/
}

div.chat-entry-clear
{
	/*clear: both;*/
}

code
{
	white-space: pre;
	display: block;
	padding: 2px;
	margin: 3px;
	border: 1px solid #555;
	background: #111;
	color: #aaa;
	font-family: monospace;
}

quote
{
	display: block;
	padding: 2px;
	margin: 3px;
	border: 1px solid #555;
	background: #111;
	color: #aaa;
	
	background-image: url(../img/icon-quote.png);
	background-repeat: no-repeat;
	background-position: top right;
}

a.submit-button
{
	display: block;
	position: absolute;
	right: 4px;
	bottom: 2px;
	padding: 4px 14px;
	width: 90px;
	background-color: #fc0;
	color: black;
	border-radius: 3px;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	opacity: 0.75;
}

a.submit-button:hover
{
	opacity: 1.0;
}

a.submit-button:active
{
	background-color: #a80;
	opacity: 1.0;
}

div.chat-bbcodes, div.chat-emoticons
{
	display: inline-block;
	min-height: 24px;
	background-color: #555;
	border-radius: 4px;
	vertical-align: top;
	overflow: hidden;
	padding: 1px 1px;
}

div.chat-bbcodes
{
	margin-right: 4px;
}

div.chat-bbcodes a.bbcode-button, div.chat-emoticons a
{
	display: inline-block;
	padding: 2px 8px;
	background-color: #222;
	border-radius: 2px;
	color: #aaa;
	text-decoration: none;
	margin: 2px;
	margin-top: 3px;
	padding-bottom: 2px;
}

div.chat-bbcodes a.bbcode-button:hover, div.chat-emoticons a:hover
{
	background-color: #272727;
	color: white;
}

div.chat-bbcodes a.bbcode-button:active, div.chat-emoticons a:active
{
	background-color: #171717;
	color: #888;
}

div.chat-emoticons a
{
	padding: 2px;
}

div.chat-emoticons img
{
	max-height: 15px;
	vertical-align: top;
}

div.chat-controls-holder
{
	margin-right: 128px;
}

img.img-emoticon
{
	max-height: 15px;
	display: inline-block;
	vertical-align: text-bottom;
}

a.cl2-item
{
	display: inline-block;
	background-color: #fc0;
	border-radius: 2px;
	padding: 2px 10px;
	margin: 1px;
	color: black;
	opacity: 0.9;
	text-decoration: none;
}

a.cl2-item-add
{
	opacity: 0.6;
}

a.cl2-item:hover, a.cl2-item-active
{
	opacity: 1.0;
}

a.cl2-item-active
{
	font-weight: bold;
}

div#chat-list-secondary-bottom
{
	margin-top: 1px;
}

a.cl2-item span.unread2
{
	font-weight: bold;
	font-size: 75%;
	position: relative;
	margin-left: 4px;
	top: -1px;
	display: inline-block;
}

a.cl2-item span.unread2:before
{
	content: ' +';
}

span#pm-sign
{
	display: inline-block;
	padding: 2px 6px;
	margin: 1px;
	color: #999;
	font-weight: bold;
}

a.conv-close
{
	display: block;
	float: right;
	color: inherit;
	font-weight: bold;
	text-decoration: none;
	position: relative;
	top: -1px;
	margin-left: 6px;
}

a.conv-close2
{
	display: block;
	width: 14px;
	height: 14px;
	background-image: url(../img/del-black.png);
	float: right;
	background-repeat: no-repeat;
	background-position: center;
	margin-left: 5px;
}

div.settings-panel
{
	margin: 6px;
	padding: 4px;
	background-color: #555;
	border-radius: 3px;
	color: #eee;
	overflow-y: auto;
}

table.settings-table
{
	margin-left: auto;
	margin-right: auto;
	border: 0;
	border-collapse: collapse;
	min-width: 500px;
	width: 50%;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
}

table.settings-table > tbody > tr > td
{
	padding: 6px;
}

table.settings-table  > tbody > tr > td:first-of-type
{
	min-width: 25%;
	padding-left: 12px;
	font-weight: bold;
	vertical-align: top;
	padding: 6px;
	padding-top: 8px;
}

table.settings-table  > tbody > tr > td:last-of-type
{
	padding-right: 12px;
	vertical-align: top;
}

a.button-dark
{
	display: inline-block;
	padding: 2px 8px;
	background-color: #222;
	border-radius: 2px;
	color: #aaa;
	text-decoration: none;
	margin: 2px;
	margin-top: 3px;
	padding-bottom: 2px;
}

a.button-dark-small
{
	padding: 0px 6px;
	margin: 1px;
}

a.button-dark:hover
{
	background-color: #272727;
	color: white;
}

a.button-dark:active
{
	background-color: #171717;
	color: #888;
}

a.button-light
{
	display: inline-block;
	padding: 2px 8px;
	background-color: #c90;
	border-radius: 2px;
	color: black;
	text-decoration: none;
	margin: 2px;
	margin-top: 3px;
	padding-bottom: 2px;
}

a.button-light:hover
{
	background-color: #fc0;
	color: black;
}

a.button-light:active
{
	background-color: #960;
}

div.settings-help
{
	border: 1px dashed #777;
	margin: 3px 0px;
	padding: 6px;
	background-color: #333;
	color: #aaa;
}

datepreview
{
	font-family: Consolas, "Lucida Console", Monaco, monospace;
	font-size: 13px;
	background-color: #222;
	display: inline-block;
	margin: 0px 3px;
	padding: 1px 2px;
	color: #aaa;
}

datepreview:before
{
	content: '[';
}

datepreview:after
{
	content: ']';
}

input[type="checkbox"]
{
	position: relative;
	bottom: -2px;
	margin-right: 4px;
}

iquote
{
	color: #00a0a0;
}

iimg
{
	color: #66f;
}