/***** Global Settings *****/
html, body {
  border:0;
  margin:0;
  padding:0;
}
body {
  background-color: #99d;
  font: 14px Arial, Helvetica, sans-serif;
  overflow: hidden;
}

#header {
	background: #111 url(images/topcenter.gif) repeat-x center 4px ;
	border: 4px solid #111;
	border-top: 0;
	text-align: center;
	color: black;
	margin: 0 20px 20px 20px;
}

h1 {
	font-weight: bold; 
	margin: 0;
  text-shadow: 0 5px 8px #999, 0 -5px 8px #666, 0 0 3px #000;
	color: white;
}

#jswarning {
  width: 400px;
  margin: 0 auto;
	text-align: center;
}

#loading {
	margin: 0 auto;
	width: 460px;
  height: 400px;
  background: transparent url('images/loading.gif') center no-repeat;
}

/* **************--- login box **************---- */
#login {
  display: none;
	position: absolute;
	top: 150px;
	z-index: 10;
	margin: 10px 300px;
	width: 300px;
}

#login .slogan {
  font-size: 12px;
  font-style: italic;
  margin-left: 10px;
}

#login .info {
  font-size: 12px;
  color: green;
}

#login .warning {
  color: #900;
  font-size: 12px;
}

#login table {
  border-collapse: collapse;
  width: 100%;
}

#login table th {
  text-align: left;
  width: 100px;
  font-weight: normal;
}


/* **************--- buttons in window titles **************---- */
.titlebuttons {
  position: relative;
  float: right;
  padding-right: 4px;
  padding-top: 5px;
}

.titlebuttons div {
  cursor: pointer;
  padding: 0;
  border: 1px solid #111;
  background-color: #999;
  margin: 1px;
  width: 16px;
  height: 16px;
  background-position: center center;
  background-repeat: no-repeat;
  float: left;
}
.titlebuttons div:hover {
  border-color: #FFF;
  background-color: #CCC;
}
.titlebuttons div.closeBtn {
  background-image: url(images/icon_close.gif);
}
.titlebuttons div.settingsBtn {
  background-image: url(images/icon_settings.gif);
}
.titlebuttons div.infoBtn {
  background-image: url(images/icon_info.gif);
}

/* **************--- window boxes **************---- */
* html .boxhead h2 {height: 1%;} /* For IE 5 PC */

.coolbox, .bigcoolbox {
	background-color: #111;
	border: 1px solid #111;
}
.coolbox {
	margin: 0 auto;
}
.bigcoolbox {
	margin: 0 auto;
	min-width: 600px;
}
.boxhead {
	background-color: #111;
	margin: 0;
	padding: 0;
	text-align: center;
	cursor: default;
}
.boxhead h2 {
/*  text-shadow: #777 0px 3px 3px;*/
  text-shadow: 0 3px 3px #666, 0 -3px 3px #444, 0 0 2px #000;
	background: #111 url(images/topcenter.gif) repeat-x;
	margin: 0;
	padding: 5px;
	color: white; 
	font-weight: bold; 
	font-size: 20px; 
	line-height: 1em;
}
.coolbox .boxhead h2 {
	background: #111 url(images/topcenter.gif) repeat-x center -3px;
	margin: 0;
	font-size: 16px;
	line-height: 1em;
}
.bigcoolbox.disabled {
  opacity: .6;
}
.bigcoolbox.disabled h2 {
	color: #AAA;
}
.boxbody {
	background-color: #999;
	border: 4px solid #111;
	border-top: 0;
	margin: 0;
	padding: 3px;
}

.boxcorner {
	background-image: url(images/corner.gif);
  float: right;
  height: 8px;
  width: 8px;
  position: relative;
  bottom: 8px;
  cursor: se-resize;
}

/* ************** button ************** */
/* ugly IE hack */
* html .button {
  width: 30px;
  white-space: nowrap;
  display: inline;
}

.button {
/*  text-shadow: #666 0px 3px 2px;*/
  text-shadow: 0 3px 3px #666, 0 -3px 3px #444, 0 0 2px #000;
	background: #111 url(images/topcenter.gif) repeat-x left -6px;
	display: inline-block;
	color: #FFF;
	padding: 2px 6px;
	font-size: 0.9em;
	font-family: arial, tahoma;
	border: 1px solid #111;
	cursor: default;
	margin: 0;
	text-align: center;
}

.button:hover {
	background-color: #333;
	border-color: #CCC;
  text-shadow: 0 3px 2px #999, 0 -3px 2px #666, 0 0 2px #FFF;
}


