/* CSS Document */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-left:0;
  padding-right:0;
}


.clear {
  clear:both;
  height:0px;
  overflow:hidden;
}

.top_bg {
  position: absolute;
  z-index: -1;
  width: 100%;
  height:493px;
  background: url(../images/top_bg.jpg) repeat-x top;
}

.page {  
  min-height:100%;
  max-width:1000px;
  margin: 0 auto;
}

.top_block {
  position:relative;
  zoom:1;
}

.top-banner {
  text-align:center;
  padding-bottom: 15px;
}

.logo {
  padding-top:36px;
  padding-bottom: 36px;
  float:left;
}

@media (max-width: 768px) {
  .logo {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left:5px;
    text-align: center;
  }
}

@media (max-width: 1000px) {
  .navbar-default {
    margin-top: -43px;
    float: right;
  }
}

.login_block {
  padding-top:28px;
  color:#fff;
}

.login_block form {
  display: block;
  width:200px;
  float:right;
}

.login_block .logged {
	text-align:right;
	font-size:10pt;
	padding-right:5px;	
}

.login_block .field {
  width:164px;
  float:left;
  margin-bottom:3px;
}

.login_block .field input {
  width:164px;
  color:#969696;
  font-family:"Arial";
  font-size:9pt;
  background:url(../images/field.jpg) repeat-x top #fff;
  padding:0 6px;
  height:20px;
  border:1px #a8acad solid;
  outline:none;
  border-radius: 0;
} 



.login_block .button {
  margin-left:164px;
  text-align:right;
  padding-top:11px;
}

.login_block .button p {
  padding-right:3px;
}

.login_block  .reg_line {
  padding-top:4px;
  color:#fff;
  font-size:10pt;
}

.login_block a {
  color:#fff;
  text-decoration:underline;
}

.login_block  a:hover {
  color:#fff;
  text-decoration:none;
}

.top_menu {
  height:36px;
}

.top_menu.blue {
  border-top:1px #2e5e77 solid;
  border-left:1px #2e5e77 solid;
  border-right:1px #2e5e77 solid;
  background:url(../images/top_menu_blue.jpg) repeat-x top;
}

.top_menu ul {
  display:block;
  margin:0;
  padding:0;
  font-size:0;
  margin-left:1px;
  height:35px;
}

.top_menu ul li {
  display:block;
  float:left;
  font-size:9pt;
  font-weight:bold;
  height:35px;
  background: url(../images/blue-menu-sep.png) no-repeat right center;
  padding-right:1px;
}

.top_menu ul li a {
  color:#f0f0f0;
  text-transform:uppercase;
  text-decoration:none;
  display:block;
  display:table-row;
  height:35px;
}

.top_menu ul li a:hover {
  color:#0f394f;
  text-decoration:none;
  background:#f1f6f8;
}

.top_menu ul li a span {
  display:table-cell;
  height:35px;
  vertical-align: middle;
  padding:0 6px;
}

.top_menu.red {
  border-left:1px #d9004d solid;
  border-right:1px #d9004d solid;  
  background:url(../images/top_menu_red.jpg) repeat-x top;
}

.top_menu.red ul {
  padding-top:0px;
  padding-bottom:0;
}

.top_menu.red ul li {
  text-align:center;
  font-size:8pt;
  background: url(../images/red-menu-sep.png) no-repeat right center;
}

.top_menu.red>ul>li:last-child {
  background: none;
}

.top_menu.red ul li:hover {
	/*background:#0f394f;*/		
}

.top_menu.red ul li a {
    color: #FFFFFF;
    text-transform: none;
}

.top_menu.red ul li a:hover {
  /*background:#0f394f;
  color:#fff;*/
  color:#0f394f;
}

.top_menu.red ul li ul {
    display: none;
    margin: 0;
    position: absolute;
	z-index:9999;
    margin-left:-1px;
}

.top_menu.red ul li:hover ul {
	display:block;	
	height:auto;
}



.top_menu.red ul li ul li {
    background: none repeat scroll 0 0 #D9004D;
    border: 0 none;
    display: block;
    height: 22px;
    line-height: 22px;
    text-align: left;
  float:none;
}

