/* SIDE PANEL */

/* PANEL WITH */
.side-panel-list {
	position: absolute; top: 0; bottom: 0; right: 0;
	width: 60px;
	
	text-align: center;
	
	background-color: #FFF;
	
	z-index: 102;
}
.side-panel-list-item {
	width: 40px; height: 40px;
	padding: 10px;
	
	color: #8199BC;
	font-size: 21px;
	line-height: 40px;
	
	cursor: pointer;
}
.side-panel-list-item:hover {
	background-color: #f2f3f5;
}
.side-panel-list-item.active {
	background-color: #E7EBF5;
}


.side-panel {
	position: absolute; top: 0px; right: -420px; bottom: 50px;
	width: 420px;
	
	background-color: #e7ebf6;
	
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;

	z-index: 100;
}
.side-panel.small {
	right: -370px;
	width: 360px;
}
.side-panel.style-editor {
	right: -310px; bottom: auto;
	width: 300px; height: 170px;
}

.side-panel.active,
.side-panel.small.active {
	right: 60px;
}
.side-panel .side-panel-header {
	position: absolute; top: 0; right: 0; left: 0;

	height: 30px;
	padding: 15px 20px;
	
	color: #FFF;
	font-size: 14px;
	font-family: 'helveticaneuecyrmedium', sans-serif;
	line-height: 30px;
	vertical-align: middle;
	text-align: center;
	
	background-color: #5D7391;
}
.side-panel-title {

	margin-right: 20px;
	
	font-size: 1.275em;
	font-family: 'helveticaneuecyrmedium', sans-serif;
	text-align: left;
	white-space: nowrap;
	text-overflow: ellipsis;
	
	box-sizing: border-box;
	
	overflow: hidden;
}
.side-panel-close {
	position: absolute; top: 15px; right: 20px;
	
	font-size: 24px;
	line-height: 27px;
	
	cursor: pointer;
}
.side-panel-content {
	position: absolute; top: 60px; right: 0px; bottom: 50px; left: 20px;
	padding-right: 20px;
	
	color: #6b6b6b;
	
	overflow: hidden;
	overflow-y: auto;
}
.side-panel.style-editor .side-panel-content {
	overflow: visible;
}
.side-panel-footer {
	position: absolute; bottom: 0; right: 0; left: 0;
	height: 42px;
	padding: 4px 20px;
	
	color: #555;
	line-height: 42px;
	vertical-align: middle;
	
	background-color: #CDD5E7;
}
.side-panel-footer a {
	padding: 0px 10px;
}
.side-panel-footer .a-icon {
	margin-right: 5px;
	font-size: 1.25em;
	vertical-align: middle;
}
.side-panel-content .dropdown {
	background-color: #FFF;
}
/* COMMON */

