#sb_main {
	margin: 5px auto 0px auto;
	padding: 3px;
	width: 350px;
/*height: 100px;*/
	/*overflow: hidden;*/
	font: 10px Verdana, tahoma, Arial, sans-serif;
	position: relative;
	border:solid #fff 2px;
	padding-bottom:4px;
	color:#180B18;
}
#sb_online {
	margin-bottom: 5px;
	height: 333px;
	left: 623px;
	top:-2px;
	overflow: auto;
	position: absolute;
    padding: 5px;
}

#sb_online_users li {
list-style-type: none;
font-weight: bold;
}

#sb_online_title {
    background-color: #aaa;
}

#sb_footer {
	margin: 0px auto 10px auto;
	padding: 3px;
	width: 95%;
	border-top: #FFF solid 0px;
	overflow: auto;
	text-align: center;
	font: 10px Verdana, tahoma, Arial, sans-serif;
	position: relative;
}
#sb_wait {
    position: absolute;
    display: none;
    right: 10px;
    width: 10px;
    height: 10px;
    background-image: url(../images/wait.gif);
}

#sb_body {
	margin-bottom: 5px;
	height: 75px;
	overflow: auto;
	clear:both;
	background:#fff;
	padding:0 3px;
	width:344px;
}
/* W tym divie będą różne przyciski, jak history lub lockscroll */
#sb_tools {
    position: absolute;
    right:0px;
    top:-20px;
}
#sb_history, #sb_scroll_locking {
    float:right;
}

.sb_history {
    width: 16px;
    height: 16px;
    background-image: url(../images/history.png);
}
.sb_nohistory {
    width: 16px;
    height: 16px;
    visibility: hidden;
}
.sb_unlocked, .sb_locked {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.sb_unlocked {
    background-image: url(../images/unlocked.png);
}
.sb_locked {
    background-image: url(../images/locked.png);
}


.sb_message {
	margin-bottom: 5px;
}

.sb_input_text {
	font: 10px Verdana, tahoma, Arial, sans-serif;
}

.sb_message_owner {
	margin-bottom: 5px;
	background-color: #DDD;
}

.sb_message_special {
	margin-bottom: 5px;
	background-color: #EEE;
	font: 10px Verdana, tahoma, Arial, sans-serif;
}

.sb_message_special .sb_nick{
	display: none;
}

.sb_message_special div{
		font-style: italic;
}

.sb_message_admin {
	margin-bottom: 5px;
	background-color: #DDD;
}
div.sb_message_admin div{
	background-color: #AAA;
}

.sb_time, .sb_nick {
	float: left;
	margin-right: 5px;
}

.sb_nick {
	font-weight: bold;
}

.sb_text {
	overflow: auto;
	clear:both;
}
.sb_edited, .sb_delete, .sb_history {
    cursor: pointer;
}

.sb_delete {
	float: left;
	width: 12px;
	height:12px;
	background-image: url(../images/delete.png);
}

.sb_message, .sb_message_owner, .sb_message_admin {
	line-height: 16px;
	vertical-align: middle;	
	margin: 2px 0px;
}
.sb_text img {
	vertical-align: middle;
} 
#sb_message, #sb_message.short, #sb_nick {
	padding: 3px;
	margin:-5px;
	float: left;
	width: 270px;
	height: 15px;
	border:none;
	
}
#sb_message{
	margin-top:3px;
	margin-left:0;
	height:14px;
	font-size:10px;
	padding-bottom:2px;
	padding-top:0;
	
	}
#sb_message.short {
	width: 65%;
}
#sb_nick  {
	width: 60px;
	margin-right: 3px;
	margin-top: 3px;
	padding-top:0;
}
/*
#sb_submit {
	float: right;
	background:url(../images/slij.jpg) no-repeat scroll 0 0 transparent;
	display:block;
	height:20px;
	margin-top:22px;
	color:#fff;
	padding:0;
	cursor:pointer;
	border:none;
	width:64px;
	text-indent:-9999px;
	overflow:hidden;
	margin-top: 3px;
}*/
#sb_submit {
cursor:pointer;
font-size:12px;
font-weight:bold;
height:18px;
line-height:20px !important;
text-align:center;
width:70px;
float:right;
-moz-border-radius:3px 3px 3px 3px;
background:none repeat scroll 0 0 #FFFFFF;
border:0 solid #FFFFFF;
color:#40BDFF;
text-decoration:none;
padding:0 0 4px 0;
margin-top:2px;
}
.sb_message a, .sb_message a:link, .sb_message a:visited{
	color:#FF0000 !important;
	}
