:root {
	--tag-width: 200px;
}
.listing {
	background: var(--base-cont-top);
}
.listing__days .month2 {
	padding-bottom: 1px;
}

.listing__left {
	float: left;
	padding-top: 12px;
	width: 300px;
}

.listing__right__wrapper {
	margin: 0px 0 0 300px;
}

.listing__right__wrapper {
	overflow: hidden;
}

.listing__right__wrapperScrollIn {
	overflow: hidden;
	cursor: move;
	cursor: grabbing;
}

.listing__right {
	background: var(--base-line-tertiary);
	cursor: move;
	cursor: grab;
}

.listing-multy .listing__right {
	background-color: var(--base-cont-top);
}

.listing__right__item {
	height: 24px;
	position: relative;
	padding: 8px 0;
}

.listing__left__item {
	height: 24px;
	position: relative;
	padding: 8px 12px 8px 0;
	display: flex;
	box-shadow: 0 -0.5px var(--base-surf-top) inset;
	align-items: center;
}

.listing__left__item-left {
	display: flex;
	flex: 1 1 100%;
	min-width: 0;
	align-items: center;
}

.listing__left__item-right {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
}

.listing__left__item-task .listing__left__item-right {
	gap: 8px;
}

.listing__left__item-task {
	padding-left: 24px;
}

.listing__left__item .in {
	height: 20px;
	white-space: nowrap;
	overflow: hidden;
}

.listing__left__item-userDeleted .in {
	text-decoration: line-through;
	text-decoration-color: var(--base-btn-alert-primary-minor)
}

.listing__left__item-userDeleted .in small {
	display: none
}

.listing__left__item .in {
	font: 14px/20px var(--font-base);
	margin: -4px 68px -4px 0;
	position: relative;
	padding: 4px 0;
}

.listing__left__item .expl_place ~ .in {
	margin-right: 96px;
}

.listing__left__item {
	cursor: pointer
}

.listing__left__item-session a {
	font-weight: bold;
}

.listing__left__item a.t {
	color: var(--base-txt-accent);
	font: var(--font-ui-15-large-reg);
}

.listing__left__item span.ico_priv {
	float: left;
	margin: 0 5px 0 0;
}

.listing__left__item .ico_ava {
	padding: 0;
	width: 24px;
	height: 24px;
	--icon-size: 24px;
}

.listing__left__item .ico_ava ws-icon {
	width: 24px;
	height: 24px;
	float: none;
	margin: 0;
	--icon-size: 24px;
}
.listing__left__item .ico_ava ws-icon[name=block] {
	--icon-size: 20px;
	--icon-color: var(--base-txt-btn-w);
}

.listing__left__item .stage {
	padding-left: 2px;
}
/*
.listing__left__item .tags {
	vertical-align: top;
	padding: 2px 0;
	display: inline-block;
}
*/
.listing__left__children .listing__left__item-done a.t {
	color: var(--base-txt-tertiary);
	text-decoration: line-through;
}

.listing__left__children .listing__left__item-done.listing__left__item-hover a.t {
	color: var(--base-txt-accent);
}