/* ************** popup ************** */
.coolbox.popup {
  margin: 5px;
  display: none;
  z-index: 80;
	position: absolute;
	width: 220px;
  font-size: 12px;
  padding: 0;
}

.coolbox.popup .boxhead h2 {
  cursor: move;
}

.coolbox.popup .smallbutton {
  vertical-align: middle;
  text-align: center;
	background: #111 url(images/topcenter.gif) repeat-x left -6px;
	display: inline-block;
	color: #FFF;
	width: 14px;
  height: 14px;
	font-size: 12px;
	font-family: arial, tahoma;
	border: 1px solid #111;
	cursor: default;
	margin: 1px;
  padding: 0;
}

.coolbox.popup .dropdown select {
  font-size: 12px;
}

.coolbox.popup .button:hover {
	background-color: #333;
	border-color: #CCC;
}

.coolbox.popup .button:active {
	background-color: #666;
	border-color: #CCC;
}

.coolbox.popup table {
  border-collapse: collapse;
  width: 100%;
}

.coolbox.popup table th {
	background-color: #666;
	border-bottom: 1px solid #000;
}

.coolbox.popup table td {
  padding: 1px;
}

.coolbox.popup tr:nth-of-type(odd) {
	background-color: #AAA;
}

.coolbox.popup tr:hover {
	background-color: #CCC;
}


/* ----------- tabs ----------- */
#tabs {
  font-size: 12px;
  font-weight: bold;
  margin: 5px 5px 10px 5px;
  padding: 0 10px;
  border-bottom: 1px solid #000;
  list-style-type: none;
}

#tabs li {
  margin: 0 2px;
	cursor: pointer;
	padding: 0 2px;
  display: inline;
}

#tabs li.active {
  border: 1px solid #000;
  border-bottom: 1px solid #CCF;
  background-color: #CCF;
}

#tabs li.inactive {
  border: 1px solid #000;
  background-color: #BBE;
  color: #333;
}


/* ************** big box ************** */
#chat {
	max-width: 1200px;
  display: none;
	margin: 0 20px;
	position: relative;
	z-index: -10;
}

/* ************** chat area ************** */
/* left */
#chatarea {
  border: 1px solid white;
  margin: 5px 165px 5px 5px;
  padding: 5px;
  background-color: #AAA;
  position: relative;
}
/**/

/* right */
/*
#chatarea {
  border: 1px solid white;
  margin: 5px 5px 5px 170px;
  min-width: 600px;
  padding: 5px;
  background-color: #AAA;
}
/**/

#chathead {
  background-color: #CCC;
  height: 18px;
  font-size: 0.8em;
  overflow: auto;
}
#chathead .shadow { text-shadow: 2px 2px 3px #333; }
#chathead .flame { text-shadow: 0 0 4px white, 0 -5px 4px #fd3, 2px -10px 10px #f70; }

#chatlog {
  overflow: auto;
  background-color: #FFF;
  height: 400px;
  margin: 0;
  font-size: 0.9em;
}

#chatlineandstuff {
  margin: 3px 0;
}

#chatlineandstuff input {
  width: 600px;
  padding: 2px 1px;
  border: 1px solid black;
  margin: 0 1px;
}

#chatlineandstuff .button {
  margin: 1px;
}

#textCount {
  font-size: 10px;
  border: 1px solid black;
  background-color: #FFF;
  display: inline-block;
  text-align: center;
  padding: 2px 1px;
  margin: 1px;
  font-size: 0.9em;
}

#textCount.yellow {
  background-color: #FF9;
}

#textCount.red {
  background-color: #F99;
}

#timer {
  font-size: 10px;
  border: 1px solid black;
  background-color: #FFF;
  height: 10px;
  width: 10px;
  display: inline-block;
  text-align: center;
  padding: 3px;
}

#boxbottom {
  clear: left;
  line-height: 0;
  height: 0;
}

/* ************** chat text ************** */
#chatlog div.motd {
  border: 0px;
  border-top: 2px solid #CCC;
  border-bottom: 2px solid #CCC;
  background-color: #EEE;
  padding: 5px;
}

