/*
	ЦВЕТА Админки

	Primary Color (зеленый):
		23747C	257178	1F6F76	9AF0F8	DDF5F8
	Secondary Color A (синий):
		304889	324885	2B4383	A3BAF8	E0E6F8
	Secondary Color B (желтый):
		CC9C38	C5993A	C39432	FCDD9B	FCF3E0
	Complementary Color (желто-красноватый):
		CC7D38	C57C3A	C37632	FCC99B	FCEDE0


	Разработчику:
		Общие для всех проектов стили table2 и edit-формы вынесены в q-adm/_table2.css и q-adm/_edit.css!
		Если твоё изменение на низком уровне - пиши туда, если на уровне проекта - пиши сюда.

*/
/*-------------------------------------------------------------------------------------------------------------------*/
.modal-banzai {
	z-index: 1050;
}
.modal-banzai .modal-content {
	width: 600px;
}
.modal-banzai .modal-header {
	border-width: 0;
	margin-bottom: 0;
	padding: 20px;
}
.modal-banzai .progress-bar {
	width: 100%;
}

.table2-pre {
	background: url('data:image/gif;base64,R0lGODlhHwAfAPUAAP///wAAAOjo6NLS0ry8vK6urqKiotzc3Li4uJqamuTk5NjY2KqqqqCgoLCwsMzMzPb29qioqNTU1Obm5jY2NiYmJlBQUMTExHBwcJKSklZWVvr6+mhoaEZGRsbGxvj4+EhISDIyMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEgUDAgFA4BiwSQexKh0eEAkrldAZbvlOD5TqYKALWu5XIwnPFwwymY0GsRgAxrwuJwbCi8aAHlYZ3sVdwtRCm8JgVgODwoQAAIXGRpojQwKRGSDCRESYRsGHYZlBFR5AJt2a3kHQlZlERN2QxMRcAiTeaG2QxJ5RnAOv1EOcEdwUMZDD3BIcKzNq3BJcJLUABBwStrNBtjf3GUGBdLfCtadWMzUz6cDxN/IZQM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ZXfjywjlzX9jdXNEHiAVFX8ODwoQABAKDw5bZQxpQh8YiIhaERJqEhF4WwRDDpubAJdqaWZeAByoFR0edEMTolsIAA+yFUq2QxJmAgmyGhvBRJNbA5qoGcpED2MEFrIX0kMKYwUUslDaj2PA4soGY47iEOQFY6vS3FtNYw/m1KQDYw7mzFhPZj5JGzYGipUtESYowzVmF4ADgOCBCZTgFQAxZBJ4AiXqT6ltbUZhWdToUSR/Ii1FWbDnDkUyDQhJsQPn5ZU9atjUhCPHVhgTNy/RSKsiqKFFbUaQKGHiJNyXIAAh+QQJCgAAACwAAAAAHwAfAAAG/0CAcEh8JDAWCsBQIAwExKhU+HFwKlgsIMHlIg7TqQeTLW+7XYIiPGSAymY0mrFgA0LwuLzbCC/6eVlnewkADXVECgxcAGUaGRdQEAoPDmhnDGtDBJcVHQYbYRIRhWgEQwd7AB52AGt7YAAIchETrUITpGgIAAJ7ErdDEnsCA3IOwUSWaAOcaA/JQ0amBXKa0QpyBQZyENFCEHIG39HcaN7f4WhM1uTZaE1y0N/TacZoyN/LXU+/0cNyoMxCUytYLjm8AKSS46rVKzmxADhjlCACMFGkBiU4NUQRxS4OHijwNqnSJS6ZovzRyJAQo0NhGrgs5bIPmwWLCLHsQsfhxBWTe9QkOzCwC8sv5Ho127akyRM7QQAAOwAAAAAAAAAAAA==') 25px top no-repeat;
	height:31px;
}
.table2-panel, table.table2 {
	width:95%;
	margin:0 auto;
	color:#000;
}
.table2-panel > table.table2 {
	width:100%;
}
.table2-panel .panel-heading, .table2-panel .panel-footer, .table2-footer {
	padding-top:2px;
	padding-bottom:5px;
}
.table2-panel .panel-heading h4 {
	margin-top:5px;
	margin-bottom:7px;
}
.table2-panel .panel-footer .info, .table2-footer .info {
	color : #666;
	line-height:34px;
}
.table2-panel .panel-footer .pagination, .table2-footer .pagination {
	margin: 4px auto;
}
.table2-panel .panel-footer .pagination > *, .table2-footer .pagination > * {
	float:left;
}
.table2-panel .panel-footer .pagination .input-group, .table2-footer .pagination .input-group {
	width:80px;
}
.table2-panel .panel-footer .pagination > span, .table2-footer .pagination > span {
	padding:5px 5px 0px 5px;
}
.table2-panel .panel-footer .pagination .dropdown-menu, .table2-footer .pagination .dropdown-menu {
	min-width: 50px;
}
.table2-panel .panel-footer .pagination .dropdown-menu li, .table2-footer .pagination .dropdown-menu li {
	cursor: pointer;
}
.table2  > thead > tr > th, .table2  > thead > tr > td {
	padding:.7em 3px;
	vertical-align:top;
}
.table2  > thead > tr > th.table2-menu, .table2  > thead > tr > td.table2-menu {
	vertical-align:middle;
}
.table2  > thead > tr.table2-head-headers-last th:not(.table2-menu), .table2  > thead > tr.table2-head-headers-last td:not(.table2-menu) {
	border-bottom-width:0;
	padding-bottom:0;
}
.table2  > thead > tr.table2-head-filters th, .table2  > thead > tr.table2-head-filters td {
	border-top-width:0;
	padding-top:0;
}
.table2-head-filters ::-webkit-input-placeholder {
	font-weight: normal;
	font-size: .9em;
	color: grey;
}
.table2-head-filters :-moz-placeholder {
	font-weight: normal;
	font-size: .9em;
	color: grey;
}
.table2-head-filters ::-moz-placeholder {
	font-weight: normal;
	font-size: .9em;
	color: grey;
}
.table2-head-filters :-ms-input-placeholder {
	font-weight: normal;
	font-size: .9em;
	color: grey;
}
.table2 > thead > tr > th .title, .table2 > thead > tr > td .title {
	font-size:14px;
	font-weight:bold;
	padding-left:1em;
}
.title.table2-sorter {
	cursor: pointer;
}
.title.table2-sorter:after {
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	color: #999;
	padding-left: 15px;
	vertical-align: middle;

	content: '\e150';
}
.title.table2-sorter.table2-sorter-asc:after {
	content: '\e113';
	content: '\e155';
}
.title.table2-sorter.table2-sorter-desc:after {
	content: '\e114';
	content: '\e156';
}
.title.table2-sorter.table2-sorter-alph.table2-sorter-asc:after {
	content: '\e151';
}
.title.table2-sorter.table2-sorter-alph.table2-sorter-desc:after {
	content: '\e152';
}
.title.table2-sorter.table2-sorter-num.table2-sorter-asc:after {
	content: '\e153';
}
.title.table2-sorter.table2-sorter-num.table2-sorter-desc:after {
	content: '\e154';
}
.title.table2-sorter:focus:after, .title.table2-sorter:hover:after {
	color: inherit;
}
.table2  > tbody > tr > td {
	padding:3px 5px 3px 4px;
}
.table2 > tbody > tr:nth-child(odd) > td,
.table2 > tbody > tr:nth-child(odd) > th {
  background-color: #E0E6F8;
}
.table2 > tbody > tr.odd > td,
.table2 > tbody > tr.odd > th {
  background-color: #E0E6F8;
}
.table2 > tbody > tr:nth-child(even) > td,
.table2 > tbody > tr:nth-child(even) > th {
  background-color: #DDF5F8;
}
.table2 > tbody > tr.even > td,	/* дурацкий ИЕ не понимает если это правило записать в предыдущей строке	*/
.table2 > tbody > tr.even > th {
  background-color: #DDF5F8;
}

