html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

/* .gantt_link_control.task_left {
	left: -18px !important;
}

.gantt_link_control.task_right {
	right: -18px !important;
} */

.gantt_tree_content {
	overflow: hidden;
	/*超出部分隐藏*/
	white-space: nowrap;
	/*不换行*/
	text-overflow: ellipsis;
	/*超出部分文字以...显示*/
}

.gantt_task_line {
	/* background-color: #DEF9F1 !important; */
	background-color: rgba(39, 180, 92, 0.4) !important;
	border: none !important;
}

.gantt_task_progress {
	background: #27b484 !important;
}


.gantt_task_content {
	/* color: rgba(0, 0, 0, 0.7); */
	padding-left: 60px;
	color: #EFF3F3;
	text-align: left !important;
	/* z-index: 9; */
}

.gantt_task_row {
    border-bottom: none;
}

.gantt_task_cell {
	border-bottom: 1px solid #ebebeb;
}

.gantt_scale_cell[aria-label=六],
.ganttview-saturday {
	/* background-color: #9bcb60; */
	background-color: rgba(0, 0, 0, 0.04);
	border-color: #ffffff;
}

.gantt_scale_cell[aria-label=日],
.ganttview-sunday {
	/* background-color: #27b484; */
	background-color: rgba(0, 0, 0, 0.08);
	border-color: #ffffff;
}

.ganttview-block-icon,
.ganttview-block-state {
	height: 20px;
	border-radius: 3px;
	display: inline-block;
	font-size: 12px;
	color: white;
	text-align: center;
	vertical-align: middle;
	line-height: 22px;
	margin-left: 3px;
	color: #ffffff;
}

.ganttview-block-icon {
	width: 18px;
}

.ganttview-block-state {
	min-width: 18px;
	padding: 0 5px;
	background-color: #909399;
	box-shadow: 2px 2px 3px #dce4e4;
}

.ganttview-block-Main {
	background-color: #59a1ff;
	box-shadow: 2px 2px 3px #b3d8ff;
}

.ganttview-block-Success {
	background-color: #59cd90;
	box-shadow: 2px 2px 3px #cae5cd;
}

.ganttview-block-Danger {
	background-color: #ff5964;
	box-shadow: 2px 2px 3px #f9d1cc;
}

.ganttview-block-Warning {
	background-color: #ef9c34;
	box-shadow: 2px 2px 3px #f8c37d;
}

.ganttview-block-Sub {
	background-color: #d442d5;
	box-shadow: 2px 2px 3px #f0dee8;
} 

.ganttview-block-Cyan {
	background-color: #9bcb60;
	box-shadow: 2px 2px 3px #ecf3d3;
}

.ganttview-block-Blue {
	background-color: #79bbff;
	box-shadow: 2px 2px 3px #b3d8ff;
}
.ganttview-block-icon.ganttview-block-star {
	width: auto;
	height: auto;
	margin-left: 1px;
	background-color: transparent;
}

.ganttview-block-star i {
	font-size: 20px;
	line-height: 20px;
	color: #f7dc5b;
}

#GanttView {
	height: 100%;
	background-color: #eff3f3;
}

#gantt_controller {
	/* height: 60px; */
	padding: 5px;
	background-color: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#gantt_controller .gantt_controller_screen {
	display: flex;
}

#gantt_controller .gantt_controller_screen .input-group {
	margin: 0 0 0 10px;
}

#gantt_controller .gantt_controller_screen .input-group:first-child {
	margin: 0;
}

#gantt_controller .gantt_controller_setUp .setUp_btn {
	width: 50px;
	color: #ffffff;
	font-size: 0.75rem;
	text-align: center;
	cursor: pointer;
	padding: 6px;
	display: inline-block;
	background-color: #ce3032;
}

#gantt_controller .gantt_controller_setUp .setUp_btn:hover {
	background-color: #ce3032;
}

#gantt_here {
	width: 100%;
	height: calc(100% - 40px);
}