.top_menu.red ul li ul li a {
    display: block;
    height: 22px;
    line-height: 22px;
    padding:0 5px;
}

@media (max-width: 1000px) {

  #navbarCollapse {
    width: 300px;
    position: absolute;
    left: -254px;
    top: 45px;
    z-index: 9999;
    background: #D9004D;
    height: auto;
  }

  #navbarCollapse ul {
    height: auto;
  }

  #navbarCollapse ul li {
    float: none;
    height: auto;
    font-size: 10pt;
  }

  #navbarCollapse ul li a {
    height: auto;
    padding: 2px 10px;
    display: block;
  }

  #navbarCollapse ul li a span {
    height: auto;
    padding: 0;
  }

  #navbarCollapse ul li br {
    display: none;
  }

  #navbarCollapse ul li ul {
    display: block;
    position: relative;
    margin-left: 10px;
  }

  #navbarCollapse ul li ul li {
    font-size: 8pt;
  }

  #navbarCollapse ul li ul li a {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.slide_block {
  background:#081e29;
}

.slide_block .block_title {
  position:absolute;
  left:-5px;
  top:18px;
  background:#ffcd3c;
  box-shadow:4px 4px 0px rgba(0,0,0,0.3);
  color:#373737;
  padding:5px 21px;
  font-size:14pt;
  z-index:999;
}

.slide_block .wrp {
  margin:0 5px;
}

.slide_block .left {
  border-right:1px #6e8089 dotted;
  position:relative;
  margin-bottom:5px;
}

@media (max-width: 768px) {
  .slide_block .left {
    border-right:none;
  }
}

.slide_block .slider-box {
  margin-right:5px;
}

.slide_block .left .item {
	position:absolute;
	width:495px;
	height:275px;	
	background:#081e29; 
	overflow:hidden;
}

.slide_block .left .img {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
}

.slide_block .left .img img {
	min-width:495px;
	min-height:275px;	
}

@media (max-width: 768px) {
  .slide_block .left .img img {
    width:100%;
  }
}

.slide_block .left .gray-box {
  position:absolute;
  left:0;
  bottom:0;
  background:rgba(0,0,0,0.6);
  padding: 17px 8px;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#90000000,endColorstr=#60000000);
}

.slide_block .left .gray-box .title {
  color:#fff;
  font-size:14pt;
  margin-bottom:0;
}

.slide_block .left .gray-box .title a {
	  color:#fff;
	  text-decoration:none;	
}

.slide_block .left .gray-box .title a:hover {
	  color:#fff;
	  text-decoration:underline;	
}

.slide_block .left .gray-box .info {
  color:#fff;
  font-size:9pt;
  margin-bottom:2px;
}

.slide_block .left .gray-box .info span {
  margin:0 3px;
}

.slide_block .left .gray-box .info span:first-child {
  margin-left:0;
}

.slide_block .left .gray-box .info a {
  color:#fff;
  text-decoration:underline;
}

.slide_block .left .gray-box .info a:hover {
  color:#fff;
  text-decoration:none;
}

.slide_block .right {
  padding-left:5px;
  margin-bottom:5px;
}

.slide_block .right .item {
  background:#0c3449;
  height:51px;
  margin-bottom:5px;
  cursor:pointer;
}

.slide_block .right .item:last-child {
  margin-bottom:0;
}

.slide_block .right .img {
  width:51px;
  float:left;
}

.slide_block .right .img img {
	width:51px;	
}

.slide_block .right .r_side {
  margin-left: 52px;
  height: 51px;
  padding-left: 10px;
}

.slide_block .right .item:hover .r_side {
  background:#094463;
}

.slide_block .right .item_active .r_side {
  background:#0a618f;
}

.slide_block .right .title {
  color:#f3f3f3;
  font-size:12pt;
  margin-bottom:4px;
  padding-top:4px;
}

.slide_block .right .info {
  color:#f3f3f3;
  font-size:9pt;
}

.slide_block .right .info a {
  color:#f3f3f3;
  text-decoration:underline;
}

