.centered {
    text-align: center;
}

.nodecontent {
  display: block;
  /* background-color: DarkTurquoise; */
  border-radius: 10px;
  color: grey;
  z-index: 2;
  top:-15px;
  width:100%;
}
.nodecontent .bg-whitesmoke {
  z-index: 2;
}
.nodecontent:hover .structure-org {
  box-shadow: 0px 6px 12px rgba(67, 139, 150, 0.25);
}

.nodecontent .collapse {
    position: absolute;
    bottom: -15px;
    left: calc(50% - 6px);
    color: #EEEEEE;
    background-color: #CCCCCC;
    border-radius: 6px;
    height: 12px;
    width: 12px;
    font-size: 12px;
    text-align: center;
}

/*chart nodes*/
.orgchart {
    display: inline-block;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.orgchart, .orgchart ul {
    padding: 0;
    margin: 0;
}

/*align children horizontally using CSS flex*/
.orgchart ul {
    display: flex;
}

/*align nodecontent and children list vertically*/
.orgchart li {
    width:100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/*arrange the nodecontent centered above the children list*/
.orgchart .nodecontent {
    align-self: center;
    position: relative;
    margin: 20px 15px;
}

.orgchart .collapsed > ul {
    display: none;
}

/*connections*/
.orgchart li::before,
.orgchart .nodecontent::after,
.orgchart .nodecontent::before {
    box-sizing: border-box;
    content: '';
    position: absolute;
    border: 0px solid #E5E7E9;
}

.orgchart li:not(:only-child)::before {
    border-top-width: 3px;
    width: 100%;
    height: 20px;
    top: 0px;
}

.orgchart li:first-child::before {
    width: calc(50% + 1px);
    right: 0;
    border-left-width: 3px;
    border-top-left-radius: 7px;
}

.orgchart li:last-child::before {
    width: calc(50% + 1px);
    border-right-width: 3px;
    border-top-right-radius: 7px;
}

.orgchart .nodecontent::after,
.orgchart .nodecontent::before {
    border-left-width: 3px;
    width: 2px;
    height: 35px;
    left: calc(50% - 1px);
    z-index: 1;
}

.orgchart .nodecontent::before {
    top: -20px;
}
.orgchart .nodecontent::after {
    bottom: -35px;
}

.orgchart li:first-child:not(:only-child) > .nodecontent::before,
.orgchart li:last-child:not(:only-child) > .nodecontent::before {
    border-left-width: 0px;
}

.orgchart .leaf > .nodecontent::after,
.orgchart .root > .nodecontent::before,
.orgchart .collapsed > .nodecontent::after {
    display: none;
}
@media (max-width: 1200px) {
  .nodecontent {
    width: unset;
    position: relative;
    margin-bottom:1.5em;
  }
  .structure-org h5{
      height:28px;
      line-height:14px;
  }
  .structure-org-img{
      top:-8px;
  }
}