.listing__left__item .expl_place {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.listing__left__item .expl_place.expl_off {
	visibility: hidden;
	opacity: 0;
}

.listing__left__item a.explode {
	background: none;
	opacity: 0.5;
}

.listing__left__children .expl_place {
	right: 67px;
}

.listing__left__item a.expl_open ws-icon svg use:first-child {
	display: none;
}

.listing__left__item a.expl_open, .listing__left__item-canExpand a.expl_open {
	opacity: 1
}

.listing__left__item a.expl_close ws-icon svg use:last-child {
	display: none;
}

.listing__left__item a.expl_close, .listing__left__item-canExpand a.expl_close {
	opacity: 1
}

.listing__left__item .logo {
	width: 24px;
	height: 24px;
}

.listing__left__item .logo .proj_color {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}

.listing__left__item .logo .proj_color ws-emoji {
	width: 16px;
	height: 16px;
	padding: 4px;
}

.listing__left__item .logo .av_sm {
	border-radius: 6px;
	--icon-size: 16px;
}

.listing__left__item .name {
	color: var(--base-txt-accent);
	font: var(--font-ui-15-large-semi);
	line-height: 24px;
	padding-left: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	flex-shrink: 1;
}

.listing__left__item small {
	color: var(--base-txt-muted);
	font: var(--font-ui-12-mini-reg);
	line-height: 24px;
	padding-left: 8px;
	white-space: nowrap;
	overflow: hidden;
	flex-shrink: 1;
}

.listing__left__item-project .dot_tags {
	align-items: center;
	padding: 0 10px;
}
.listing__left__item-task .dot_tags {
	align-items: center;
	padding: 0 4px;
}

.listing__left__children .listing__left__item-level1 {
	padding-left: 24px;
}

.listing__left__children .listing__left__item-level1 .listing__left__item-dots:before,
.listing__left__children .listing__left__item-level2 .listing__left__item-dots:before {
	content: '·';
	display: flex;
	color: var(--base-txt-ghost);
	font: var(--font-ui-18-title-2-bold);
	width: 24px;
	height: 24px;
	position: absolute;
	top: 8px;
	left: 48px;
	justify-content: center;
	align-items: center;
}

.listing__left__children .listing__left__item-level2 .listing__left__item-dots:after {
	content: '·';
	display: flex;
	color: var(--base-txt-ghost);
	font: var(--font-ui-18-title-2-bold);
	width: 24px;
	height: 24px;
	position: absolute;
	top: 8px;
	left: 72px;
	justify-content: center;
	align-items: center;
}

.listing__left__children .listing__left__item-level1 .expl_place {
	padding-left: 24px;
	z-index: 1001;
}

.listing__left__children .listing__left__item-level2 {
	padding-left:72px;
}

.listing__left__item .av_pre {
	/* position: absolute; */
	/* top: 6px; */
	/* right: 36px; */
	color: var(--base-txt-secondary);
	font: 11px/21px var(--font-base);
	/* padding: 0 7px 0 5px; */
	z-index: 1;
}

.listing__left__item-byUser .av_pre, .listing__left__item-byUser .expl_place, .listing__left__item-byUser .ico_plus {
	display: none
}
.listing__left__item-byUser.listing__left__item-hover .av_pre,
.listing__left__item-byUser.selected .av_pre {
	display: block
}

.listing__left__item-hover .ico_place { display: none; }
.listing__left__item-hover .ico_place:not(:empty) + .av_sm {display: inline-flex;align-items: center;justify-content: center;}

.listing__left__item-group a.ico_r {
	display: none;
	position: absolute;
	top: 8px;
	right: 18px;
	z-index: 1;
}

.listing__left__item-group.listing__left__item-canExpand a.ico_r {
	right: 44px;
}

.listing__left__item-group span.ico_l {
	position: absolute;
	top: 8px;
	left: 2px;
	z-index: 1;
}

.listing__left__item-group span.ico_fav_p {
	left: 6px;
}

.listing__left__item-group:hover a.ico_r, .listing__left__item-group.listing__left__item-expanded a.ico_r {
	display: block;
}

.listing__left__item .av_pre_ {
	display: none;
}

.listing__left__item-group:hover a.ico_r ~ .av_pre_a, .listing__left__item-expanded a.ico_r ~ .av_pre_a {
	display: none;
}

.listing__left__item:hover .av_pre_ {
	display: block;
}


.listing__left__item .priorb,
.task_quick_add .priorb {
	width: 20px;
	height: 20px;
	display: flex;
	flex-shrink: 0;
	font: var(--font-ui-10-nano-med);
	justify-content: center;
	align-items: center;
	padding: 0;
	line-height: 15px;
}

.listing__left__item .priorb {
	margin: 0;
}

.listing__left__item span.ico_done_place {
	margin: 0;
}

.listing__left__item a.priorb:hover {
	background-image: none;
}

.listing__left__children .listing__left__item span.aut {
	background: var(--base-cont-top)
}

.listing__left__item {
	background: var(--base-cont-top);
}

.listing__left__children .listing__left__item {
	background: var(--base-cont-top);
}
/*
.listing__left__item-session {
	box-shadow: 0 0 0 20px var(--GANTT_BG_HOVER) inset, 0 0 0 0.5px var(--base-surf-top) !important;
}

.listing__right__item-session {
	box-shadow: 0 0 0 20px var(--GANTT_BG_HOVER) inset;
}
*/
.listing__left__item-updated {
	box-shadow: 0 0 0 20px var(--GANTT_BG_NEW) inset, 0 0 0 0.5px var(--base-surf-top) !important;
}

.listing__right__item-updated {
	box-shadow: 0 0 0 20px var(--GANTT_BG_NEW) inset;
}

.listing__left__item-hover,
.listing__left__children .listing__left__item-hover {
	background: var(--base-cont-mid);
}

.listing__left__item-bookmarked:before {
	content: '';
	display: block;
	width: 2px;
	height: 100%;
	background: var(--lbl-today-major);
	position: absolute;
	left:  0;
}

.listing__right__item-hover {
	background: var(--base-hlt-g-hover);
	background-blend-mode: color;
}

.listing__left__item-hover.listing__left__item-session {
	box-shadow: 0 0 0 20px var(--GANTT_BG_UPD) inset, 0 0 0 0.5px var(--base-surf-top) !important;
}

.listing__right__item-hover.listing__right__item-session {
	box-shadow: 0 0 0 20px var(--GANTT_BG_UPD) inset;
}

.listing__left__item.selected {
	box-shadow: 0 0 0 20px var(--GANTT_BG_ACT) inset, 0 0 0 0.5px var(--base-surf-top) !important;
}

.listing__right__item.selected {
	box-shadow: 0 0 0 20px var(--GANTT_BG_ACT) inset !important;
}

.listing__right__item-disabled {
	box-shadow: 0 0 0 20px var(--GANTT_BG_HOVER) inset;
	pointer-events: none;
}

.listing__right__children {
	position: relative;
}

.listing__selfLimits {
	background: var(--colors-red-trans-200);
	height: 40px;
	position: absolute;
	width: 0;
	top: 0;
	left: 0;
	display: none;
}

.listing__parentLimits, .listing__intervalLimits {
	width: 0;
	position: absolute;
	top: 0;
	left: -1px;
	display: none;
	pointer-events: none;
}

.listing__intervalLimits {
	z-index: 1000;
	bottom: 0;
	background: var(--colors-alpha-dark-10);
}

.listing__intervalLimits-min {
	border-right: 1px dashed var(--base-btn-primary-minor);
}

.listing__intervalLimits-max {
	border-left: 1px dashed var(--base-btn-primary-minor);
	width: auto
}

.listing__parentLimits-projectMin, .listing__parentLimits-projectMax {
	border-right: 1px dashed var(--GANTT_PROJECT);
}

.listing__parentLimits-taskMin, .listing__parentLimits-taskMax {
	border-right: 1px dashed var(--GANTT_TASK);
}

.listing__parentLimits-subtaskMin, .listing__parentLimits-subtaskMax {
	border-right: 1px dashed var(--GANTT_SUBTASK);
}

.listing__right {
	min-height: 288px;
	min-height: calc(100vh - 242px);
	height: auto !important;
	height: 288px;
	position: relative;
	padding-bottom: 80px;
	padding-top: 12px;
}

.listing__left__item-missScreen, .listing__right__item-missScreen, .listing__right__item-differentProject {
	display: none;
}

#dropmnth {
	width: 120px;
}

a.expand_lnk {
	display: block;
	font: italic 12px/18px var(--font-base);
	color: var(--base-txt-tertiary);
	height: 20px;
	position: absolute;
	left: 5px;
	top: 12px;
	--icon-color: var(--base-hlt-invert-major);
}

