/* Высота окна чата */
.lc_area .lc_chat_list_area {
  height: 324px;
}
/* Высота, на 24px меньше от верхней */
.lc_smiles_div {
  height: 300px;
}  

.lc_area {
  border: 1px solid #ddd;
  border-top: none;
  background: #fff;
  position: relative;
  vertical-align: baseline;
}
.lc_bb_modal ul,
.lc_modal ul,
.lc_area ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lc_bb_modal ul li,
.lc_modal ul li,
.lc_area ul li{
  margin: 0;
  display: block;
}
.lc_area .lc_chat_list_area {
  position: relative;
  border-top: 1px solid #ddd;
}
/* timeout */
.lc_chat_timeout {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.lc_shader{
  position:fixed;
  z-index:9998;
}
.lc_chat_timeout_descr {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  font: normal 12px Arial;
  color: #eee;
  text-align: center;
}
a.lc_chat_timeout_imback {
  display: block;
  width: 90px;
  height: 31px;
  line-height: 31px;
  text-decoration: none;
  margin: 7px auto 0;
  border: 1px solid #000;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  color: #f0f0f0;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: inset 0 1px rgba(255,255,255,0.1);
  -webkit-box-shadow: inset 0 1px rgba(255,255,255,0.1);
  box-shadow: inset 0 1px rgba(255,255,255,0.1);
}
a.lc_chat_timeout_imback:hover {
  color: #fff;
  background: #000;
}
.lc_chat_list {
  height: 100%;
  width: 100%;
  overflow: auto;
}
.lc_chat_list a {
  color: #008fd5;
}
.lc_chat_list .lc_nomess {
  height: 31px;
  font: normal 12px/31px Arial;
  color: #333333;
  text-align: center;
  background: #fafafa;
}
.lc_chat_list .lc_chat_li {
  padding: 4px 7px;
  border-bottom: 1px dotted #cccccc;
  font: normal 11px Tahoma;
  color: #444;
  position: relative;
  overflow: hidden;
}
.lc_chat_list .lc_chat_li:hover {
  background: #f7f9ff;
}
.lc_chat_list .lc_chat_li:nth-child(2n) {
  background: #fafafa;
}
.lc_chat_list .lc_chat_li:after {
  clear: both;
  content: "";
  display: table;
}
.lc_chat_list .lc_chat_li.lc_personal {
  background:#F0FDE6;
}
.lc_chat_list .lc_chat_li_foto {
  padding-left: 49px;
}
.lc_chat_list .lc_chat_li_foto_block {
  float: left;
  width: 40px;
  height: 40px;
  overflow: hidden;
  margin-left: -45px;
  text-decoration:none;
}
.lc_chat_list .lc_chat_li_foto_block img {
  width: 100%;
  border: none;
}
.lc_chat_list .lc_chat_li_date {
  position: absolute;
  top: 4px;
  right: 5px;
  color: #999;
}
.lc_chat_list .lc_chat_li_autor {
  font-weight: bold;
  text-decoration: none;
  color: #444;
}
.lc_chat_list .lc_chat_li_autor:hover {
  text-decoration: underline;
  color: #d00;
}
.lc_chat_list .lc_chat_li_text {
  word-wrap: break-word;
  padding: 2px 0;
}
.lc_chat_list .lc_chat_li_text a {
  color: #008fd5;
}
.lc_chat_list .lc_chat_li_text b.lc_member {
  color: #008fd5;
  font-weight: normal;
}
.lc_chat_list .lc_chat_li_text img {
  max-width: 100%;
  max-height: 200px;
  border: none;
  vertical-align: baseline;
}
.lc_chat_list .lc_chat_li_act {
  height: 18px;
  float:right;
  padding:0 0 2px 0;
}
.lc_chat_list .lc_chat_li_act li {
  float: left;
  color: #aaa;
  cursor: pointer;
  padding: 0 0 0 5px;
  font: normal 10px/18px Tahoma;
}
.lc_chat_list .lc_chat_li_act li.lc_act_hidden {
  display:none;
}
.lc_chat_list .lc_chat_li_act li a {
  color: #777;
  text-decoration: none;
}
.lc_chat_list .lc_chat_li_act li:hover, .lc_chat_list .lc_chat_li_act li a:hover {
  color: #008fd5;
}

.lc_chat_list .lc_chat_li .lc_group_1 {
  color: #f14d4d;
}
.lc_chat_list .lc_chat_li .lc_group_2 {
  color: #5b9a68;
}
.lc_chat_list .lc_chat_li .lc_group_3 {
  color: #205cc0;
}
.lc_chat_list .lc_chat_li .lc_group_4 {
  color: #333;
}
.lc_chat_list .lc_chat_li .lc_group_5 {
  color: #777;
}
.lc_textarea{
  
}
.lc_textarea textarea{
  margin:0;
  outline: none;
  display: block;
  width: 100%;
  padding: 4px;
  border: none;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  resize: none;
  font: normal 11px/15px Tahoma;
  color: #333333;
  resize: vertical;
  height:45px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.lc_progress{
  height:2px;
  background:#eee;
}
.lc_progress_bar{
  width:100%;
  height:100%;
  background:#44A0DE;
}
.lc_edit {
  border: 1px solid #cccccc;
  border-bottom: none;
  border-top: none;
}
.lc_edit textarea {
  height: 150px;
}
.lc_loading {
  background-image: url('loading.gif');
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.lc_doregerr {
  text-align: center;
  padding: 7px;
  border-top: 1px solid #cccccc;
}
.lc_doregerr > div {
  padding: 7px;
  background: #f7e7f0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
.lc_buttons {
  height: 25px;
  padding: 7px;
  position: relative;
}
.lc_buttons .lc_symb_left {
  float: left;
  line-height: 25px;
  color: #999;
  font-size: 11px;
}
.lc_buttons a {
  float: right;
  height: 23px;
  font: normal 12px Arial;
  line-height: 23px;
  color: #333333;
  margin-left: 7px;
  text-decoration: none;
}
/*
.lc_buttons a {
  float: right;
  height: 23px;
  font: normal 12px Arial;
  line-height: 23px;
  border: 1px solid #cccccc;
  background: #fafafa;
  color: #333333;
  padding: 0 10px;
  margin-left: 7px;
  text-decoration: none;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
.lc_buttons a:hover {
  background: #428bca;
  border-color: #357ebd;
  color: #fff;
}
*/
.lc_buttons .lc_add {
  border: 1px solid #cccccc;
  background: #fafafa;
  padding: 0 10px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
.lc_buttons .lc_add:hover {
  background: #428bca;
  border-color: #357ebd;
  color: #fff;
}
.lc_buttons a.lc_archive {
  height: 16px;
  margin-top:5px;
}
.lc_buttons a.lc_soundoff {
  height: 16px;
  margin-top:5px;
}
.lc_buttons .lc_admin_settings {
  float: left;
  margin: 4px 5px 0 0;
  cursor: pointer;
}
.lc_buttons .lc_admin_list {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  border: 1px solid #cccccc;
  background: #fafafa;
}
.lc_buttons .lc_admin_list li {
  padding: 5px 10px;
  cursor: pointer;
}
.lc_buttons .lc_admin_list li:hover {
  background: #fff;
  color: #008fd5;
}
.lc_modal {
  z-index:9997;
  position: fixed !important;
  display: none;
  top: 30%;
  left: 50%;
  width: 700px;
  margin-left: -350px;
  background: #fff;
  border: 1px solid #b0b0b0;
  color: #333333;
  -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.lc_modal_header {
  height: 55px;
  border-bottom: 1px solid #e5e5e5;
  font: normal 18px/55px Arial;
  padding: 0 15px;
  cursor: move;
  position: relative;
}
a.lc_modal_header_close {
  position: absolute;
  height: 19px;
  width: 19px;
  top: 18px;
  right: 18px;
  text-align: center;
  font: bold 12px/19px Verdana;
  color: #333333;
  text-decoration: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.lc_modal_header_close:hover {
  border: 1px solid #eee;
  line-height: 17px;
  height: 17px;
  width: 17px;
}
.lc_modal_content {
  padding: 20px;
  max-height: 270px;
  overflow: auto;
}
.lc_modal_content a {
  color: #008fd5;
}
.lc_modal_buttons {
  height: 34px;
  border-top: 1px solid #e5e5e5;
  padding: 20px;
}
.lc_modal_buttons a {
  display:none;
  float: right;
  height: 32px;
  font: normal 12px Arial;
  line-height: 32px;
  border: 1px solid #cccccc;
  background: #ffffff;
  color: #333333;
  padding: 0 15px;
  margin-left: 10px;
  text-decoration: none;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.lc_modal_buttons a:hover {
  background: #428bca;
  border-color: #357ebd;
  color: #fff;
}
.lc_modal_buttons a.lc_modal_button_hide {
  display: none;
}
.lc_modal_buttons a.lc_modal_truncate{
  display: none;
}
.lc_chat_color_ins{
  text-indent:-10000px;
}
.lc_bb_modal {
  z-index: 9997;
  position: fixed !important;
  display: none;
  top: 30%;
  left: 50%;
  width: 700px;
  margin-left: -350px;
  background: #fff;
  border: 1px solid #b0b0b0;
  color: #333333;
  -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  width: 540px;
  margin-left: -270px;
}
.lc_bb_modal_header {
  height: 55px;
  border-bottom: 1px solid #e5e5e5;
  font: normal 18px/55px Arial;
  padding: 0 15px;
  cursor: move;
  position: relative;
}
.lc_bb_modal_header_close {
  position: absolute;
  height: 19px;
  width: 19px;
  top: 18px;
  right: 18px;
  text-align: center;
  font: bold 12px/19px Verdana;
  color: #333333;
  text-decoration: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.lc_bb_modal_header_close:hover {
  border: 1px solid #eee;
  line-height: 17px;
  height: 17px;
  width: 17px;
}
.lc_bb_modal_content {
  padding: 20px;
  max-height: 270px;
  overflow: hidden;
}
.lc_bb_modal_content a {
  color: #008fd5;
}
.lc_bb_modal_buttons {
  height: 34px;
  border-top: 1px solid #e5e5e5;
  padding: 20px;
}
.lc_bb_modal_buttons a {
  float: right;
  height: 32px;
  font: normal 12px Arial;
  line-height: 32px;
  border: 1px solid #cccccc;
  background: #ffffff;
  color: #333333;
  padding: 0 15px;
  margin-left: 10px;
  text-decoration: none;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.lc_bb_modal_buttons a:hover {
  background: #428bca;
  border-color: #357ebd;
  color: #fff;
  text-decoration: none;
}
.lc_bb_modal_buttons a.lc_modal_button_hide {
  display: none;
}
ul.lc_bb_modal_content {
  padding: 10px;
}
ul.lc_bb_modal_content li {
  padding: 7px 0 7px 200px;
  height: 21px;
}
ul.lc_bb_modal_content li span {
  float: left;
  margin-left: -200px;
  line-height: 21px;
}
ul.lc_bb_modal_content li input {
  width: 300px;
  height: 19px;
  border: 1px solid #eee;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.lc_bb_modal_buttons {
  padding: 10px;
  border-top: 1px solid #e5e5e5;
  height: 27px;
}
.lc_bb_modal_buttons a {
  float: right;
  height: 25px;
  font: normal 12px Arial;
  line-height: 25px;
  border: 1px solid #cccccc;
  background: #ffffff;
  color: #333333;
  padding: 0 15px;
  margin-left: 10px;
  text-decoration: none;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.lc_bb_modal_buttons a:hover {
  background: #428bca;
  border-color: #357ebd;
  color: #fff;
}
.lc_navigation {
  padding: 10px 0 15px;
}
.lc_navigation:after {
  clear: both;
  content: "";
  display: table;
}
.lc_navigation * {
  height: 23px;
  font: bold 12px/23px Arial;
  color: #777;
  float: left;
  border: 1px solid #cccccc;
  padding: 0 5px;
  margin: 5px 5px 0 0;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.lc_navigation a {
  color: #008fd5;
  text-decoration: none;
}
.lc_navigation a:hover {
  border-color: #008fd5;
}
.lc_navigation span {
  border-color: #eee;
}
.lc_video_trigger{
  cursor:pointer;
  display:block;
  margin:2px 0;
  border:3px solid #44a0de;
  -moz-border-radius:3px;
  -webkit-border-radius:3px;
  border-radius:3px;
  position:relative;
  width:120px;
  height:90px;
}
.lc_video_trigger:hover{
  border-color:#ed4e1e;
}
.lc_video_trigger:after{
  display:block;
  content:" ";
  position:absolute;
  top:0;
  left:0;
  background:url('video-play.png') no-repeat 50% 50%;
  width:100%;
  height:100%;
}

.lc_video_trigger img{
  display:block;
  width:100%;
  height:100%;
}

.lc_video_frame{
  z-index:9999;
  position:fixed;
  top:50px;
  left:50%;
  padding:23px 5px 5px 5px;
  background:#fff;
  margin-left:-430px;
  border:1px solid #ccc;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
  -moz-box-shadow:0 2px 6px rgba(0,0,0,0.2);
  -webkit-box-shadow:0 2px 6px rgba(0,0,0,0.2);
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
}
.lc_video_frame a{
  position: absolute;
  top: 0;
  right: 10px;
  height: 22px;
  color: #008FD5;
  font: 11px/22px "Tahoma";
  text-decoration: none;
}
.lc_video_frame a:hover{
  color: #000;
}
.lc_video_frame iframe{
  display:block;
}
#lc_img_preview {
  max-width: 100%;
  max-height: 100%;
  display: block;
  background: #fff;
  padding: 3px;
  position: fixed !important;
  cursor: move;
  z-index: 9999;
  top: 100px;
  left: 50%;
  border: 1px solid #cccccc;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 2px 3px 10px rgba(0,0,0,0.4);
  -webkit-box-shadow: 2px 3px 10px rgba(0,0,0,0.4);
  box-shadow: 2px 3px 10px rgba(0,0,0,0.4);
}
/* Окошки выбора смайлов и цвета текста */
.lc_modal_colors,
.lc_modal_smiles {
  display: none;
  left: 0;
  position: absolute;
  background: #fff;
}
.lc_modal_colors .lc_smile_close,
.lc_modal_smiles .lc_smile_close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 5px;
  font: normal 11px/20px Tahoma;
  color: #008fd5;
  text-decoration: none;
}
.lc_modal_colors .lc_smile_close:hover,
.lc_modal_smiles .lc_smile_close:hover {
  color: #333333;
}
.lc_modal_colors {
  bottom: 0;
  width: 224px;
  height: 200px;
  -moz-box-shadow: 1px -1px 3px rgba(0,0,0,0.25);
  -webkit-box-shadow: 1px -1px 3px rgba(0,0,0,0.25);
  box-shadow: 1px -1px 3px rgba(0,0,0,0.25);
}
.lc_modal_smiles {
  width: 100%;
  height: 100%;
  top: 0;
}
.lc_smiles_div {
  width: 100%;
  top: 24px;
}
.lc_smiles_groups {
  width: 100%;
  height: 23px;
  background: #f5f5f5;
  border-bottom: 1px solid #cccccc;
}
.lc_smiles_groups li {
  height: 23px;
  font: normal 12px/23px Arial;
  color: #333333;
  background: #fafafa;
  float: left;
  width: 30px;
  text-align: center;
  border-right: 1px solid #ddd;
  cursor: pointer;
}
.lc_smiles_groups li.lc_smiles_current {
  border-color: #cccccc;
  background: #fff;
  height: 24px;
  cursor: default;
}
ul.lc_smiles_ul{
  display: none;
  height: 100%;
  overflow: auto;
  clear: both;
}
ul.lc_smiles_ul.lc_smiles_current {
  display: block;
}
ul.lc_smiles_ul:after {
  clear: both;
  content: "";
  display: table;
}
ul.lc_smiles_ul li {
  float: left;
  text-align: center;
  padding: 5px;
}
ul.lc_smiles_ul li:hover {
  -moz-box-shadow: inset 0 0 4px #fc0;
  -webkit-box-shadow: inset 0 0 4px #fc0;
  box-shadow: inset 0 0 4px #fc0;
}
ul.lc_smiles_ul li img {
  cursor: pointer;
  display: inline-block;
}
ul.lc_smiles_ul_1 li {
  width: 40px;
  height: 40px;
}
ul.lc_smiles_ul_2 li {
  width: 32px;
  height: 32px;
}
ul.lc_smiles_ul_3 li {
  height: 42px;
}
ul.lc_smiles_ul_4 li {
  height: 75px;
  padding:5px 10px;
}
ul.lc_color_list {
  border: 1px solid #cccccc;
  width: 192px;
  bottom: 15px;
  left: 15px;
  position: absolute;
}
ul.lc_color_list:after {
  clear: both;
  content: "";
  display: table;
}
ul.lc_color_list li {
  width: 14px;
  height: 14px;
  float: left;
  border: 1px solid #cccccc;
  cursor: pointer;
}
ul.lc_color_list li:hover {
  border-color: #000;
}
/* Настройки */
.lc_setting_list li {
  padding: 5px 0 5px 500px;
  border-bottom: 1px solid #eee;
  color: #444;
}
.lc_setting_list li:hover {
  background: #fafafa;
}
.lc_setting_list li:after {
  clear: both;
  content: "";
  display: table;
}
.lc_setting_list li div {
  float: left;
  margin-left: -495px;
  width: 480px;
}
.lc_setting_list li div b {
  display: block;
  padding-bottom: 3px;
}
.lc_setting_list li div span {
  font-size: 11px;
}
.lc_setting_list .lc_set_select,
.lc_setting_list .lc_set_input {
  border: 1px solid #cccccc;
  height: 27px;
  padding: 0 5px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.lc_setting_list .lc_set_input {
  width: 120px;
}
.lc_setting_list .lc_set_select {
  width: 70px;
}
.lc_setting_list textarea.lc_set_input {
  padding: 5px;
  height: 90px;
  font: normal 11px/15px Arial;
}
/* Список бани */
.lc_banned_list li {
  line-height: 29px;
  padding-bottom: 5px;
}
.lc_banned_list li:after {
  clear: both;
  content: "";
  display: table;
}
.lc_banned_list input {
  border: 1px solid #cccccc;
  height: 27px;
  padding: 0 5px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  width: 70px;
  width: 300px;
  float: right;
  margin-left: 5px;
}
.lc_banned_list input.lc_ban_date {
  width: 150px;
}
.lc_banned_list input.lc_unban {
  width: 16px;
  height: 16px;
  color: #666;
  padding: 0;
  margin-top: 5px;
}
a.lc_archive_id{
  color:#008FD5;
}
a.lc_archive_id:hover{
  color: #000;
}
.lc_archive_pages{
  border-top:1px dotted #eee;
}
.lc_archive_pages li{
  padding:0 10px;
  height:29px;
  border-bottom:1px dotted #eee;
  font:normal 11px/29px Arial;
  color:#666;
  position:relative;
}
.lc_archive_pages li:hover{
  background:#fafafa;
}
.lc_archive_pages li a{
  font-size:13px;
  font-weight:bold;
  color:#0d94d8;
  text-decoration:none;
}
.lc_archive_pages li a:hover{
  color:#000;
}
.lc_archive_pages li span{
  float:right;
  color:#999;
}
.lc_icon{
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('icons.png') no-repeat;
  opacity: 0.8;
}
.lc_icon:hover{
  opacity: 1;
}
.lc_icon_admin{
  background-position: 0 0;
}
.lc_icon_archive{
  background-position: -16px 0;
}
.lc_icon_sound{
  background-position: -32px 0;
}
.lc_icon_soundoff{
  background-position: -48px 0;
}