

/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
 */
html, body, div,  applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, 
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: middle;
}



:root {
	--link-color: #005589;
	--h2-color: #353535;
	--p-color: #505050;
	--separator-border-color: #e7e7e7;
	/* colors from https://getbootstrap.com/docs/4.0/components/alerts/ are too pale */
	--error-color: red;
	--hint-color: #707070;
	/* tables */
	--table-border-color: #cadee9;
	--table-cell-group-color: #000;
	--table-head-bg-color: #eaf3f9;
	--table-head-txt-color: #346484;
	--table-hl-bg-color: #a9f5f2;
	/* popup */
	--popup-border: 1px solid #d5d5d5;
	--popup-box-shadow: 0 0 5px #cbcbcb;
}

ol, ul {
	list-style: none;
}

html {
	overflow-y: scroll;
}

body * {
	scrollbar-width: thin;
}

a {
	color: var(--link-color);
}

@media all
{
	body {
		font: 13px  Arial, Geneva CY, Kalimati, Geneva, sans-serif;
		color: black;
	}
}

@media print
{
	#head,
	#processQueueFilter,
	.page,
	.printHide {
		display: none;
	}
}



#headWrap {
	border: 1px solid #c5c5c5;
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fcfcfc), color-stop(33.33333%, #f8f8f8), color-stop(66.66667%, #ededed), color-stop(100%, #e9e9e9));
	background-image: -webkit-linear-gradient(top, #fcfcfc, #f8f8f8, #ededed, #e9e9e9);
	background-image: -moz-linear-gradient(top, #fcfcfc, #f8f8f8, #ededed, #e9e9e9);
	background-image: -o-linear-gradient(top, #fcfcfc, #f8f8f8, #ededed, #e9e9e9);
	background-image: linear-gradient(top, #fcfcfc, #f8f8f8, #ededed, #e9e9e9);
	margin-bottom: 1em;
	padding: 0.6em 2em;
}

#head {
	display: table-row;
}

#head .btn-start {
	margin-right: 0.5em;
}

#head .btn-task,
#head .btn-task-active {
	margin-left: 0.5em;
}

#head .btn-start {
	font-size: 1.1em;
	font-weight: bold;
	border-radius: 5px;
}

#head .btn-task-active {
	font-weight: bold;
	border-radius: 5px;
}

#head .btn-task .title, .btn-task-active .title {
	text-align: left;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#head .btn-task span,
#head .btn-task-active span {
	display: table-cell;
}

#head .btn-task .title {
	max-width: 5em;
}

#head .btn-task-active .title {
	font-size: 1.1em;
	max-width: 8em;
}

#head > .right {
	font-size: 1.1em;
	white-space: nowrap;
}

#head .icon-close {
	padding-left: 0.5em;
}

#head > .right a {
	text-decoration: none !important;
	border-bottom: 1px dashed;
	font-weight: bold;
	color: var(--link-color);
}

#head >	* {
	display: table-cell;
}

#head > #taskPanelWrap {
	width: 100%;
}

#head #taskPanel {
	white-space: nowrap;
	overflow-x: auto;
	display: block;
}

#title {
	padding: 0 2em;
	margin-bottom: 1em;
}

@media print {
	#title {
		display: none;
	}
}

#title h1 {
	color: var(--link-color);
	font-size: 2em;
}

#title > div {
	display: table-cell;
	vertical-align: middle;
}

#title > .status {
	width: 100%;
}

#title > .status > .wrap {
	display: table;
	width: 100%;
}

#title > .status > .wrap > * {
	display: table-cell;
}

#title > .status > .wrap > .center {
	width: 100%;
	text-align: center;
}

#title > .status > .wrap > .center > .state {
	display: inline;
}

#title > .status > .wrap > .left > .title {
	display: inline-block;
	padding-right: 2em;
	position: relative;
	white-space: nowrap;
}

#title > .status > .wrap > .left > .title > h1.title {
	display: inline-block;
	white-space: nowrap;
	max-width: 600px;
	overflow: hidden;
	text-overflow: ellipsis;
}

#title #objectBuffer li > .icon-close {
	position: absolute;
	right: 0.7em;
	top: 0.6em;
	width: 12px;
	height: 11px;
	cursor: pointer;
}

#title > .status > .wrap > .left > .title > h1.title {
	cursor: pointer;
}

#title #objectBuffer {
	width: 200px;
}

#title #objectBuffer li span {
	white-space: nowrap;
}

#title #objectBuffer div.text-pref, #title #objectBuffer div.text-pref span, #title #objectBuffer li span.title {
	color: var(--link-color);
	font-size: 1.1em;
	font-weight: bold;
	white-space: nowrap;
}

#title #objectBuffer div.text-value {
	padding: 0;
	padding-left: 0.5em;
}

#title #objectBuffer.combo ul.drop {
	width: 600px;
	left: auto;
	right: -1px;
}

#title #objectBuffer.combo ul.drop li {
	position: relative;
}

body > #content {
	padding: 0px 2em;
	/* increased margin, for scroll-to-top button not to overflow pagination */
	margin-bottom: 4em;
}

body > #content h1 {
	color: var(--link-color);
	font-weight: bold;
	margin: 1em 0 0.5em 0;
	font-size: 1.1em;
}

body > #content h2 {
	color: var(--h2-color);
	font-weight: bold;
	margin: 1em 0 0.5em 0;
	font-size: 1.1em;
}

body > #content p {
	color: var(--p-color);
	margin: 0.3em 0;
}

.hint {
	display: block;
	font-size: 0.8em;
	font-style: italic;
	color: var(--hint-color);
	padding: 0.5em 0;
}

/* Title Text */
.tt {
	color: var(--h2-color);
	font-size: 1.1em;
}

.error {
	color: var(--error-color) !important;
}

.bold {
	font-weight: bold !important;
}

.normal {
	font-weight: normal;
}

.normal a {
	color: var(--link-color);
}

.separator {
	margin: 0.7em 0;
	border-bottom: 1px solid var(--separator-border-color);
}

.center1020 {
	margin: 0 auto;
	width: 1020px;
}

.center500 {
	margin: 0 auto;
	width: 500px;
}

.text-center {
	text-align: center !important;
}

.text-right {
	text-align: right !important;
}

.nowrap {
	white-space: nowrap;
}

.pre-wrap {
	white-space: pre-wrap;
}

.in-table-cell > * {
	display: table-cell;
}

.in-table-row > * {
	display: table-row;
}

.in-inline-block > * {
	display: inline-block;
}

.in-va-top > * {
	vertical-align: top;
}

.in-va-middle > * {
	vertical-align: middle;
}

.in-nowrap > * {
	white-space: nowrap;
}



/* стандартные внешние отступы */
.mt05 {
	margin-top: 0.5em;
}

.mb05 {
	margin-bottom: 0.5em;
}

.ml05 {
	margin-left: 0.5em;
}

.mr05 {
	margin-right: 0.5em;
}

.mt1 {
	margin-top: 1em;
}

.mb1 {
	margin-bottom: 1em;
}

.ml1 {
	margin-left: 1em;
}

.mr1 {
	margin-right: 1em;
}

.mt2 {
	margin-top: 2em;
}

.mb2 {
	margin-bottom: 2em;
}

.ml2 {
	margin-left: 2em;
}

.mr2 {
	margin-right: 2em;
}

/* standard margins inside another container */
.in-mt05 > *:not(:first-child) {
	margin-top: 0.5em;
}

.in-mb05 > *:not(:last-child) {
	margin-bottom: 0.5em;
}

.in-ml05 > *:not(:first-child) {
	margin-left: 0.5em;
}

.in-mr05 > *:not(:last-child) {
	margin-right: 0.5em;
}

.in-mt1 > *:not(:first-child) {
	margin-top: 1em;
}

.in-mb1 > *:not(:last-child) {
	margin-bottom: 1em;
}