a.expand_lnk:not(.sw_act) ws-icon {
	transform: rotate(90deg);
}

a.expand_lnk.sw_act ws-icon {
	transform: rotate(270deg);
}

.print_help {
	font: bold 14px/15px var(--font-base);
	color: var(--white-accent);
	background: var(--base-cont-top);
	text-align: left;
	height: 40px;
	display: none;
	margin: 0 0 -40px 330px;
	text-align: right;
	width: 360px;
	overflow: hidden;
}

.print_help b {
	font: bold 14px/16px var(--font-base);
}

@media print {
	.print_help {display:block !important}
}


#empty_files.empty_show {
	display: none !important;
}

#filter_more {
	margin: 0 0 24px 0;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 900px) {
}

@media screen and (max-width: 768px) {
	#empty_files.empty_show {
		position: absolute;
		display: flex !important;
		flex-direction: column;
		background: var(--colors-alpha-light-80);
		top: 92px;
		left: 0;
		bottom: 0;
		right: 0;
		z-index: 999;
		justify-content: center;
		min-width: 0;
		text-align: center;
		word-wrap: break-word;
	}

	body[data-color=color] #empty_files.empty_show {
		background: var(--colors-alpha-dark-80);
	}

	body.withTaskPanel #empty_files.empty_show {
		bottom: 40px;
	}

	#listing {
		filter: blur(2px);
	}

	.filter {
		display: none
	}

	#tasks {
		display: none
	}

	.listing__days {
		display: none
	}
}

@media screen and (max-width: 640px) {
}

@media screen and (max-width: 480px) {
	#empty_files.empty_show {
		bottom: 40px;
	}
}

@media screen and (max-width: 360px) {
}

.listing {
	-webkit-user-select: none;
	user-select: none;
}

.listing.gantt_resize {
	cursor: w-resize;
}

.listing__widthChanger {
	cursor: w-resize;
	width: 4px;
	height: 10000px;
	float: left;
	margin: 0 -4px -10000px 0;
	position: relative;
	z-index: 1002;
	box-shadow: 1px 0 0 0 var(--base-line-tertiary) inset, 4px 0 0 0 var(--base-cont-trans-low) inset;
	transition: all 0.2s;
}

.listing__widthChanger:hover,
.listing__widthChanger-hover {
	box-shadow: 2px 0 0 0 var(--base-line-secondary) inset;
}

.listing.gantt_resize .listing__widthChanger {
	box-shadow: 2px 0 0 0 var(--base-hlt-invert) inset;
}

.listing__left__item:not(.listing__left__item-project) .ico_plus {
	display: none
}

.listing__left__item:hover .ico_plus {
	display: inline-block;
	vertical-align: 1px;
}

body::-webkit-scrollbar:horizontal {
	display: none;
	height: 20px
}

body::-webkit-scrollbar-track:horizontal {
	background-color: var(--base-cont-top)
}

body::-webkit-scrollbar-track:horizontal:hover {
	background-color: var(--base-cont-top)
}

body::-webkit-scrollbar-corner:horizontal {
	background-color: var(--base-cont-top)
}

body::-webkit-scrollbar-thumb:horizontal {
	border-radius: 10px;
	border: 5px solid var(--base-cont-top);
	background: var(--base-btn-primary-major)
}

body::-webkit-scrollbar-track:vertical {
	background-color: var(--base-cont-mid);
	box-shadow: 1px 0 0 var(--base-surf-top) inset
}

.after_filter {
	margin-top: 0
}

.listing__left__item-group:not(.listing__right__item-missScreen) + .listing__left__children .listing__space__left {
	height: 36px;
	background: var(--base-cont-top);
}

.listing__right__item-group:not(.listing__right__item-missScreen) + .listing__right__children .listing__space__right {
	height: 36px;
}

.data-title-xt[data-title]:after {
	bottom: 100%;
	top: auto;
	left: 3px;
	margin: 0;
	border-radius: 6px 6px 0 0
}

.listing__right__item .tml {
	position: absolute;
	top: 9px;
	left: 0;
	height: 20px;
	overflow: hidden;
	font: 11px/20px var(--font-base);
	color: var(--base-txt-secondary);
	opacity: 0;
	z-index: 1;
}

.listing__right__item .tml {
	background: var(--base-cont-top);
	border: 1px solid var(--base-txt-muted);
	padding: 0 5px;
	border-radius: 4px;
}

.listing__right__item .tml:before {
	content: '+';
	font: 16px/20px var(--font-base);
	float: right;
	margin: 0 0 0 5px
}

.listing__right__item .tml:hover {
	color: var(--base-txt-primary);
	border-color: var(--base-txt-link-major);
}

.listing__right__item:hover .tml {
	opacity: 1;
}

.listing__right .tml_act {
	color: var(--costs-time-major);
	opacity: 1;
}

.listing__right .tml_act:hover {
	background: var(--costs-time-major);
	color: var(--white-accent);
	border-color: var(--costs-time-major);
}

.listing__right .tml_act:before {
	display: none
}

.listing__left__item.listing__left__item-session .proj_color {
	display: none;
}

.listing .listing__left__item project-tags, .listing .listing__left__item span.tags_ {
	display: none
}

.listing.listing-withLabels .listing__left__item project-tags, .listing.listing-withLabels .listing__left__item span.tags_ {
	display: inline-block;
	overflow: hidden;
	min-width: 0;
}

.listing .listing__left__item task-wait:has(ws-icon) { padding: 0; }
.listing.listing-withLabels .listing__left__item task-wait + .tags_ { display: none; }
.listing.listing-withLabels .listing__left__item task-wait + .menu + .tags_ { display: none; }

.listing.listing-withLabels .listing__left__item task-tags {
	display: inline-flex;
	max-width: var(--tag-width);
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
}

