/* плавающие панели */
#left	{ position: absolute; top: 0; left: 0px; right: 0px; bottom: 0; background: white; padding-bottom: 10px;padding: 0px 0px 10px 0px;}
#right	{ position: absolute; top: 0; left: 6px; right: 0px; bottom: 0; background: white; padding-bottom: 10px;padding: 0px 0px 10px 0px;}
#list-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: auto; width: auto; padding: 0px;}
#list-container {
	min-width: 400px;
}

#right {
	/*min-width: 800px;/**/
}

#panels-container {
	position: absolute;
	left: 230px;
	right: 5px;
	bottom: 0px;
}
#panels-container.content-panels-wide {
	left: 20px;
}
/* --плавающие панели */

.document-header {/*
	background: #b9d8ed;
	background: -moz-linear-gradient(top, #b9d8ed 0%, #a7a7c1 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b9d8ed), color-stop(100%,#a7a7c1));
	background: -webkit-linear-gradient(top, #b9d8ed 0%,#a7a7c1 100%);
	background: -o-linear-gradient(top, #b9d8ed 0%,#a7a7c1 100%);
	background: -ms-linear-gradient(top, #b9d8ed 0%,#a7a7c1 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d8ed', endColorstr='#a7a7c1',GradientType=0 );
	background: linear-gradient(top, #b9d8ed 0%,#a7a7c1 100%);
/**/
	/*overflow:hidden;*/
	position:relative;
	z-index: 1;

	/*box-shadow: 0px 2px 6px #ddd;/**/
}

#document-content {
	margin:0 10px 10px;
	padding-top:1px;
	padding-bottom:1px;
	background:#fff;
	border-radius:5px;
	box-shadow: 0 4px 4px #999;
}

#document-container {
	/*background: -moz-linear-gradient(center top , #C2E7F0 0%, #BED1E2 51%, #B4C1D4 100%) repeat scroll 0 0 transparent;/**/

	background: #c2e7f0; /* Old browsers */
	background: -moz-linear-gradient(top, #c2e7f0 0%, #b4c1d4 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c2e7f0), color-stop(100%,#b4c1d4)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c2e7f0', endColorstr='#b4c1d4',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #c2e7f0 0%,#b4c1d4 100%); /* W3C */
}


.document-header a,
.document-header .pseudo	{
	color: #000000;
}
.document-header a:hover,
.document-header .pseudo:hover	{
	color: #ffffff;
}

#document-title	{
	margin: 0.3em 0 0.5em;
	padding: 0px 10px;
	font-size: 180%;
	/*background: rgba(255, 255, 255, 0.3);
	background: #d7e0eb;
	/*text-shadow: 0 1px 2px #fff;/**/
}

#template-title	{ margin: 0 10px; padding: 10px 0; font-weight: bold; font-size: 110%; }

.document-info-top {
	font-weight:bold;
	text-shadow: 0 1px 2px #eee;
}
#template-info ul,
.document-info ul	{
	margin: 6px 10px;
	padding: 0;
}
#template-info li,
.document-info li {
	list-style: none;
	display: inline-block;
	margin: 0 20px 0 0;
	padding: 0;
	position: relative;
	//display:inline;
	//zoom: 1;
}

