    /*
     * Стили для формы textarea
     */

.BoxButtom { 
background: -o-linear-gradient(top, #F6F6F6, #D4D4D4) #F6F6F6;
border-bottom: 1px solid #CCCCCC;
border-left: 1px solid #CCCCCC;
border-right: 1px solid #CCCCCC;
border-top: medium none currentColor;
overflow: hidden;
text-align: right;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.298);
}


.border_message
{
border: 1px solid #CCCCCC;
}




ol.bbcodes, ol.bbcodes{
overflow:hidden;
margin:0;
padding:0;
height:31px;
border-bottom:1px solid #BBBBBB;
background:url(/template/bbcode/bg_0.gif) repeat-x

}
ol.bbcodes {border-bottom:1px solid #BBBBBB!important}
ol.bbcodes {border-bottom:none}
ol.bbcodes li, ol.bbcodes_text li {
background: #f6f6f6;
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#d4d4d4));
background: -webkit-linear-gradient(#f6f6f6, #d4d4d4);
background-image:-o-linear-gradient(top, #f6f6f6, #d4d4d4);
background-image:-moz-linear-gradient(top, #f6f6f6, #d4d4d4);
background-image:-moz-gradient(top, #f6f6f6, #d4d4d4);
-webkit-border-radius:3px;
-khtml-border-radius:3px;
border-radius:3px;
cursor:defaolt;
float: left;
display:block;
height:20px;
width:20px;
background-color:#E9E8E8;
border-color:#B2B2B2;
border-style:solid;
border-width:1px;
margin:4px 0 4px 4px
}
.bbcodes li.separator {width:auto!important}
ol.bbcodes li:hover, ol.bbcodes_text li:hover {
border-color:#777;
-webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 6px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
-moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 6px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 6px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4)}
#colorSelector {
	height:24px;
	position:relative;
	background:url(icons.png) left no-repeat;
	background-position:-759px 2px!important;
	cursor:pointer
}
.bbcodes_text li span, .bbcodes li span {background:url(/template/bbcode/icons.png) left no-repeat;display:block;height:20px!important;cursor:pointer;width:20px!important}
.bbcodes li #b_i {background-position:-60px 0!important}
.bbcodes li #b_u {background-position:-141px 0!important}
.bbcodes li #b_doc {background-position:-280px 0!important}
.bbcodes li #b_s {background-position:-120px 0!important}
.bbcodes li #b_emo {background-position:-60px -20px!important}
.bbcodes li #b_tag_url {background-position:-500px 0!important}
.bbcodes li #b_img {background-position:-380px 0px!important;width:22px!important}
.bbcodes li #b_tag_leech {background-position:bottom right!important}
.bbcodes li #b_tag_email {background-position:-900px -20px!important}
.bbcodes li #b_tag_video {background-position:-320px -20px!important}
.bbcodes li #b_tag_audio {background-position:-714px -40px!important}
.bbcodes li #b_hide {background-position:-822px -40px!important;width:22px!important}
.bbcodes li.b_hide {width:24px!important}
.bbcodes li #b_quote {background-position:-920px -21px!important}
.bbcodes li #b_code {background-position:-846px -40px!important;width:22px!important}
.bbcodes li #b_left {background-position:-460px 0!important}
.bbcodes li #b_center {background-position:-420px 0!important}
.bbcodes li #b_right {background-position:-480px 0!important}
.bbcodes li #b_color {background-position:-760px 1px!important}
.bbcodes li #b_spoiler {background-position:-915px -40px!important}
.bbcodes li #b_youtube {width:21px!important;background-position:-893px -40px!important}
.bbcodes li #b_small{width:15px!important;background-position:-562px -20px!important}
.bbcodes li #b_list {background-position:-80px 0!important}
.bbcodes li #b_ol {background-position:-20px 0!important}
li.bbfont {width:134px!important;line-height:11px !important}
li.bbsize {line-height:11px !important;width:120px !important}
li.bbsize select, li.bbfont select {background:none !important;padding:1px;border:none}
#b_upload {background-position:-960px -40px !important}
.bbcodes_text li.bbfont select, .bbcodes_text li.bbsize select {background:none;border:none;}
.colorpicker_hex.colorpicker_focus, .colorpicker_submit.colorpicker_focus, .colorpicker_slider {background-position:bottom}
.bbcodes li #b_b, .bbcodes li #b_closeall, .bbcodes li #b_flash {background-position:0 0!important}
.bbcodes li.b_code, .bbcodes li.b_youtube {width:23px!important}