/* ==========================================================================
   Bbcode-editor
   ========================================================================== */
 @font-face {
  font-family: 'fontello';
  src: url('../bbcodes/fontello.eot');
  src: url('../bbcodes/fontello.eot#iefix') format('embedded-opentype'),
       url('../bbcodes/fontello.woff') format('woff'),
       url('../bbcodes/fontello.ttf') format('truetype'),
       url('../bbcodes/fontello.svg#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg#fontello') format('svg');
  }
}
*/
 
.bb-btn:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
	font-size:16px;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right:1px;
  margin-left: 1px;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
	vertical-align:middle;
	padding:3px 2px;
}
 
#b_yt:before { content: '\e813'; }
#b_pl:before { content: '\e808'; }
#b_br:before { content: '\e820'; }
#b_b:before { content: '\e801'; }
#b_i:before { content: '\e802'; }
#b_u:before { content: '\e806'; }
#b_s:before { content: '\e805'; }
#b_img:before { content: '\e809'; }
#b_up:before { content: '\e804'; }
#b_emo:before { content: '\e800'; }
#b_url:before { content: '\e81d'; }
#b_leech:before { content: '\e81c'; }
#b_mail:before { content: '\e821'; }
#b_video:before { content: '\e81f'; }
#b_audio:before { content: '\e810'; }
#b_quote:before { content: '\e812'; }
#b_hide:before { content: '\e816'; }
#b_code:before { content: '\e807'; }
#b_left:before { content: '\e80b'; }
#b_center:before { content: '\e80d'; }
#b_right:before { content: '\e80c'; }
#b_list:before { content: '\e80e'; }
#b_ol:before { content: '\e80f'; }
#b_color:before { content: '\e811'; }
#b_spoiler:before { content: '\e817'; }
#b_fla:before { content: '\e819'; }
#b_tf:before, #b_tnl:before { content: '\e822'; }



.bb-pane {height:1%;overflow:hidden;border:1px solid #BBB;border-bottom:0;padding:10px 5px;font-size:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.9);
background:#eaeaea;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlYWVhZWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #ffffff 0%, #eaeaea 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eaeaea));
background: -webkit-linear-gradient(top,  #ffffff 0%,#eaeaea 100%);
background: -o-linear-gradient(top,  #ffffff 0%,#eaeaea 100%);
background: -ms-linear-gradient(top,  #ffffff 0%,#eaeaea 100%);
background: linear-gradient(to bottom,  #ffffff 0%,#eaeaea 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
}

.bb-btn, .bb-sep {line-height:16px;display:inline-block;font-size:0;color:#520520;transition:all 0.3s ease;}

.bb-btn {border:1px solid transparent;cursor:pointer;border-radius:3px;}
.bb-btn:hover {color:#F9F5EA;text-shadow:1px 1px 0 rgba(0,0,0,.5);background:#520520;}
.bb-btn:active {box-shadow:inset 0 0 3px rgba(0,0,0,.3);}

.bb-sep {width:1px;height:10px;background:#ccc;box-shadow:1px 0 0 #fff;margin:0 4px;vertical-align:middle;}
.bb-sep:last-child {display:none;}


.bb-sel {float:left;padding:4px 2px 0 2px;}
.bb-sel select {font-size:11px;min-width:inherit !important;}
#b_font {width:118px;}
#b_size {width:65px;}
#b_font select, #b_size select {padding:0}

.bb-editor textarea {-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:2px;border:1px solid #bcc0c2;width:100%;background:#f9f5ea;resize:vertical;min-height:50px;font-size: 14px;}
.editorcomm .bb-editor, #pm .bb-editor {width:100%;margin-bottom:5px;}
.editorcomm .bb-editor textarea {height:156px}
.bb-pane .clr {clear:both;height:5px;width:100%;font-size:0;}




 .bb-btn {   
  cursor: pointer; 
}
 
.bb-editor .tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  visibility: visible;
  padding: 5px;
  font-size: 14px;
  opacity: 0;
  filter: alpha(opacity=0);
  background-color: #b47663; /*#fb9677*/
  font-weight: normal !important;
}
.bb-editor .tooltip.in {
  opacity: 1;
  filter: alpha(opacity=80);
}
.bb-editor .tooltip-inner {
font-size: 14px;
  max-width: 280px;
  padding: 3px 8px;
  color: #520520;
  text-align: center;
  text-decoration: none;
  background-color: #f0e8de;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.bb-editor .tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.bb-editor .tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}
 