.in-ml1 > *:not(:first-child) {
	margin-left: 1em;
}

.in-mr1 > *:not(:last-child) {
	margin-right: 1em;
}

/* -all стили не делают исключений для первых/последний элементов */
.in-mt05-all > * {
	margin-top: 0.5em;
}

.in-mb05-all > * {
	margin-bottom: 0.5em;
}

.in-ml05-all > * {
	margin-left: 0.5em;
}

.in-mr05-all > * {
	margin-right: 0.5em;
}

.in-mt1-all > * {
	margin-top: 1em;
}

.in-mb1-all > * {
	margin-bottom: 1em;
}

.in-ml1-all > * {
	margin-left: 1em;
}

.in-mr1-all > * {
	margin-right: 1em;
}

/* стандартные внутренние отступы */
.p05 {
	padding: 0.5em;
}

.pt05 {
	padding-top: 0.5em;
}

.pb05 {
	padding-bottom: 0.5em;
}

.pl05 {
	padding-left: 0.5em;
}

.pr05 {
	padding-right: 0.5em;
}

.p1 {
	padding: 1em;
}

.pt1 {
	padding-top: 1em;
}

.pb1 {
	padding-bottom: 1em;
}

.pl1 {
	padding-left: 1em;
}

.pr1 {
	padding-right: 1em;
}

.p2 {
	padding: 2em;
}

.pt2 {
	padding-top: 2em;
}

.pb2 {
	padding-bottom: 2em;
}

.pl2 {
	padding-left: 2em;
}

.pr2 {
	padding-right: 2em;
}

/* standard paddings inside another container */
.in-pt05 > * {
	padding-top: 0.5em;
}

.in-pb05 > * {
	padding-bottom: 0.5em;
}

.in-pl05 > *:not(:first-child) {
	padding-left: 0.5em;
}

.in-pr05 > *:not(:last-child) {
	padding-right: 0.5em;
}

.in-pt1 > * {
	padding-top: 1em;
}

.in-pb1 > * {
	padding-bottom: 1em;
}

.in-pl1 > *:not(:first-child) {
	padding-left: 1em;
}

.in-pr1 > *:not(:last-child) {
	padding-right: 1em;
}

/* standart widths */
.w100p {
	width: 100%;
}

.in-w100p > *:not(span) {
	width: 100%;
}


.ui-tabs.ui-widget-content,
.ui-tabs .ui-widget-header,
.ui-tabs .ui-widget-content,
.ui-tabs .ui-state-active,
.ui-tabs .ui-state-default {
	background: none;
}

.ui-tabs.ui-widget-content,
.ui-tabs .ui-widget-content,
.ui-tabs .ui-state-active,
.ui-tabs .ui-state-default {
	background: none;
	border: none;
}

.ui-tabs .ui-widget-header {
	border-top: none;
	border-left: none;
	border-right: none;
}

.ui-tabs.ui-tabs-nav .ui-widget-header {
	border-bottom: 1px solid #CCCCCC;
}

.ui-tabs-nav {
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 0.5em;
}

.ui-tabs-nav li,
.ui-tabs-nav li.ui-state-default,
.ui-tabs-nav li.ui-state-hover,
.ui-tabs-nav li.ui-state-focus,
.ui-tabs-nav li.ui-state-active {
	background: none;
	display: inline-block;
	vertical-align: bottom;
	white-space: nowrap;
	padding: 0.5em 0.5em;
	background-color: #e5e5e5;
	border: 1px solid #cccccc;
	border-top: none;
	margin-bottom: -1px;
	margin-right: -1px;
}

.ui-tabs-nav li a,
.ui-tabs-nav li.ui-state-default a,
.ui-tabs-nav li.ui-state-hover a,
.ui-tabs-nav li.ui-state-focus a,
.ui-tabs-nav li.ui-state-active a {
	text-decoration: none;
	color: #1d1d1d;
}

.ui-tabs-nav li:last-child {
	border-radius: 0 3px 0 0;
}

.ui-tabs-nav li:first-child {
	border-radius: 3px 0 0 0;
}

.ui-tabs-nav li.ui-state-active {
	font-weight: bold;
	background-color: #fafafa;
	border-radius: 3px 3px 0 0;
	padding-top: 0.8em;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #fafafa;
	font-size: 1em;
}

.ui-tabs-nav li.ui-state-active a {
	color: #303030;
}

button.refreshButton-hidden {
	display: none;
}

button.refreshButton {
	float: right;
	display: inline-block;
}


table {
	border-collapse: collapse;
	border-spacing: 0;
}

table.hdata,
table.data {
	width: 100%;
}

table.hdata > thead > tr > td,
table.hdata > tbody > tr > td,
table.data > tbody > tr > td {
	text-align: left;
	font-weight: normal;
}

table.hdata > thead > tr > td,
table.hdata > tbody > tr > td,
table.data > tbody > tr > td {
	padding: 0.5em 1em;
}

table.hdata > thead > tr > td,
table.hdata > tbody > tr > td,
table.data > tbody > tr > td {
	color: var(--p-color);
	border: 1px solid var(--table-border-color);
}

table.hdata > thead > tr > td,
table.hdata > tbody > tr > th,
table.hdata > tbody > tr > td.header,
table.hdata > tbody > tr.header > td,
table.data > tbody > tr:nth-child(1) > td {
	color: var(--table-head-txt-color);
	border: 1px solid var(--table-border-color);
	background-color: var(--table-head-bg-color);
}

table.hdata.hl > tbody > tr:hover,
table.data.hl tr:hover,
table tr.hl {
	background-color: var(--table-hl-bg-color);
}

table.hl-td td:hover {
	background-color: var(--table-hl-bg-color);
}

table.fixed-header tr:nth-child(1) td {
	position: sticky;
	top: 0;
}

.border-table {
	border: 1px solid var(--table-border-color);
}

td.min {
	width: .001%;
	white-space: nowrap;
}

table.data > tbody > tr > td.group-border-b {
	border-bottom-width: 2px;
	border-bottom-color: var(--table-cell-group-color);
}

table.data > tbody > tr > td.group-border-t {
	border-top-width: 2px;
	border-top-color: var(--table-cell-group-color);
}

table.data > tbody > tr > td.group-border-l {
	border-left-width: 2px;
	border-left-color: var(--table-cell-group-color);
}

table.data > tbody > tr > td.group-border-r {
	border-right-width: 2px;
	border-right-color: var(--table-cell-group-color);
}

input, textarea {
	outline: none;
}

input:active, textarea:active {
	outline: none;
}

:focus {
	outline: none;
}

textarea {
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	box-shadow: 0px 3px 6px #e2e2e2 inset;
	padding: 0.7em 0.2em 0.2em 0.7em;
}

textarea:focus {
	border: 1px solid #5bc5ff;
}

input {
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	box-shadow: 0px 3px 6px #e2e2e2 inset;
	padding: 0.6em 0.5em;
	display: inline-block;
	vertical-align: middle;
}

input:focus {
	border: 1px solid #5bc5ff;
}

input.error, input.error:focus {
	border: 1px solid #fb8181;
}

input.approved, input.approved:focus {
	border: 1px solid #4dd146;
}



.btn-blue, .btn-grey, .btn-white, .btn-green, .btn-white-hover {
	padding: 0.6em 1em;
	text-align: center;
	/* white-space: nowrap; a customer wanted to see all the text in process queue filters */
}

button.btn-grey, button.btn-white {
	white-space: nowrap;
}

.btn-blue.icon, .btn-grey.icon, .btn-white.icon, .btn-green.icon, .btn-white-hover.icon,
.btn-blue.btn-icon, .btn-grey.btn-icon, .btn-white.btn-icon, .btn-green.btn-icon, .btn-white-hover.btn-icon {
	padding: 0.6em 0.75em;
}

.btn-small {
	padding: 0.4em 0.6em !important;
}

