@font-face {
	font-family: MagistralC;
	src: url("../fonts/MagistralC.otf");
}

@font-face {
	font-family: Hattori-Hanzo;
	src: url("../fonts/Hattori-Hanzo.otf");
}

.dropdown-submenu { position: relative; }

.dropdown-submenu > .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -6px;
	margin-left: -1px;
	-webkit-border-radius: 0 6px 6px 6px;
	-moz-border-radius: 0 6px 6px;
	border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu { display: block; }

.dropdown-submenu > a:after {
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-left-color: #ccc;
	margin-top: 5px;
	margin-right: -10px;
}

.dropdown-submenu:hover > a:after { border-left-color: #fff; }

.dropdown-submenu.pull-left { float: none; }

.dropdown-submenu.pull-left > .dropdown-menu {
	left: -100%;
	margin-left: 10px;
	-webkit-border-radius: 6px 0 6px 6px;
	-moz-border-radius: 6px 0 6px 6px;
	border-radius: 6px 0 6px 6px;
}

html, body{ height: 100%; padding: 0px; }

body {
	position: relative;
	background: url('../img/bg.jpg') repeat #3b96b3;
}

a,
a:hover,
a:focus {
	text-decoration: none;
}

form, ul, li { margin: 0px; padding: 0px; }
ul li { list-style: none; }

label { cursor: pointer; }
img { max-width: 100%; }

/* Debug + */
.mcr-debug { position: fixed; width: 400px; max-width: 400px; box-sizing: border-box; word-wrap: break-word; font-weight: bold; bottom: 51px; left: -400px; background: #B7D0E5; color: #fff; border-left: 0px; padding: 20px; }
.mcr-debug a,
.mcr-debug a:hover { text-decoration: none; }
.mcr-debug h4 { margin: 0px; padding: 0px; }
.mcr-debug.open { left: 0px; }
.mcr-debug span { color: #fff; font-weight: normal; }
.mcr-debug .action { position: absolute; left: 400px; bottom: 50%; color: #fff; margin-bottom: -10px; display: inline-block; background: #B7D0E5; padding: 3px 5px; border-left: 0px; }
/* Debug - */

#js-notify {
	display: none;
}

#js-loader {
	display: none;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	right: 20px;
	bottom: 20px;
}

#js-notify {
	display: none;
	margin: 0px;
	margin-bottom: 20px;
	padding: 20px;
	word-wrap: break-word;
	border-radius: 0px;
	border: 0px;
}

#js-notify > #title {
	display: block;
	line-height: 12px;
	margin-bottom: 5px;
	font-weight: bold;
}

#js-notify > #close {
	float: right;
}

.pagination { text-align: center; margin: 0px; }
button:focus,
input[type="submit"]:focus { outline: none !important; }

.bb-panel {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 3px;
	margin-bottom: 10px;
	padding-bottom: 0px;
}

.bb-panel > ul {
	display: inline-table;
	border: 1px solid #ccc;
	table-layout: fixed;
	margin-right: 3px;
	padding: 3px;
	margin-bottom: 3px;
}