.listing.listing-withLabels .listing__left__item task-tags .dot_tags {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
}

.listing.listing-withLabels .listing__left__item task-tags .dot_tags span {
	display: block;
	min-width: 8px;
}

body.mobile .listing__left__item-withContextMenu {
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

@media print {
	* {
		-webkit-print-color-adjust: exact;
	}
}

.listing__right__item-group ~ .listing__right__item-group {
	border-top: 1px solid var(--base-line-alt-cardbrd);
}

.listing__right__item-group:not(.listing__right__item-expanded) {
}

.listing__right__item-group.listing__right__item-hover:not(.listing__right__item-expanded) {
	box-shadow: 0 0 0 20px var(--GANTT_BG_HOVER) inset, 0 40px var(--colors-alpha-dark-03) inset;
}

.listing__right__item-group.selected:not(.listing__right__item-singleGroup) {
	box-shadow: 0 0 0 20px var(--GANTT_BG_HOVER) inset;
}

.listing__left__item-group:not(:first-child) {
	border-top: 1px solid var(--base-line-alt-cardbrd);
}

.listing__left__item-group:not(.listing__left__item-expanded) {
}

.listing__left__item-group:not(.listing__left__item-expanded) .in:after {
	background: var(--base-cont-mid)
}

.listing__left__item-group.selected:not(.listing__left__item-expanded) .in:after {
	background: var(--base-cont-mid) linear-gradient(var(--GANTT_BG_HOVER), var(--GANTT_BG_HOVER))
}

.listing__left__item-group.selected:not(.listing__left__item-singleGroup) {
	box-shadow: 0 -1px var(--base-line-alt-cardbrd), 0 0 0 20px var(--GANTT_BG_HOVER) inset, 0 0 0 1px var(--GANTT_BG_HOVER)
}

.listing__left__item-hidden, .listing__right__item-hidden {
	display: none;
}

body.gantt_drag .listing__right {
	pointer-events: none
}

body[data-page=gantt] #mouse_help .in_l {
	margin: 0 50px 0 0;
}

body[data-page=gantt] #mouse_help .r + div {
	display: flex;
	justify-content: center;
}

.filter .r {
	float: right;
	margin: 8px 0 0;
}

.filter .scale {
	float: right;
	margin: 2px 10px 2px 10px;
	color: var(--base-txt-muted);
	font: 13px/20px var(--font-base);
}

.filter .scale b {
	color: var(--base-txt-primary);
	margin-left: 5px;
}

.listing__dateButtons {
	position: absolute;
	display: none;
	min-width: 120px;
	text-align: center;
	top: -18px;
	z-index: 1001;
}
.listing__dateButtons * {
	float:left
}

.listing__dateButtons a {
	background: var(--menu-cont-top);
	border: 1px solid var(--base-line-tertiary);
	border-width: 1px 0;
	color: var(--base-txt-tertiary);
	padding: 0 5px;
	display: inline-block;
	vertical-align: bottom;
}

.listing__dateButtons.act a {
	border-color: var(--base-txt-primary);
	color: var(--base-txt-primary);
}

.listing__dateButtons a[data-ops=minus] {
	border-left-width: 1px;
	border-radius: 4px 0 0 4px
}

.listing__dateButtons a[data-ops=plus] {
	border-right-width: 1px;
	border-radius: 0 4px 4px 0
}

.listing__dateButtons a:hover {
	color: var(--base-txt-link-minor)
}

.listing__dateButtons a[data-ops=set] {
	width: 60px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.listing__dateButtons a .ico_c {
	margin: 0 -4px;
	transform: scale(0.75)
}

.listing__right__item-group--first .listing__dateButtons {
	top: 36px;
}

.listing__datePicker {
	border: none;
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	position: absolute;
	left: -5px;
	top: -5px;
}

.listing__itemAnchor {
	display: none;
	border-radius: 12px;
	padding: 2px;
	background: var(--base-cont-top);
	position: absolute;
	z-index: 1001;
	box-shadow: var(--shadow-cont-minor-outline);
	overflow: hidden;
	cursor: pointer;
}

.listing__itemAnchor.in_scroll {
	display: none !important;
}

.listing__itemAnchor:hover {
	box-shadow: var(--shadow-cont-major-outline);
}

.listing__itemAnchor ws-icon svg use {
	display: none
}

.listing__itemAnchor[data-direction=left] ws-icon svg use:first-child {
	display: block
}

.listing__itemAnchor[data-direction=right] ws-icon svg use:last-child {
	display: block
}

/* -------------------------------------------------------------------------------------------------------------------*/

#gantt_legend {
	float: left;
	height: 60px;
	position: relative;
	margin: 15px 0 0 50px;
	text-align: left;
}

#mouse_help .in_l ~ #gantt_legend {
	margin-left: 0
}

#gantt_legend div {
	float: left;
	font: 12px/22px var(--font-base);
	height: 25px;
	color: var(--base-txt-tertiary);
	white-space: nowrap;
	padding: 0 10px 2px 0;
	width: 170px;
}

#gantt_legend div.clear {
	height: 1px;
	padding: 0;
}

#gantt_legend div span {
	width: 16px;
	height: 10px;
	float: left;
	margin: 6px 10px 6px 0;
	font-size: 1px;
	position: relative;
}

#gantt_legend div span.c1 {
	margin-right: 0;
	background: var(--GANTT_PROJECT);
}

#gantt_legend div span.c7 {
	background: var(--GANTT_PROJECT);
	width: 10px;
}

#gantt_legend div span.c8 {
	background: var(--GANTT_TASK);
	width: 10px;
}

#gantt_legend div span.c2 {
	background: var(--GANTT_TASK);
	margin-right: 0;
}

#gantt_legend div span.c4 {
}

#gantt_legend div span.s1 {
	background: var(--GANTT_SUBTASK);
	margin-right: 0;
}

#gantt_legend div span.s2 {
	background: var(--GANTT_SUBTASK);
	width: 10px;
}