.btn-small.icon,
.btn-small.btn-icon {
	padding: 0.4em 0.5em !important;
}

.btn-slim {
	padding: 0.6em 0.6em;
}

.btn-blue {
	color: #fff;
	border-radius: 3px;
	border: 1px solid #0b67a1;
	box-shadow: 1px 1px 3px #c5c5c5;
	

display: inline-block;
vertical-align: middle;
text-decoration: none;
cursor: pointer;

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #297aae), color-stop(33.33333%, #2875a4), color-stop(66.66667%, #276d96), color-stop(100%, #256587));
background-image: -webkit-linear-gradient(top, #297aae, #2875a4, #276d96, #256587);
background-image: -moz-linear-gradient(top, #297aae, #2875a4, #276d96, #256587);
background-image: -o-linear-gradient(top, #297aae, #2875a4, #276d96, #256587);
background-image: linear-gradient(top, #297aae, #2875a4, #276d96, #256587);

}

.btn-blue:hover {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0b6aa7), color-stop(33.33333%, #0a649c), color-stop(66.66667%, #085a89), color-stop(100%, #055078));
background-image: -webkit-linear-gradient(top, #0b6aa7, #0a649c, #085a89, #055078);
background-image: -moz-linear-gradient(top, #0b6aa7, #0a649c, #085a89, #055078);
background-image: -o-linear-gradient(top, #0b6aa7, #0a649c, #085a89, #055078);
background-image: linear-gradient(top, #0b6aa7, #0a649c, #085a89, #055078);

}

.btn-blue:active, .btn-blue:disabled {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #055076), color-stop(33.33333%, #075784), color-stop(66.66667%, #0a6399), color-stop(100%, #0b6aa6));
background-image: -webkit-linear-gradient(top, #055076, #075784, #0a6399, #0b6aa6);
background-image: -moz-linear-gradient(top, #055076, #075784, #0a6399, #0b6aa6);
background-image: -o-linear-gradient(top, #055076, #075784, #0a6399, #0b6aa6);
background-image: linear-gradient(top, #055076, #075784, #0a6399, #0b6aa6);

}

.btn-green {
	color: #fff;
	border-radius: 3px;
	border: 1px solid #46a438;
	box-shadow: 1px 1px 3px #c5c5c5;
	

display: inline-block;
vertical-align: middle;
text-decoration: none;
cursor: pointer;

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5aaa4f), color-stop(33.33333%, #55a14d), color-stop(66.66667%, #4a8f49), color-stop(100%, #468846));
background-image: -webkit-linear-gradient(top, #5aaa4f, #55a14d, #4a8f49, #468846);
background-image: -moz-linear-gradient(top, #5aaa4f, #55a14d, #4a8f49, #468846);
background-image: -o-linear-gradient(top, #5aaa4f, #55a14d, #4a8f49, #468846);
background-image: linear-gradient(top, #5aaa4f, #55a14d, #4a8f49, #468846);

}

.btn-green:hover {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #45a338), color-stop(33.33333%, #3d9634), color-stop(66.66667%, #328330), color-stop(100%, #2d7b2d));
background-image: -webkit-linear-gradient(top, #45a338, #3d9634, #328330, #2d7b2d);
background-image: -moz-linear-gradient(top, #45a338, #3d9634, #328330, #2d7b2d);
background-image: -o-linear-gradient(top, #45a338, #3d9634, #328330, #2d7b2d);
background-image: linear-gradient(top, #45a338, #3d9634, #328330, #2d7b2d);

}

.btn-green:active, .btn-green:disabled {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2c7a2d), color-stop(33.33333%, #328330), color-stop(66.66667%, #3f9a35), color-stop(100%, #45a338));
background-image: -webkit-linear-gradient(top, #2c7a2d, #328330, #3f9a35, #45a338);
background-image: -moz-linear-gradient(top, #2c7a2d, #328330, #3f9a35, #45a338);
background-image: -o-linear-gradient(top, #2c7a2d, #328330, #3f9a35, #45a338);
background-image: linear-gradient(top, #2c7a2d, #328330, #3f9a35, #45a338);

}

.btn-grey {
	color: #fff;
	border-radius: 3px;
	border: 1px solid #81838a;
	box-shadow: 1px 1px 3px #c5c5c5;
	

display: inline-block;
vertical-align: middle;
text-decoration: none;
cursor: pointer;

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #8c8e94), color-stop(33.33333%, #81848b), color-stop(66.66667%, #717277), color-stop(100%, #666769));
background-image: -webkit-linear-gradient(top, #8c8e94, #81848b, #717277, #666769);
background-image: -moz-linear-gradient(top, #8c8e94, #81848b, #717277, #666769);
background-image: -o-linear-gradient(top, #8c8e94, #81848b, #717277, #666769);
background-image: linear-gradient(top, #8c8e94, #81848b, #717277, #666769);

}

.btn-grey:hover {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #7f8289), color-stop(33.33333%, #6e7179), color-stop(66.66667%, #5d6064), color-stop(100%, #525354));
background-image: -webkit-linear-gradient(top, #7f8289, #6e7179, #5d6064, #525354);
background-image: -moz-linear-gradient(top, #7f8289, #6e7179, #5d6064, #525354);
background-image: -o-linear-gradient(top, #7f8289, #6e7179, #5d6064, #525354);
background-image: linear-gradient(top, #7f8289, #6e7179, #5d6064, #525354);

}

.btn-grey:active, .btn-grey:disabled {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #525354), color-stop(33.33333%, #5d6064), color-stop(66.66667%, #747880), color-stop(100%, #7f8289));
background-image: -webkit-linear-gradient(top, #525354, #5d6064, #747880, #7f8289);
background-image: -moz-linear-gradient(top, #525354, #5d6064, #747880, #7f8289);
background-image: -o-linear-gradient(top, #525354, #5d6064, #747880, #7f8289);
background-image: linear-gradient(top, #525354, #5d6064, #747880, #7f8289);

}

.btn-white {
	color: #000;
	border-radius: 3px;
	border: 1px solid #c8c8c8;
	

display: inline-block;
vertical-align: middle;
text-decoration: none;
cursor: pointer;

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f5f5f5), color-stop(33.33333%, #f2f2f2), color-stop(66.66667%, #ededed), color-stop(100%, #eaeaea));
background-image: -webkit-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -moz-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -o-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);

}

.btn-white:hover {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fcfcfc), color-stop(33.33333%, #f6f6f6), color-stop(66.66667%, #eeeeee), color-stop(100%, #ececec));
background-image: -webkit-linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);
background-image: -moz-linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);
background-image: -o-linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);
background-image: linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);

}

.btn-white:active, .btn-white:disabled {
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ebebeb), color-stop(33.33333%, #eeeeee), color-stop(66.66667%, #f5f5f5), color-stop(100%, #fcfcfc));
background-image: -webkit-linear-gradient(top, #ebebeb, #eeeeee, #f5f5f5, #fcfcfc);
background-image: -moz-linear-gradient(top, #ebebeb, #eeeeee, #f5f5f5, #fcfcfc);
background-image: -o-linear-gradient(top, #ebebeb, #eeeeee, #f5f5f5, #fcfcfc);
background-image: linear-gradient(top, #ebebeb, #eeeeee, #f5f5f5, #fcfcfc);

}

.btn-white-hover {
	border-radius: 3px;
	border: 1px solid transparent;
	background-color: transparent;
	

display: inline-block;
vertical-align: middle;
text-decoration: none;
cursor: pointer;
}

.btn-white-hover:hover {
	border-color: #c8c8c8;
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fcfcfc), color-stop(33.33333%, #f6f6f6), color-stop(66.66667%, #eeeeee), color-stop(100%, #ececec));
background-image: -webkit-linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);
background-image: -moz-linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);
background-image: -o-linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);
background-image: linear-gradient(top, #fcfcfc, #f6f6f6, #eeeeee, #ececec);

}

.btn-panel {
	display: inline-block;
	margin-right: 5px;
	max-width: 150px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}


.progress-icon {
	display: inline-block;
	animation: spin 2s infinite linear;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(-359deg); }
}

button > .progress > .progress-icon {
	margin-right: 0.5em;
}


#content #demo > div {
	padding: .5em;
	

	border-radius: 3px;
	border: 1px solid #C5C5C5;
	box-sizing: border-box;
	padding: .5em;

	margin-bottom: 1em;
}

#content #demo > div > *:not(:last-child) {
	margin-bottom: 1em;
}

.combo {
	position: relative;
	display: inline-flex;
	padding-right: 0;
	padding-left: 0;
}

/* можно посмотреть http://www.howtomake.com.ua/html-and-css/stilizaciya-vsex-elementov-form-s-pomoshhyu-css-i-jquery.html */
.combo .text-pref {
	color: var(--p-color);
	padding-left: 0.5em;
	white-space: nowrap;
}

.combo .text-value {
	text-align: left;
	padding-left: 0.5em;
	padding-right: 0.5em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.combo > .icon {
	padding-right: 0.5em;
}

.combo > .drop {
	margin-top: 1.8em;
	overflow-x: auto;
	overflow-y: visible;
	max-height: 300px;
	min-width: 150px;
}

.combo ul.drop li {
	overflow: hidden;
	text-overflow: ellipsis;
}

.combo ul.drop li span {
	vertical-align: bottom;
}

#processQueueSelect .drop li {
	display: flex;
}

#processQueueSelect .drop li div:not(.icon-add) {
	width: 100%;
}


.select {
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	box-shadow: 0px 3px 6px #e2e2e2 inset;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: middle;
	*vertical-align: auto;
	*display: inline;
	position: relative;
}

.select input[type=text] {
	margin: 0;
	border: none;
	padding-right: 1.5em;
	width: 100%;
}

.select .icon {
	cursor: pointer;
	position: absolute;
	width: 1.5em;
	top: 0.7em;
	right: 0.15em;
	text-align: center;
}

.select .icon.disabled {
	color: var(--p-color);
}

.select:hover {
	border: 1px solid #5bc5ff;
}

.select:active {
	border: 1px solid #5bc5ff;
}

/* select-mult */

.select-mult .drop-list {
	width: 100%;
	background-color: #ffffff;
	display: block;
}

.select-mult ul.drop-list {
	border: var(--popup-border);
	background-color: #ffffff;
	/* чтобы список значений не был шире редактируемой области сверху */
	box-sizing: border-box;
}

.select-mult .btn-add {
	font-size: 1.5em;
	padding: 0.18em 0.4em;
	margin-left: 0.2em;
}

.select-mult ul.drop-list >  li {
	border-top: var(--popup-border);
	position: relative;
	padding: 0.5em;
	padding-left: 1.8em;
	color: var(--p-color);
	cursor: pointer;
	white-space: nowrap;
}

.select-mult ul.drop-list.move-on>  li {
	padding-left: 2.8em;
}

.select-mult ul.drop-list >  li .delete {
	position: absolute;
	width: 12px;
	height: 11px;
	top: 0.6em;
	left: 0.5em;
}

.select-mult ul.drop-list > li .up,
.select-mult ul.drop-list > li .down {
	 display: none;
}

.select-mult ul.drop-list.move-on >  li .up {
	display: block;
	position: absolute;
	width: 12px;
	height: 10px;
	top: 0.1em;
	left: 1.6em;
}

.select-mult ul.drop-list.move-on >  li .down {
	display: block;
	position: absolute;
	width: 12px;
	height: 10px;
	bottom: 0.2em;
	left: 1.6em;
}

.select-mult ul.drop-list >  li span.title {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.select-mult ul.drop-list >  li:first-child {
	border-top: none;
}

.select-mult ul.drop-list >  li:hover {
	background-color: #fafafa;
}

.icon-add {
	background: url('/img/plus.png') no-repeat 50% 0;
	float: right;
	width: 19px;
	height: 15px;
	display: inline;
}

/* выпадающие списки и меню */

.ui-menu { width: 200px; }

/* выпадающий список для нередактируемого и редактируемого селекта */
.select ul.ui-menu, .combo > .drop {
	width: 100%;
	position: absolute;
	left: -1px;
	z-index: 999;
}

.ui-menu, .combo > .drop, .ui-tabs.ui-widget-content .ui-menu {
	border: var(--popup-border);
	background-color: #ffffff;
	box-shadow: var(--popup-box-shadow);
	text-align: left;
	z-index: 999;
}

.select ul.ui-menu {
	overflow-x: hidden;
	overflow-y: visible;
	max-height: 300px;
	min-width: 150px;
}

.select ul.ui-menu li {
	white-space: normal;
}

.ui-menu li a, .ui-menu li > div,
.ui-menu li a.ui-state-hover, .ui-menu li > div.ui-state-hover,
.ui-menu li a.ui-state-focus, .ui-menu li > div.ui-state-focus,
.ui-menu li a.ui-state-active, .ui-menu li > div.ui-state-active,
.combo ul.drop li {
	display: block;
	border: none;
	border-top: var(--popup-border);
	padding: 0.5em;
	color: var(--p-color);
	cursor: pointer;
}

.ui-menu li a.ui-state-hover, .ui-menu li > div.ui-state-hover,
.ui-menu li a.ui-state-focus, .ui-menu li > div.ui-state-focus,
.ui-menu li a.ui-state-active, .ui-menu li > div.ui-state-active,
.combo ul.drop li:hover {
	background: #e5e5e5;
	background-image: none;
	background-color: #e5e5e5;
}


/* меню выступающее именно в роли меню, всплывающего по кнопке */
.menu.ui-menu .ui-menu {
	position: absolute;
}

/* т.к. все стили меню закомментированы в JQueryUI Style CSS */
.menu.ui-menu .ui-menu-icon {
	float: right;
}



.date-month,
.date-month-days {
	display: inline-block;
}

.date-month-days #dayFrom,
.date-month-days #dayTo {
	text-align: center;
	width: 2.5em;
}

.date-month #month,
.date-month-days #month {
	width: 10em;
}


.btn-toggle {
	display: inline-block;
	border-radius: 3px;
	border: 1px solid #c8c8c8;
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f5f5f5), color-stop(33.33333%, #f2f2f2), color-stop(66.66667%, #ededed), color-stop(100%, #eaeaea));
background-image: -webkit-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -moz-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -o-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);

}

.btn-toggle > .text-pref {
	color: var(--p-color);
	padding-left: 0.5em;
	display: inline-block;
	white-space: nowrap;
}

/* Colors: Default (blue) */
.btn-toggle > label {
	color: #fff;
}

.btn-toggle > label > input + .toggle > .switch {
	background: #fff;
}

.btn-toggle > label > input + .toggle + .label {
	color: #000;
}

.btn-toggle > label > input:checked + .toggle {
	background: #0b67a1;
}

.btn-toggle > label > input:not(:checked) + .toggle {
	background: #ccc;
}

.btn-toggle > label > input:checked + .toggle > .switch {
	border: 3px solid #0b67a1;
}

.btn-toggle > label > input:not(:checked) + .toggle > .switch {
	border: 3px solid #ccc;
}

/* for shadows, may be enabled later */
/*.btn-toggle > label > input:focus + .toggle,*/
/*.btn-toggle > label > input:active + .toggle {*/
/*	box-shadow: 0 0 5px 3px rgba(0, 119, 200, 0.50);*/
/*}*/

.btn-toggle > label {
	display: inline-flex;
	align-items: center;
	user-select: none;
	position: relative;
	vertical-align: middle;
	margin-bottom: 0;
}

.btn-toggle > label:hover {
	cursor: pointer;
}

.btn-toggle > label > input {
	position: absolute;
	opacity: 0;
}

.btn-toggle > label > input + .toggle {
	align-items: center;
	position: relative;
}

.btn-toggle > label > input + .toggle {
	overflow: hidden;
	position: relative;
	flex-shrink: 0;
}

.btn-toggle > label > input[disabled] + .toggle {
	opacity: 0.5;
}

.btn-toggle > label > input[disabled] + .toggle:hover {
	cursor: not-allowed;
}

.btn-toggle > label > input + .toggle {
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	border-radius: 3px;
}

.btn-toggle > label > input + .toggle > .switch {
	display: block;
	height: 100%;
	position: absolute;
	right: 0;
	z-index: 3;
	box-sizing: border-box;
	border-radius: 6px;
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f5f5f5), color-stop(33.33333%, #f2f2f2), color-stop(66.66667%, #ededed), color-stop(100%, #eaeaea));
background-image: -webkit-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -moz-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -o-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);

}

/* Labels */
.btn-toggle > label > input + .toggle:before,
.btn-toggle > label > input + .toggle:after {
	display: flex;
	align-items: center;
	position: absolute;
	z-index: 2;
	height: 100%;
	font-size: 0.9em;
}

.btn-toggle > label > input + .toggle:before {
	right: 50%;
	content: attr(data-before);
}

.btn-toggle > label > input + .toggle:after {
	left: 50%;
	content: attr(data-after);
}

.btn-toggle[data-label='left'] > input + .toggle {
	order: 2;
}

/* Show / Hide */
.btn-toggle > label > input + .toggle:before {
	opacity: 0;
}

.btn-toggle > label > input:checked + .toggle:before {
	opacity: 1;
}

.btn-toggle > label > input:checked + .toggle:after {
	opacity: 0;
}

/* Transitions */
.btn-toggle > label > input + .toggle {
	transition: background 200ms linear, box-shadow 200ms linear;
}

.btn-toggle > label > input + .toggle:before,
.btn-toggle > label > input + .toggle:after {
	transition: all 200ms linear;
}

.btn-toggle > label > input + .toggle > .switch {
	transition: right 200ms linear, border-color 200ms linear;
}

/* Size: Default */
.btn-toggle > label > input + .toggle {
	width: 5.5em;
	height: 2.4em;
}

.btn-toggle > label > input + .toggle > .switch {
	width: 2.5em;
}

.btn-toggle > label > input:not(:checked) + .toggle > .switch {
	right: calc(100% - 2.5em);
}

/* Size: Small */
.btn-toggle-small > label > input + .toggle {
	width: 4em;
	height: 2em;
}

.btn-toggle-small > label > input + .toggle > .switch {
	width: 2em;
}

.btn-toggle-small > label > input:not(:checked) + .toggle > .switch {
	right: calc(100% - 2em);
}


.tree-single .children {
	padding-left: 1em;
	display: none;
}

.tree-single .title {
	user-select: none;
}

.tree-single [onclick] {
	cursor: pointer;
}

.tree-single .selected .text {
	font-weight: bold;
	color: #00f;
}

.tree-single .expander.folder {
	cursor: pointer;
}

.tree-single .expander:not(.folder) {
	opacity: 0;
}

.tree-single .expander.open {
	display: inline-block;
	transform: rotate(90deg);
}

.ui-tabs {
	padding: 0;
}

.ui-tabs .ui-tabs-panel {
	padding: 0;
}

.ui-helper-reset {
	font-size: 1em;
	line-height: 1;
}

.ui-tabs .ui-tabs-nav li a {
	float: left;
	padding: 0.3em 0.3em;
	text-decoration: none;
}

.ui-button-text-only .ui-button-text .ui-button-icon-only {
	padding: 0.2em 1em;
}

.ui-button .ui-button-text {
	line-height: 1;
}

.ui-widget, .ui-widget input, .ui-widget select {
	font-size: 1em;
	font-family: Arial, sans-serif;
}

.ui-widget-content {
	color: black;
}

/* menu icons */
.ui-icon {
	margin-top: 0;
}

.ui-menu .ui-menu-item .ui-icon {
	text-indent: 0;
	background-image: none;
}

.ui-autocomplete, .ui-menu, .ui-menu a,
.ui-tabs.ui-corner-all, .ui-tabs .ui-corner-all, .ui-tabs .ui-corner-top {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	text-decoration: none;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: inherit;
}

.ui-datepicker {
	z-index: 1003 !important; /* must be > than popup editor (1002) */
}

.ui-datepicker-calendar .ui-state-default,
.ui-datepicker-calendar .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	background: none;
	background-color: var(--table-head-bg-color);
	color: #448DAE;
}

.ui-widget-header .ui-state-default {
	background: none;
}

.ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker-header .ui-datepicker-next {
	width: inherit;
	height: inherit;
}

.ui-datepicker .ui-datepicker-header {
	padding: .35em 0 !important;
}

.ui-timepicker-div .ui-slider .ui-slider-handle,
.ui-dialog .ui-dialog-buttonset button {
	border-color: #c8c8c8;
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f5f5f5), color-stop(33.33333%, #f2f2f2), color-stop(66.66667%, #ededed), color-stop(100%, #eaeaea));
background-image: -webkit-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -moz-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: -o-linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);
background-image: linear-gradient(top, #f5f5f5, #f2f2f2, #ededed, #eaeaea);

}

/*.ui-datepicker .ui-datepicker-buttonpane button.btn-close,*/
.ui-dialog .ui-dialog-buttonset button {
	font-size: 1.1em;
	color: #000;
}

/* Override re-authorization dialog styles */
.ui-dialog .ui-widget-header,
.ui-datepicker .ui-widget-header {
	color: #fff;
	border-radius: 3px;
	border: 1px solid #0b67a1;
	box-shadow: 1px 1px 3px #c5c5c5;
	

background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #297aae), color-stop(33.33333%, #2875a4), color-stop(66.66667%, #276d96), color-stop(100%, #256587));
background-image: -webkit-linear-gradient(top, #297aae, #2875a4, #276d96, #256587);
background-image: -moz-linear-gradient(top, #297aae, #2875a4, #276d96, #256587);
background-image: -o-linear-gradient(top, #297aae, #2875a4, #276d96, #256587);
background-image: linear-gradient(top, #297aae, #2875a4, #276d96, #256587);

}

.ui-dialog .ui-widget-header .ui-button-icon-only,
.ui-dialog .ui-widget-header .ui-button-icon-only .ui-icon {
	border: none;
	background: none;
	text-indent: 0;
}

.ui-dialog .ui-widget-header .ui-button-icon-only .ui-icon:before {
	font-family: 'themify';
	font-weight: bold;
	display: block;
	content: "\e646";
	position: inherit;
	top: inherit;
	left: inherit;
	margin-top: inherit;
	margin-left: inherit;
	width: 100%;
	height: 100%;
	color: #fff;
}

.ui-dialog .ui-dialog-buttonpane {
	padding: 0 !important;
}

.jquery-tree-controls > .filter {
	display: flex;
	padding-bottom: 5px;
	padding-top: 0px;
}

.jquery-tree-controls .jquery-tree-filter-input {
	width: 100%;
}

.jquery-tree-node {
	white-space: nowrap;
}


div, span {
	box-sizing: border-box;
}

/* в адресном справочнике в одном месте используется */
.sel {
	font-weight: bold;
}

.box {


	border-radius: 3px;
	border: 1px solid #C5C5C5;
	box-sizing: border-box;
	padding: .5em;

}

.cmd {
	background-color: #FAFAFA;
}

.ajax-loading {
	filter: blur(0.7px);
}

/* Scroll to top floating button */

#scroll-to-top {
	width: 40px;
	height: 40px;
	opacity: 0.4;
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	background-color: rgba(41,42,50,.5);
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	-webkit-transition: 1s;
	transition: 1s;
	z-index: 1000;
	text-align: center;
}

#scroll-to-top:hover {
	opacity: 0.8;
}

#scroll-to-top i {
	display: inline-block;
	margin-top: 15px;
}

.page .btn-small.btn-icon {
	padding: 0.2em 0.5em !important;
}

.page select {
	vertical-align: middle;
}

#message-dialog-message {
	white-space: pre-wrap;
}



.process-message-tag {
	display: inline-block;
	width: 1em;
	height: 1em;
}

/* Plugin BGBilling */
.bgbilling-contractTree #treeTable {
	width:100%;
	text-align:left; 
	background-color:white;
} 

.bgbilling-contractTree #treeTable div.row {
	width: 100%; 
	padding-top: 0.2em; 
	padding-bottom: 0.2em; 
	padding-right: 1em;	
}

.bgbilling-contractTree #treeTable div.enum {
	padding-left: 2em;
	padding-right: 1em;
}

.bgbilling-contractTree #treeTable div.enum div {
	display: inline-block;
	padding-top: 0.2em; 
	padding-bottom: 0.2em;
}

/* Plugin CallBoard */
/* таблица с графиком дежурств */
#callboard .callboard table.minimal td {
	 padding: 0.2em;
	 min-width: 30px;
	 max-width: 30px;
	 width: 30px;

	 user-select: none;
	 -moz-user-select: none;
	 -webkit-user-select: none;
}

#callboard .callboard table.minimal .sum {
	background: #F2C777;
	font-weight: bold;
}

#callboard .callboard table.minimal td.shiftDateHeader {
	text-align: center;
}

#callboard .callboard table.minimal td.shiftUser {
	padding: 0.2em 0.5em;
	min-width: 200px;
	max-width: 200px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

#callboard .callboard table.minimal .groupHeader td {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

#callboard .callboard table.minimal td.dayShift {
	cursor: pointer;
}

/* выбор смен */
#callboard #editor #shiftArea {
	width: 100%;
	overflow: hidden;
}

#callboard #editor #shiftArea .wrap {
	height: 100%;
	white-space: nowrap;
	overflow-x: auto;
}

#callboard #editor #shiftArea .wrap .shift {
	white-space: normal;
	display: inline-block;
	height: 100%;
	width: 100px;
	cursor: pointer;
	padding: 0.2em;
}

#callboard #editor #shiftArea .wrap .shift :first {
	vertical-align: middle;
	text-align: center;
}

#callboard #editor #shiftArea .wrap .shift .text,
#callboard #editor #shiftArea .wrap .shift .color {
	overflow: hidden;
	text-overflow: ellipsis;
}

#callboard #editor #shiftArea .wrap .shift .text {
	font-size: 0.8em;
	height: 60%;
}

#callboard #editor #shiftArea .wrap .shift .color {
	padding-left: 0.5em;
	padding-top: 0.2em;
	vertical-align: middle;
	height: 40%;
}

#callboard #editor #shiftArea .wrap .shift {
 	border-style: solid;
	border-width: 2px;
	border-color: white;
}

#callboard #editor #shiftArea .wrap .shift.selected {
	border-color: red;
}

/* таблица с графиком дежурств */
#callboard-workplan .plan table.plan td {
	padding: 0.5em;
}

#callboard-workplan .plan table.plan tr.user {
	height: 3em;
}

#callboard-workplan .plan table.plan > tbody > tr > td {
	 min-width: 50px;
	 max-width: 50px;
	 width: 50px;

	 user-select: none;
	 -moz-user-select: none;
	 -webkit-user-select: none;
}

#callboard-workplan .plan table.plan > tbody > tr > td.shiftUser {
	min-width: 200px;
	max-width: 200px;

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#callboard-workplan .plan table.plan > tbody > tr > td.cell {
	padding: 0em;
}

#callboard-workplan .plan table.workTypeTime > tbody > tr > td:not(:last-child) {
	border-right: 1px solid var(--table-border-color);
}

#callboard-workplan .plan table.workTypeTime > tbody > tr > td {
	padding: 0.5em;
	font-size: 0.8em;
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#callboard-workplan .plan table.workTypeTime > tbody > tr > td.lock {
	font-size: 1.2em;
	text-align: center;
}

td.shiftUser > b {
	cursor: pointer;
}

.contextMenu {
	position: absolute;
	width: 300px;
	z-index: 999;
	background: white;
	text-align: center;
}

#sortMenu ul.drop {
	border: 0px none;
	overflow: hidden;
}

#addGroupToUserPopup {
	text-align: center;
}

