.blue-block {
	font-size: 12px;
	background: #356A9E;
	background: -moz-linear-gradient(top, #356A9E 0%, #1F2B5D 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#356A9E), color-stop(100%,#1F2B5D));
	background: -webkit-linear-gradient(top, #356A9E 0%,#1F2B5D 100%);
	background: -o-linear-gradient(top, #356A9E 0%,#1F2B5D 100%);
	background: -ms-linear-gradient(top, #356A9E 0%,#1F2B5D 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#356a9e', endColorstr='#1f2b5d',GradientType=0 );
	background: linear-gradient(top, #356A9E 0%,#1F2B5D 100%);
	padding: 10px;
	color: white;
	box-shadow: 0 3px 15px #777;
	border: 3px solid white;
	overflow:hidden;
}
.blue-block .pseudo {
	color:#fff;
}
.blue-block .pseudo:hover {
	color:#f00;
}

hr {
	border: none;
	height: 1px;
	background: white;
	margin: 0.2em 0;
}

/* Кнопки */
button {
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;

	box-shadow: 0 2px 4px #777;
	text-shadow: 0 1px 2px #fff;

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

	font-size: 100%;
	font-weight:bold;
	border:none;
	padding: 7px 15px;
}
button:hover {
	background: #f7ea00; /* Old browsers */
	background: -moz-linear-gradient(top, #fff645 0%, #f9cd04 50%, #fbe380 51%, #fcae16 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff645), color-stop(50%,#f9cd04), color-stop(51%,#fbe380), color-stop(100%,#fcae16)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #fff645 0%,#f9cd04 50%,#fbe380 51%,#fcae16 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #fff645 0%,#f9cd04 50%,#fbe380 51%,#fcae16 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #fff645 0%,#f9cd04 50%,#fbe380 51%,#fcae16 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff645', endColorstr='#fcae16',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #fff645 0%,#f9cd04 50%,#fbe380 51%,#fcae16 100%); /* W3C */
}



button, button:hover {
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;

	box-shadow: 0 2px 2px #999;
	text-shadow:none;

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

}

button .icon_triangle {
	padding: 5px 0px 5px 15px;
	background:url('/document/i/button_icon.png') no-repeat 0px 50%;

}
button .icon_pause {
	padding: 5px 0px 5px 15px;
	background:url('/document/i/button_icon_pause.gif') no-repeat 0px 50%;
	font-size:15px;
}


button.blue {
	-webkit-border-radius: 14px;	-moz-border-radius: 14px;
	border-radius: 14px;

	box-shadow: 0 2px 2px #000;
	text-shadow: none;

	/*background: -moz-linear-gradient(top, #54B5DF 0%, #135EA1 50%, #3177B2 51%, #353F86 100%); /* FF3.6+ */
	background: #54b5df; /* Old browsers */
	background: -moz-linear-gradient(top, #54b5df 0%, #135ea1 50%, #3177b2 51%, #353f86 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#54b5df), color-stop(50%,#135ea1), color-stop(51%,#3177b2), color-stop(100%,#353f86)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* IE10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#54b5df', endColorstr='#353f86',GradientType=0 ); /* IE6-9 */
	background: linear-gradient(top, #54b5df 0%,#135ea1 50%,#3177b2 51%,#353f86 100%); /* W3C */

	font-size: 100%;
	font-weight:bold;
	border:none;
	padding: 5px 10px 7px;

	color:#fff;
}

button.cancel {
	margin-left:15px;

	padding: 5px 10px 7px;
	background:#9CA7BD;
	border-radius:14px;
	font-weight:bold;
	color:#000;
	text-decoration:none;

	box-shadow: none;
	text-shadow: none;
}
button:active {
	box-shadow: 0 1px 2px #777;
}
button.ui-datepicker-trigger,
button.ui-datepicker-trigger:hover {
	position: relative;
	background: none;
	filter: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	margin-left: -25px;
	margin-right: 10px;
	top: 3px;
}

/* Обсуждения */
#document-content-discuss { padding: 10px; }
.document-discussion	{ background-color: #edf0f5; padding: 10px 20px 0; margin: 0; }
#document-discussion-title	{ margin: 0; padding: 10px 0; font-weight: bold; }
.document-discussion-item	{ position: relative; padding: 10px 0 1.2em; clear: both; border-bottom: 1px solid #ccc; margin-bottom:1.2em;}
.document-discussion-item .document-discussion-item	{ padding-left: 60px; border-bottom:none; margin-bottom: 0; }
.document-discussion-item .userpic	{ float: left; width: 55px; }
.document-discussion-item .text	{ padding-left: 60px; }
.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 .info	{ position: relative; padding: 0.3em; margin-left: -0.3em; zoom: 1; }
.document-discussion-item .info button.blue { vertical-align: baseline; }
.document-discussion-item .marker-new	{ background-color: #fff5ba; }
.document-discussion-item .author	{ font-weight: bold; margin-right: 1em; }
.document-discussion-item .date	{ font-size: 85%; padding-top: 0.2em; }
.document-discussion-counter	{ clear:both; background-color: #fdfdfd; margin: 1.2em 0 0; padding: 10px; }
.document-duscussion-answer { display:none; }
.future-item { border-bottom:none; }
.future-item .pseudo { display:none; }
.future-item h3 { margin:0; }
.document-discussion-item .document-discussion-reply { margin-left: 55px; }
.future-item .document-discussion-reply { margin-left: 0; }
.document-discussion-item .document-discussion-reply h3 { display:none; }
.future-item .document-discussion-reply h3 { display: block; }

/* Таблица история */
table.document-history {
	border-collapse: collapse;
	width: 100%;
}
table.document-history th, table.document-history td {
	vertical-align:top;
	padding: 0.6em 25px 0.6em 5px;
}
table.document-history th {
	background: #e1e6ec;
	text-align: left;
	font-weight:normal;
}

/* JQUERY UI */

.ui-datepicker-trigger {
	background:none;
	border:none;
	height:16px;
	width: 16px;
	padding:0;
	cursor: pointer;
	margin-right: -15px;
}
#ui-datepicker-div {
	background: white;
	border: 1px solid #aaa;
	display:none;
	padding: 5px;
}
#ui-datepicker-div td, #ui-datepicker-div th {
	padding: 1px 2px;
}
#ui-datepicker-div td:hover {
	background: #f2f2f2;
}
.ui-datepicker-unselectable:hover {
	background:none !important;
}
.ui-datepicker-next {
	float:right;
}
.ui-datepicker-calendar td {
	padding: 3px;
	text-align: right;


}
.ui-datepicker-calendar td a {
	text-decoration: none;
}
.ui-datepicker-title {

}
/**/
/* Отчет по заданию */
.document-reply-version {
	display:none;
}
.document-reply-version-active {
	display:block;
}
.document-reply-version h2 {
	display: block;
	font-size: 150%;
	font-weight: normal;
}

.document-reply-version {
	padding: 10px;
	background: white;
	margin-bottom: 20px;
	padding-bottom: 20px;
}
.document-content-reply {
	background: white;
	position:relative;
	z-index: 1;
}
.document-content-reply a, .document-content-reply .pseudo {
	color: black;
}
.document-content-reply a:hover, .document-content-reply .pseudo:hover {
	color:#f00;
}
.document-content-reply-form {
	box-shadow: 0 3px 6px #ddd;
	margin: -10px -10px 0;
	padding: 10px;
}
.document-content-reply-form h2 {
	display:block;
	font-size: 150%;
	font-weight: normal;
}

.textarea-wrap {
	zoom: 1;
	margin: 10px 0;
}
.textarea-wrap textarea {
	position:relative;
	height: 40px;
	width: 700px;
	border: 1px solid #bbb;
	resize: vertical;
}
.document-reply-actions {
	margin: 0.6em 0;
}
.document-reply-actions .pseudo {
	margin-right: 2em;
}
.document-content-reply .document-buttons {
	text-align:center;
	margin-bottom: 20px;
}
.document-reply-navigation {
	float:right;
}
.document-reply-navigation .pseudo {
	margin-left: 1em;
}
.document-reply-rejection .icon {
	position:absolute;
}
.document-reply-rejection {
	display:none;
	padding: 0 10px;
	position: relative;
	border-radius: 3px;
	margin: 10px 0;
}
.document-reply-rejected h2 .pseudo {
	color:#f00;
}
.document-reply-rejected h2 .pseudo:hover {
	color:#000;
}
.document-reply-message {
	margin: 10px 0 20px;
}
.document-content-reply h2 {
	margin-bottom: -10px;
}
.document-content-reply .document-related-item h2 {
	font-size: 110%;
}

/* Исполнители */
#document-content-executors {
	overflow:hidden;
}
#document-content-executors table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 10px;
}
#document-content-executors th,
#document-content-executors td {
	text-align:left;
	vertical-align:top;
	font-weight: normal;
	padding: 7px 10px;
}
#document-content-executors th {
	background: #EBF5FE;
	padding: 10px;
}
.document-executors-expandable {
	display:none;
}
.document-executors-expander {
	display:none;
	padding: 10px;
}
#document-content-executors .document-related-item{
	box-shadow: 0 3px 10px black;
}
#document-content-executors .document-related-trigger {
	color: #026AB3;
}
#document-content-executors .document-related-trigger:hover {
	color: #f00;
}