#gantt_legend div span.s3 {
}

#gantt_legend div span.s3:before {
	content: '';
	position: absolute;
	left: 0;
	right: 5px;
	top: 4px;
	border-bottom: 2px solid var(--GANTT_ERROR);
}

#gantt_legend div span.s3:after {
	content: '';
	position: absolute;
	right: 0;
	top: 2px;
	width: 2px;
	height: 2px;
	border-radius: 10px;
	background: var(--GANTT_ERROR);
	border: 2px solid var(--GANTT_ERROR);
}

#gantt_legend div span.c4:before {
	content: '';
	position: absolute;
	left: 0;
	right: 5px;
	top: 4px;
	border-bottom: 2px solid var(--GANTT_LINE);
}

#gantt_legend div span.c4:after {
	content: '';
	position: absolute;
	right: 0;
	top: 2px;
	width: 2px;
	height: 2px;
	border-radius: 10px;
	background: var(--GANTT_LINE);
	border: 2px solid var(--GANTT_LINE);
}

#gantt_legend div span.c6_ {
	background: var(--GANTT_ERROR_SUB);
}

#gantt_legend div span.s5 {
	width: 10px;
	margin: 0;
}

#gantt_legend div span.m1 {
	width: 25px;
	border-radius: 0 5px 5px 0
}

#gantt_legend div span.m1:before {
	content: '';
	display: block;
	background: var(--base-surf-low);
	width: 20px;
	height: 100%;
	border-radius: 0 5px 5px 0
}

#gantt_legend div span.m2:before {
	content: '';
	display: block;
	width: 15px;
	height: 100%
}

#gantt_legend div span.m3:before {
	content: '';
	display: block;
	width: 16px;
	height: 100%
}

/* ----------- MinifyCSS: LIGHT THEME ----------- */
#gantt_legend div span.m1 {
	background: var(--base-cont-low)
}

#gantt_legend div span.m1:before, #gantt_legend div span.m2:before, #gantt_legend div span.m3:before {
	background: var(--base-surf-low)
}

/* ----------- MinifyCSS: DARK THEME -----------
#gantt_legend div span.m1 {background: var(--base-line-alt-cardbrd)}
#gantt_legend div span.m1:before, #gantt_legend div span.m2:before, #gantt_legend div span.m3:before {background: var(--base-line-tertiary)}
----------- MinifyCSS: STOP ----------- */
#gantt_legend div span.m2 {
	width: 25px;
}

#gantt_legend div span.m2:after {
	content: '';
	position: absolute;
	background: var(--base-cont-top);
	box-shadow: 0 0 0 1px var(--base-txt-primary) inset;
	width: 8px;
	border-radius: 4px;
	left: 12px;
	top: -2px;
	padding: 2px 0;
	height: 10px;
}

#gantt_legend div span.m3 {
	width: 25px;
}

#gantt_legend div span.m3 i {
	position: absolute;
	background: var(--base-cont-top);
	box-shadow: 0 0 0 1px var(--base-txt-primary) inset;
	width: 8px;
	border-radius: 4px;
	left: 12px;
	top: -2px;
	padding: 2px 0;
	height: 10px;
	animation: demo_drag 2000ms infinite;
	-webkit-animation: demo_drag 1500ms infinite;
}

#gantt_legend div span.m3 i:before, #gantt_legend div span.m3 i:after {
	content: '';
	position: absolute;
	top: 4px;
	left: 10px;
	height: 0;
	width: 0;
	border: 3px solid var(--base-txt-primary);
	border-color: transparent transparent transparent var(--base-txt-primary);
}

#gantt_legend div span.m3 i:before {
	border-color: transparent var(--base-txt-primary) transparent transparent;
	left: -8px;
}

#gantt_legend div span.d {
	width: 12px;
	height: 20px;
	margin: 2px 5px 2px -20px
}

#gantt_legend div span.d1 {
	background: var(--cal-picker-vacation)
}

#gantt_legend div span.d2 {
	background: var(--cal-picker-sickleave)
}

/* ----------- MinifyCSS: LIGHT THEME ----------- */
#gantt_legend div span.d {
	box-shadow: 0 0 0 1px var(--colors-alpha-dark-10) inset;
	border-radius: 2px;
}

/* ----------- MinifyCSS: DARK THEME -----------
#gantt_legend div span.d {box-shadow:0 0 0 1px var(--colors-alpha-light-10); }
#gantt_legend div span.d3 {background:var(--base-cont-top)}
----------- MinifyCSS: STOP ----------- */
#gantt_legend div span.d3 {
	background: var(--GANTT_BG_TODAY)
}

@media (max-width: 1200px) {
	#gantt_legend div.wd {
		display: none
	}
}

@keyframes demo_drag {
	from {
		left: 16px;
	}

	50% {
		left: 8px;
	}

	to {
		left: 16px;
	}
}

@-webkit-keyframes demo_drag {
	from {
		left: 16px;
	}

	50% {
		left: 8px;
	}

	to {
		left: 16px;
	}
}

#gantt_legend div span.r1:before, #gantt_legend div span.r2:before, #gantt_legend div span.r3:before {
	content: '';
	position: absolute;
	border: 1px solid var(--base-txt-secondary);
	width: 5px;
	height: 5px;
	top: 2px;
	left: 3px;
	transform: rotate(45deg);
}

#gantt_legend div span.r3:before {
	border-color: var(--base-txt-secondary) var(--base-txt-secondary) transparent transparent
}

#gantt_legend div span.r3:after {
	content: '';
	position: absolute;
	height: 18px;
	top: -17px;
	left: 6px;
	width: 0;
	border-left: var(--screen-px) solid var(--GANTT_LINE);
}

#gantt_legend div.clear {
	float: none
}

#gantt_legend div.main {
	font-weight: bold;
	color: var(--base-txt-secondary);
	width: 120px;
}

