/*! LabCMS custom styles */

html, body {
	height: 100%;
}

.navbar-right + .navbar-right {
	margin-right:0px !important;
}

#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -60px;
	padding: 0 0 60px;
}

#footer {
	height: 60px;
	background-color: #f5f5f5;
}

#footer > .container {
	line-height: 60px;
}

.well > h2:first-child {
	margin-top: 0;
}

.avatar {
	/*margin: 0 20px 0 0;*/
}

#pages_main > h1:first-child,
#pages_main > h2:first-child,
#pages_main > h3:first-child,
#pages_main > h4:first-child,
#pages_main > h5:first-child,
#pages_main > h6:first-child,
.content > h1:first-child ,
.content > h2:first-child ,
.content > h3:first-child ,
.content > h4:first-child ,
.content > h5:first-child ,
.content > h6:first-child {
	margin-top: 0;
}

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('/skins/default/img/fonts/glyphicons-halflings-regular.eot');
  src: url('/skins/default/img/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/skins/default/img/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/skins/default/img/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/skins/default/img/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}


.table .pagination{
	margin-top:5px;
	margin-bottom:0;
}

.table .pagination-sm > li > a {
	padding: 1px 6px;
}

#accordian .panel{
	margin-bottom: 1px;
}
#accordian .panel-heading{
	cursor:pointer;
}

/* comments */
.comment_item{
	background-color: #FFFFFF;
	border: 1px solid #DDDDDD;
	border-radius: 4px 4px 4px 4px;
	margin: 15px 0;
	position: relative;
	list-style: none outside none;
}

#comments>ul {
	margin-left:0;
	padding-left: 0;
}

.comment_item  .table td, .comment_item  .table{
	border-top:none;
}

.user_data{
	width:100px;
	border-right:1px solid #DDDDDD;
}

.nomargin{
	margin:0;
}

input[required="required"], textarea[required="required"]{
	background-color: #FCF8E3
}

.required, .reqnote{
	display:none;
}

.comment_wrapper{
	list-style:none;
}

#user_groups {
	padding-left:0px;
}

#user_groups ul{
    padding-left:30px;
	background-color: #fff;
}

#user_groups li{
    list-style:none;
	line-height: 22px;
	background-color: #eee;
	margin: 1px 0;
}

#user_groups li.user, #user_groups li.super, #user_groups li.system, #user_groups li.unregistered, #user_groups li.registered{
  padding-left:24px;
  background:0 5px no-repeat #eee;
}

#user_groups li.user{
    background-image:url("/skins/default/images/icons/user_small.png");
}

#user_groups li.super{
    background-image:url("/skins/default/images/icons/superadmin_small.png");
}

#user_groups li.system{
    background-image:url("/skins/default/images/icons/user_small.png");
}

#user_groups li.unregistered{
   background-image:url("/skins/default/images/icons/unregistered16.png");
}

#user_groups li.registered{
   background-image:url("/skins/default/images/icons/registered16.png");
}

/************ bbcode *************/
.bbMenu {height:22px; position:relative;}
.bbMenu img{display:block;}
.bbMenu a{float:left; margin:1px;}
.bbMenu a:hover{border:1px solid;margin:0px;}
.smile_list{background:#fff; border:1px solid;z-index:10000;width:auto !important;}
.bb_smile{vertical-align:-25%;}
.bb_code{
	font-family: monospace;
	border: 1px solid #D1D1D1;
	overflow: auto;
	white-space: nowrap;
	width: 98%;
	padding:5px;
}

.bb_code .re0{color: #0000ff;}
.bb_code .me1{color: #006600;}
.bb_code .br0{color: #66cc66;}
.bb_code .st{color: #FF0000;}
.bb_code .co{color: #808080; font-style: italic;}
.bb_code .kw2{color: #b1b100;}
.bb_code .kw2{color: #000000; font-weight: bold;}
.bb_code .kw3{color: #000066;}
.bb_code .num{color: #cc66cc;}
.bb_q{background: url('/skins/default/images/icons/question.png') no-repeat top left;padding-left:40px;min-height: 32px;}
.bb_in{background: url('/skins/default/images/icons/puzzle.png') no-repeat top left;padding-left:40px;font-style:italic;min-height: 32px;}

/**************** цитирование ******************/
.bb_quote_author{
	font-style:italic;
	font-weight:bold;
	display:block;
}

.bb_quote, .bb_quote .bb_quote .bb_quote .bb_quote{
	border-left:2px dotted;
	background:#efefef;
	padding:4px;
}

.bb_quote .bb_quote, .bb_quote .bb_quote .bb_quote .bb_quote .bb_quote{
	background:#dfdfdf;
}

.bb_quote .bb_quote .bb_quote, .bb_quote .bb_quote .bb_quote .bb_quote .bb_quote .bb_quote{
	background:#cfcfcf;
}

.bb_code_header, .bb_code .bbh{
	background: none repeat scroll 0 0 #DFF0D8;
	margin: -5px -5px 5px -5px;
	padding: 5px;
	color:#468847;
	font-weight:bold;
}
/**************** конец цитирование ******************/

.post-info {
    background: none repeat scroll 0 0 #EAEAEA;
    color: #555C69;
    margin: -8px -8px 8px;
    overflow: hidden;
    padding: 5px;
}

.po_tools{
	margin-bottom: 10px;
}

.voting {
	margin-left:20px;
}

.img{
	max-width: 100%;
}

.dropdown:hover>.dropdown-menu {
	display: block;
	margin-top: 0;
}