.slide_block .right .info a:hover {
  color:#f3f3f3;
  text-decoration:none;
}

.slide_block .right .info span {
  margin:0 3px;
}

.slide_block .right .info span:first-child {
  margin-left:0;
}

.slide_block .right .author img {
  vertical-align:top;
}

.main_block {
  background:url(../images/left-bg.png) repeat-y right top #fff;
  position:relative;
  zoom:1;
  padding-bottom:10px;
}

@media (max-width: 992px) {
  .main_block {
    background:#fff;
    background-image: none;
  }
}

.shadow-left {
  position:absolute;
  height:100%;
  width:25px;
  background:url(../images/shadow-left.png) repeat-y left;
  left:-25px;
}

.shadow-right {
  position:absolute;
  height:100%;
  width:25px;
  background:url(../images/shadow-right.png) repeat-y left;
  right:-25px;
}


.main_block .left_side {

}

.main_block .left_side .wrp {
  padding-top:10px;
}

.h_line {
  height:14px;
}

.orders {
  font-size:9pt;
  line-height:32px;
  margin-left:10px;
  display:block;
  height:34px;
  float:left;
}

.orders span {
  padding:1px 4px;
  padding-right:22px;
  background:url(../images/order.png) no-repeat right center;
  margin-right:8px;
}

.orders span.active {
  background-color:#d9edef;
}

.main_block .top_row {
/*  border-bottom:1px #d9edef solid;
*/
}

.content {
  margin-left:1px;
  padding-bottom:8px;
}

.category_list {
  padding-top:1px;
  margin-bottom:10px;
}

.category_list .item {
  border:1px solid #FFFFFF;
  border-bottom:1px dotted #b9b9b9;
}

.category_list .item:hover {
  border:1px solid #d0d3d5;
}
.category_list .item .top {
  padding-left: 7px;
  padding-top: 2px;
  padding-bottom: 4px;
  background-image: url(../images/bg_1.png);
  background-repeat: repeat-x;
  background-position: bottom;
  border-bottom:1px #fff solid;
}

.category_list .item .top .comment-icon {
  width:62px;
  height:46px;
  background:url(../images/comments.png) no-repeat center;
  float:right;
  margin-top:-2px;
}
.category_list .item .bottom {
  background-color: #f5f5f5;
  background-image: url(../images/bg_2.png);
  background-position: top;
  background-repeat: repeat-x;
  padding: 7px;
}
.category_list .item .bottom:hover {
  background-color: #ededed;
}

.category_list .item .img {
  width:80px;
  height:80px;
  overflow:hidden;
  float:left;
}

.category_list .item .img img {
  width:80px;
  height:80px;
}

.category_list .item .intro {
  margin-left:87px;
  margin-right:5px;
}

.category_list .item .title {
  font-family:"Arial", "Helvetica", "sans-serif";
  font-size:18px;
  color:#fff;
  text-shadow: 2px 2px 3px #606060;
}

.category_list .item .title a {
  text-decoration:none;
  color:#fff;
}
.category_list .item .title a:link {
  text-decoration:none;
  color:#fff;
}
.category_list .item .title a:hover {
  text-decoration:underline;
  color:#fff;
}

.category_list .item:hover .title { 
  text-decoration:underline;
}

.category_list .item .info {
  font-family:"Arial", "Helvetica", "sans-serif";
  font-size:11px;
  color:#fff;
}

.category_list .item .info a {
  color:#fff;
  text-decoration:none;
}

.category_list .item .info a:hover {
  color:#fff;
  text-decoration:underline;
}

.category_list .item .info span {
  margin:0 3px;
}

.category_list .item .info span:first-child {
  margin-left:0;
}

.category_list .item .text {
  font-size:10pt;
}

.category_list .item .text a {
	color:#202020;
	text-decoration:none;	
}

.category_list .item .text a:hover {
	color:#202020;
	text-decoration:underline;	
}

.category_list .list_sep {
  height: 20px;
  background: url(../images/bg_6.png) no-repeat center top;
  background-repeat: no-repeat;
}