.table2 > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
	background-color:#f5f5f5;
}

/*
	Внешний вид фильтров
*/
.table2 > thead > tr > th > .filter, .table2 > thead > tr > td > .filter {
}
.table2 > thead > tr > th > .filter .filter-size,
.table2 > thead > tr > td > .filter .filter-size {
	height: 25px;
	font-size: 12px;
}
.table2 > thead > tr > th > .filter span.filter-size,
.table2 > thead > tr > td > .filter span.filter-size {
	height:auto;
}
.table2 > thead > tr > th > .filter button.filter-size,
.table2 > thead > tr > td > .filter button.filter-size {
	padding: 1px 5px;
}
.table2 > thead > tr > th > .filter input.form-control,
.table2 > thead > tr > td > .filter input.form-control {
	padding: 2px 5px;
	margin:2px 2px 0 0;
	border-radius: 3px;
}
.table2 > thead > tr > th > .filter select.form-control,
.table2 > thead > tr > td > .filter select.form-control {
	padding: 2px 5px;
	margin:2px auto 0 auto;
	width: auto;
}
.table2 > thead > tr > th > .filter .btn-qwxselect-p-buttons,
.table2 > thead > tr > td > .filter .btn-qwxselect-p-buttons {
	width: 100%;
	white-space: nowrap;
}
.table2 > thead > tr > th > .filter .btn-qwxselect-p-buttons .btn-qwxselect-p-label,
.table2 > thead > tr > td > .filter .btn-qwxselect-p-buttons .btn-qwxselect-p-label {
	float: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width:60px;
}
.table2 > thead > tr > th > .filter .btn-qwxselect-p-buttons .btn-qwxselect-p-caret,
.table2 > thead > tr > td > .filter .btn-qwxselect-p-buttons .btn-qwxselect-p-caret,
.table2 > thead > tr > th > .filter .btn-qwxselect-p-buttons .btn-qwxselect-p-clear,
.table2 > thead > tr > td > .filter .btn-qwxselect-p-buttons .btn-qwxselect-p-clear {
	padding-left: 3px;
	padding-right: 3px;
}
.table2 > thead > tr > th > .filter .qwxselect-dropdown,
.table2 > thead > tr > td > .filter .qwxselect-dropdown {
	padding-top:2px;
}
.table2 > thead > tr > th > .filter .qwxselect-dropdown .dropdown-menu,
.table2 > thead > tr > td > .filter .qwxselect-dropdown .dropdown-menu {
	font-size:12px;
}
.table2 > thead > tr > th > .filter .qwxselect-dropdown .dropdown-menu li a,
.table2 > thead > tr > td > .filter .qwxselect-dropdown .dropdown-menu li a {
	padding: 2px 10px;
}
.table2 > thead > tr > th > .filter.input-daterange .input-group:first-child,
.table2 > thead > tr > td > .filter.input-daterange .input-group:first-child {
	margin-bottom:1px;
}
.table2 > thead > tr > th > .filter.input-daterange span.input-group-addon,
.table2 > thead > tr > td > .filter.input-daterange span.input-group-addon {
	font-family:monospace;
	padding-top:0;
	padding-bottom:0;
	border-width:1px;
}
.table2 > thead > tr > th > .filter.input-daterange .form-control,
.table2 > thead > tr > td > .filter.input-daterange .form-control {
	margin:auto;
	width:6.5em;
}
.table2-head-filters .input-daterange2 .dropdown-menu {
	width: 300px;
	padding: 10px;
}
.table2-head-filters .input-daterange2 [role="close"] {
	margin-left: 10px;
}