#chatlog .system { color: #888; }
#chatlog .error { color: #600; }
#chatlog .black { color: #000; }
#chatlog .red { color: #900; }
#chatlog .green { color: #090; }
#chatlog .blue { color: #009; }
#chatlog .yellow { color: #990; }
#chatlog .user { /* something */ }
#chatlog .user .nick { font-weight: bold; }
#chatlog .link { color: #009; }
#chatlog .highlight { background-color: #EEE; border: 1px dashed #AAA; }
#chatlog .shadow { text-shadow: 2px 2px 3px #333; }
#chatlog .flame { text-shadow: 0 0 4px white, 0 -5px 4px #fd3, 2px -10px 10px #f70; }
#chatlog span.youtube-link { font-size: 8px; cursor: pointer; }
#chatlog .youtube-link:hover { background-color: #ccf; }
#chatlog .youtube-link img { cursor: pointer; padding: 1px; vertical-align: middle; }


/* ************** user list ************** */
/* left */
/*
#userlistarea {
  position: relative;
  margin: 0px;
  top: 5px;
  left: 5px;
  font-size: 12px;
  width: 140px;
  border: 1px solid white;
  background-color: #AAA;
  padding: 5px;
  float: left
}
*/

/* right */
#userlistarea {
  float: right;
  width: 140px;
  position: relative;
  top: 5px;
  right: 5px;
  font-size: 0.7em;
  border: 1px solid white;
  background-color: #AAA;
  margin: 0;
  overflow: auto;
  padding: 5px;
  cursor: default;
}

#listhead {
  font-size: 14px;
  text-align: center;
  background-color: #CCC;
}

#userlist {
  background-color: #FFF;
  height: 428px;
}

#userlist div {
  margin-top: 1px;
  padding-left: 1px;
  background-color: #FFF;
}

#userlist .black { background-color: #DDD; }
#userlist .red { background-color: #EBB; }
#userlist .green { background-color: #BEB; }
#userlist .blue { background-color: #BBE; }
#userlist .yellow { background-color: #EEB; }
#userlist .user { font-weight: bold; }
#userlist .idle60 { color: #666; }
#userlist .idle300 { color: #666; font-style: italic; }
#userlist div:hover { padding-left: 5px; background-color: #000; color: #FFF; }
#userlist div span { display: none; }

/* ************** user hover popup ************** */
#user_popup {
  display: block;
  background-color: #000;
	border: 2px solid #000;
	margin: 0;
	width: 250px;
	right: 30px;
	top: 130px;
	padding: 3px;
	position: absolute;
	font-size: 12px;
	color: #FFF;
	opacity: 0.7;
}

#user_popup table {
  border-collapse: collapse;
  width: 100%;
}

#user_popup table tr {
	border-bottom: 1px solid #666;
}

#user_popup table th {
  width: 80px;
}

#user_popup table td {
  padding: 1px;
}

#user_popup tr:nth-of-type(odd) {
	background-color: #333;
}

/* ************** file sharing area ************** */
#filesharerow {
  display: none;
}

#fileuploadarea {
  font-size: 10px;
  background-color: #CCF;
  height: 120px;
  padding-left: 3px;
  float:left;
}

#filesharearea {
  font-size: 10px;
  background-color: #DDF;
  height: 108px;
  padding-left: 3px;
}

#fileshareareatitle {
  font-size: 10px;
  background-color: #CCF;
  height: 12px;
  padding-left: 3px;
  text-align: center;
}

#filesharearea .file {
  float:left;
  height: 30px;
  margin: 3px;
  width: 60px;
  padding: 3px;
  border: 1px solid #9A9;
  border-top: 5px solid #9A9;
  background-color: #ADA;
}

#filesharearea .file:hover {
  border: 1px solid #ACA;
  border-top: 5px solid #ACA;
  background-color: #CFC;
}

#filesharearea .file span {
  display: none;
  position: relative;
}

#filesharearea .file:hover span {
  display: block;
  border: 1px solid #ACA;
  background-color: #CFC;
  width: 160px;
}

/* file upload iframe */
#files { height: 120px; width: 260px; }
#fileupload { background-color: #CCF; }
#fileupload p { margin: 0px; font-size: 14px; }
#fileupload input { font-size: 10px; }



/* ************** feedback ************** */
#feedbackarea {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0;
  color: #fff;
  border: 1px solid black;
  background-color: #666;
  font-size: 12px;
  line-height: 10px;
  z-index: 100;
}

#feedbackarea #feedbacktext {
  padding: 2px;
  cursor: default;
}

#feedbackarea #feedbacktext:hover {
  color: #000;
  background-color: #aaa;
}

#feedbackarea #feedbackform {
  width: 150px;
  padding: 2px;
}