.Kompyutery-i-internet {
  background-color:#4194ea;
}
.Kompyutery-i-internet:hover {
  background-color:#3585d8;
}
.Eda-i-napitki {
  background-color:#f0c037;
}
.Eda-i-napitki:hover {
  background-color:#e8ba35;
}
.Tehnika {
  background-color:#8fb6d2;
}
.Tehnika:hover {
  background-color:#75a1c1;
}
.Interer {
  background-color:#ae8976;
}
.Interer:hover {
  background-color:#a07d6b;
}
.Lyubov-i-otnosheniya {
  background-color:#f76a80;
}
.Lyubov-i-otnosheniya:hover {
  background-color:#ea5a70;
}
.Beremennost-i-deti {
  background-color:#ffa098;
}
.Beremennost-i-deti:hover {
  background-color:#fe8d83;
}
.Rasteniya-i-zhivotnye {
  background-color:#60bb08;
}
.Rasteniya-i-zhivotnye:hover {
  background-color:#59ad07;
}
.Krasota-i-zdorove {
  background-color:#80d82f;
}
.Krasota-i-zdorove:hover {
  background-color:#7acc2e;
}
.Moda-i-stil {
  background-color:#e94c4c;
}
.Moda-i-stil:hover {
  background-color:#de4242;
}
.Biznes-i-rabota {
  background-color:#757573;
}
.Biznes-i-rabota:hover {
  background-color:#6a6a69;
}
.Prazdniki {
  background-color:#f6d735;
}
.Prazdniki:hover {
  background-color:#eacf44;
}
.Raznoe {
  background-color:#a4a4a4;
}
.Raznoe:hover {
  background-color:#969696;
}
.Hobbi-i-razvlecheniya {
  background-color:#a961c0;
}
.Hobbi-i-razvlecheniya:hover {
  background-color:#9c56b3;
}
.Gadaniya-i-goroskopy {
  background-color:#6e78f0;
}
.Gadaniya-i-goroskopy:hover {
  background-color:#626ce8;
}

.pagination {
  padding:0 13px;
  margin:0;
}

.pagination a {
  border:1px #d0d3d5 solid;
  text-decoration:none;
  color:#404040;
  padding:1px 5px;
  margin-right:2px;
  font-size:9pt;
  display:block;
  float:left;
  margin-bottom:2px;
}

.pagination a:hover {
  text-decoration:none;
  color:#404040;
  background:#d6dbeb;
  border:1px #acacac solid;
}

.pagination span {
  text-decoration:none;
  padding:1px 5px;
  margin-right:2px;
  font-size:9pt;
  display:block;
  float:left;
  margin-bottom:2px;
  color:#404040;
  background:#d6dbeb;
  border:1px #acacac solid;	
}

.right_side {
  position:static;
  min-height: 1100px;
}

@media (max-width: 992px) {
  .right_side {
    min-height: inherit;
  }
}

.right_side .wrp {
  margin-left:13px;
  margin-right:12px;
  padding-top:18px;
}

.right_side .h_line {
  margin-left:0;
  margin-right:0;
}

.tips {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffe96d+0,fff8b7+100 */
  background: #ffe96d; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffe96d 0%, #fff8b7 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffe96d 0%,#fff8b7 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffe96d 0%,#fff8b7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe96d', endColorstr='#fff8b7',GradientType=0 ); /* IE6-9 */

  margin-top:6px;
  position:relative;
}

.tips .stick {
  position:absolute;
  width:100%;
  height:24px;
  background:url(../images/tips-stick.png) no-repeat center top;
  margin-top:-6px;
}

.tips .bottom-block {
  border-bottom:1px #f0f4f3 solid;
}

.tips .title {
  padding-top:30px;
  text-align:center;
  color:#355b64;
  font-size:14pt;
  margin-bottom:10px;
}

.tips .text {
  margin:0 10px;
  color:#355b64;
  font-style:italic;
  font-size:9pt;
  margin-bottom:6px;
}

.tips .more {
  margin-right:10px;
  font-size:10pt;
  text-align:right;
  padding-bottom:12px;
}

