.cdk-drag-preview {
  padding-left: 25px !important;
  z-index: 99999 !important;
  padding: 5px 5px 5px 23px !important;
  border: 1px solid #49c9c2 !important;
  background-color: #f7f7f7 !important;
}

.cdk-drag-preview ul {
  padding-left: 45px !important;
}

.cdk-drag-preview ul li {
  padding: 20px 20px 25px 20px !important;
  position: relative;
  margin-right: 11px !important;
}

.cdk-drag-preview ul li:after {
  content: "" !important;
  position: absolute !important;
  border-top: 2px dashed #7d8c9a !important;
  top: 43px !important;
  left: -30px !important;
  width: 50px !important;
}

.cdk-drag-preview ul li:before {
  content: "" !important;
  position: absolute !important;
  top: -30px !important;
  height: 74px !important;
  border-left: 2px dashed #7d8c9a !important;
  width: 1px !important;
  height: 100% !important;
  left: -30px !important;
}

.cdk-drag-preview ul li:last-child:before {
  top: -30px !important;
  height: 74px !important;
}

.cdk-drag-preview .custom-validation-msg {
  bottom: -1px !important;
}

.treeview .btn-default {
  border-color: #e3e5ef;
}

.treeview .btn-default:hover {
  background-color: #f7faea;
  color: #bada55;
}

.treeview ul {
  list-style: none;
  padding-left: 45px;
}

.treeview ul li {
  padding: 10px 10px 10px 10px;
  position: relative;
  margin-right: 11px;
}

.treeview ul li:before {
  content: "";
  position: absolute;
  top: -26px;
  left: -30px;
  border-left: 2px dashed #7d8c9a;
  width: 1px;
  height: 100%;
}

.treeview ul li:after {
  content: "";
  position: absolute;
  border-top: 2px dashed #7d8c9a;
  top: 29px;
  left: -30px;
  width: 39px;
}

.treeview ul li:last-child:before {
  top: -21px;
  height: 50px;
}

.treeview>ul>li:after,
.treeview>ul>li:last-child:before {
  content: unset;
}

.treeview>ul>li:before {
  top: 90px;
  left: 36px;
}

.treeview>ul>li:not(:last-child)>ul>li:before {
  content: unset;
}

.treeview>ul>li>ul {
  padding-left: 45px;
}

.treeview__level {
  padding: 0px 7px;
  margin-left: 3px;
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 100%;
}

.treeview__level-btns {
  margin-left: 15px;
  display: inline-block;
  position: relative;
}

.treeview__level.selected {
  background-color: #f9f9fb;
  box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
}

.treeview .level-title {
  cursor: pointer;
  user-select: none;
}

.treeview .level-title:hover {
  text-decoration: underline;
}

.treeview--mapview ul {
  justify-content: center;
  display: flex;
}

.treeview--mapview ul li:before {
  content: unset;
}

.treeview--mapview ul li:after {
  content: unset;
}

.ApprovalFlow {
  width: 230px;
  margin-right: 20px;
  max-width: 230px !important;
  min-width: 230px !important;
  position: relative;
}

.anticon-down-circle {
  background: #fff !important;
  position: relative;
}

.d-none {
  display: none !important;
}

.ApprovalFlow .input-field.input-box,
.innercondition_class .input-field.input-box {
  margin-bottom: 0;
}

.innercondition_class {
  padding-left: 0px !important;
}

.innercondition_class .when-btn-width {
  width: 140px;
  padding-left: 47px;
}

.treeview {
  max-height: calc(100vh - 11em) !important;
  overflow: auto;
}

.when-btn-width {
  width: 140px;
}

.innercondition-box {
  position: relative;
}

.innercondition-box:before {
  content: "";
  position: absolute;
  top: -22px;
  left: 15px;
  border-left: 2px dashed #7d8c9a;
  width: 1px;
  height: 100%;
}

.innercondition_class .input-field.input-box,
.approval-select-box {
  margin-bottom: 15px !important;
}

.hasInnerRule .innercondition_class:before,
.innercondition_class.hasInnerRule:before,
.innerrule_class.hasInnerRule:before {
  content: "";
  position: absolute;
  top: -24px;
  left: 6px;
  border-left: 2px dashed #7d8c9a;
  width: 1px;
  height: calc(100% - -17px) !important;
}

.innercondition_class,
.hasInnerRule {
  position: relative;
}