/*
	Стили меню
*/
.table2 > tbody > tr .table2-menu {
}
.table2 > tbody > tr .table2-menu > a[role] {
	vertical-align:top;
}
.table2 > tbody > tr .table2-menu > .dropdown > a {
	color: #000;
}
.table2 > tbody > tr .table2-menu ul.list-inline {
	display:inline-block;
	margin:0 auto;
}
.table2 > tbody > tr .table2-menu ul.list-inline > li {
	padding:0;
}
.table2 > tbody > tr .table2-menu ul.list-inline > li.newline {
	display:block;
	height:2px;
}
.table2 > tbody > tr .table2-menu ul.list-inline > li > a.btn-xs {
	line-height:1.35;
}

/*
	Селекторы ячеек не относящиеся к конкретному типу данных
*/
.table2 td.nowrap {
	white-space:nowrap;
}

/*
	Стиль ячейки содержащей данные конкретного типа
*/
.table2 td.cell-bool {
	text-align:center;
}
.table2 td.cell-time, .table2 td.cell-date {
	white-space:nowrap;
}

/*
	Стили для особого случая:
		ячейка содержащая данные конкретного поля (или заголовка)
*/
.table2 td.fld-create_time, .table2 td.fld-submit_time,
.table2 td.fld-creator, .table2 td.fld-submitter,
.table2 td.fld-creator_id, .table2 td.fld-submitter_id {
	white-space:nowrap;
	font-size:smaller;
	width:2%;
}

/*
	Стили для особого случая:
		список ролей пользователя
*/
.table2 td.cell-user_roles, table[role="table2"] td.cell-user_roles {
	width:45%;
}
.table2 td.cell-user_roles span em, table[role="table2"] td.cell-user_roles span em {
	font-size:.95em;
}
.table2 td.cell-user_roles span:after, table[role="table2"] td.cell-user_roles span:after {
	content:', ';
}
.table2 td.cell-user_roles span:last-child:after, table[role="table2"] td.cell-user_roles span:last-child:after {
	content:'';
}