.tips .more a {
  color:#355b64;
  font-style:italic;
  text-decoration:none;
  padding-left:18px;
  background:url(../images/refresh.jpg) no-repeat left center;
}

.tips .more a span {
  border-bottom:1px #355b64 dashed;
}

.tips .more a:hover {
  color:#355b64;
  text-decoration:none;
}

.tips .more a span:hover {
  border-bottom:none;
}

.footer {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#166b84+0,00344c+100 */
  background: #166b84; /* Old browsers */
  background: -moz-radial-gradient(center, ellipse cover,  #166b84 0%, #00344c 100%); /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover,  #166b84 0%,#00344c 100%); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center,  #166b84 0%,#00344c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#166b84', endColorstr='#00344c',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

  color:#d9edef;
  font-size:9pt;
}

.footer .wrp {
  max-width:1000px;
  padding-left:12px;
  padding-right:12px;
  margin:0 auto;
  min-height:131px;
}

.copyright {
  padding-top:20px;
}

.footer .links {
  padding-top:18px;
}

.footer a {
  color:#d9edef;
  text-decoration:underline;
}

.footer a:hover {
  color:#d9edef;
  text-decoration:none;
}

.content .topic_text,
.content .category_list,
.static-page {
	padding:13px;
    padding-top:0;
}

.box {
    border-color: #DDDDDD;
    border-radius: 4px 4px 0 0;
    border-width: 1px;	
}

.login_form {
	width:50%;
}

.val_error {
	font-size:10pt;
	color:red;
	margin-bottom:4px;	
}
.subtop_row {
    background-color: #f0f8f9;
    padding: 9px;
    padding-left: 14px;
    margin-top: 20px;
}
.theme_form.add button[type=submit] {

}
.adm_form.add .subchapters {
    display: none;
}
.adm_form.add .subchapters:first-child {
    display: block;
}
#chapter_subchapter_add > div {
    padding-right: 0px;
}
#chapter_subchapter_add .col-xs-6 {
    width: 55%;
}
.adm_form.add .submit {
    padding-right: 15px !important;
}

.theme-table tr th {
    font-weight: normal;
}

.adm-list div {
    overflow: hidden;
}
.adm-list .item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
}
.theme-list .item.reserved {
    background-color: #ebebeb;
}
.adm-list .item:hover {
    background-color: #fcf8e3;
}
.adm-list .item > div {
    padding-left: 5px;
    padding-right: 5px;
}

.adm-list .item-info {
    background-color: #f0f8f9;
    color: #565656;
    font-family: Arial;
    font-size: 14px;
}
.adm-list .item:hover .item-info {
    background-color: #DCF8FC;
}
.adm-list .date {
  width:90px;
  text-align:center;
}
.adm-list .count-symbols {
  width:90px;
  text-align:center;
}
.adm-list .day-limit,
.adm-list .status {
    margin-right: 15px;
}
.adm-list .item-other {
    padding-top: 5px;
}
.adm-list .item-other .edit-no {
padding-bottom:5px;
}
.adm-list .item-other .btn {
    margin-bottom: 5px;
}
.theme-list .item-title,
.theme-list .item-title input {
    font-family: Arial;
    font-size: 14pt;
    font-weight: normal;
    color: #373737;
    line-height: 23px;
    margin-bottom:4px;
}
.adm-list .edit-no .item-title,
.adm-list .edit-no .item-theme {
    width: 840px;
}
.adm-list .edit-no .item-subtitles {
    width: 840px;
    color: #6f6e6e;
    font-size:10pt;
    margin-bottom:10px;
}

.adm-list .no_admin .edit-no .item-title,
.adm-list .no_admin .edit-no .item-subtitles,
.adm-list .no_admin .edit-no .item-theme,
.adm-list.article-list .item-title,
.adm-list.article-list .item-theme {
    width: 800px;
}
.right {
    float: right;
}
.left {
    float: left;
}
.theme-list .col-xs-4.right {
    padding-right: 0px;
}
.theme-list .col-xs-4,
.theme-list .col-xs-6,
.theme-list .col-xs-8 {
    padding-left: 0px;
}
.theme-list .col-xs-9 {
    width: 72%;
    padding-left: 0;
    padding-right: 0;
}
.theme-list .chapter_add:nth-of-type(2) {
    float: right;
    padding-right: 0px;
}