#feedbackarea input { font-size: 10px; width: 120px; }
#feedbackarea textarea { font-size: 10px; font-family: tahoma; width: 120px;}
#feedbackarea span { font-size: 10px; padding: 1px; }
#feedbackarea span.yellow { color: #ff0; }
#feedbackarea span.red { color: #ff0; }


/* ************** slider ************** */
.ui-slider {
  width: 200px;
  height: 8px;
  position: relative;
  background-color: #eee;
}
.ui-slider-handle {
  position: absolute;
  z-index: 1;
  height: 6px;
  width: 6px;
  top: 0px;
  left: 0px;
  /*background-image: url(images/slider-handle.gif);*/
  background-color: #666;
  border: 1px solid #aaa;
}
.ui-slider-handle-active { border: 1px solid #ddd; }
.ui-slider-range {
  position: absolute;
  background: #50A029;
  opacity: 0.3;
  width: 100%;
  height: 100%;
}

/************ debug stuff *************/
#debugarea {
  position: absolute;
  bottom: 0px;
  width: 100%;
  font-family: tahoma;
  z-index: 10;
  font-size: 10px;
}

#debugarea p:hover {
  background-color: #DDD;
}

#debug_click {
  color: blue;
  display: block;
  background-color: #CCC;
  padding: 0px;
  padding-left: 3px;
  text-align: center;
  border-top: 1px solid #AAA;
  border-bottom: 1px solid black;
}

#debug_click:hover {
  background-color: #CCF;
}

#debug_area {
  display: none;
  background-color: #EEE;
  height: 150px;
  overflow: auto;
  padding-left: 3px;
  padding-bottom: 5px;
}

#debug_area p {
  text-indent: -15px;
  text-indent: -15px;
  padding: 0 0 0 15px;
  margin: 0;
}

#debug_raw {
  display: none;
  background-color: #BBB;
  height: 146px;
  overflow: auto;
  border-right: 1px solid black;
  padding: 3px;
  padding-bottom: 5px;
  width: 500px;
  float: left;
  overflow: auto;
}

#debug_raw p {
  text-indent: -15px;
  padding: 0 0 0 15px;
  margin: 0px;
}

/* debug message types */
#debugarea .debug { color: #000; }
#debugarea .raw { color: #000; }
#debugarea .error { color: #900; }
#debugarea .info { color: #060; }



/********** master styles ***********/


/***** Headings *****/
h1, h2, h3, h4, h5, h6 {
  margin:0;
  padding:0;
  font-weight:normal;
}

/***** Headings *****/
h1, h2, h3, h4, h5, h6 {
  margin:0;
  padding:0;
  font-weight:normal;
}

/***** Common Formatting *****/
p, ul, ol {
  margin:0;
  padding: 1em 0 1em 0;
}
ul, ol {
  padding:0 0 1.25em 2.5em;
}
blockquote {
  margin:1.25em;
  padding:1.25em 1.25em 0 1.25em;
}
small {
  font-size:0.85em;
}
img {
  border:0;
}
sup {
  position:relative;
  bottom:0.3em;
  vertical-align:baseline;
}
sub {
  position:relative;
  bottom:-0.2em;
  vertical-align:baseline;
}
acronym, abbr {
  cursor:help;
  letter-spacing:1px;
  border-bottom:1px dashed;
}
/***** Links *****/
a, a:link, a:visited, a:hover {
  text-decoration:underline;
}
/***** Forms *****/
form {
  margin:0;
  padding:0;
  display:inline;
}
input, select, textarea {
  font: 0.9em Arial, Helvetica, sans-serif;
}
textarea {
  width:100%;
  line-height:1.25;
}

/***** Tables *****/
table {
  border:0;
  margin:0;
  padding:0;
}
table tr td {
  padding:2px;
}

/***** Global Classes *****/
.clear         { clear:both; }
.float-left    { float:left; }
.float-right   { float:right; }
.text-left     { text-align:left; }
.text-right    { text-align:right; }
.text-center   { text-align:center; }
.text-justify  { text-align:justify; }
.bold          { font-weight:bold; }
.italic        { font-style:italic; }
.underline     { border-bottom:1px solid; }
.highlight     { background:#ffc; }
.wrap          { width:960px;margin:0 auto; }
.img-left      { float:left;margin:4px 10px 4px 0; }
.img-right     { float:right;margin:4px 0 4px 10px; }
.nopadding     { padding:0; }
.noindent      { margin-left:0;padding-left:0; }
.nobullet      { list-style:none;list-style-image:none; }