.bb-panel > ul > li {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.bb-panel > ul > li > a {
	display: block;
	height: 18px;
	width: 18px;
	background-color: #fff;
	line-height: 18px;
	vertical-align: middle;
	text-decoration: none;
	box-sizing: border-box;
	color: #333;
}

.bb-panel > .bb-right {
	float: right;
}

.bb-panel > ul > li > a:hover {
	-webkit-box-shadow: inset 0px 0px 0px 1px #333;
	-moz-box-shadow: inset 0px 0px 0px 1px #333;
	box-shadow: inset 0px 0px 0px 1px #333;
}

.file-manager {
	margin-top: 5px;
}

.file-manager .file-input-wrapper {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1px dashed #ccc;
	background: transparent;
	padding: 20px;
}

.file-manager .file-input-wrapper .file-inputs {
	display: block;
	width: 100%;
	height: 100%;
}

.file-manager .file-input-wrapper:hover {
	background-color: rgba(0,0,0,0.03);
}

.file-manager > .lastfiles > .file-line > div {
	display: inline-block;
	vertical-align: middle;
	word-wrap: break-word;
}

.file-manager > .lastfiles > .file-line {
	margin-top: 10px;
	padding: 5px;
	background-color: #eee;
}

.file-manager > .lastfiles > .file-line > .line-uniq {
	width: 35%;
}

.file-manager > .lastfiles > .file-line > .line-oldname {
	width: 35%;
}

.file-manager > .lastfiles > .file-line > .line-size {
	width: 10%;
}

.file-manager > .lastfiles > .file-line > .line-downloads {
	width: 10%;
}

.file-manager > .lastfiles > .file-line > .line-info,
.file-manager > .lastfiles > .file-line > .line-act {
	width: 5%;
	text-align: right;
}

.file-manager > .lastfiles > .file-line .file-edit-input {
	display: inline-block;
	margin: 0px;
	vertical-align: middle;
	width: auto;
	margin-right: 5px;
}

.file-manager > .lastfiles > .file-line .file-edit {
	margin-left: 5px;
}

.centered { text-align: center; }
.ajx-l { position: absolute; margin-top: 7px; margin-left: 10px; }

.spl-body { display: block; margin-bottom: 10px; }
.spl-body.closed { display: none; }

.qxbb-code {
	display: block;
	line-height: 24px;
	background-color: #fafafa;
	border: 1px solid #eee;
	border-radius: 4px;
	color: #a00;
	padding: 10px;
	line-height: 16px;
	margin: 10px;
	margin-top: 20px;
	position: relative;
	word-wrap: break-word;
	font-size: 12px;
	font-family: verdana;
}

.qxbb-code:after {
	display: block;
	position: absolute;
	top: -10px;
	right: 10px;
	background-color: #fff3f3;
	border: 1px solid #f3c7c7;
	content: "Код";
	padding: 3px 7px;
	line-height: 10px;
	border-radius: 4px;
	color: #b97676;
}

.qxbb-quote {
	position: relative;
	display: block;
	background-color: #fafafa;
	border-radius: 4px;
	border: 1px solid #ccc;
	font-size: 12px;
	font-family: verdana;
	color: #555;
	margin: 10px;
	margin-top: 20px;
	padding: 10px;
	word-wrap: break-word;
	box-sizing: border-box;
}

.qxbb-quote:after {
	display: block;
	position: absolute;
	top: -10px;
	right: 10px;
	background-color: #f7f7f7;
	border: 1px solid #e2e2e2;
	content: "Цитата";
	padding: 3px 7px;
	line-height: 10px;
	border-radius: 4px;
	color: #b1b1b1;
}

.qxbb-spoiler > .qxbb-spoiler-body {
	position: relative;
	display: none;
	background-color: #fafafa;
	border-radius: 4px;
	border: 1px solid #ccc;
	font-size: 12px;
	font-family: verdana;
	color: #555;
	margin: 10px;
	padding: 10px;
	word-wrap: break-word;
	box-sizing: border-box;
}

.qxbb-spoiler > .qxbb-spoiler-body:after {
	display: block;
	position: absolute;
	top: -10px;
	right: 10px;
	background-color: #f7f7f7;
	border: 1px solid #e2e2e2;
	content: "Спойлер";
	padding: 3px 7px;
	line-height: 10px;
	border-radius: 4px;
	color: #b1b1b1;
}

.qxbb-quote > .qxbb-quote-info {
	position: absolute; 
	top: -10px;
	left: 10px;
	background-color: #f7f7f7;
	border: 1px solid #e2e2e2;
	padding: 3px 7px;
	line-height: 10px;
	border-radius: 4px;
	color: #b1b1b1;
}

.qxbb-code > .qxbb-code-info {
	position: absolute; 
	top: -10px;
	left: 10px;
	background-color: #fff3f3;
	border: 1px solid #f3c7c7;
	padding: 3px 7px;
	line-height: 10px;
	border-radius: 4px;
	color: #b97676;
}

.qxbb-iframe-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}

.qxbb-iframe-wrapper > .qxbb-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.qxbb-left { text-align: left; }
.qxbb-center { text-align: center; }
.qxbb-right { text-align: right; }