/* -------------------------------------------------------------------------------------------------------------------*/
.listing__days .month {
	height: 20px;
	overflow-x: hidden;
	font: var(--font-ui-11-micro-med);
	display: flex;
	align-items: center;
}

.listing__days .month:nth-of-type(2) {
	box-shadow: 0 -0.5px 0 0 var(--base-line-tertiary);
}

.listing__days .month div {
	float: left;
	width: 48px;
	height: 20px;
	padding-left: 10px;
	cursor: pointer;
	color: var(--base-txt-tertiary);
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
}

.listing__days .month div:hover {
	background: var(--base-cont-low);
}

.listing__days .month div:last-child {
	margin-right: -100%
}

.listing__days .month div:before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	height: 32px;
	border-right: 1px solid var(--base-surf-top);
}

.listing__days .month div:after {
	content: '';
	position: absolute;
	right: -2px;
	top: 7px;
	width: 1px;
	height: 1px;
	border: 2px solid var(--base-txt-primary);
	background: var(--base-txt-primary);
	border-radius: 5px;
	z-index: 999;
}

.listing__days .month div.act:after,
.listing__days .month div.prev_act:after {
	content: none;
}

.listing__days .month ~ .month div:after {
	display: none
}

.listing__days .month ~ .month div:before {
	top: 0
}

.listing__days .month div i {
	font-style: normal;
	color: var(--base-txt-accent);
	font-weight: 510;
}

.listing__days .month div.act i {
	color: var(--base-cont-mod-top-elevated);
}

body.desktop .listing__days .month div font {
	padding: 0px 7px;
	border-radius: 4px;
	display: inline-block;
}

body.desktop .listing__days .month div:hover font {
	/* background: var(--base-hlt-g-selected); */
}

.listing__days .days {
	height: 20px;
	position: relative;
	box-shadow: 0 -0.5px 0 0 var(--base-line-tertiary);
}

.listing__days .days div {
	cursor: pointer;
}

.listing__days .days div:not(.today):before {
	content: attr(data-dt);
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 16px;
	background: var(--base-hlt-g-selected);
	position: absolute;
	opacity: 0;
}

.listing__days .days div:not(.today):not(.act):hover:before {
	opacity: 1;
}

.listing__days .days div.we {
	color: var(--base-txt-tertiary);
	background: var(--base-cont-low);
}

body.desktop .listing__days .days div:not(.today):not(.act):not(.we):hover {
	background: none;
	color: var(--base-txt-accent);
}

.listing__days .days div.act, .listing__days .month div.act {
	background: var(--base-hlt-invert);
	color: var(--base-cont-mod-top-elevated);
}

.listing__days .days div.act:hover, .listing__days .month div.act:hover {
	background: var(--base-hlt-invert-major);
}

.listing__days .days div.act.first_act {
	border-radius: 4px 0 0 4px;
}

.listing__days .days div.act.last_act {
	border-radius: 0 4px 4px 0;
}

.listing__days .days div {
	float: left;
	width: 20px;
	height: 20px;
	overflow: hidden;
	text-align: center;
	color: var(--base-txt-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font: var(--font-base);
	font-size: 10px;
	font-style: normal;
	font-weight: 590;
	letter-spacing: -0.24px;
	line-height: 16px;
}

.listing__days .days div:last-child {
	margin-right: -100px;
}

.listing__days .days2 div {
	width: 84px;
}

.listing__days .days div.today {
	color: var(--base-txt-secondary);
}

.listing__days .days div.today:hover {
	color: var(--base-txt-max);
}

.listing__days .days div.today:before {
	content: attr(data-dt);
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 16px;
	background: var(--lbl-today-minor);
	position: absolute;
	z-index: 0;
}

.listing__days .days div.today:after {
	content: '';
	display: block;
	background: var(--lbl-today-minor);
	width: 2px;
	height: 2px;
	position: absolute;
	bottom: 0;
	left: calc(50% - 1px);
}

.listing__days .days div.today:hover:before,
.listing__days .days div.today:hover:after {
	background: var(--lbl-today-major);
}

.listing__right .today_listing_line {
	position: absolute;
	top: -2px;
	width: 2px;
	height: calc(100% + 2px);
	background: var(--lbl-today-major);
	opacity: 0;
	pointer-events: none;
	z-index: 1;
}

.listing__days {
	background: var(--base-cont-top);
	height: 40px;
	position: relative;
	z-index: 1;
	box-shadow: 0 -0.5px 0 0 var(--base-line-tertiary);
}

.listing__days__right {
	margin: 0 3px 0 0;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 0.5px 0 0 var(--base-line-tertiary);
}

.listing__days .listing__days__rightScrollIn {
	width: 10000px;
}

.listing__days__left {
	float: left;
	width: 300px;
	padding: 6px 0;
	box-sizing: border-box;
	height: 40px;
	text-align: center;
	position: relative;
	box-shadow: 0 0.5px 0 0 var(--base-line-tertiary);
}

.listing__days__left b {
	font: 14px/20px var(--font-base);
	display: inline-block;
	width: 120px;
	text-align: center;
	vertical-align: bottom;
	height: 20px;
}

.listing__days__left .ico_pre {
	display: inline-block;
	vertical-align: bottom;
}

.listing__days__left .button_sm {
	float: left
}

.listing__days__left b {
	color: var(--base-txt-tertiary);
}

.listing__days__left b a {
	color: inherit
}

.listing__days:hover .listing__days__left b a {
	border-bottom: 1px dashed
}

.listing__days__left b i {
	font-style: normal;
	color: var(--base-txt-primary)
}

.listing__days__left .listing__widthChanger {
	float: right;
	width: 16px;
	height: 40px;
	margin: -6px -8px 2px -6px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, var(--base-cont-top) 30%, var(--base-cont-top) 70%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0) 100%);
	position: relative;
	cursor: w-resize;
	z-index: 1;
	box-shadow: none;
}