/* 暗黑色甘特图样式 */
.gantt_dark .gantt_here ::-webkit-scrollbar {
	z-index: 11;
	width: 5px;
	border-radius: 5px;
}

.gantt_dark .gantt_here ::-webkit-scrollbar:horizontal {
	height: 5px;
	border-radius: 5px;
}
.gantt_dark .gantt_here ::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 1)
}

.gantt_dark .gantt_layout_cell .gantt_hor_scroll {
	cursor: pointer;
}
/* 控制区 - 筛选样式 */
.gantt_dark #gantt_controller {
	background-color: transparent;
	padding: 0 0 10px 0;
}

.gantt_dark #gantt_controller .gantt_controller_setUp .setUp_btn {
	border-radius: 5px;
	background-color: rgba(42, 113, 185, 0.8);
}

.gantt_dark .el-input__inner,
.gantt_dark .el-input__inner:focus {
	height: 30px;
	background-color: rgba(42, 113, 185, 0.8) !important;
	border-color: rgba(2, 113, 185, 0.8) !important;
	color: rgba(255, 255, 255, 1) !important;
	border-radius: 5px;
}
.gantt_dark .el-input__inner::-webkit-input-placeholder {
	color: rgba(255, 255, 255, 0.6) !important
}
.gantt_dark .el-input__inner:-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.6) !important
}
.gantt_dark .el-input__inner::-ms-input-placeholder {
	color: rgba(255, 255, 255, 0.6) !important
}
.gantt_dark .el-input__inner::placeholder {
	color: rgba(255, 255, 255, 0.6) !important
}

.gantt_dark .el-select .el-input.is-focus .el-input__inner,
.gantt_dark .el-select .el-input__inner:focus,
.gantt_dark .el-input__inner:focus,
.gantt_dark .el-input__inner:hover {
	border-color: rgba(2, 113, 185, 0.9) !important
}
.gantt_dark .el-select .el-input .el-select__caret,
.gantt_dark .el-select-dropdown__item {
	color: rgba(255, 255, 255, 1);
}

.gantt_dark .el-select-dropdown,
.gantt_dark .el-select-dropdown__item.hover, 
.gantt_dark .el-select-dropdown__item:hover {
	color: rgba(255, 255, 255, 1) !important;
	border-color: rgba(2, 113, 185, 0.9) !important;
	background-color: rgba(42, 113, 185, 0.9) !important;
}

.gantt_dark .el-popper[x-placement^=bottom] .popper__arrow,
.gantt_dark .el-popper[x-placement^=bottom] .popper__arrow::after {
	border-bottom-color: rgba(42, 113, 185, 0.9) !important;
}

.gantt_dark .el-select-dropdown__item.selected {
	color: #27b484 !important;
}


.gantt_dark input:-moz-placeholder { color: #27b484; }

/* 控制区 - 筛选样式 - END */

.gantt_dark #gantt_here {
    width: 100%;
    height: calc(100% - 50px);
}

body.gantt_dark .gantt_marker {
	color: rgba(0, 255, 255, 1);
	background-color: rgba(0, 255, 255, 1);
}