.template-info-type	{ display: inline-block; font-weight: normal; position: relative; margin-left: 1em;}
.template-info-type .document-icon	{ margin-top: 0; }
.document-info-type	{ font-weight: bold; }
.document-info-cert ins	{ color: #339900; cursor: hand; cursor: pointer; border-bottom: 1px dashed; text-decoration: none; }

div.template-content-tab	{ background-color: #f5f6f8 ! important; }

#template-content	{ margin: 1em auto; text-align: center; clear: left; }

/* блок кнопок темплейтов */
#template-actions	{ margin: 13px 8px; min-height: 2em; clear: left; }
#template-actions ul	{ margin: 0; padding: 0; }
#template-actions li	{ list-style: none; display: inline-block; position: relative; height: 2em; float: left; }
#template-actions li.template-actions-zoom,
#template-actions li.template-actions-pages	{ margin-left: 10px; padding-left: 10px; border-left: 1px solid #bbc7d3; }
#template-actions input	{ width: 1.3em; border: 1px solid #ff8e01; }
#template-actions .icon	{ margin-top: 0.3em; margin-right: 5px; }
#template-actions .icon-right	{ margin-right: 0; }
#template-actions button .icon	{ margin-top: 0; }
#template-actions .document-button	{ border-color: #ff8e01; background: none ! important; margin-top: -0.1em;
	border-radius: 9px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
}
/* --блок кнопок темплейтов */

/* блок превьюшек документов */
#template-preview	{ position: relative; clear: left; border-bottom: 1px solid #c5cfd9; background-color: #edf2f5;  }
#template-preview-main	{
	width: 140px;
	background: transparent;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edf2f5', endColorstr='#d9e2e9');
	background: -webkit-gradient(linear, left top, right top, from(#edf2f5), to(#d9e2e9));
	background: -moz-linear-gradient(left,  #edf2f5,  #d9e2e9);
}
#template-preview-attach	{ padding-left: 140px; background-color: #edf2f5; }
.template-preview-header	{ padding: 3px 10px; }
.template-prevew-doc	{ float: left; padding-left: 20px; width: 110px; overflow: hidden; padding-top: 9px; }
.template-preview-img	{ margin: 0; text-align: center; padding: 0; }
.template-preview-img img	{ border: 2px solid transparent; }
.template-preview-selected .template-preview-img img	{ border: 2px solid #ff8e01; }
.template-preview-name	{ padding: 3px 10px; margin: -5px 0 5px 0; overflow: hidden; white-space: nowrap; }
.template-preview-selected .template-preview-name	{ background-color: #ff8e01;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
#template-preview-main .template-preview-name	{ text-align: center; }
.template-preview-header	{ font-size: 90%; color: #444444; }
#template-preview-main .template-preview-header	{ background-color: #d1dae3; }
#template-preview-attach .template-preview-header	{ background-color: #e2e7ed; }
/* --блок превьюшек документов */


.d-date	{ color: #000000 ! important; }
.d-date-ok	{ color: #339900 ! important; font-weight: bold; }
.d-date-fail	{ color: #993300 ! important; font-weight: bold; }

/* табы */
.document-content-tab-list1 {
	margin: 15px 10px 5px 10px;
	padding: 0;
	font-size: 110%;
	font-weight: bold;
}
.document-content-tab-list1 li {
	list-style: none;
	display: inline-block;
	margin: 0;
	padding: 6px 15px;
	margin-bottom: 5px;
	//display:inline;
	//zoom: 1;
}
.document-content-tab-list1 li a	{
	display: block;
	text-decoration: none;
	border-bottom: 1px dotted;
}
.document-content-tab-list1 li.document-content-tab-active {
	background: #e8e6e7; /* Old browsers */
	background: -moz-linear-gradient(top, #e8e6e7 0%, #d4d8d9 50%, #edefee 50%, #b9c6d6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e6e7), color-stop(50%,#d4d8d9), color-stop(50%,#edefee), color-stop(100%,#b9c6d6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e8e6e7 0%,#d4d8d9 50%,#edefee 50%,#b9c6d6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #e8e6e7 0%,#d4d8d9 50%,#edefee 50%,#b9c6d6 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #e8e6e7 0%,#d4d8d9 50%,#edefee 50%,#b9c6d6 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e6e7', endColorstr='#b9c6d6',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #e8e6e7 0%,#d4d8d9 50%,#edefee 50%,#b9c6d6 100%); /* W3C */

	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;

	box-shadow: 0 1px 4px #333;
	text-shadow: 0 1px 2px #fff;
}
.document-content-tab-list1 li.document-content-tab-active a {
	cursor: default;
	border-bottom: none;
}
.document-content-tab-list1 li.document-content-tab-active a:hover {
	color:#000;
}


/* Табы документа */
.document-content-tab-list {
	margin:15px 0px 0 20px;
	padding:0 10px;
	position:relative;
	z-index:1;
	border:0;
	font-size:110%;
}
	.document-content-tab-list {
		padding-left:8px;
	}
	.document-content-tab-list li {

		display: inline-block;
		padding:10px 5px 10px;
	}
	.document-content-tab-list li a {
		color:#000;
	}

	.document-content-tab-list li a:hover {
		color:#000;
	}

	.document-content-tab-list li.document-content-tab-active {
		padding:0 24px 0 0;
		background:url('i/tabs_selected_r.png') no-repeat 100% 0;
	}
	.document-content-tab-list li.document-content-tab-active a {
		padding:10px 0px 10px 10px;
		display:block;
		background:url('i/tabs_selected_l.gif') no-repeat 0 0 #fff;
		font-weight:bold;
		text-decoration:none;
		cursor:default;
	}


div.document-content-tab {
	display: none;
	margin-left:10px;
	margin-right:10px;
	margin:10px;
	padding: 0px;
	background-color: #fff;
	/*background: url('/f/bgs/shadow-bottom-bg.png') left bottom repeat-x;/**/
}
div.document-content-tab-active	{ display: block; }
div.document-content-tab .tab-pad	{ padding: 10px; }



.document-content-tab2-list {
	position:relative;
	z-index:1;
	border:0;
	margin: 15px 0px 0 17px;
	padding:0;
}
.document-content-tab2-list li {
	display: inline-block;
	position: relative;
	background: #FFF;
	border: 1px solid #E4E4E4;
	border-width: 1px 0 0 1px;
	padding: 8px 18px 8px 20px;
	margin: 0 0 0 -7px;
}
.document-content-tab2-list li:after {
	content:'';
	position:absolute;
	z-index: 1;
	top: 0;
	right: -.5em;
	bottom: 0;
	width: 1em;
	background: #FFF;
	border-right: 1px solid #E4E4E4;
	-webkit-transform: skew(15deg);
	-moz-transform: skew(15deg);
	-ms-transform: skew(15deg);
	-o-transform: skew(15deg);
	transform: skew(15deg);
	border-radius: 0 3px 0 0;
}
.document-content-tab2-list li a {
	text-decoration: none;
}
.document-content-tab2-list li.document-content-tab2-active {
	z-index: 2;
	background: #EBF5FE;
	background-image: linear-gradient(to bottom, #D1D6EA, #EBF5FE);
	border-width: 1px 0 0 0;
	border-radius: 3px 3px 0 0;
	padding-left: 12px;
	padding-right: 12px;
}
.document-content-tab2-list li.document-content-tab2-active:after {
	background: #EBF5FE;
	background-image: linear-gradient(to bottom, #D1D6EA, #EBF5FE);
	border: 0;
}
.document-content-tab2-list li.document-content-tab2-active a {
	color: #000;
	border: 0;
	font-weight:bold;
	cursor:default;
}
div.document-content-tab2 {
	display: none;
	padding: 0px;
	background-color: #fff;
	/*background: url('/f/bgs/shadow-bottom-bg.png') left bottom repeat-x;/**/
	margin: 0 10px;
}
div.document-content-tab2-active	{ display: block; }
div.document-content-tab2 .tab-pad	{ padding: 10px; }
/* --табы */


/* кнопки */
.document-actions {
	padding: 10px;
	background-color: #edf0f5;
	margin-top: 5px;
	border-top: 1px solid #9eafbf;
}
.document-buttons {
	font-size: 110%;
	padding: 0 10px;
	margin: 10px 0;
}
.document-buttons a {
	font-weight:bold;
}
/*.document-button	{ border: none; background: transparent;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ecf1f4', endColorstr='#d5e0e6');
	background: -webkit-gradient(linear, left top, left bottom, from(#ecf1f4), to(#d5e0e6));
	background: -moz-linear-gradient(top,  #ecf1f4,  #d5e0e6);
	border: 1px solid #9eafbf;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 4px 10px;
	cursor: hand; cursor: pointer;
	margin-right: 10px;
}
.document-button-default, .document-button-ok	{
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#58ccff', endColorstr='#1465a7');
	background: -webkit-gradient(linear, left top, left bottom, from(#58ccff), to(#1465a7));
	background: -moz-linear-gradient(top,  #58ccff,  #1465a7);
	xborder: 1px solid transparent;
	border: none;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 5px 11px;
	color: #ffffff;
}
.document-button-cancel	{ border: none; background: transparent;
	border: none;
	padding: 4px 10px;
	cursor: hand; cursor: pointer;
	margin-right: 10px;
}
.document-button-cancel span	{ border-bottom: 1px dashed #000000; }
.document-button-icon	{ float: left; width: 14px; height: 14px; margin-top: 0.2em; margin-right: 0.5em; border: none ! important; }
.document-button-ok .document-button-icon	{ background-image: url('/f/icons/ico-btn-ok.gif'); }
.document-button-cancel .document-button-icon	{ background-image: url('/f/icons/ico-btn-cancel.gif'); }
 --кнопки */

/*
#document-discussion	{ background-color: #edf0f5; padding: 0; margin: 0; }
#document-discussion-title	{ margin: 0; padding: 10px; font-weight: bold; }
.document-discussion-item	{ position: realtive; padding: 10px; clear: both; }
.document-discussion-item .document-discussion-item	{ padding-left: 45px; }
.document-discussion-item .userpic	{ float: left; width: 55px; }
.document-discussion-item .reply-button	{ float: right; margin-top: -0.5em; }
.document-discussion-item .reply	{ float: left; padding: 0.3em; margin-left: 2em; }
.document-discussion-item .reply a	{ text-decoration: none; border-bottom: 1px dashed #026AB3; font-size: 85%; }
.document-discussion-item .usermarker	{ position: relative; float: left; padding: 0.3em; margin-left: -0.3em; }
.document-discussion-item .marker-new	{ background-color: #fff5ba; }
.document-discussion-item .author	{ float: left; font-weight: bold; margin-right: 1em; }
.document-discussion-item .date	{ float: left; font-size: 85%; padding-top: 0.2em; }
.document-discussion-item .message	{ padding: 2em 3em 1em 55px; }
.document-discussion-counter	{ background-color: #fdfdfd; margin: 0 10px 10px; padding: 10px; }
*/
#person-header	{ position: relative; padding: 30px 115px 20px; background-color: #e2e9ef; min-height: 70px; }
#person-userpic	{ float: left; margin-left: -95px; margin-top: -10px; }
#person-userpic img	{ border: 5px solid #ffffff; }
#person-star	{ float: left; margin-left: -20px; }
#person-name	{ font-weight: bold; font-size: 110%; }
.person-offline	{ font-weight: normal; font-size: 75%; color: #ff0000; display: inline; }
#person-position, #person-department	{ margin-top: 0.3em; }
#person-info	{ position: relative; clear: left; padding: 20px 20px 20px 220px; }
#person-photo	{ float: left; margin-left: -200px }
#person-info ul	{ margin: 0; padding: 0; }
#person-info li	{ list-style: none; padding: 0.7em 0 0 0; margin: 0; color: #7f8180; }
#person-info li span	{ color: #000000; }




/*#left,/**/
/*
#slidepanel-left-wrapper {
	min-width:300px;
}
/**/