.listing__days__left .listing__widthChanger:before {
	content: '';
	position: absolute;
	top: 0;
	height: 40px;
	width: 4px;
	box-shadow: 1px 0 0 0 var(--base-line-tertiary) inset, 4px 0 0 0 var(--base-cont-trans-low) inset;
}

.listing__days__left .listing__widthChanger:hover:before,
.listing__days__left .listing__widthChanger-hover:before {
	box-shadow: none;
	background: var(--base-hlt-invert);
	width: 6px;
	left: 6px;
}

.listing__days__left .moredots {
	float: none;
	margin: -2px 0 2px;
	border-radius: 4px;
	padding: 2px 0 !important;
	display: none;
	width: 30px;
	vertical-align: bottom;
}

/* -------------------------------------------------------------------------------------------------------------------*/
body.gr_start .listing__right__item .rs {
	background-position: -131px -100px;
}

body.gr_start .listing__right__item .rs_r {
	visibility: hidden
}

body.gr_start .listing__right__item .rs_st {
	visibility: visible
}

body.gr_start .listing__right .gr_ln .rs_av {
	visibility: hidden
}

body.gr_start .listing__right .gr_ln + .listing__right__children .rs_av {
	visibility: hidden
}

body.gr_start .listing__right .ma, body.gr_start .listing__right .mb, body.gr_start .listing__right .me1, body.gr_start .listing__right .me2, body.gr_start .listing__right .m1, body.gr_start .listing__right .m2, body.gr_start .listing__right .m3, body.gr_start .listing__right .m4, body.gr_start .listing__right .m5, body.gr_start .listing__right .m6 {
	cursor: pointer
}

body.gr_start .listing__right .gr_ln .ma, body.gr_start .listing__right .gr_ln .mb, body.gr_start .listing__right .gr_ln .me1, body.gr_start .listing__right .gr_ln .me2, body.gr_start .listing__right .gr_ln .m1, body.gr_start .listing__right .gr_ln .m2, body.gr_start .listing__right .gr_ln .m3, body.gr_start .listing__right .gr_ln .m4, body.gr_start .listing__right .gr_ln .m5, body.gr_start .listing__right .gr_ln .m6 {
	cursor: auto
}

body.desktop body.gd_start .listing__right__item:hover .rs {
	display: none;
}

/* -------------------------------------------------------------------------------------------------------------------*/
@media print {
	body {
		-webkit-print-color-adjust: exact;
		-webkit-filter: opacity(1);
		width: 1000px;
	}

	.listing__days {
		top: 37px;
	}

	.listing__relationsContainer {
		display: none !important;
	}

	.listing__right div.rs:after {
		display: none
	}

	.listing__left__children .listing__left__item-level1 {
		border-left: 0;
		padding-left: 35px;
	}

	.listing__left__children .listing__left__item-level2 {
		border-left: 0;
		padding-left: 50px;
	}

	.listing__right__item {
		box-shadow: 0 -0.5px var(--GANTT_LINE) inset
	}

	.listing__left__item {
		box-shadow: 0 -0.5px var(--GANTT_LINE) inset
	}

	body[data-page=gantt] #headerPrint {
		margin: 0
	}
}

.listing__left__item .in task-wait {
	vertical-align: top;
}

.listing__left__item-fake {
	height: 24px;
	animation: gradient_ani 4s ease infinite;
	background: var(--base-hlt-b-focus);
	background: var(--base-cont-mid) linear-gradient(90deg, var(--base-cont-mid) 0%, var(--base-hlt-g-hover) 10%, var(--base-cont-mid) 10%);
	background-size: 200% 200%;
}

.listing__left__item label {
	background: none;
	display: none;
	left: 0;
	position: absolute;
	top: 8px;
	z-index: 1001;
	width: 20px;
	height: 20px;
	padding: 0;
}

.withMass .listing__left__item label,
.listing__left__item:hover label,
.listing__left__item label.act {
	display: block;
}

.listing__left__item label span {
	background: none !important;
}

@media screen and (min-width:481px) {
	.listing__left__item.pre_act:before {
		content: '';
		display: block;
		width: 4px;
		height: 100%;
		background: var(--base-txt-btn-a);
		position: absolute;
		left:  0;
	}
	.listing__left__item.pre_act {
		background: var(--GANTT_BG_ACT);
	}
	.listing__left__item.pre_act:hover {
		background: var(--GANTT_BG_HOVER);
	}
}



/** ------------------------------------------- MASS ACTIONS ----------------------------------------------------*/

.listing__left__item-warning.listing__left__item-level0.pre_act,
.listing__left__item-warning.pre_act .td_info {
	box-shadow:none;
	background:var(--base-cont-top) !important;
}

.listing__left__item-warning.pre_act .td_info {
	box-shadow:none;
	background:var(--base-cont-low) !important;
}

.listing__left__item-warning.listing__left__item-level0.pre_act label.act,
.listing__left__item-warning.pre_act label.act {
	background-position:-20px -420px !important
}

#mass_n_filt .massPanel {
	left:0
}

.listing__left__children-collapsed, .listing__right__children-collapsed {
	display: none
}
.listing__left__item-partSearch .in {
	opacity: 0.5
}
@media print {
	.listing__right .rs_arr {
		box-shadow: none !important
	}
	.listing__widthChanger {
		display: none
	}
}

#listing .listing__left__children .task_quick_add {
	height: 40px;
	box-sizing: border-box;
	border-top: 2px solid var(--base-hlt-invert);
	border-bottom: 2px solid var(--base-hlt-invert);
	border-left: 2px solid var(--base-hlt-invert);
	box-shadow: none;
	padding: 8px 12px 8px 2px;
	display: flex;
	position: relative;
	overflow: visible;
	z-index: 1005;
}
#listing .listing__left__children .task_quick_add:not(.begin) {
	display: none;
}
#listing .listing__left__children .task_quick_add:not(.focused):hover {
	background: var(--base-hlt-easy);
}

