* {
	margin: 0px;
	padding: 0px;
}

*:focus {
	outline: none;
}


#sb_main {
	
	padding: 3px;
	width: 494px;
	height: 320px;
	border: #000 solid 1px;
	overflow: visible;
	font: 10px Verdana, tahoma, Arial, sans-serif;
	position: relative;
}
.sb_online {
	margin-bottom: 5px;
	height: 333px;
	width: 120px;
	left: 523px;
	top:-2px;
	overflow: auto;
	position: absolute;
    border: #000 solid 1px;
    padding: 5px;
}

.sb_online_users li {
list-style-type: none;
font-weight: bold;
}

.sb_online_title {
    background-color: #aaa;
}

#sb_footer {
	padding: 3px;
	width: 494px;
	border: #000 solid 1px;
	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_bbcode {
	margin: 20px 0 0 0;
	padding: 3px;
	width: 494px;
	border: #000 solid 1px;
	overflow: auto;
	text-align: left;
	font: 10px Verdana, tahoma, Arial, sans-serif;
}
#sb_bbcode p {
	text-align: center;
}

#sb_expl {
	margin: 20px auto;
	padding: 3px;
	width: 494px;
	border: #000 solid 1px;
	overflow: auto;
	text-align: center;
	font: 10px Verdana, tahoma, Arial, sans-serif;
}

#sb_body {
	margin-bottom: 5px;
	height: 275px;
	border-bottom: #000 solid 1px;
	overflow: auto;
}
/* W tym divie będą różne przyciski, jak history lub lockscroll */
.sb_tools {
    position: absolute;
    right:-20px;
    top:-5px;
}
.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_m {
	margin-bottom: 5px;
}

.sb_input_text {
	font: 10px Verdana, tahoma, Arial, sans-serif;
}

.sb_m_o {
	margin-bottom: 5px;
	background-color: #DDD;
}

.sb_m_s {
	margin-bottom: 5px;
	background-color: #EEE;
	font: 10px Verdana, tahoma, Arial, sans-serif;
}

.sb_m_s .sb_n{
	display: none;
}

.sb_m_s div{
		font-style: italic;
}

.sb_m_a {
	margin-bottom: 5px;
	background-color: #DDD;
}
div.sb_m_a div{
	background-color: #AAA;
}

.sb_t, .sb_n {
	float: left;
	margin-right: 5px;
}

.sb_n {
	font-weight: bold;
}

.sb_tt {
	overflow: auto;
}
.sb_e, .sb_d, .sb_history {
    cursor: pointer;
}

.sb_d {
	float: left;
	width: 12px;
	height:12px;
	background-image: url(../images/delete.png);
}

.sb_m, .sb_m_o, .sb_m_a {
	line-height: 16px;
	vertical-align: middle;	
	margin: 2px 0px;
}
.sb_tt img {
	vertical-align: middle;
} 
#sb_message, #sb_message.short, #sb_nick {
	padding: 3px;
	float: left;
	width: 429px;
	height: 22px;
	border: #000 solid 1px;
}
#sb_message.short {
	width: 354px;
}
#sb_nick  {
	width: 60px;
	margin-right: 3px;
}

#sb_submit {
	float: right;
	width: 52px;
	height: 23px;
	border: #000 solid 1px;
	font: bold 10px Verdana, tahoma, Arial, sans-serif;
}