/*
	Стили для особого случая:
		список привилегий роли
*/
.table2 td.cell-role_privileges, table[role="table2"] td.cell-role_privileges {
	max-width:700px;
	width:700px;
}
.table2 table.table-role-privileges td.privilege-obj,
table[role="table2"] table.table-role-privileges td.privilege-obj {
	width:45%;
}
.table2 table.table-role-privileges td.privilege-obj span,
table[role="table2"] table.table-role-privileges td.privilege-obj span {
	font-size:.95em;
}
.table2 table.table-role-privileges td.privilege-obj span:after,
table[role="table2"] table.table-role-privileges td.privilege-obj span:after {
	content:', ';
}
.table2 table.table-role-privileges td.privilege-obj span:last-child:after,
table[role="table2"] table.table-role-privileges td.privilege-obj span:last-child:after {
	content:'';
}

/*
	Стили для dropmenu используемого как выпадающий список при редактировании и в качестве фильтра в table2
*/
.qwxselect-dropdown {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
.qwxselect-dropdown > .btn {
	position: relative;
	float: left;
}
.qwxselect-dropdown .btn.form-control {
	height:25px;
}
.qwxselect-dropdown .btn .bind-label {
	text-align: left;
	float:left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.qwxselect-dropdown .btn .caret {
   margin-top: -1px;
   position: absolute;
   right: 5px;
   top: 50%;
}
.qwxselect-dropdown button.btn-remove {
	margin-left:1px;
}
.qwxselect-dropdown ul.dropdown-menu {
	text-align:left;
}
.qwxselect-popup .modal-header {
	border-bottom-width: 0;
	padding-bottom: 0;
}
.qwxselect-popup .modal-body {
	padding:10px 0;
}
.qwxselect-popup .btn-qwxselect-p-select {
	margin-right: 10px;
}
.qwxselect-popup .table2-menu {
	vertical-align: middle;
}
.qwxmultiselect-container > div > div {
	margin-bottom:.3em;
}

.editFormBootstrap1 {
	margin-top:1em;
}
.editForm.editFormBootstrap1 .form-horizontal .page-header {
	margin-top:0;
}
.editForm.editFormBootstrap1 .form-horizontal .page-header h3 {
	margin-top:0;
}
.editForm .input-group .glyphicon {
	top : 0;
}

/*
	Утилитарные стили
*/
.mce-container .glyphicon, .mce-btn-small .glyphicon {
	font-family: 'Glyphicons Halflings' !important;
}
.editForm .table2-panel-inline {
	width:100%;
}
div.mce-fullscreen {
	z-index: 1500;
}

/*
	Стили компонент редактирования полей конкретного типа
*/
.editForm .form-group select.form-control.form-control-enum {
	width: auto;
}
.editForm .qwx-edit-objrefs-popup .btn-qwxselect-p-buttons button {
	font-size: 13px;
}
.editForm .qwxedit-file-objref-buttons button {
	display: block;
	width: 100%;
}
.editForm .qwxedit-file-objref-buttons button:first-child {
	margin-bottom: 5px;
}
.editForm .qwxedit-file-container {
	display: table-cell;
}
.editForm .qwxedit-file-objref-preview {
	max-width: 175px;
}
.editForm .qwxedit-file-objref-preview.thumbnail .caption {
	background-color: #eeeeee;
}
.editForm .qwxedit-file-objref-preview.thumbnail .caption a {
	word-wrap: break-word;
	font-size: .9em;
}
.editForm .qwxedit-file-objref-preview.thumbnail .caption span {
	font-style: italic;
}
.editForm .qwxedit-file-objref-buttons {
	margin-left: 10px;
}
.editForm .qwxedit-list-group {
	margin-left: 0;
}
.editForm .qwxedit-list-group .list-group-item {
	border-width:0px;
	padding:0;
	margin-right:5px;
}
.editForm .qwxedit-list-group .list-group-item .qwxedit-file-objref-buttons {
	margin:0 auto;
}
.editForm .qwxedit-file-objrefs-list-group .list-group-item .qwxedit-file-objref-buttons button {
	margin-top:3px;
}
.editForm .qwxedit-file-objrefs-list-group .list-group-item .qwxedit-file-objref-buttons .btn-qwxfile {
	display:none;
}
.editForm .qwxedit-file-objrefs-list-group .list-group-item .thumbnail {
	margin-bottom: 0;
}

/*
	Редактирование коллекций однородных объектов
*/
div.qwxeditablecollection > * > *:first-child > *:first-child {
	margin-top: 6px;
}
.qwxeditablecollection button.btn-remove {
	position: absolute;
	top: -1px;
	left: -1px;
	z-index: 10;
}
table.qwxeditablecollection > tbody > tr > td:first-child {
	position: relative;
	padding-left: 70px;
}

/*
	Редактирование Menu && MenuItem
*/
.menu-item-sortable-highlight {
	height: 6em;
	line-height: 6em;
	padding: 5px;
	margin-bottom: 5px;
	border-radius: 3px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
	background-color: #fbfbfb;
	border: 1px solid #c3c3c3;
}
.editForm .form-group-menu-items {
	margin-top:2em;
}
.editForm .items-tree ul li {
	margin-left:50px;
	position:relative;
	cursor:move;
}
.editForm .items-tree > ul > li {
	margin-left:0;
}
.editForm .items-tree li::before, .editForm .items-tree li::after{
	content:'';
	left:-20px;
	position:absolute;
	right:auto
}
.editForm .items-tree li::before{
	border-left:1px solid #777;
	bottom:50px;
	height:110%;
	top:-5px;
	width:1px;
	-webkit-transition:"border-color 0.1s ease 0.1s";
	-moz-transition:"border-color 0.1s ease 0.1s";
	-o-transition:"border-color 0.1s ease 0.1s";
	transition:"border-color 0.1s ease 0.1s"
}
.editForm .items-tree li::after{
	border-top:1px solid #777;
	height:20px;
	top:13px;
	width:20px;
	-webkit-transition:"border-color 0.1s ease 0.1s";
	-moz-transition:"border-color 0.1s ease 0.1s";
	-o-transition:"border-color 0.1s ease 0.1s";
	transition:"border-color 0.1s ease 0.1s";
}
.editForm .items-tree li:last-child::before {
	height: 30px;
}
.editForm .items-tree > ul > li::before, .editForm .items-tree > ul > li::after {
	border: 0;
}
.editForm .items-tree ul li > .menu-item-details {
	padding: 5px;
	margin-bottom: 5px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 3px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
}
.editForm .items-tree ul li > .menu-item-details .menu-item-head {
	font-size: 20px;
}
.editForm .items-tree ul li > .menu-item-details .menu-item-details-block > span.glyphicon {
	color:#777;
	margin-right:5px;
}
.editForm .items-tree ul li > .menu-item-details .menu-item-label {
	color: #999;
	display: block;
	font-size: 13px;
}
.editForm .items-tree ul li > .menu-item-details .menu-item-val {
	color: #444;
	display: inline;
	font-size: 15px;
}
.editForm .items-tree ul li button {
	cursor:pointer;
}

/*-------------------------------------------------------------------------------------------------------------------*/
/*
		Секция очень общих стилей
*/
html, body {
	height: 100%;
	font-size: 13px;
	font-family: Tahoma, Geneva, sans-serif; /*	???	*/
}

/*
	Скелет страницы
*/
#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -55px;
	padding: 0 0 59px;
}
#wrap > .nav {
	padding: 50px 15px 0;
	margin-bottom:5px;
}
#wrap > .personalized_header_menu {
	padding-top:50px;
}
#footer {
	height: 55px;
	background-color: #24747d;
}
#footer > .container {
	padding-left: 10px;
	padding-right: 10px;
}
#footer, #footer a, #footer .credit, #footer .credit a {
	color:#fff;
}
#footer address {
	float:left;
	font-size:11px;
	color:#ccc;
	margin:6px 0 0 0;
}
#footer address a {
	color:#fff;
	text-decoration:none;
}
#footer address a:hover {
	text-decoration:underline;
}
#footer > .container .credit {
	margin: 10px 0;
}