body.gantt_dark {
	background-image: url(../../../../images/gantt_dark/gantt_dark.png);
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

body.gantt_dark .gantt_header {
	width: 100%;
	height: calc(100vw * 0.0365);
	min-height: calc(1200px * 0.0365);
	background-image: url(../../../../images/gantt_dark/gantt_dark_top.png);
	background-size: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
}
body.gantt_dark .gantt_header .gantt_logo {
	min-width: 150px;
	height: 100%;
	display: flex;
	align-items: center;
} 

body.gantt_dark .gantt_header .gantt_logo img {
	height: 60%;
}

body.gantt_dark .gantt_header .gantt_title {
	min-width: 500px;
	height: 100%;
	color: #ffffff;
	font-size: 25px;
	line-height: calc(100vw * 0.0365);
	text-align: center;
	padding: 0 50px;
	position: relative;
}
body.gantt_dark .gantt_header .gantt_title .switchBtn {
	font-size: 18px;
	display: inline-block;
	cursor: pointer;
	padding: 0 20px;
	position: relative;
}

body.gantt_dark .gantt_header .gantt_title .switchBtn:hover {
	color: rgba(100, 191, 159, 0.7);
}

body.gantt_dark .gantt_header .gantt_title .switchBtn.active {
	color: rgba(100, 191, 159, 1);
	cursor: default;
}

body.gantt_dark .gantt_header .gantt_title .switchBtn::after {
	content: '';
	width: 1px;
	height: 20px;
	background-color: rgba(42, 113, 185, 0.9);
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -10px;
}

body.gantt_dark .gantt_header .gantt_title .switchBtn:last-child::after {
	width: 0;
}

body.gantt_dark .gantt_header .gantt_other {
	min-width: 150px;
	
}

body.gantt_dark .gantt_body {
	height: calc(100% - 100vw * 0.0365);
	color: #ffffff;
	padding: 0 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

body.gantt_dark .gantt_body .gantt_mainTitle {
	font-size: 20px;
	height: 50px;
    line-height: 50px;
	margin-bottom: 10px;
}

body.gantt_dark .gantt_body .gantt_mainBody,
body.gantt_dark .gantt_body .gantt_mainBody .gantt_mainWrap {
	width: 100%;
	height: 100%;
	position: relative;
}

body.gantt_dark .gantt_body .gantt_mainBody {
	height: calc(100% - 60px);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_mainWrap {
	padding: 5px;
	border: 1px solid rgba(42, 113, 185, 0.8);
	clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 
	    100% calc(100% - 15px), calc(100% - 15px) 100%,
	    15px 100%, 0 calc(100% - 15px), 0 15px);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
/* 斜边样式 */
body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_hypotenuse {
	width: 21px;
	height: 1px;
	display: block;
	background-color: rgba(42, 113, 185, 0.8);
	position: absolute;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_hypotenuse.topLeft {
	top: 15px;
	left: 0px;
	transform: rotate(-45deg);
	transform-origin: left;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_hypotenuse.bottomLeft {
	bottom: 15px;
	left: 0px;
	transform: rotate(45deg);
	transform-origin: left;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_hypotenuse.topRight {
	top: 15px;
	right: 0px;
	transform: rotate(45deg);
	transform-origin: right;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_hypotenuse.bottomRight {
	bottom: 15px;
	right: 0px;
	transform: rotate(-45deg);
	transform-origin: right;
}
/* 斜边样式-END */
/* 三角样式 */
body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_triangle {
	width: 0px;
	height: 0px;
	display: block;
	position: absolute;
	border-width: 5px;
	border-style: solid; /*定义的是实现边框*/
	border-color: transparent rgba(42, 113, 185, 0.8) rgba(42, 113, 185, 0.8) transparent;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_triangle.topLeft {
	top: 0;
	left: 10px;
	transform: rotate(-180deg);
	transform-origin: left;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_triangle.bottomLeft {
	bottom: 5px;
	left: 5px;
	transform: rotate(90deg);
	transform-origin: left;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_triangle.topRight {
	top: -5px;
	right: 5px;
	transform: rotate(-90deg);
	transform-origin: right;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_styleWrap .gantt_triangle.bottomRight {
	bottom: 0;
	right: 0;
	transform: rotate(0deg);
	transform-origin: right;
}
/* 三角样式-END */

body.gantt_dark .gantt_body .gantt_mainBody .gantt_hereWrap {
	width: 100%;
	height: 100%;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.1);
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 
	    100% calc(100% - 12px), calc(100% - 12px) 100%,
	    12px 100%, 0 calc(100% - 12px), 0 12px);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabWrap {
	width: 100%;
	height: 30px;
	display: flex;
	flex-wrap: nowrap;
	/* background-color: rgba(255, 255, 255, 0.1); */
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 
	    100% 100%, 100% 100%,
	    0 100%, 0 100%, 0 12px);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem {
	width: 180px;
	height: 100%;
	cursor: pointer;
	line-height: 30px;
	text-align: center;
	font-size: 13px;
	color: rgba(42, 113, 185, 0.8);
	padding: 0 25px 0 30px;
	margin-left: -25px;
	position: relative;
	overflow: hidden;/*超出部分隐藏*/
	white-space: nowrap;/*不换行*/
	text-overflow:ellipsis;/*超出部分文字以...显示*/
	clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 
	    100% 100%, 100% 100%,
	    30px 100%, 30px 100%, 0 0);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem::after {
	content: '';
	width: 30px;
	height: 1px;
	background-color: rgba(42, 113, 185, 0.8);
	position: absolute;
	right: -3px;
    top: 3px;
    transform: rotate(45deg);
	transform-origin: left;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem:hover {
	color: rgba(255, 255, 255, 0.7);
	background-color: rgba(255, 255, 255, 0.08);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem:hover::after {
	height: 0;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem:first-child {
	padding-left: 70px;
	clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 
	    100% 100%, 100% 100%,
	    0 100%, 0 100%, 0 0);
}
/* 
body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem:last-child {
	padding-right: 70px;
} */

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem.active {
	color: rgba(255, 255, 255, 0.8);
	background-color: rgba(255, 255, 255, 0.1);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabItem.active::after {
	height: 0px;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_tabWrap + .gantt_hereWrap {
	height: calc(100% - 30px);
	clip-path: polygon(0 0, 100% 0, 100% 0, 
	    100% calc(100% - 12px), calc(100% - 12px) 100%,
	    12px 100%, 0 calc(100% - 12px), 0 0);
}

body.gantt_dark .gantt_task_line {
	background-color: rgba(222, 249, 241, 0.5) !important;
	border: none !important;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_hereWrap .gantt_controller {
	width: 100%;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_hereWrap .gantt_controller + #gantt_here {
	height: calc(100% - 30px);
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_hereWrap .gantt_controller .gantt_legend {
	width: auto;
	display: flex;
	align-items: center;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_hereWrap .gantt_controller .gantt_legend span {
	display: inline-block;
	font-size: 13px;
	line-height: 30px;
	padding-right: 25px;
	position: relative;
}

body.gantt_dark .gantt_body .gantt_mainBody .gantt_hereWrap .gantt_controller .gantt_legend span i {
	display: inline-block;
	width: 7px;
	height: 60%;
	/* border-radius: 50%; */
	position: absolute;
	top: 20%;
	right: 10px;
	/* margin-top: -8px; */
}

body.gantt_dark .gantt_task_content {
	color: #ffffff !important;
	font-weight: 600;
	padding-left: 20px;
}

body.gantt_dark .gantt_task_progress {
	background-color: rgba(39, 180, 132, 0.6) !important;
}

body.gantt_dark .gantt_scale_cell,
body.gantt_dark .gantt_task_cell {
	/* border-color: rgba(255, 255, 255, 0.6) !important; */
}

body.gantt_dark .gantt_scale_cell[aria-label=六],
body.gantt_dark .ganttview-saturday {
	background-color: rgba(255, 255, 255, 0.15) !important;
}

body.gantt_dark .gantt_scale_cell[aria-label=日],
body.gantt_dark .ganttview-sunday {
	background-color: rgba(255, 255, 255, 0.25) !important;
}

body.gantt_dark .gantt_row,
body.gantt_dark .gantt_task_row,
body.gantt_dark .gantt_container,
body.gantt_dark .gantt_grid_scale,
body.gantt_dark .gantt_task_scale,
body.gantt_dark .gantt_task_vscroll {
	background-color: transparent !important;
}

body.gantt_dark .gantt_row,
body.gantt_dark .gantt_task_row,
body.gantt_dark .gantt_grid_scale,
body.gantt_dark .gantt_task_scale,
body.gantt_dark .gantt_task .gantt_task_scale .gantt_scale_cell {
	/* border-color: rgba(255, 255, 255, 0.6) !important; */
}

body.gantt_dark .gantt_task .gantt_task_scale .gantt_scale_cell,
body.gantt_dark .gantt_grid_scale .gantt_grid_head_cell,
body.gantt_dark .gantt_grid_data .gantt_cell {
	font-size: 14px;
	/* color: rgba(255, 255, 255, 0.9) !important; */
	
}

body.gantt_dark .gantt_grid_scale .gantt_grid_head_cell {
	font-size: 15px;
	font-weight: 700;
}

.xf-gantt-leftInfo .gantt_task_content{
	padding-left: 80px !important;
}

.xf-gantt-leftInfo .gantt_side_content.gantt_left {
	right: auto;
	padding-right: 0;
	min-width: 100px;
}

.xf-gantt-leftInfo .gantt_side_content.gantt_left .xf-gantt-left {
	position: absolute;
	left: 0;
}

.xf-gantt-stage .gantt_task_progress_wrapper {
	height: 3px;
	z-index: 2;
	bottom: calc(3px - 100%);
}
.xf-gantt-stage .gantt_task_progress {
	background-color: rgba(0, 146, 212, 1) !important;
}
/* .xf-gantt-stage .gantt_side_content.gantt_left {
	flex-direction: inherit;
	z-index: 1;
} */
.xf-gantt-stage .gantt_task_content {
	color: #ffffff;
	z-index: 9;
}
.xf-gantt-stage .ganttview-stage-state {
	color: #ffffff;
	height: 100%;
	padding: 0 0 0 10px;
	margin: 0;
}

.xf-gantt-stage .gantt_left {
	width: 100%;
	right: auto;
	padding-right: 0;
	flex-direction: inherit;
	z-index: 1;
} 

.xf-gantt-stage .ganttview-stage-Sub1 {
	background-color: #d5ead8;
	color: #27b484;
}

.xf-gantt-stage .ganttview-stage-Sub2 {
	background-color: #a6e3ae;
	color: #5dbf88;
}

.xf-gantt-stage .ganttview-stage-Sub3 {
	background-color: #93cb8d;
	color: #d5ead8;
}

.xf-gantt-stage .ganttview-stage-Sub4 {
	background-color: #3e83bf;
	color: #d5ead8;
}

.xf-gantt-stage .ganttview-stage-Sub5 {
	background-color: #5580b4;
	color: #d5ead8;
}
.gantt_left .ganttview-stage-Sub1 {
	background-color: #077cea;
	color: #27b484;
}

.gantt_left .ganttview-stage-Sub2 {
	background-color: #2f59e3;
	color: #5dbf88;
}

.gantt_left .ganttview-stage-Sub3 {
	background-color: #4a7ecb;
	color: #d5ead8;
}

.gantt_left .ganttview-stage-Sub4 {
	background-color: #7697bf;
	color: #d5ead8;
}

.gantt_left .ganttview-stage-Sub5 {
	background-color: #8f9eb4;
	color: #d5ead8;
}
.gantt_left {
    width: 100%;
    right: auto!important;
    padding-right: 0!important;
    flex-direction: inherit;
    z-index: 1;
	
}

.gantt_left .ganttview-stage-Sub21 {
	background-color: #e4ead3;
	color: #27b484;
}

.gantt_left .ganttview-stage-Sub22 {
	background-color: #c8e3a5;
	color: #5dbf88;
}

.gantt_left .ganttview-stage-Sub23 {
	background-color: #bacb89;
	color: #d5ead8;
}

.gantt_left .ganttview-stage-Sub24 {
	background-color: #65bf5a;
	color: #d5ead8;
}

.gantt_left .ganttview-stage-Sub25 {
	background-color: #31b428;
	color: #d5ead8;
}