/*-------------------- */
/* Generic chat styles */
/* ------------------- */
#chat_div {
  width:350px;
  height:500px;
  background-color: #fff;
  position: fixed;
  right: 0px;
  bottom: 60px;
  z-index: 100;
  display: none;
  border: 1px solid #AAAAAA;
  border-collapse: collapse;
  border-spacing: 0px;
  /*padding: 2px 1px 2px 1px;*/
}

/* Chat header containing chat ID and username */
#chat_header {
  text-align:left;
  border: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  border-collapse: collapse;
  border-spacing: 0px;
  width: 100%;
  background-color: #fff;
}

/* Chat form */
#chat_form {
  width: 100%;
  background-color:#bbb;
  border-collapse: collapse;
  border-spacing: 0px;
}

/* Styles for the chat input text box */
#chat_form input.cf_mess {
  width: 100%;
  height: 25px;
  position: absolute;
  left: 0px;
  bottom: 0px;
  border-collapse: collapse;
  border-spacing: 0px;
  padding: 2px 1px 2px 1px;
}

#responsecontainer {
  height: 440px;
  overflow-x:hidden;
  border-collapse: collapse;
  border-spacing: 0px;
  width: 100%;
  display:inline-block;
}

.message_timestamp {
	float: right;
	font-style: italic;
}

.chat_icon {
	float: left;
}

.chat_icon img {
	padding: 5px;
	height: 40px;
}
/*------------------------ */
/* End generic chat styles */
/* ----------------------- */

/* ----------------------- */
/* Chat output table rules */
/* ----------------------- */
table.chat_output {
  border-spacing:0;
  border-collapse:collapse;
  width:100%;
  table-layout: fixed;
}

table.chat_output td.right_top{
  background-image: url('imglib/right_top.gif');
  height: 22px;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}

table.chat_output td.right_content{
  background-color: #fff;
  background-image: url('imglib/right_content.gif');
  background-repeat: repeat-x;
  border: 1px solid #becfd8;
  padding: 2px;
}

table.chat_output td {
  border-bottom: 2px solid #AAAAAA;
  text-align:left;
  overflow: auto;
}

table.chat_output td.t1a {
  background-color: #fff;
  font-size: 10px;
}

table.chat_output td.t1b {
  background-color: #fff;
}

table.chat_output td.t2a {
  background-color: #eee;
  font-size: 10px;
}

table.chat_output td.t2b {
  background-color: #eee;	
}

table.chat_output td.tht {
  background-color: #ddd;
}
table.chat_output td.thm {
  background-color: #ddd;
}

table.chat_output td.message {
}
/* --------------------------- */
/* End chat output table rules */
/* --------------------------- */


/* --------------- */
/* User side rules */
/* --------------- */
/* Chat open/close button */
#chat_open {
  z-index: 100;
}

/* End chat button */
#chat_end {
  display:inline;
  float:right;
}

/* Contact form for when no admins are online */
#chat_contact_wrapper {
  background-color: #fff;
  text-align: left;
  padding: 5px;
}

#chat_contact_header {
  text-align: center;
}
/* End contact form */

/* ------------------- */
/* End user side rules */
/* ------------------- */

/* Unused rule */
#chat_id {
  text-align:right;
  font-size:10px;
}