.theme-list .item .edit-ok {
    display: none;
}
.theme-list .item.edit .edit-no{
    display: none;
}
.theme-list .item.edit .edit-ok {
    display: block;
}
.theme-list .item.edit .submit {
    padding-top: 25px;
}
#edit_theme {
    display: none;
}


#ui_alerts {
    bottom: 0;
    font-size: 12px;
    left: 10px;
    padding: 10px;
    position: fixed;
    z-index: 60000;
}
#ui_alerts .alert {
    margin-bottom: 10px;
    background-color: #4A4A4A;
    color: #FFFFFF;
    border-radius: 7px;
    max-height: 300px;
    min-height: 55px;
    overflow: hidden;
    padding: 5px 7px;
    position: relative;
    width: 250px;
    word-wrap: break-word;
    font-size: 12px;
    font-family: arial;
}

#ui_true_false {
    position: fixed;
    top: 0px; left: 0; right: 0;
    width: 400px;
    height: 200px;

    margin: 100px auto;

    background-color: #004b5c;
    padding: 25px;
    width: 400px;

    border: 3px solid #fff;
    overflow: hidden;

    display: none;
}
#ui_true_false .title {
    color: #ffffff;
    font-family: "bebas_neuebold";
    font-size: 24px;
}
#ui_true_false .button {
    position: absolute;
    right: 25px;
    bottom: 25px;
}
#ui_true_false .button input[type=submit] {
    padding-left: 20px;
    padding-right: 20px;
    width: auto;
    float: right;
    margin-left: 5px;
}

#limit {
    margin-bottom: 20px;
}

.form-group {
    overflow: hidden;
}

.no-l-padding {
    padding-left: 0px;
}
.no-r-padding {
    padding-right: 0px;
}
.no-lr-padding {
    padding-left: 0px;
    padding-right: 0px;
}


.article-edit {
}

.article-edit select.subchapters {
    display: none;
}
.article-edit .form-group.tags .bootstrap-tagsinput {
    width: 100%;
}

.article_form .row {
    margin-bottom: 0px;
}

.images_upload .no_img_text {
    display: none;
    width: auto !important;
    height: auto !important;
    margin-top: 40px;
}
.images_upload.no_img .no_img_text {
    display: block;
}
.images_upload {
    border: 2px dashed #0087f7;
    text-align: center;
}
.images_upload.hover {
    background-color: #f0f8f9;
}
.images_upload.drop {
/*    background-color: #BCB4F8; */
}

.images_upload.article_title_image {
    height: 108px;
}
.images_upload.article_images {
    height: 435px;
}
.images_upload.article_images .items {
    overflow: auto;
    height: 393px;
}

.images_upload.article_images .items::-webkit-scrollbar {
    width: 14px;
}
.images_upload.article_images .items::-webkit-scrollbar-thumb {
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    -webkit-border-radius: 7px;
    background-color: rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}
.images_upload.article_images .items::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}
.images_upload.article_images .items::-webkit-scrollbar-corner {
    background-color: transparent;
}

.images_upload.article_images .buttons {
    padding-top: 3px;
}
.article_bodytext {
    height: 400px !important;
}
.images_upload .item {
    width: 97px;
    height: 97px;
    background: transparent url('../images/loading_flower_mini.png') no-repeat scroll center;
    float: left;
    position: relative;
    cursor: pointer;
}
.images_upload .item.done {
    background: transparent;
}
.images_upload .item:hover {
    border: 1px solid #0087f7/*#BCB4F8*/;
}
.images_upload .item .btn_title_image {
    position: absolute;
    top: 5px;
    right: 5px;
}
.images_upload .item .btn_delete {
    position: absolute;
    bottom: 5px;
    right: 5px;
}
.images_upload .item .btn {
    display: none;
}
.images_upload .item.done:hover .btn {
    display: block;
}
.images_upload .item img {
    max-width: 97px;
    max-height: 97px;
}
.content .topic_text .nicEdit-main img {
    width: auto;
    max-width: 627px;
    max-height:600px;
}
.images_upload.article_title_image .item {
    margin: 3px auto;
    float: none;
}
.images_upload.article_title_image .item .btn.btn_title_image {
    display: none;
}