#addGroupToUserPopup div {
	margin-top: 10px;
}

#addGroupToUserPopup input {
	width: 80px;

}

.available-day {
	background-color: #FFFFFF;
}

.nonavailable-day {
	background-color: #CCCCCC;
}

.selected-cel {
	background-color: #EDF551 !important;
}

.contextMenu {
	position: absolute;
	width: 300px;
	z-index: 999;
	background: white;
	text-align: center;
}

#sortMenu ul.drop {
	border: 0px none;
}

#addGroupToUserPopup {
	text-align: center;
}

#addGroupToUserPopup div {
	margin-top: 10px;
}

#addGroupToUserPopup input {
	width: 80px;

}

.available-day {
	background-color: #FFFFFF;
}

.nonavailable-day {
	background-color: #CCCCCC;
}


/* Plugin GetOLT */
.getolt-container {
	padding: 10px;
}
.getolt-error {
	color: #dc3545;
	padding: 20px;
	text-align: center;
	font-size: 14px;
}
.getolt-info {
	color: #6c757d;
	padding: 20px;
	text-align: center;
	font-size: 14px;
}
.getolt-onu-card {
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 15px;
	background: #fff;
}
.getolt-onu-header {
	background: #f8f9fa;
	padding: 10px 15px;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.getolt-onu-header-left {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.getolt-onu-header .getolt-mac {
	font-family: monospace;
	font-weight: bold;
	font-size: 14px;
}
.getolt-onu-header-left .getolt-update-time {
	font-size: 11px;
	color: #6c757d;
}
.getolt-onu-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}
.getolt-update-time {
	font-size: 11px;
	color: #6c757d;
	cursor: help;
}
.getolt-onu-status {
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
}
.getolt-onu-status.getolt-online {
	background: #d4edda;
	color: #155724;
}
.getolt-onu-status.getolt-offline {
	background: #f8d7da;
	color: #721c24;
}
.getolt-onu-body {
	padding: 15px;
}
.getolt-onu-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}
.getolt-onu-col {
	flex: 0 0 50%;
	padding: 0 10px;
	margin-bottom: 10px;
}
.getolt-onu-col.getolt-full {
	flex: 0 0 100%;
}
.getolt-onu-label {
	font-size: 11px;
	color: #6c757d;
	margin-bottom: 2px;
}
.getolt-onu-value {
	font-size: 13px;
	font-weight: 500;
}
.getolt-signal-good,
table.data td.getolt-signal-good {
	color: #28a745;
	font-weight: bold;
}
.getolt-signal-medium,
table.data td.getolt-signal-medium {
	color: #e6a000;
	font-weight: bold;
}
.getolt-signal-poor,
table.data td.getolt-signal-poor {
	color: #dc3545;
	font-weight: bold;
}
.getolt-signal-overexposed,
table.data td.getolt-signal-overexposed {
	color: #17a2b8;
	font-weight: bold;
}
.getolt-macs-list {
	font-family: monospace;
	font-size: 12px;
	max-height: 100px;
	overflow-y: auto;
	background: #f8f9fa;
	padding: 8px;
	border-radius: 4px;
}
.getolt-macs-list .getolt-mac-item {
	margin-bottom: 2px;
}
.getolt-neighbors-table {
	width: 100%;
	font-size: 12px;
	border-collapse: collapse;
}
.getolt-neighbors-table th,
.getolt-neighbors-table td {
	padding: 6px 8px;
	text-align: left;
	border-bottom: 1px solid #eee;
}
.getolt-neighbors-table th {
	background: #f8f9fa;
	font-weight: 600;
}
.getolt-neighbors-table .getolt-mac {
	font-family: monospace;
}
.getolt-contract-info {
	background: #e7f1ff;
	padding: 8px 12px;
	border-radius: 4px;
	margin-bottom: 15px;
	font-size: 13px;
}
.getolt-contract-info span {
	margin-right: 20px;
}
.getolt-neighbors-table .getolt-target-row {
	background: #e9ecef;
	font-weight: 600;
}
.getolt-neighbors-table .getolt-target-row td {
	border-bottom: 2px solid #6c757d;
}
/* Signal-based row highlighting for neighbors */
.getolt-neighbors-table .getolt-signal-row-poor {
	background: #f8d7da;
}
.getolt-neighbors-table .getolt-signal-row-medium {
	background: #fff3cd;
}
.getolt-neighbors-table .getolt-signal-row-overexposed {
	background: #ffe5d0;
}
/* Refresh button styles */
.getolt-btn-refresh {
	background: #007bff;
	color: #fff;
	border: none;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	transition: background 0.2s;
}
.getolt-btn-refresh:hover {
	background: #0056b3;
}
.getolt-btn-refresh:disabled {
	background: #6c757d;
	cursor: not-allowed;
}
.getolt-btn-refresh .getolt-btn-port-num {
	background: rgba(255,255,255,0.3);
	padding: 2px 6px;
	border-radius: 3px;
	font-weight: bold;
	margin-left: 4px;
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
}
/* Refresh status bar */
.getolt-refresh-status-bar {
	background: #e7f1ff;
	padding: 10px 15px;
	border-radius: 0 0 4px 4px;
	display: none;
	align-items: center;
	gap: 10px;
	border-top: 1px solid #b8daff;
}
.getolt-refresh-status-bar.getolt-active {
	display: flex;
}
.getolt-refresh-status-bar .getolt-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #007bff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: getolt-spin 1s linear infinite;
}
@keyframes getolt-spin {
	to { transform: rotate(360deg); }
}
.getolt-refresh-status-bar .getolt-status-text {
	flex: 1;
	font-size: 13px;
	color: #004085;
}
.getolt-refresh-status-bar.getolt-success {
	background: #d4edda;
	border-top-color: #c3e6cb;
}
.getolt-refresh-status-bar.getolt-success .getolt-status-text {
	color: #155724;
}
.getolt-refresh-status-bar.getolt-error {
	background: #f8d7da;
	border-top-color: #f5c6cb;
}
.getolt-refresh-status-bar.getolt-error .getolt-status-text {
	color: #721c24;
}
/* Reboot button styles */
.getolt-btn-reboot {
	background: #dc3545;
	color: #fff;
	border: none;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 12px;
	cursor: pointer;
	transition: background 0.2s;
}
.getolt-btn-reboot:hover:not(:disabled) {
	background: #c82333;
}
.getolt-btn-reboot:disabled {
	background: #6c757d;
	cursor: not-allowed;
}
.getolt-btn-reboot.getolt-cooldown {
	background: #adb5bd;
	color: #495057;
	min-width: 120px;
}
/* Activation form styles */
.getolt-activation-section {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 15px;
}
.getolt-activation-section h4 {
	margin: 0 0 10px 0;
	font-size: 14px;
	font-weight: 600;
	color: #495057;
}
.getolt-activation-form {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	flex-wrap: wrap;
}
.getolt-activation-form .getolt-form-group {
	flex: 1;
	min-width: 200px;
}
.getolt-activation-form label {
	display: block;
	font-size: 12px;
	color: #6c757d;
	margin-bottom: 4px;
}
.getolt-activation-form input[type="text"] {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-family: monospace;
	font-size: 14px;
	text-transform: uppercase;
}
.getolt-activation-form input[type="text"]:focus {
	border-color: #80bdff;
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.getolt-activation-form input[type="text"].getolt-is-invalid {
	border-color: #dc3545;
}
.getolt-btn-activate {
	background: #28a745;
	color: #fff;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}
.getolt-btn-activate:hover:not(:disabled) {
	background: #218838;
}
.getolt-btn-activate:disabled {
	background: #6c757d;
	cursor: not-allowed;
}
.getolt-activation-status {
	width: 100%;
	padding: 10px;
	border-radius: 4px;
	font-size: 13px;
	margin-top: 10px;
	display: none;
}
.getolt-activation-status.getolt-active {
	display: block;
}
.getolt-activation-status.getolt-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.getolt-activation-status.getolt-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}
.getolt-activation-status.getolt-processing {
	background: #e7f1ff;
	color: #004085;
	border: 1px solid #b8daff;
}
/* Service selection modal */
.getolt-service-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 10000;
}
.getolt-service-modal-overlay.getolt-active {
	display: flex;
}
.getolt-service-modal {
	background: #fff;
	border-radius: 8px;
	width: 90%;
	max-width: 500px;
	max-height: 80vh;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.getolt-service-modal-header {
	background: #f8f9fa;
	padding: 15px 20px;
	border-bottom: 1px solid #dee2e6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.getolt-service-modal-header h3 {
	margin: 0;
	font-size: 16px;
}
.getolt-service-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #6c757d;
	line-height: 1;
}
.getolt-service-modal-body {
	padding: 20px;
	max-height: 60vh;
	overflow-y: auto;
}
.getolt-service-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.getolt-service-list li {
	padding: 12px;
	border: 1px solid #dee2e6;
	border-radius: 4px;
	margin-bottom: 8px;
	cursor: pointer;
	transition: all 0.2s;
}
.getolt-service-list li:hover {
	background: #e9ecef;
	border-color: #adb5bd;
}
.getolt-service-list li:last-child {
	margin-bottom: 0;
}
.getolt-service-list .getolt-service-title {
	font-weight: 500;
	margin-bottom: 4px;
}
.getolt-service-list .getolt-service-mac {
	font-family: monospace;
	font-size: 12px;
	color: #6c757d;
}
/* OLT Management page styles */
.getolt-status-ok {
	color: #155724;
	background: #d4edda;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
}
.getolt-status-error {
	color: #721c24;
	background: #f8d7da;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
}
.getolt-status-updating {
	color: #004085;
	background: #cce5ff;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
}
.getolt-status-new {
	color: #856404;
	background: #fff3cd;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
}
.getolt-signal-bad {
	color: #dc3545;
	font-weight: bold;
}
.getolt-signal-warn {
	color: #e6a000;
	font-weight: bold;
}
.getolt-ports-container,
.getolt-onus-container {
	padding: 5px;
}
.getolt-loading {
	padding: 10px;
	color: #6c757d;
	font-style: italic;
}