#listing .listing__left__children .task_quick_add form {
	padding: 0;
	display: flex;
	align-items: center;
	height: auto;
	width: 100%;
	gap: 8px;
}

#listing .listing__left__children .task_quick_add a,
#listing .listing__left__children .task_quick_add input {
	margin: 0;
	padding: 0;
	float: none;
}

#listing .listing__left__children .task_quick_add input[type=text] {
	flex-grow: 2;
	width: auto;
	min-width: 0;
}

#listing .listing__left__children .task_quick_add input::-webkit-input-placeholder {
	font-style: normal;
}


#listing .listing__left__children .task_quick_add .task_stage {
	padding: 2px 0 2px 0;
	margin-left: 14px;
}

#listing .listing__left__item-task + .task_quick_add .task_stage,
#listing .listing__left__item-user + .listing__left__children > .task_quick_add .task_stage
{
	margin-left: -10px !important;
}

#listing .listing__left__children .listing__left__children .task_quick_add .task_stage {
	margin-left: 38px;
}

#listing .listing__left__children .listing__left__children .listing__left__children .task_quick_add .task_stage {
	margin-left: 62px;
}

#listing .listing__left__children .task_quick_add .wysiwyg {
	width:  24px;
	height: 24px;
	display: flex;
	pointer-events: none;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: -2px;
	margin-right: 2px;
}

#listing .listing__left__children .task_quick_add .add_menu {
	width:  24px;
	height: 24px;
	display: none;
	pointer-events: none;
	align-items: center;
	justify-content: center;
}

#listing .listing__left__children .task_quick_add.wdata .add_menu {
	display: flex;
	pointer-events: auto;
}

#listing .listing__left__children .task_quick_add .wysiwyg:not(.menu_open) {
	opacity: 0;
}

#listing .listing__left__children .task_quick_add:hover .wysiwyg,
#listing .listing__left__children .task_quick_add.wdata.focused .wysiwyg {
	opacity: 1;
	pointer-events: initial;
}

#listing .listing__left__children .task_quick_add .wysiwyg svg use {
	display: none;
}

#listing .listing__left__children .task_quick_add:not(.wdata):hover .wysiwyg svg use:last-child {
	display: block;
}

#listing .listing__left__children .task_quick_add.wdata:hover .wysiwyg svg use:first-child,
#listing .listing__left__children .task_quick_add.wdata.focused .wysiwyg svg use:first-child,
#listing .listing__left__children .task_quick_add .wysiwyg.menu_open svg use:first-child {
	display: block;
}

.listing__left__children .listing__left__children .task_quick_add .listing__left__item-dots:before {
	content: '·';
	display: flex;
	color: var(--base-txt-ghost);
	font: var(--font-ui-18-title-2-bold);
	width: 24px;
	height: 24px;
	position: absolute;
	top: 6px;
	left: 46px;
	justify-content: center;
	align-items: center;
}

.listing__left__children .listing__left__children .listing__left__children .task_quick_add .listing__left__item-dots:after {
	content: '·';
	display: flex;
	color: var(--base-txt-ghost);
	font: var(--font-ui-18-title-2-bold);
	width: 24px;
	height: 24px;
	position: absolute;
	top: 6px;
	left: 70px;
	justify-content: center;
	align-items: center;
}

.task_quick_add .task_quick_add-bigPlus {
	width: 40px;
	height: 36px;
	position: absolute;
	top: -2px;
	right: -40px;
	border-top: 2px solid var(--base-hlt-invert);
	border-bottom: 2px solid var(--base-hlt-invert);
	border-right: 2px solid var(--base-hlt-invert);
	z-index: 999;
}

.task_quick_add .task_quick_add-bigPlus ws-btn {
	margin: 0;
	float: right;
	display: block;
}

.task_quick_add .task_quick_add-bigPlus ws-btn button {
	width: 38px;
	height: 36px;
	border-radius: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.task_quick_add .task_quick_add-bigPlus ws-btn button:hover {
	background: var(--btn-bg-color-4);
}
.task_quick_add .priorb.hidden {
	display: none;
}

.task_quick_add .ico_plus:after {
	content: none;
}

.listing__left__item-projectSingle {
	.logo, small, project-tags { display: none !important; }
}

.gantt-datepicker .ui-datepicker-current-day div {
	position: relative;
	a { position: relative}
}

.gantt-datepicker .ui-datepicker-current-day div::before {
	content: '';
	position: absolute;
	top: 3px;
	right: 3px;
	bottom: 3px;
	left: 3px;
	background: var(--lbl-today-minor);
	pointer-events: none;
	border-radius: 50%;
	z-index: 0;
}

.gantt-datepicker .ui-datepicker-current-day:hover div::before {
	top: 6px;
	right: 6px;
	bottom: 6px;
	left: 6px;
}

.listing__left {
	#empty_filter_new, #empty_search_new {
		padding: 120px 24px 0 24px;
		display: none;
	}
}


.gantt_empty {
	.listing__left,
	.listing__days__left,
	.listing__widthChanger,
	.listing__right__item,
	#mass_n_filt {
		display: none;
	}
	.listing__right__wrapper { margin-left: 0 !important; }
	#empty_page, #empty_files { display: block; }
}

@media (max-width: 768px) {
	#empty_page, #empty_files { display: none !important; }
}

#empty_page, #empty_files, #empty_screen {
	position: fixed;
	top: 92px;
	bottom: 0;
	width: 100%;
	z-index: 1010;
	background: linear-gradient(180deg, transparent 0%, var(--base-cont-top) 30%);
	margin: 0;
	padding: 0;
	display: none;

	.empty_wrapper {
		height: 100%;
	}

	.emptyStateGlobal {
		max-height: 50%;
	}
}

@media print {
	#empty_screen {
		display: none !important;
	}
}