.tab-panel {
  font-size: 13pt;
}

.tab-panel a {
  color: #3e3e3e;
  text-decoration:none;
  display: inline-block;
  padding:10px;
  padding-top:5px;
  margin-top:5px;
  background:#ebf5ff;
}

.tab-panel a span {
  border-bottom:1px #3e3e3e dashed;
}

.tab-panel a:hover {
  color:#3e3e3e;
  text-decoration:none;
}

.tab-panel a:hover span {
  border-bottom:0;
}

.tab-panel a.active {
  color:#000;
  background:#d0e8ff;
  padding-top:10px;
  margin-top:0;
}

.tab-panel a.active span {
  border-bottom:1px #000 dashed;
}

.tab-panel a.active:hover {
  color:#000;

}

.tab-panel a.active:hover span {
  border-bottom:1px #000 dashed;
}

.glyphicon {
  margin-left: 4px;
}

.theme-table th:nth-child(1),
.theme-table th:nth-child(2){
  text-align:center;
}

.adm-list .item-info {
  color:#77b6bc;
  padding:2px 0;
}

.adm-list .chapter-name {
  padding-left:5px;
}

.yashare-auto-init {
  height: 41px;
  text-align: center;
}

/*Преобразования выделений в тексте*/
.xgreen {
  display: block;

  background-image: url(../images/bg_green.png);
  background-repeat: repeat-x;

  background-repeat: repeat-x;
  border: 1px solid #afee75;
  padding: 5px;
}

.xgrey {
  display: block;
  background-image: url(../images/bg_grey.png);
  background-repeat: repeat-x;

  border: 1px solid #cdcdcd;
  padding: 5px;
}

.xred {
  display: block;
  background-image: url(../images/bg_red.png);
  background-repeat: repeat-x;
  border: 1px solid #ffa6a6;
  padding: 5px;
}

.xyellow {
  display: block;
  background-image: url(../images/bg_yellow.png);
  background-repeat: repeat-x;

  border: 1px solid #e3e55f;
  padding: 5px;
}

.xquote {
  display: block;
  background-image: url(../images/quote.gif);
  background-repeat: repeat-x;

  background-position: 7px 7px;
  background-repeat: no-repeat;
  border-color: #dddddd;
  border-style: solid;
  border-width: 1px 1px 1px 5px;
  padding: 5px 5px 5px 50px;
  font-style: italic;
}

#vk_groups,
#vk_groups iframe {
  width: 100% !important;
}

.counter {
  float:right;
  margin-top:20px;
  margin-left:20px;
  margin-bottom:20px;
}

.navbar-default {
  border-radius: 0 !important;
  border: 0 !important;
  background: none !important;
  min-height: auto !important;
  box-shadow:none  !important;
  margin-bottom: 0 !important;
  border-color: #d9004d;
}

.banner-bottom {
  margin-bottom:2em;
}

.topic_comments h2 {
  margin-top:0;
}

.top-row {
  padding-top: 10px;
  color: #818181;
  margin: 0 auto;
  max-width:579px;
}

.top-row .item {
  float:left;
  line-height:18px;
  margin-right:10px;
  margin-bottom:10px;
}

.top-row .views {
  padding-left:20px;
  background: url(../images/icon-views.png) no-repeat left center;
}

.top-row .comment-count {
  padding-left:20px;
  background: url(../images/icon-comments.png) no-repeat left center;
  margin-right:0;
}

.top-row .top-share-block {
  float:right;
  margin-right:0;
  margin-bottom:10px;
}

@media (max-width: 768px) {
  .top-row .top-share-block {
    float:none;
  }
}

.top-share-block .ya-share2 {
  width:198px;
}

.top-share-block .ya-share2 ul li {
  margin-bottom:0 !important;
}

