.org-chart {
  height: 800px;
}
.org-chart .department.dep-d .sections .node {
  left: -15px !important;
  width: 105% !important;
}
.org-chart .department.dep-d .sections .section:nth-child(2) .node,
.org-chart .department.dep-d .sections .section:nth-child(3) .node,
.org-chart .department.dep-d .sections .section:nth-child(4) .node,
.org-chart .department.dep-d .sections .section:nth-child(5) .node,
.org-chart .department.dep-d .sections .section:nth-child(6) .node {
  left: 0 !important;
  width: 95% !important;
}
.org-chart .department.dep-d .sections .section:nth-child(1) .node {
  margin-left: 9px;
  left: -15px !important;
  width: 105% !important;
}
.org-chart .department.dep-c .sections .node {
  margin-left: 9px;
  left: 0 !important;
}
.org-chart .direct-report.left > li:first-child .node {
  top: 15px;
  right: -125px !important;
}
.org-chart .direct-report.left > li:first-child {
  border-right: none !important;
  border-bottom: none;
}
.org-chart .direct-report:after {
  top: 0 !important;
  height: 208px !important;
}
.org-chart .direct-report.right > li:first-child .node {
  top: 10px;
  left: 100px !important;
}
.org-chart .direct-report.right > li:first-child {
  border-left: none !important;
  top: 75px;
  height: 75px;
  margin: 0 34px;
}
.org-chart .departments {
  top: 300px !important;
}
.org-chart .direct-report.left > li:first-child .node {
  top: 15px;
  right: -125px !important;
}
.org-chart .direct-report.left > li:first-child {
  border-right: none !important;
  border-bottom: none;
}
.org-chart .direct-report.right > li:first-child .node {
  top: 10px;
  left: 100px !important;
}
.org-chart .direct-report.right > li:first-child {
  border-left: none !important;
  top: 75px;
  height: 75px;
  margin: 0 34px;
}

@media screen and (max-width: 767px) {
  .org-chart .director > li > .node {
    width: 100%;
  }

  .org-chart .direct-report > li:first-child {
    width: 90% !important;
  }

  .org-chart .direct-report.left > li:first-child .node {
    right: -20px !important;
    width: 96% !important;
  }

  .org-chart .direct-report.left > li:first-child {
    left: 0;
    width: 100% !important;
  }

  .org-chart .direct-report.right > li:first-child {
    left: 0;
    width: 93% !important;
  }

  .org-chart .direct-report.right > li:first-child .node {
    left: 20px !important;
    width: 103.2% !important;
  }

  .org-chart .direct-report:after {
    height: 230px !important;
    left: 0 !important;
  }

  .org-chart .department > a > .node {
    margin: 0 0 -26px 0 !important;
  }

  .org-chart .departments:after {
    border: none !important;
  }

  .org-chart .section {
    margin-left: 0 !important;
  }

  .org-chart .department:before {
    margin-left: 0;
  }
}
