div.chatbase {
  margin: auto;
  width: auto;
  height: auto;
  position: absolute;
  bottom: 0px;
  right: 0px;
  max-height: 200px;

}

.chatbase div, .chatbase span{
  opacity: 0.95;
}

div.chatuserlist {
  display: block;
  position: relative;
  right: 0px;
  width: 135px;
  max-height: 200px;
  height: auto;
  overflow: auto;
  bottom: 0px;
}

div.chatuserlist_background {
  opacity: 0.35;
  bottom: 0;
  right: 0;
  position: absolute;
  width: 135px;
  background: white;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=35)";
  filter: alpha(opacity=35);
}


div.chatlist ul {
  height: 96%;
  width: 96%;
  margin: auto;
  position: relative;
}

div.title {
  display: block;
  height: 30px;
  width: 100%;
  color: black;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
}

div.chatwindow_background, div.chatwindow {
  width: 145px;
  position: absolute;
  right: 135px;
  bottom: 0px;
  height: 300px;
  z-index: 9000;
  background: transparent;
}

div.chatinput_background {
  width: 145px;
  position: absolute;
  right: 135px;
  bottom: 0px;
  z-index: 8000;
  background: transparent;
  height:60px;
}

div.chatwindow_background{
  background: white;
  opacity: 0.25;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
  filter: alpha(opacity=25);
}
div.chatinput_background{
  background: white;
  opacity: 0.25;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
  filter: alpha(opacity=25);
}

input, button{
}

.chatbase textarea.chatinput{
  width: 100%;
  margin: auto;
  font-size: 11px;
  display: block;
  position: absolute;
  bottom: 0px;
  background: transparent;
  border:none;
  border-top: 1px solid #444;
  height: 60px;
}

div.chattitle {
  color: black;
  height: 20px;
  margin: 10px auto;
  width: auto;
  text-align: left;
  font-size: 14px;
  margin: 5px 10px;
  font-weight: bold;
}

div.chatscreen {
  height: 209px;
  width: 96%;
  overflow: auto;
  margin: auto;
}

span.text {
  display: block;
  margin-left: 5px;
}

.hasnewmessage {
  font-weight: bold;
  color: blue;
}

span.login {
  cursor: pointer;
  display: block;
  text-align:center;
}


.chatlistitem {
  text-align: left;
  color: black;
  margin: auto auto 5px;
  padding: 0px 0px 0px 30px;
  display: block;
  cursor: pointer;
}

.blink {
  text-decoration: blink;
}

div.login{

}

div.loginform{
  background: white;
  width: 100%;
  text-align: center;
  height: auto;
  padding: 10px 0px;
  position: relative;
  bottom: 0px;
}


span.error {
  background: #efb8b8;
  border: 1px solid red;
  color: #770000;
  font-size: 10px;
  width: 99%;
  margin: 4px auto;
}

div.backgr {
   color: white;
   opacity: 0.35;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=35)";
  filter: alpha(opacity=35);
}


button {
  float: left;
}

.login input[type="text"], .login input[type="password"]{
  width: 80%;
}

.login input[type="submit"]{
  width: 50px;
}

.self {
  color: black;
  font-weight: bold;

}

.newmesg{
  background: url('/media/site_images/mesg.png') no-repeat;
}

.sent {
  display: block;
}

.received {
  background: lightgray;
   display: block;
}

.owner{
  background: lightgray;
  padding: 4px 1px;;
  color: black;
  font-size: 12px;
  font-weight:bold;
}

.owner img {
  margin-right: 2px; 
}

.msgstart {
  font-size:6px;
  margin-right: 4px;
}

.close {
 float: right;
 font-size: 10px;
 width: 20px;
 display: block;
 cursor: pointer;
 text-align: center;
}

span.label {
  font-size: 9px;
}