/* «Массовая авария» — ТЗ #11, Этап 1 */
.getolt-incident-container {
	padding: 8px;
	font-size: 13px;
}
.getolt-incident-header {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid #ddd;
	margin-bottom: 8px;
}
.getolt-incident-city-empty {
	color: #6c757d;
	font-style: italic;
}
.getolt-incident-banner-error {
	background: #f8d7da;
	color: #721c24;
	padding: 8px;
	border-radius: 4px;
	margin: 8px 0;
}
.getolt-incident-loading,
.getolt-incident-empty,
.getolt-incident-summary-empty {
	padding: 8px;
	color: #6c757d;
	font-style: italic;
}
.getolt-incident-olts {
	margin: 8px 0;
}
.getolt-incident-olt-row {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 6px 8px;
	margin: 4px 0;
}
.getolt-incident-olt-row label {
	display: flex;
	gap: 8px;
	align-items: center;
	cursor: pointer;
}
.getolt-incident-olt-ip {
	font-weight: bold;
	min-width: 110px;
}
.getolt-incident-olt-vendor,
.getolt-incident-olt-billing {
	color: #495057;
	min-width: 80px;
}
.getolt-incident-olt-stats {
	color: #6c757d;
	margin-left: auto;
}
.getolt-incident-ports {
	margin-top: 6px;
	padding: 6px;
	background: #f8f9fa;
	border-radius: 4px;
}
.getolt-incident-port-mode {
	margin-bottom: 4px;
}
.getolt-incident-port-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 4px;
}
.getolt-incident-port-item {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 2px 4px;
	white-space: nowrap;
}
.getolt-incident-port-item .getolt-incident-port-num {
	min-width: 70px;
}
.getolt-incident-port-item .getolt-incident-port-onu {
	color: #6c757d;
}
.getolt-incident-summary {
	margin: 12px 0;
	padding: 10px;
	background: #e7f3ff;
	border-left: 3px solid #2c80c5;
	border-radius: 4px;
}
.getolt-incident-actions {
	margin-top: 10px;
}
.getolt-incident-btn-save,
.getolt-incident-btn-reload {
	padding: 4px 12px;
	cursor: pointer;
}