.sub-level-box {
  width: 250px;
  max-width: 250px;
  min-width: 250px;
}

.sub-level-box-second {
  width: 280px;
}

.sublevel-input {
  width: 250px !important;
}

.anticon-up-circle,
.anticon-info-circle {
  background: #fff;
  z-index: 9999;
  position: relative;
}

.hasInnerRule .trigger_action:before,
.trigger_action.hasInnerRule:before {
  content: "";
  position: absolute;
  top: -26px;
  left: 13px;
  border-left: 2px dashed #7d8c9a;
  width: 1px;
  height: 100%;
}

li.cdk-drag {
  border: 1px solid #b6e9e7;
  border-radius: 5px;
  margin-bottom: 15px;
  display: inline-block;
  background: #fff !important;
}

ul.innerrule_class {
  border: 1px solid #b6e9e7;
  border-radius: 5px;
}

.innerrule_class li {
  padding-left: 0px !important;
}

.trigger_action ul.innerrule_class {
  border: 0;
  padding-left: 3px !important;
}

.hasDoubleInnerRule .innercondition_class:before {
  content: "";
  position: absolute;
  top: -42px;
  left: 6.5px;
  border-left: 2px dashed #7d8c9a;
  width: 1px;
  height: calc(100% - -17px) !important;
}

.treeview__level {
  white-space: nowrap;
}

.disabled-cursor {
  cursor: not-allowed !important;
}

.when-btn {
  color: #00000040 !important;
  border-color: #d9d9d9 !important;
  background: #f5f5f5 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.cdk-drag {
  cursor: move !important;
}

.main-action {
  padding-left: 0 !important;
}

.main-action-value {
  padding-left: 11px !important;
}

.ApprovalFlow .ant-select-multiple .ant-select-selector {
  flex-wrap: inherit !important;
}

.ApprovalFlow .ant-select-multiple .ant-select-selection-search {
  margin-inline-start: 0px;
}

.AddBtn-Box i {
  width: 16px !important;
  height: 20px !important;
  font-size: 16px;
  padding: 0px;
}

.rule-modal-popup .ant-empty {
  position: relative !important;
  transform: translate(-50%, 0%) !important;
}

.test-rule-box .treeview__level.trigger_action .innerrule_class {
  padding-left: 72px !important;
}

.test-arrow {
  margin-left: -2px !important;
  margin-top: -3px;
}

.rule-modal-popup ul.innerrule_class {
  border: 0px !important;
}

.rule-modal-popup .treeview ul li {
  padding: 0 !important;
}

.rule-modal-popup .hasInnerRule .innercondition_class:before,
.rule-modal-popup .innercondition_class.hasInnerRule:before,
.rule-modal-popup .innerrule_class.hasInnerRule:before {
  content: "";
  position: absolute;
  top: -15px;
  left: 6.5px;
  border-left: 2px dashed #7d8c9a;
  width: 1px;
  height: calc(100% - -17px) !important;
}

.test-rule-box .anticon {
  margin: 0 !important;
}

.test-rule-box .innercondition_class.hasInnerRule:before {
  top: -26px;
}

.test-rule-box .pl-1 {
  padding-left: 15px;
}

.test-rule-box .innercondition_class {
  padding-left: 30px !important;
}

.test-rule-box.treeview ul li:after {
  top: 9px;
}

.test-rule-box.treeview ul li:last-child:before {
  height: 25px;
}

.test-rule-box.treeview ul li:before {
  top: -16px;
}

.test-rule-box .hasInnerRule .innercondition_class:before,
.test-rule-box .innercondition_class.hasInnerRule:before,
.test-rule-box .innerrule_class.hasInnerRule:before {
  left: 5px;
}

.false-tag {
  border: 1px solid #ff6565;
  border-radius: 4px;
  padding: 3px 9px 1px 9px;
  margin-left: 14px;
  font: normal normal normal 12px/15px Graphik;
  letter-spacing: -0.06px;
  color: #ff6565;
  margin-bottom: 4px !important;
}

.true-tag {
  border: 1px solid #49c9c2 !important;
  color: #49c9c2 !important;
}

.rule-valid-img {
  margin-top: -5px !important;
  margin-left: -3px !important;
}

.action-text-word {
  white-space: normal !important;
}

.approval-detail {
  display: table;
}

.number-width {
  display: table;
  width: 100%;
}

.test-rule-box .treeview__level {
  white-space: normal;
  margin-bottom: 10px;
  display: block;
}