/* -------------------------------------- GRIDIFY -----------------------------------*/
.gdfTable {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.gdfTable td, .gdfTable th {
  vertical-align: middle;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  font-size: 12px
}

.gdfCell {
  overflow: hidden;
  padding:4px 2px
}

.gdfCell.noClip{
  overflow: visible;
}

.gdfColHeader {
  min-width: 5px;
  height: 30px;
}

.gdfCell, .gdfColHeader {
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}


.gdfCellInput {
  border: 0 none;
  font-size: 12px;
  height: 20px;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #d4fbe8;
}

.gdfCellWrap {
  border: 0 none;
  font-size: 12px;
  height: 17px;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;

  background-color: #ffcccc;
}

.gdfHResizing {
  cursor: w-resize;
}


/* -------------------------------------- SPLITTER -----------------------------------*/
.splitterContainer {
  width: 100%;
  height: 100%;
}

.splitBox1{

  overflow-y: hidden;
}

.splitBox2{
 
  overflow-y: auto;
}


.splitElement {
  outline-style: none;
  position: absolute;
  height: 100%;
}

.vSplitBar {
  width: 5px;
  background-color: #f2f2f2;
  cursor: w-resize;
  text-align: center;
  color: white;
}

.fixHead{
  position: absolute;
  z-index: 2000;
  top:0;
}

/* -------------------------------------- GANTT -----------------------------------*/

.ganttTable{
  table-layout:fixed;
}

.ganttTable td,.ganttTable th{
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.ganttHead1,.ganttHead2{
  height:20px;
}

.ganttHead1 th,.ganttHead2 th{
  border-left:1px solid white;
  padding: 0;
  margin: 0;
}

.ganttToday{
  position:absolute;
  top:0;
  width:1px;
  height:100%;
  border-left:2px dotted #13AFA5;
}

.ganttHighLight{
  position:absolute;
  width:100%;
  height:28px;
  background-color:#dae4fe;

}

.ganttButtonBar{
  position:relative;
  padding:5px;
  height:55px;
}

.ganttButtonBar .buttons, .ganttButtonBar h1 {
  display:inline-block;
  margin:0px 0 0 10px;
}


.ganttButtonBar .button span.teamworkIcon{
  font-size: 150%
}

.ganttButtonSeparator{
  border-left:1px solid gray;
  padding-right:10px;
  margin-left:10px;
  font-size: 130%
}


.ganttLines{
  position:absolute;
  width:100%;
  height:1px;
  border-top:1px solid #eee;
  z-index:1;
}

.ganttLinks{
  z-index:10;
}


.end{
  border-right:1px dotted #666
}

.holyH{
  background-color: #f2f2f2;
}
.holy{
  background-color: #FFF5E6;
}
.buttons{display: none;}
.ganttButtonBar {display: none;}
/* -------------------------------------- TASK -----------------------------------*/

.taskBoxDiv{
  position:absolute;
  height:25px;
  margin-top:3px;
  z-index:100;
}

.taskBoxDiv .layout {
  height:100%;
  color:#DB2727;
  border-radius:2px;
  background: #eee; /* Old browsers */
  border:1px solid #bbb;
}

.taskBoxDiv .taskStatus {
    left:5px;
    top:10px;
    position:absolute;
    width:10px;
    height:10px;
}

.taskBoxDiv .layout .milestone{
  top:0px;
  position:absolute;
  width:18px;
  background: url(res/milestone.png) no-repeat;
  height:18px;
  display:none;
}
.taskBoxDiv .layout .milestone.end{
  right:0;
}
.taskBoxDiv .layout .milestone.active{
  display:block;
}

.taskBoxDiv.hasChild .layout{
  border-top:2px solid black;
}

.taskBoxDiv .taskProgress{
  height:5px;
  position:absolute;
}

.taskBoxDiv .layout.extDep{
  background-image:url(res/hasExternalDeps.png);
}


.taskLabel{
  position:absolute;
  height:28px;
  color:black;
  text-align:right;
  padding-right:5px;
  overflow:hidden;
  left:-200px;
  width:195px;
  white-space:nowrap;
}


.taskDepLine {
  border: 1px solid #d4d4f7;
  overflow: hidden;
  position: absolute;
}


.taskEditRow,.emptyRow {
  height:30px;
}

.taskEditRow input{
  border: 0 none;
  font-size: 13px;
  height: 20px;
  margin: 0;
  padding: 0;
  width: 100%;
  padding-left: 6px;
  font-family: Arial, sans-serif
}
.table-form .flex-a{display: flex; align-items: center; color: #333;}
.table-form .flex-a span{margin: 0 5px;}
.table-form { width: 100%;
    margin-bottom: .3rem;font-size:12px;
  border-collapse: collapse;
  background: #fff; border: 1px solid #ddd;box-shadow: 0 2px 6px 0 rgb(218 218 253 / 65%), 0 0px 6px 0 rgb(206 206 238 / 54%);
}
.table-form td{padding: 10px 5px; color: #333;}
.table-form input{ border-radius: 20px;  background: #eef3fc;}
.taskEditRow.rowSelected td,.taskEditRow.rowSelected input{
  background-color:#dae4fe;  
}

input[readonly]{
  color: #c0c0c0;
}
.icon-renwu{ color: #7cd99d; font-size: 14px !important;}
.taskStatusBox{
  position:absolute;
  width:100px;
  height:24px;
  border:1px solid #a0a0a0;
  background-color:#fff;
  margin-top:-21px;
  margin-left:-2px;
  padding: 3px;
  z-index: 100;
}
.taskStatus{
  width:10px;
  height:10px;
  display:inline-block;
  text-indent: 0;
  position:relative;
}

.taskStatus[status=STATUS_ACTIVE]{
 background-color: #3BBF67;
}
.taskStatus[status=STATUS_DONE]{
 background-color: #0099FF;
}
.taskStatus[status=STATUS_FAILED]{
 background-color: #f93318;
}
.taskStatus[status=STATUS_SUSPENDED]{
 background-color: #fbb11e;
}
.taskStatus[status=STATUS_UNDEFINED]{
 background-color: #ffffff;
}
.taskStatus.selected{
  border:#666 2px solid;
}

.ganttTaskEditor {
    padding: 10px
}


.unselectable {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}


.exp-controller{

  display: none;  
}

.expcoll{
  display:inline-block;
  cursor: pointer;
  margin-left: -10px;
  margin-right:2px;
  width:16px;
  height:16px;
  background-image: url(res/toggle-expand.png);
  position: relative;
  top: 2px;
}



.expcoll.exp{
  background-image: url(res/toggle_collapse.png);
}

.ui-resizable-helper { border: 1px dotted #00F;  }
.ui-resizable-e, .ui-resizable-w {width: 5px;}
.ui-draggable{
  cursor:move;
}


/*--------------------------------------------------- SVG --------------------------------------------------*/
.ganttSVGBox{
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  background-color: transparent;
  width: 100%;
}

/* .taskBoxSVG{
  overflow: visible;
}*/

.taskBoxSVG .taskLayout{
  stroke-width:0px;
  stroke:#fff;
  fill:none !important;
  background: #Fff; padding: 0 6px;
  /*fill:url('#taskGrad'); do not work on firefox*/
}

.taskLinkPathSVG{
  stroke:#d4d4f7;
  stroke-width:1px;
  fill:none;
  cursor:pointer;
  display: none;
}

.ganttLinesSVG{
  stroke:#eee;
  stroke-width:1;
}

.ganttTodaySVG{
  stroke-width:2px;
  stroke:#fb8b1e;
  stroke-linecap:"round";
  stroke-dasharray:2,2;
}

.taskStatusSVG[status=STATUS_ACTIVE]{
  fill: #3BBF67; width: 100%;
}
.taskStatusSVG[status=STATUS_DONE]{
  fill: #0099FF;width: 100%;
}
.taskStatusSVG[status=STATUS_FAILED]{
  fill: #f93318;width: 100%;
}
.taskStatusSVG[status=STATUS_SUSPENDED]{
  fill: #fbb11e;width: 100%;
}
.taskStatusSVG[status=STATUS_UNDEFINED]{
  fill: #ffffff;width: 100%;
}

.deSVG.deSVGdrag {
  cursor: move;
}
.deSVG.deSVGhand {
  cursor: ew-resize;
}


.linkHandleSVG{
  display:none;
  stroke:#888;
  stroke-width:2px;
  fill:#eee;
  cursor: pointer;
}

.linkLineSVG{
  stroke-width:5px;
  stroke: #d4d4f7;
  stroke-linecap:"round";
  opacity: .5;
    /*stroke-dasharray:5,5;*/
}

.linkOnProgress .deSVG.taskBoxSVG  {
  cursor:cell;
}

.taskBoxSVG.linkOver .taskLayout{
  stroke-width:5px;
  stroke:#d4d4f7;
  opacity: .5;
}

.taskLabelSVG {
  stroke: none;
  fill:#999;
  font-size: 12px;
}

.critical .taskLinkPathSVG{
  stroke:red;
}

.taskBoxSVG.critical .taskLayout{
  stroke:red;
}

.focused .taskLinkPathSVG{
  stroke-width:5px;
  stroke: #4286ff;
}

.taskBoxSVG.focused .taskLayout{
  stroke-width:3px;
  stroke: #4286ff;
}

.ljbtn {
  background-image: linear-gradient( 135deg, #118aff 10%, #3e9df9 100%);
  color: #fff;
  padding: 5px 10px;
   text-align: center;
  border-radius: 3px;
  cursor: pointer;
}
.ljbtn i{margin-right: 3px; position: relative; top: 2px;}
/*单选、多选、开关*/
.aui-radio,
.aui-checkbox {
    width: 1.2rem;
    height: 1.2rem;
    background-color: #ffffff;
    border: solid 1px #dddddd;
    -webkit-border-radius: 0.6rem !important;
    border-radius: 0.6rem !important;
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    vertical-align: top;
    cursor: default;
    -webkit-appearance: none;
    -webkit-user-select: none;
            user-select: none;
    -webkit-transition: background-color ease 0.1s;
            transition: background-color ease 0.1s;
}
.aui-checkbox {
    border-radius: 0.1rem;    border-radius: 3px !important;
}
.aui-radio:checked,
.aui-radio.aui-checked,
.aui-checkbox:checked,
.aui-checkbox.aui-checked {
    background-color: #03a9f4;
    border: solid 1px #03a9f4;
    text-align: center;
    background-clip: padding-box;
}
.aui-radio:checked:before,
.aui-radio.aui-checked:before,
.aui-checkbox:checked:before,
.aui-checkbox.aui-checked:before,
.aui-radio:checked:after,
.aui-radio.aui-checked:after,
.aui-checkbox:checked:after,
.aui-checkbox.aui-checked:after {
    content: '';
    width: 0.5rem;
    height: 0.3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.25rem;
    margin-top: -0.25rem;
    background: transparent;
    border: 1px solid #ffffff;
    border-top: none;
    border-right: none;
    z-index: 2;
    -webkit-border-radius: 0;
            border-radius: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
.aui-radio:disabled,
.aui-radio.aui-disabled,
.aui-checkbox:disabled,
.aui-checkbox.aui-disabled {
    background-color: #dddddd;
    border: solid 1px #dddddd;
}
.aui-radio:disabled:before,
.aui-radio.aui-disabled:before,
.aui-radio:disabled:after,
.aui-radio.aui-disabled:after,
.aui-checkbox:disabled:before,
.aui-checkbox.aui-disabled:before,
.aui-checkbox:disabled:after,
.aui-checkbox.aui-disabled:after {
    content: '';
    width: 0.5rem;
    height: 0.3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.25rem;
    margin-top: -0.25rem;
    background: transparent;
    border: 1px solid #ffffff;
    border-top: none;
    border-right: none;
    z-index: 2;
    -webkit-border-radius: 0;
            border-radius: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
.aui-switch {
    width: 2.3rem;
    height: 1.2rem;
    position: relative;
    vertical-align: top;
    border: 1px solid #dddddd;
    background-color: #dddddd;
    border-radius: 0.6rem;
    background-clip: content-box;
    display: inline-block;
    outline: none;
    -webkit-appearance: none;
            appearance: none;
    -webkit-user-select: none;
            user-select: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-background-clip: padding-box;
            background-clip: padding-box;
    -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
}
.aui-switch:before {
    width: 1.1rem;
    height: 1.1rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0.6rem;
    background-color: #fff;
    content: '';
    -webkit-transition: left 0.2s;
            transition: left 0.2s;
}
.aui-switch:checked {
    border-color: #03a9f4;
    background-color: #03a9f4;
}
.aui-switch:checked:before {
    left: 1.1rem;
}

*::-webkit-scrollbar {
	width: 9px;
	height: 9px;
	transition: .3s background;
}

::-webkit-scrollbar-thumb {
	background: #e1e6f1;
}

*:hover::-webkit-scrollbar-thumb {
	background: #adb5bd;
}