html, body {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
	min-height: 100%;
	overflow: hidden;
	background: #525455;
	font-size: 12px;
}

body {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.clear {
	display: block;
	margin: 0;
	padding: 0;
	clear: both;
	float: none;
}

.pull-left {
	float: left;
}

.pull-right {
	float: right;
}

.p-global-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.p-global-wrapper .p-global-wrapper__inner {
	position: relative;
	min-height: 100%;
	min-width: 1000px;
	overflow: hidden;
}

body.login .p-global-wrapper .p-global-wrapper__inner {
	min-height: 480px;
	height: 100%;
}

.p-content-wrapper {
	width: 960px;
	min-height: 500px;
	margin: 0 auto 76px;
}

.p-content-wrapper.full-height {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 76px;
	min-height: 300px;
	margin: 0;
	margin-left: -480px;
}

/* Главная колонка и оба сайдбара
   ========================================================================== */

.p-sidebar {
	min-height: 2px;
	float: left;
}

.p-sidebar.left {
	width: 220px;
	margin-left: 10px;
	position: relative;
	z-index: 9999;
}

.p-sidebar.right {
	width: 160px;
	margin-left: 20px;
}

.p-sidebar.left .sidebar-left-inner {
	position: fixed;
	width: 220px;
}

.p-sidebar .full-height {
	position: absolute;
	top: 95px;
	bottom: 96px;
}

.p-sidebar.left .full-height {
	position: static;
}
.p-sidebar .full-height .full-height-fixed.sticky {
	position: fixed;
	top: 20px;
	height: auto;
	width: auto;
	bottom: 20px;
}

.p-sidebar .full-height .full-height-fixed.partially-hidden {
	overflow: hidden;
	margin-left: -1px;
	margin-top: -1px;
	padding-left: 1px;
	padding-top: 1px;
}


.p-sidebar .full-height .full-height-fixed.partially-hidden .b-user-list-controls {
	padding-top: 2px;
}

.p-sidebar .full-height .full-height-inner {
	position: absolute;
	top: 0;
	bottom: 0;
}

.p-sidebar.left .full-height  { width: 1px; }
.p-sidebar.right .full-height { width: 160px; }
.p-sidebar.left .full-height .full-height-inner {
	position: static;
	width: 220px;
	height: auto;
}
.p-sidebar.right .full-height .full-height-inner { width: 160px; }

.p-sidebar .scrollable-area {
	width:  100%;
	height: 100%;
	overflow: hidden;
}

.p-sidebar .scrollable-area .content {
	position: relative;
	overflow: hidden;
}

.p-sidebar .scrollbar {
	position: absolute;
	bottom: 0;
	right: -10px;
	width:  6px;
	height: 100%;
	background: #4a4a4a;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
}

.p-sidebar .scrollbar .body {
	position: absolute;
	top: 0;
	left: 0;
	width:  100%;
	height: 100px;
	background: #2a2a2a;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	cursor: pointer;
	-webkit-transition: background 100ms linear, width 100ms linear, left 100ms linear;
	-moz-transition: background 100ms linear, width 100ms linear, left 100ms linear;
	-ms-transition: background 100ms linear, width 100ms linear, left 100ms linear;
	-o-transition: background 100ms linear, width 100ms linear, left 100ms linear;
	transition: background 100ms linear, width 100ms linear, left 100ms linear;
}

.p-sidebar .scrollbar .body:hover,
.p-sidebar .scrollbar .body.active {
	left: -3px;
	width:  12px;
	background: #63b1ca;
}

.p-main-column {
	width: 520px;
	min-height: 2px;
	margin-left: 20px;
	float: left;
}

.p-main-column.tree {
	margin-left: 10px;
	padding-left: 9px;
	border-left: 1px solid #3d3d3d;
}

.p-main-column .full-height {
	position: absolute;
	top: 95px;
	bottom: 96px;
	width: 520px;
}

/* Стилизованный контент.
   ========================================================================== */

.p-styled-content {
	word-break: break-word;
}

.p-styled-content p {
	margin: 10px 0;
}

.p-styled-content p:first-child {
	margin-top: 0;
}

.p-styled-content p:last-child {
	margin-bottom: 0;
}
