.orgchart.myChart>ul>li>ul li::before {
    border-top-color: var(--main-header-color);
}

.orgchart.myChart>ul>li>ul li .oc-node::before,
.orgchart.myChart ul li .oc-node:not(:only-child):not(:last-child)::after {
    background-color: var(--main-header-color);
}

.orgchart.myChart .oc-node .position.empty-node {
    background-color: #bebec7;
}

.orgchart.myChart .oc-node .position {
    background-color: var(--main-header-color);
    /* color: #fff; */
    height: 50px;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orgchart.myChart .oc-node .position .node-position-label {
    color: white;
}

.orgchart.myChart .oc-node .fullname .node-name-label {
    color: var(--main-header-color);
}

.position-mode .fullname {
    height: 60px !important;
}

.orgchart.myChart .oc-node .position .ant-select {
    width: 100%;
}

.new-node .placeholder-new-node {
    color: #9696A0;
    font-weight: bold;
}

.new-node .placeholder-new-node {
    font-size: 12px;
}

.position.new-node,
.fullname.new-node {
    flex-direction: column;
    align-items: start !important;
}

.custom-node-container .ant-avatar {
    border-radius: 0;
}

.orgchart.myChart .oc-node .fullname {
    box-sizing: border-box;
    background-color: #fff;
    height: 50px;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-hierarchy .container-name {
    text-align: right;
    padding: 0 10px;
    font-size: 10px !important;
    display: block;
    align-items: center;
    /* justify-content: flex-start; */
    text-align: left;
    white-space: nowrap;
    width: 120px !important;
}

.custom-node-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    background-color: #DFE7F0;
    width: 200px;
    box-shadow: 0px 3px 6px #00000029;
}

.custom-node-container.root-node {
    width: 200px !important;
}

.custom-node-container.user-mode {
    width: 300px;
}

.custom-node-container.selected {
    border: solid var(--main-highlight-menu-color) 2px;
}

.new-node-btn-container {
    display: flex;
    position: absolute;
    flex-direction: column;
    right: -20px;
    top: 20px;
    z-index: 1;
}

.custom-node-container>.inline-error {
    display: flex;
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: -15px;
}

.new-node-btn-container>.icon-container {
    cursor: pointer;
    margin: 0;
    border-radius: 50%;
    color: white;
    box-shadow: 0px 3px 6px #00000029;
    padding-right: 0;
}

.icon-container.discard-new-node>div,
.icon-container.accept-new-node>div {
    width: 20px;
    height: 20px;
    background-size: cover;
}

.custom-node-container .node-kebab-container {
    position: absolute;
    right: -10px;
    top: 15px;
    opacity: 0;
}
.custom-node-container .node-edit-container {
    position: absolute;
    right: -27px;
    top: 15px;
    opacity: 0;
    z-index: 200;
}

.oc-node .option-dropdown-icon {
    width: 15px;
}

.custom-node-container .option-dropdown-icon:hover {
    background-image: url(../../common/img/commonIcon/option-dropdown.svg) !important;
}

.custom-node-container:hover .node-kebab-container,
.custom-node-container .node-kebab-container:hover,
.custom-node-container:hover .node-edit-container,
.custom-node-container .node-edit-container:hover {
    opacity: 100;
}

.node-detail-container {
    width: 100%;
    overflow: hidden;
}

.add-node-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.add-icon {
    background-color: var(--primary-button-background);
    color: white;
    cursor: pointer;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: solid white 2px;
    font-size: 22px;
    padding-bottom: 2px;
    position: absolute;
    bottom: -35px;
    z-index: 100;
}
.add-icon {
    background-color: #598ed8;
}
.add-icon:hover{
    background-color: #75b4f4;
}

.more-icon {
    position: relative;
}

.orgchart ul li .oc-node:hover {
    background-color: transparent !important;
}

.oc-hierarchy .section-container {
    z-index: 100 !important;
    justify-content: space-between;
    width: 100%;
}

.edit-container-button {
    cursor: pointer;
    z-index: 1;
    padding-right: 5px;
    font-size: 12px;
    color: var(--active-normal-button-background);
}

.edit-container-button:hover {
    color: var(--hover-normal-button-background);
}

.orgchart ul li:not(.container-child) {
    padding: 0 !important;
}

.orgchart-container .orgchart>ul>li>ul li:last-child::before {
    width: 50% ;
}