@charset "utf-8";

body {
	background-color: #eee;
	padding: 0px;
}

textarea {
	resize: none;
}

div {
	word-wrap: break-word;
}

.page {
	padding: 10px;
}

.page-inner-nav {
	margin-top: -1px !important;
	margin-bottom: 0px;
}

.page-inner-nav li:first-child a, .page-inner-nav li:first-child a:hover {
	border-left: 1px solid transparent;
}

.page-inner-nav li a, .page-inner-nav li.active a {
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topright: 0px;
	border-top-right-radius: 0px;
}

img {
	max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1px;
}

.link {
	cursor: pointer;
}

.max768 {
	max-width: 768px;
}

.block {
	display: block;
}

a.icon, a.icon:hover {
	text-decoration: none;
}

.table thead th, .table tbody td.header {
	background-color: #f6f6f6;
	font-weight: bold;
}

.input-link input {
	margin: 3px;
}

.input-link input[type="text"] {
	width: 230px;
}

div[data-role="editor-toolbar"] {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-bottom: 6px;
}

a[data-edit="*"] {
	font-size: 8px !important;
}

textarea[data-role="editor"] {
	display: block;
	margin-bottom: 8px;
}

input.input-margin, select.input-margin {
	margin: 2px !important;
}

.dropdown-menu a {
	cursor: pointer;
}

.btn-group > .btn{
	margin-left: -1px !important;
}

.smiles, .uploaded_images {
	padding: 0px;
	text-align: center;
}

.uploaded_images a {
	float: left;
	width: 66px;
	height: 66px;
	margin: 2px 6px;
}

.smiles a {
	float: left;
	width: 30px;
	height: 30px;
	margin: 2px 6px;
}

body .modal-w90 {
	width: 90%;
	margin-left: -45%;
}

select {
	outline-style: none !important;
	margin: 2px 0px;
}

label {
	display: inline;
}

label[for=""] {
	cursor: default;
}

label input[type="checkbox"], label input[type="radio"] {
	display: none;
}

input[type="checkbox"] + span:before {
	font-family: 'FontAwesome';
	cursor: pointer;
	content: "\f096";
	font-size: 18px;
	vertical-align: middle;
	margin-right: 4px;
	margin-left: 1px;
}
input[type="checkbox"]:checked + span:before {
	content: "\f046";
	margin-right: 1px;
}


input[type="radio"] + span:before {
	font-family: 'FontAwesome';
	cursor: pointer;
	content: "\f10c";
	font-size: 18px;
	vertical-align: middle;
	margin-right: 1px;
	margin-left: 1px;
}
input[type="radio"]:checked + span:before {
	content: "\f05d";
	padding-right: 0px;
}

.control-group {
	margin: 4px !important;
}

.control-btns {
	margin: 4px !important;
}

ul.nav-tabs > li.active > a {
	cursor: pointer !important;
}

.text-bold {
	font-weight: bold;
}

.text-large {
	font-size: 20px;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	line-height: 1.2;
}

.text-middle {
	vertical-align: middle;
}

.loader {
	font-size: 20px;
	vertical-align: middle;
	padding-right: 5px;
}

.block-nopadding {
	padding: 0px;
}

.controls-padding {
	padding-top: 4px;
	padding-left: 3px;
}

.block-smargin {
	margin: 2px;
}

.block-margin {
	margin: 5px;
}

.block-tmargin {
	margin-top: 5px;
}

.block-bmargin {
	margin-bottom: 5px;
}

.block-lmargin {
	margin-left: 5px;
}

.block-rmargin {
	margin-right: 5px;
}

.input-xmini {
	width: 78px;
}

.input-xsmall {
	width: 120px;
}

div.input-large {
	width: 224px;
}

select.input-xlarge, div.input-xlarge {
	width: 284px;
}
div.input-xxlarge {
	width: 544px;
}
.input-xxlarge {
	width: 510px;
}

.visible-desktop {
	display: inherit !important;
}

.breadcrumb {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	margin: 0px;
}

hr {
	margin: 6px 0px;
}

@media all and (max-width: 767px) {
	.uploaded_images a {
		margin: 2px 4px;
	}

	input[type="checkbox"] + span:before, input[type="radio"] + span:before {
		font-size: 24px;
	}

	.input-xmini, .input-xsmall, select.input-xlarge, div.input-large, div.input-xlarge, .input-xxlarge {
		width: 100%;
	}

}




/**
* BB-коды
**/

a.bb-link {}
a.bb-email {}
p.bb { text-indent: 10px; }
b.bb {}
i.bb {}
u.bb {}
strike.bb {}
span.bb-overline { text-decoration: overline; }
p.bb-left { text-align: left; }
p.bb-center { text-align: center; }
p.bb-right { text-align: right; }
p.bb-justify { text-align: justify; }
p.bb-indent-left { padding-left: 15px; }
p.bb-indent-right { padding-right: 15px; }
sub.bb {}
sup.bb {}
img.bb { margin: 3px; }
h2.bb { font-size: 28px; line-height: 1.2; margin-bottom: 5px; border-bottom: 1px solid #ddd; }
h3.bb { font-size: 22px; line-height: 1.2; margin-bottom: 5px; }
span.bb-size1 { font-size: 10px; }
span.bb-size2 { font-size: 12px; }
span.bb-size3 { font-size: 14px; }
span.bb-size4 { font-size: 16px; }
span.bb-size5 { font-size: 18px;}
span.bb-size6 { font-size: 20px; }
span.bb-size7 { font-size: 22px; }
li.bb {}
ul.bb, ol.bb { margin-bottom: 4px; }
span.bb-color-black		{ color: black; }
span.bb-color-gray		{ color: gray; }
span.bb-color-white		{ color: white; }
span.bb-color-red		{ color: red; }
span.bb-color-purple	{ color: purple; }
span.bb-color-orange	{ color: orange; }
span.bb-color-yellow	{ color: yellow; }
span.bb-color-blue		{ color: blue; }
span.bb-color-navy		{ color: navy; }
span.bb-color-green		{ color: green; }
span.bb-background-black	{ background-color: black; }
span.bb-background-gray		{ background-color: gray; }
span.bb-background-white	{ background-color: white; }
span.bb-background-red		{ background-color: red; }
span.bb-background-purple	{ background-color: purple; }
span.bb-background-orange	{ background-color: orange; }
span.bb-background-yellow	{ background-color: yellow; }
span.bb-background-blue		{ background-color: blue; }
span.bb-background-navy		{ background-color: navy; }
span.bb-background-green	{ background-color: green; }
hr.bb { border-top-color: #ddd; }
blockquote.bb {
	margin: 4px 0px;
	padding: 0px;
	background-color: #fff;
	border: 1px solid #ddd;
	border-left: 4px solid #bbb;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
blockquote.bb div.bb-title {
	padding: 7px;
	margin: 0px;
	font-weight: bold;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	border-top-right-radius: 6px;
	background: #f5f5f5; /* Old browsers */
	background: -moz-linear-gradient(top, #f5f5f5 1%, #e5e5e5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f5f5f5 1%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f5f5f5 1%,#e5e5e5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f5f5f5 1%,#e5e5e5 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f5f5f5 1%,#e5e5e5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}
blockquote.bb div.bb {
	padding: 8px;
	margin: 0px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	border-bottom-right-radius: 6px;
	background-color: #fff;
}
img.bb-smile {}