/*
		Горизонтальная навигация
*/
#wrap > .navbar {
	background-color: #24747d;
	background-image: none;
}
#wrap > .navbar, #wrap > .navbar a.navbar-brand {
	color : #fff;
}
#wrap > .navbar a.navbar-brand:hover, #wrap > .navbar a.navbar-brand:focus {
	color : #fff;
	text-shadow: 0px 0px 1px #fff;
}
#wrap > .navbar > .navbar-header a {
	font-size: 14px;
	line-height: 16px;
}
#wrap > .navbar > .navbar-header.navbar-right a.btn {
	font-size: 12px;
	line-height: 1.5;
}

/*
		M I S C
*/
a {
	color: #23747c;
}
.nowrap {
	white-space:nowrap;
}
.center {
	text-align:center;
}
.slim {
	width:2%;
}
.btn-primary-wait {
	padding-right:30px;
	background-image : url(/img/ajax-loader-primary-wait.gif);
	background-repeat: no-repeat;
	background-position:96% center;
}

/*
	M E N U
*/
	ul.menu { background-color: #eeeeee; border-top:1px solid #cccccc; border-bottom: 1px solid #cccccc; padding: 1px 0 1px 14px; margin: 0; clear:both; float: left;width: 100%; }
	ul.menu li { list-style-type: none; }
	ul.menu2, ul.menu3 { padding:0; margin: 0; border: 1px solid #cccccc;background-color: #eeeeee;} 
	li.menu1 { float: left; padding: 4px 13px 4px 12px;  }
	li.menu1, li.menu2 { position: relative;  cursor:pointer;} 
	li.menu2, li.menu3 { padding: 2px 18px 2px 4px; white-space: nowrap; }
	li.menu1:hover, li.menu2:hover, li.menu3:hover { background-color:#cccccc; }
	table.menu2, table.menu3 { position: absolute; display: none; background-color: #eeeeee; }
	ul.menu2 {  }
	ul.menu3 { }
	table.menu2 { left: 0px; top:22px; z-index:40;}
	table.menu3 { top: 2px;	 z-index: 50;}
	div.menu_arr { color: #444444;position: absolute; right: 2px; } 
	.activemenu1 { font-weight: bold; background-color: #d7d7d7;}
	.activemenu2 { font-weight: bold; }
	.activemenu3 { font-weight: bold; }
	.activemenu1 table, .activemenu2 table {font-weight:normal; }
	ul.menu_l2 { background-color: #dddddd;  border-bottom: 1px solid #cccccc; padding: 1px 0 1px 14px; margin: 0; clear:both; float: left;width: 100%; }
	li.menu_l2 { list-style-type: none;  float: left; padding: 4px 13px 4px 12px;}
	ul.menu_l3 { background-color: #cccccc;  border-bottom: 1px solid #bbbbbb; padding: 1px 0 1px 14px; margin: 0; clear:both; float: left;width: 100%; }
	li.menu_l3 { list-style-type: none;  float: left; padding: 4px 13px 4px 12px;}
	li.menu_l2:hover { background-color:#c7c7c7; }
	li.menu_l3:hover { background-color:#b7b7b7; }
	.activemenu_l2 { background-color: #cccccc; }
	.activemenu_l3 { background-color: #bbbbbb; }


td.c { text-align:center; }
/*
	Главная таблица
*/
table.t {
	border-collapse: collapse;
	width: 100%;
}
table.t td {
	font-size:12px;
	padding:1px 4px;
}
table.t > thead > tr > td,
table.t > thead > tr > th,
table.t > tfoot > tr > td,
table.t > tfoot > tr > th {
	background-color: #f1f1f1;
	font-weight: bold;
	font-size:14px;
	padding:1px 4px;
	vertical-align:middle;
}
table.t tbody tr td {
	background-color: #DDF5F8;
}
table.t tbody tr.odd td,table.t tbody tr:nth-child(odd) td  {
	background-color: #E0E6F8;
}
table.t tbody tr.selected td {
	background-color: #9AF0F8;
}
table.t tbody tr.odd.selected td, ,table.t tbody tr.selected:nth-child(odd) td {
	background-color: #A3BAF8;
}
table.t .td_menu_item {
	display: inline;
	padding-right:2px;
}
table.t td.menu {
	width:1%;
	white-space: nowrap;
}
table.t td.r {
	text-align: right;
}
table.t td.c, table.t th.c {
	text-align: center;
}

/*
	Фильтры в главной таблице
*/
table.t .filter-el-table {
	width:100%;
}
table.t .filter-el-table, table.t .filter-el-table > thead > tr > td {
	border-collapse : collapse;
	padding : 0 2px;
	border-spacing:0;
}  
table.t .filter-el-table .filter-el-fld-title {
	white-space:nowrap;
}
table.t .filter-el-table .filter-el-fld-filter {
	width:100%;
}
table.t .filter-el-table .filter-el-fld-filter > input {
	width:95%;
}
table.t select.filter-program {width:310px}

/*--------------------------------------------------------------------------------------------------------- */
	.pager { text-align: center; } 
	.pager .larr { margin-right:1em;font-size:1.25em; text-decoration: none;}
	.pager .rarr { margin-left:1em;font-size:1.25em; text-decoration: none;}
	.pager .ell { padding: 0 1em; }
/*--------------------------------------------------------------------------------------------------------- */

div.fondp { margin: 10px 5px 30px 20px; }
div.object_menu { margin: 5px 0 5px 100px; }
div.object_menu span { font-size: 18px; } 
h3.object_menu {
	margin: 5px 0 5px 7%;
	line-height:30px;
}
h3.object_menu span {
	font-size: 17px;
}
h3.object_menu span.label {
	font-weight:normal;
}
h3.object_menu span.label a {
	color : #fff;
}
h3.object_menu span.prgm {
	margin-right:1em;
	font-size: 21px;
}
h3.object_menu span.prgm a, h3.object_menu span.prgm a span {
	color:#000;
	text-decoration:none;
	font-size: 12px;
	vertical-align:top;
}

/*
	Формы редактирования
*/
.editFormBootstrap1 .nav-tabs a {
	font-size:16px;
}
.editFormBootstrap1 .tab-content .tab-pane {
	padding:1em;
}
.editFormBootstrap1 .bg-primary a {
	color:#fff;
	text-decoration:underline;
}
.editFormBootstrap1 .bg-primary a:hover, .editFormBootstrap1 .bg-primary a:focus {
	text-decoration:none;
}
.editFormBootstrap1 .mce-btn button {
	padding:4px 6px;
}
.editFormBootstrap1 .mce-ico, .editFormBootstrap1 .mce-btn button span {
	font-size:13px;
}
.editFormBootstrap1 .mce-ico {
	line-height:15px;
}
.editFormBootstrap1 .btn-hellip {
	font-size:17px;
	font-weight:bold;
	line-height:4px;
	padding-bottom:6px;
}
.editFormBootstrap1 .btn-hellip-target {
	display:none;
}

/*
	форма заявки в админке
*/
#application_form dl.GrantApplicationReport {margin-left:20px}
#application_form dl.GrantApplicationReport dt {margin-top:.5em;}
#application_form dl.GrantApplicationReport dd {margin:0 0 1em 40px}
#application_form dl.GrantApplicationReport dd .f {padding:.2em 0;}
.operation_form { border-bottom:1px solid #777777; padding:15px 0 30px 0; margin:15px 0 0 0; } 
.operation_fields { margin:0 20px 10px 20px; } 
.operation_btn { margin-left:20px; margin-right:20px; font-weight: bold; }
.operation_btn_make_spam { background-color: #ff6601; }
.operation_btn_reject { background-color: #ff6601; }
.operation_btn_accept { background-color: #24747d; }

.editorComment textarea { width:70%; background-color: #FFBB99; }
.editorComment { cursor: pointer; } 

/*
	table2 spec styles
*/
.table2 .h-event_date .title,
.table2 .h-creator .title,
.table2 .h-submitter .title {
	white-space:nowrap;
}
.table2.table2Forms .fld-objclass_id,
.table2.table2Forms .fld-subj {
	font-size:0.85em;
}

/*
	Callouts

	Not quite alerts, but custom and helpful notes for folks reading the docs.
	Requires a base and modifier class.
*/
.bs-callout {
	margin: 20px 0;
	padding: 20px;
	border-left: 3px solid #eee;
}
.bs-callout h3, .bs-callout h4 {
	margin-top: 0;
	margin-bottom: 5px;
}
.bs-callout p:last-child {
	margin-bottom: 0;
}
.bs-callout-danger {
	background-color: #fdf7f7;
	border-color: #eed3d7;
}
.bs-callout-danger h3, .bs-callout-danger h4 {
	color: #b94a48;
}
.bs-callout-warning {
	background-color: #faf8f0;
	border-color: #faebcc;
}
.bs-callout-warning h3, .bs-callout-warning h4 {
	color: #c09853;
}
.bs-callout-info {
	background-color: #f4f8fa;
	border-color: #bce8f1;
}
.bs-callout-info h3, .bs-callout-info h4 {
	color: #3a87ad;
} 

/*
	Интерфейс назначения эксперта заявке на грант http://zayavka.fond.dev/adm/grants/grants/ID
*/
#app-e42 {}
#app-e42 .page-header {
	margin-top:0;
}
#app-e42 .page-header h3 {
	margin:0;
}
#app-e42 .app-expert-form {}
#app-e42 .app-expert-form h3 {
	margin-bottom : 1em;
	border-bottom: 1px solid #ccc;
}
#app-e42 .app-expert-form .bs-callout {
	padding-left:10px;
	padding-right:10px;
}
#app-e42 .app-expert-form .bs-callout > div {
	margin-bottom:1.5em;
}
#app-e42 ul.list-tags > li {
	padding:2px 0;
}
#app-e42 ul.list-tags > li:first-child {
	padding-right:6px;
}
#app-e42 .bs-callout-info:hover {
	background-color:#bce8f1;
}
#app-e42 .app-expert-form-appointed-experts button {
	margin-bottom:4px;
}
#app-e42 .app-expert-form-appointed-experts button.btn-primary:not(.cdlt_0):hover span.glyphicon {
	color:#ff7777;
}
#app-e42 .app-expert-form-appointed-experts button span.name,
#app-e42 .app-expert-form-proposed-experts ul.list-experts span.name {
	padding-left:4px;
	vertical-align:baseline;
}
#app-e42 .app-expert-form-appointed-experts span.badge,
#app-e42 .app-expert-form-proposed-experts ul.list-experts span.badge {
	margin-left:20px;
	padding-left:6px;
	padding-right:6px;
	color: #428bca;
	background-color: #fff;
}
#app-e42 .app-expert-form-proposed-experts ul.list-experts {
	margin-top : 1em;
}
#app-e42 .app-expert-form-proposed-experts ul.list-experts li {
	margin-bottom:6px;
}
#app-e42 .app-expert-form-proposed-experts ul.list-experts li:last-child {
	margin-bottom:0;
}

/*
	Подвал "Оценки эксперта" на странице заявки на грант http://zayavka.fond.dev/adm/grants/grants/ID
*/
.expert-requests-panel {}
.expert-requests-panel .expert-request-change-expert {
	margin-top:1em
}
.expert-requests-panel .expert-request-weight-form {
	margin-top:1em
}
.expert-requests-panel .expert-request-weight-form .labell {
	float:left;
	font-size:15px;
	margin-left:10px;
}
.expert-requests-panel .expert-request-weight-form .slider {
	float:left;
	width:210px;
	margin:6px 15px 0 15px;
}
.expert-requests-panel .expert-request-weight-form .buttons {
	float:left;
}

/*
		Страница редактирования эксперта,
		диалог работы с договорами
*/
.edit-expert-contract-list-row .edit-expert-contract-tags,
.edit-expert-contract-list-row .edit-expert-contract-nominations {
	font-size:12px;
}
.edit-expert-contract-list-row .edit-expert-contract-tags label,
.edit-expert-contract-list-row .edit-expert-contract-nominations label {
	vertical-align:middle;
}
.edit-expert-contract-list-row .leader {
	font-style:italic;
	font-weight:bold;
	padding-bottom:11px;
}
.edit-expert-contract-list-row .leader label {
	font-weight:bold;
}

/*
		Сводная таблица по экспертам работающим с заявками программы
*/
table.table-program-experts > tbody > tr > td:first-child {
	white-space:nowrap;
}
.program-experts-container h2 { 
	margin: 5px 10px 0 10px;
}
.program-experts-container td, .program-experts-container th { text-align: center; } 
.program-experts-container td.l { text-align: left; padding-left:15px;} 

/*
		Список направлений деят. экспертов
*/
.table2-adm-grant-tags td.fld-experts {
	width:35%;
}

/*
	Редактор форм
*/
.editorForm-page-group {
	padding: 7px 0;
	border-top: 1px solid #eee;
}
.editorForm-page-group:first-child {
	border-top-width:0px;
}
.editorForm-page-group-fields table.table2 > thead > tr > th {
	padding-top:2px;
	padding-bottom:3px;
}
.editorForm-page-group-fields table.table2 > tbody > tr > td.fld-objclass_id {
	width: 250px;
}
.editorForm-page-group-fields table.table2 > tbody > tr > td.fld-pos {
	width: 50px;
}

/* =============== NEW WAVE ================= */
.breadcrumbs {
	margin: 2px 0 5px 20px; 
	font-size: 120%;
}
table.ot {
	margin: 2px 20px 5px 20px;
	border:2px solid #24747d; 
	width: 100%; 
}
table.ot thead td { 
	font-weight: bold; 
}
table.ot td { 
	font-size: 110%; 
	padding:6px 12px;
}
table.ot tbody tr:hover { 
	background-color: #eeeeee;
}

.edit_page { margin:40px 40px; min-height: 100%; } 
.edit_page > .row { padding:4px 0; } 
.edit_page .btn-save { width: 100%; } 