/* Бакеты сигнала ONU в саммари и на портах массовой аварии */
.getolt-incident-port-sig {
	display: inline-flex;
	gap: 4px;
	margin-left: 12px;
}
.getolt-incident-sig {
	display: inline-block;
	min-width: 22px;
	padding: 1px 6px;
	border-radius: 3px;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
	color: #fff;
}
.getolt-incident-sig-over    { background: #6f42c1; }
.getolt-incident-sig-good    { background: #28a745; }
.getolt-incident-sig-medium  { background: #e6a000; }
.getolt-incident-sig-poor    { background: #dc3545; }
.getolt-incident-sig-nosig   { background: #6c757d; }

.getolt-incident-summary-row {
	display: flex;
	gap: 8px;
	align-items: baseline;
	padding: 2px 0;
}
.getolt-incident-summary-sig {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px dashed #c5d8e8;
}
.getolt-incident-summary-sig-label {
	font-size: 13px;
}
.getolt-incident-summary-sig-hint {
	font-size: 11px;
	color: #6c757d;
	margin-left: auto;
}

.getolt-incident-add-location {
	margin: 8px 0 12px;
}
.getolt-incident-btn-add-location {
	background: #f1f3f5;
	border: 1px dashed #adb5bd;
	color: #495057;
	padding: 6px 14px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
}
.getolt-incident-btn-add-location:hover {
	background: #e9ecef;
}
.getolt-incident-add-location-form {
	display: flex;
	gap: 6px;
	align-items: center;
	padding: 8px;
	background: #f8f9fa;
	border-radius: 4px;
}
.getolt-incident-add-location-input {
	flex: 1;
	padding: 5px 10px;
	border: 1px solid #ced4da;
	border-radius: 3px;
	font-size: 13px;
}
.getolt-incident-add-location-input:focus {
	border-color: #80bdff;
	outline: none;
}
.getolt-incident-btn-search-location,
.getolt-incident-btn-cancel-location {
	padding: 5px 12px;
	border: 1px solid #ced4da;
	border-radius: 3px;
	cursor: pointer;
	font-size: 13px;
	background: #fff;
}
.getolt-incident-btn-search-location {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
}
.getolt-incident-btn-search-location:hover:not(:disabled) {
	background: #0056b3;
	border-color: #0056b3;
}
.getolt-incident-btn-search-location:disabled {
	background: #6c757d;
	border-color: #6c757d;
	cursor: not-allowed;
}

.getolt-incident-add-location-form {
	flex-direction: column;
	gap: 6px;
	align-items: stretch;
}
.getolt-incident-add-location-row {
	display: flex;
	gap: 6px;
	align-items: center;
}
.getolt-incident-add-location-suggestions {
	max-height: 220px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 3px;
	padding: 6px;
}
.getolt-incident-city-suggestion {
	display: flex;
	gap: 6px;
	align-items: center;
	padding: 3px 4px;
	cursor: pointer;
	border-radius: 3px;
}
.getolt-incident-city-suggestion:hover {
	background: #f1f3f5;
}
.getolt-incident-add-location-hint,
.getolt-incident-add-location-empty {
	color: #6c757d;
	font-size: 12px;
	font-style: italic;
	padding: 4px 0;
}
.getolt-incident-add-location-actions {
	display: flex;
	gap: 6px;
	justify-content: flex-end;
}

.getolt-incident-city-block {
	border-bottom: 1px dashed #e9ecef;
	padding: 2px 0;
}
.getolt-incident-city-block:last-child {
	border-bottom: none;
}
.getolt-incident-city-olts {
	margin: 4px 0 8px 24px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px;
	background: #f8f9fa;
	border-radius: 3px;
}
.getolt-incident-suggested-olt {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 3px 4px;
	cursor: pointer;
	border-radius: 3px;
	font-size: 12px;
}
.getolt-incident-suggested-olt:hover {
	background: #e9ecef;
}
.getolt-incident-suggested-dup {
	opacity: 0.55;
	cursor: not-allowed;
}

.getolt-incident-city-suggestion {
	display: flex;
	gap: 6px;
	align-items: center;
	padding: 3px 4px;
	border-radius: 3px;
}
.getolt-incident-city-name {
	cursor: pointer;
	flex: 1;
}
.getolt-incident-city-name:hover {
	text-decoration: underline;
}

/* Запрет переноса колонки счётчика ONU в строках OLT (основной список и сжатые suggestion-строки) */
.getolt-incident-olt-stats {
	white-space: nowrap;
	flex-shrink: 0;
	margin-left: auto;
	min-width: 11em;
	text-align: right;
}
.getolt-incident-suggested-olt .getolt-incident-olt-vendor,
.getolt-incident-suggested-olt .getolt-incident-olt-billing {
	white-space: nowrap;
}

.getolt-incident-banner-error.getolt-incident-banner-success {
	background: #d4edda;
	color: #155724;
}

/* Сводка по сохранённому выбору («режим recap») */
.getolt-incident-recap {
	border: 1px solid #b8daff;
	background: #f3f9ff;
	border-radius: 4px;
	padding: 10px;
	margin: 8px 0 12px;
}
.getolt-incident-recap-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.getolt-incident-recap-row {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 4px 6px;
	background: #fff;
	border-radius: 3px;
}
.getolt-incident-recap-ports {
	color: #495057;
}
.getolt-incident-recap-total {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #b8daff;
	font-size: 13px;
}
.getolt-incident-btn-edit,
.getolt-incident-btn-cancel-edit {
	margin-top: 8px;
	padding: 5px 14px;
	border: 1px solid #ced4da;
	background: #fff;
	border-radius: 3px;
	cursor: pointer;
	font-size: 13px;
}
.getolt-incident-btn-edit:hover,
.getolt-incident-btn-cancel-edit:hover {
	background: #f1f3f5;
}

/* Запрет переноса строк в таблице сводки */
.getolt-incident-recap-row,
.getolt-incident-recap-row > * {
	white-space: nowrap;
}
.getolt-incident-recap-ports {
	overflow: hidden;
	text-overflow: ellipsis;
}


.grpl-board td[bg-column-id] {
	padding: 0 !important;
}

.grpl-non-working-day {
	color: red !important;
	font-weight: bold;
}

.grpl-past, .grpl-past .grpl-board-group {
	background-color: #b7b7b790 !important;
}

.grpl-board-group {
	padding: 0.5em 1em;
	background-color: #b7e1cd80;
}

.grpl-board-process-description {
	position: absolute;
	padding: 0.5em;
	border: var(--popup-border);
	background-color: #ffffff;
	box-shadow: var(--popup-box-shadow);
	z-index: 999;
}

.grpl-board-process, .grpl-board-process-placement {
	padding: 0.5em 1em;
}

.grpl-board-process-placement {
	background-color: var(--table-hl-bg-color);
}

.grpl-board-process-placement.grpl-board-drop-allowed {
	background-color: #0d726f;
}

.grpl-board-group:hover, .grpl-board-process:hover {
	background-color: var(--table-hl-bg-color) !important;
}