.spl-block > .spl-btn {
	margin: 10px;
	cursor: pointer;
	outline: none;
	padding: 5px 10px;
	background-color: #fffbed;
	border: 1px solid #ebdfb4;
	color: #a5914b;
	border-radius: 4px;
}

.spl-block > .spl-body {
	display: none;
	margin: 0px 10px 10px 10px;
	background-color: #fffbed;
	border: 1px dashed #ebdfb4;
	padding: 10px;
	border-radius: 4px;
	font-size: 12px;
	box-sizing: border-box;
	color: #a5914b;
}

.qxbb-offtop {
	color: #c8c8c8;
	margin: 0px 3px;
}

.qxbb-offtop:before {
	content: "×";
	margin: 0px 3px;
}

.qxbb-line {
	border: 0px;
	margin: 20px 10px;
	display: block;
	height: 1px;
	background-color: #a4a4a4;
	border-bottom: 1px solid #c1c1c1;
}

.qxbb-spoiler > .qxbb-spoiler-body {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px 15px;
}

.icon_status_on,
.icon_status_off {
	display: inline-block;
	vertical-align: middle;
	width: 12px;
	height: 12px;
	background: url('../img/status.png') no-repeat top left;
}

.icon_status_off {
	background-position: top right;
}

.cpp-modal .modal-body {
	overflow-y: visible;
}

.cpp {
	height: 34px !important;
}

.minicolors-swatch {
	top: 8px !important;
}

.input-block-level.bb-input {
	width: 100% !important;
	max-width: 100% !important;
}

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
	word-wrap: break-word;
}

.left-right {
	font-size: 0px;
}

.left-right > .left-block,
.left-right > .right-block {
	display: inline-block;
	vertical-align: top;
	width: 50%;
	font-size: small;
}

.left-right > .right-block {
	text-align: right;
}

.form-block {
	background-color: #fff;
	box-sizing: border-box;
	padding: 20px;
	margin-bottom: 20px;
	color: #555;
}

.form-block > .block-header {
	font-weight: bold;
	color: #888;
	margin-bottom: 20px;
	border-bottom: 1px solid #f7f7f7;
	padding-bottom: 5px;
	text-transform: uppercase;
	font-family: MagistralC;
}

body > .navbar {
	margin: 0px;
	border: 0px;
	background-color: #34495e;
}

body > .navbar .navbar-nav > .active > a,
body > .navbar .navbar-nav > .active > a:focus,
body > .navbar .navbar-nav > .active > a:hover {
	background-color: #2c3e50;
}

body > .navbar .container {
	padding: 0px;
}

body > .header {
	min-height: 200px;
}

body > .header > .container {
	padding: 0px;
	text-shadow: 0px 0px 15px #fff;
	color: #fff;
}

body > .header > .container h1 {
	margin: 0px;
	margin-bottom: 10px;
}

body > .header > .container > .left-right > div {
	padding: 20px 0px;
}

body > .container {
	min-height: calc(100vh - 510px);
	background-color: #ecf0f1;
	padding: 0px;
	margin-bottom: 100px;
}

body > .container > .breadcrumb {
	border-radius: 0px;
	background-color: #fff;
	margin: 0px;
}

body > .container > .row {
	margin: 0px;
}

body > .container > .row > div {
	padding: 20px;
	box-sizing: border-box;
}

body > .container > .row > div:last-child {
	padding-left: 0px;
}

body > .footer {
	min-height: 160px;
	background-color: #34495e;
	color: #0f232a;
}

body > .footer > .container {
	padding: 20px 0px;
}

body > .footer .social-links {
	display: inline-block;
}

body > .footer .social-links > li {
	list-style: none;
	background-color: #0f232a;
	width: 88px;
	height: 31px;
	line-height: 31px;
	text-align: center;
	margin-bottom: 13px;
}

body > .footer .social-links > li:last-child {
	margin: 0px;
}

body > .footer .social-links > li a {
	display: block;
	width: 100%;
}

body > .footer .social-links > li img {
	vertical-align: bottom;
}

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
	word-wrap: break-word;
}

.typeahead { z-index: 1051; }