/* FORM */
.side-panel-grouplabel {
	margin-top: 10px;
	padding: 14px 0px;

	font-size: 1.25em;
	color: #565e69;
	font-family: 'helveticaneuecyrlight', sans-serif;
	
	border-bottom: solid 1px #c5d3ec;
}
.side-panel-grouplabel:first-child {
	margin-top: 0px;
}
.side-panel-label {
	padding: 15px 0px 5px;

	color: #565e69;
	font-family: 'helveticaneuecyrmedium', helvetica, arial, sans-serif;
}
.side-panel-listitem {
	display: table;
	height: 33px;
	padding: 2px 12px 2px 36px;
	line-height: 16px;
	vertical-align: middle;
	clear: both;
}
.side-panel-listitem .listitem-content {
	display: table-cell;
	width: 300px;
	
	vertical-align: middle;
	overflow: hidden;
}
.side-panel-input {
	padding: 5px 0px;
	line-height: 32px;
}
.side-panel-input .group {
	display: inline-block;
	margin-right: 7px;
	margin-top: 10px;
	
	background-color: #FFF;
	
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.side-panel-input .group .dropdown {
	margin: 0;
	
	border: solid 1px transparent;
}
.side-panel-input .group .button {
	display: inline-block;
	min-width: 29px;
	margin: 0;
	
	border: solid 1px transparent;
	
	text-align: center;
	vertical-align: middle;
}
.side-panel-input .group .sp-dd {
	min-width: 29px;
	
	text-align: center;
}
.side-panel-input .group .full-spectrum {
	display: inline-block;
	margin: 0;
}
.side-panel-input textarea {
	width: 100%;
	max-width: 100%;
	margin: 2px 0;
	
	vertical-align: top;
	
	box-sizing: border-box;
}
.side-panel-comment {
	padding: 14px 0 5px;
	color: #555;
}
/* FORM */


/* TABLE OF CONTENT */
.side-panel .toc {
	padding: 10px 12px;
}
.side-panel .toc .h1 {
	padding: 5px 0px 5px 0px;
	font-family: 'helveticaneuecyrmedium', helvetica, arial, sans-serif;
	font-weight: normal;
}
.side-panel .toc .h2 {
	padding: 5px 0px 5px 20px;
}
.side-panel .toc .h3 {
	padding: 5px 0px 5px 40px;
}
.side-panel .toc .h4 {
	padding: 5px 0px 5px 60px;
}
/* TABLE OF CONTENT */


/* LIST */
.side-panel .side-list-item {
	height: 40px;
	padding: 10px 0;
	clear: both;
	
/* 	background-color: #FFF; */

	border-bottom: solid 1px #C5D3EB;
	
	cursor: pointer;
}
.side-panel .side-list-item:last-child {
	border-bottom: none;
}
/*
.side-panel .side-list-item.even,
.side-panel .side-list-item:nth-child(even) {
	background-color: #F8F8F8;
}
.side-panel .side-list-item:hover {
	background-color: #F3F3F3;
}
*/
.side-panel .side-list-item-img {
	width: 40px; height: 40px;
	margin-right: 8px;
	float: left;
	
	background-color: #EEE;
}
.side-panel .side-list-item-img img {
	width: inherit; height: inherit;
	float: left;
}
.side-panel .side-list-item-info {
	
}
.side-panel .side-list-item-info .first-row {
	padding: 2px 0;

	color: #5e79a2;

	text-overflow: ellipsis;
	overflow: hidden;
}
.side-panel .side-list-item-info .second-row {
	padding: 2px 0;

	color: #555;
	font-size: 12px;
	line-height: 1.25em;
	text-overflow: ellipsis;
	overflow: hidden;
}
.side-panel .side-list-item-info .priority-1 {
	width: 65%;
	float: left;
	
	font-family: 'helveticaneuecyrmedium', sans-serif;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.side-panel .side-list-item-info .priority-2 {
	width: 35%;
	float: right;
	
	text-align: right;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.side-panel .side-list-item-info .priority-3 {
	width: 65%;
	float: left;
	
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.side-panel .side-list-item-info .priority-4 {
	width: 35%;
	float: right;

	text-align: right;	
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
/* LIST */

/* TREE */
.side-panel .tree {
	padding: 5px;
	
	line-height: 1.5em;
}
.side-panel .tree .leaf {
	display: none;
	margin: 12px 0;
	padding: 0 0 0 20px;
	
	background-image: url(../img/icn-tree-collapsed-blue.png);
	background-repeat: no-repeat;
	background-position: left 6px;
	
	cursor: pointer;
}
.side-panel .tree .leaf.expanded {
	background-image:  url(../img/icn-tree-expanded-blue.png);
	background-position: left 7px;
}
.side-panel .tree .leaf.last {
	margin: 12px 0 12px 20px;
	padding: 0 0 8px 0;
	
	background-image: none;
	border-bottom: solid 1px #c6d5ee;
}
.side-panel .tree .leaf.level-1 {
	display: block;
	margin-left: 0px;
}
.side-panel .tree .leaf.level-1.expanded .leaf.level-2 {
	display: block;
}
.side-panel .tree .leaf.level-2.expanded .leaf.level-3 {
	display: block;
}
.side-panel .tree .leaf.level-3.expanded .leaf.level-4 {
	display: block;
}
.side-panel .tree .leaf.level-4.expanded .leaf.level-5 {
	display: block;
}
.side-panel .tree .leaf.level-5.expanded .leaf.level-6 {
	display: block;
}
/* TREE */


/* KEY-VALUE */
.key-value-list {
	display: -webkit-flex;
	display: flex;
	padding: 10px 0;
	
	-webkit-flex-direction: column;
	flex-direction: column;	
}
.key-value {
	display: -webkit-flex;
	display: flex;
	padding: 10px 0;
}
.key-value_key {
	width: 50%;
	padding-right: 5px;
	
	box-sizing: border-box;
	
	color: #565e69;
	font-family: 'helveticaneuecyrmedium', sans-serif;
}
.key-value_value {
	width: 50%;
	padding-left: 5px;
	
	color: #565e69;
	
	box-sizing: border-box;
}
/* KEY-VALUE */

/* TABLE */
.side-panel table {
	width: 100%;
	margin: 15px 0;
	
	box-sizing: border-box;
}
.side-panel th {
	padding: 10px 5px;
	
	color: #565e69;
	font-weight: normal;
	font-family: 'helveticaneuecyrmedium', sans-serif;
	text-align: left;
	
	border-bottom: solid 1px #C5D3EB;
}
.side-panel td {
	min-height: 34px;
	padding: 10px 5px;

	color: #565e69;
	line-height: 1.25em;

	border-bottom: solid 1px #C5D3EB;
}

/* TABLE */

/* SIDE PANEL */