ol.organizational-chart-main,
ol.organizational-chart-main ol,
ol.organizational-chart-main li,
ol.organizational-chart-main li > div {
  position: relative;
}

ol.organizational-chart-main,
ol.organizational-chart-main ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

ol.organizational-chart-main {
  text-align: center;
}

ol.organizational-chart-main ol {
  padding-top: 1em;
}

ol.organizational-chart-main ol:before,
ol.organizational-chart-main ol:after,
ol.organizational-chart-main li:before,
ol.organizational-chart-main li:after,
ol.organizational-chart-main > li > div:before,
ol.organizational-chart-main > li > div:after {
  background-color: #b7a6aa;
  content: "";
  position: absolute;
}

ol.organizational-chart-main ol > li {
  padding: 1em 0 0 1em;
}

ol.organizational-chart-main > li ol:before {
  height: 1em;
  left: 50%;
  top: 0;
  width: 3px;
}

ol.organizational-chart-main > li ol:after {
  height: 3px;
  left: 3px;
  top: 1em;
  width: 50%;
}

ol.organizational-chart-main > li ol > li:not(:last-of-type):before {
  height: 3px;
  left: 0;
  top: 2em;
  width: 1em;
}

ol.organizational-chart-main > li ol > li:not(:last-of-type):after {
  height: 100%;
  left: 0;
  top: 0;
  width: 3px;
}

ol.organizational-chart-main > li ol > li:last-of-type:before {
  height: 3px;
  left: 0;
  top: 2em;
  width: 1em;
}

ol.organizational-chart-main > li ol > li:last-of-type:after {
  height: 2em;
  left: 0;
  top: 0;
  width: 3px;
}

ol.organizational-chart-main li > div {
  background-color: #fff;
  border-radius: 3px;
  min-height: 2em;
  padding: 0.5em;
}

/*** PRIMARY ***/
ol.organizational-chart-main > li > div {
  background-color: rgb(10, 36, 99);
  margin-right: 1em;
  color:#fff;
}

ol.organizational-chart-main > li > div:before {
  bottom: 2em;
  height: 3px;
  right: -1em;
  width: 1em;
}

ol.organizational-chart-main > li > div:first-of-type:after {
  bottom: 0;
  height: 2em;
  right: -1em;
  width: 3px;
}

ol.organizational-chart-main > li > div + div {
  margin-top: 1em;
}

ol.organizational-chart-main > li > div + div:after {
  height: calc(100% + 1em);
  right: -1em;
  top: -1em;
  width: 3px;
}

/*** SECONDARY ***/
ol.organizational-chart-main > li > ol:before {
  left: inherit;
  right: 0;
}

ol.organizational-chart-main > li > ol:after {
  left: 0;
  width: 100%;
}

ol.organizational-chart-main > li > ol > li > div {
  background-color: #084c9d;
  color:#fff;
}

/*** TERTIARY ***/
ol.organizational-chart-main > li > ol > li > ol > li > div {
  background-color: #fd6470;
}

/*** QUATERNARY ***/
ol.organizational-chart-main > li > ol > li > ol > li > ol > li > div {
  background-color: #fca858;
}

/*** QUINARY ***/
ol.organizational-chart-main > li > ol > li > ol > li > ol > li > ol > li > div {
  background-color: #fddc32;
}


/* OrgChart CSS Response Screen: Reference https://www.cssscript.com/responsive-hierarchical-organization-chart-pure-css/ */
@media only screen and (min-width: 64em) {
  ol.organizational-chart-main {
    margin-left: -1em;
    margin-right: -1em;
  }

  /* PRIMARY */
  ol.organizational-chart-main > li > div {
    display: inline-block;
    float: none;
    margin: 0 1em 1em 1em;
    vertical-align: bottom;
  }

  ol.organizational-chart-main > li > div:only-of-type {
    margin-bottom: 0;
    width: calc((25% / 1) - 2em - 4px);
  }

  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(2),
  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(2) ~ div {
    width: calc((100% / 2) - 2em - 4px);
  }

  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(3),
  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(3) ~ div {
    width: calc((100% / 3) - 2em - 4px);
  }

  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(4),
  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(4) ~ div {
    width: calc((100% / 4) - 2em - 4px);
  }

  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(5),
  ol.organizational-chart-main > li > div:first-of-type:nth-last-of-type(5) ~ div {
    width: calc((100% / 5) - 2em - 4px);
  }

  ol.organizational-chart-main > li > div:before,
  ol.organizational-chart-main > li > div:after {
    bottom: -1em !important;
    top: inherit !important;
  }

  ol.organizational-chart-main > li > div:before {
    height: 1em !important;
    left: 50% !important;
    width: 3px !important;
  }

  ol.organizational-chart-main > li > div:only-of-type:after {
    display: none;
  }

  ol.organizational-chart-main > li > div:first-of-type:not(:only-of-type):after,
  ol.organizational-chart-main > li > div:last-of-type:not(:only-of-type):after {
    bottom: -1em;
    height: 3px;
    width: calc(50% + 1em + 3px);
  }

  ol.organizational-chart-main > li > div:first-of-type:not(:only-of-type):after {
    left: calc(50% + 3px);
  }

  ol.organizational-chart-main > li > div:last-of-type:not(:only-of-type):after {
    left: calc(-1em - 3px);
  }

  ol.organizational-chart-main > li > div + div:not(:last-of-type):after {
    height: 3px;
    left: -2em;
    width: calc(100% + 4em);
  }

  /* SECONDARY */
  ol.organizational-chart-main > li > ol {
    display: flex;
    flex-wrap: nowrap;
  }

  ol.organizational-chart-main > li > ol:before,
  ol.organizational-chart-main > li > ol > li:before {
    height: 1em !important;
    left: 50% !important;
    top: 0 !important;
    width: 3px !important;
  }

  ol.organizational-chart-main > li > ol:after {
    display: none;
  }

  ol.organizational-chart-main > li > ol > li {
    flex-grow: 1;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
  }

  ol.organizational-chart-main > li > ol > li:only-of-type {
    padding-top: 0;
  }

  ol.organizational-chart-main > li > ol > li:only-of-type:before,
  ol.organizational-chart-main > li > ol > li:only-of-type:after {
    display: none;
  }

  ol.organizational-chart-main > li > ol > li:first-of-type:not(:only-of-type):after,
  ol.organizational-chart-main > li > ol > li:last-of-type:not(:only-of-type):after {
    height: 3px;
    top: 0;
    width: 50%;
  }

  ol.organizational-chart-main
    > li
    > ol
    > li:first-of-type:not(:only-of-type):after {
    left: 50%;
  }

  ol.organizational-chart-main > li > ol > li:last-of-type:not(:only-of-type):after {
    left: 0;
  }

  ol.organizational-chart-main > li > ol > li + li:not(:last-of-type):after {
    height: 3px;
    left: 0;
    top: 0;
    width: 100%;
  }
}

    ol.organizational-chart,
    ol.organizational-chart ol,
    ol.organizational-chart li,
    ol.organizational-chart li > div {
        position: relative;
    }

    ol.organizational-chart,
    ol.organizational-chart ol {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    ol.organizational-chart {
        text-align: center;
    }

    ol.organizational-chart ol {
        padding-top: 1em;
    }

    ol.organizational-chart ol:before,
    ol.organizational-chart ol:after,
    ol.organizational-chart li:before,
    ol.organizational-chart li:after,
    ol.organizational-chart > li > div:before,
    ol.organizational-chart > li > div:after {
        background-color: #b7a6aa;
        content: '';
        position: absolute;
    }

    ol.organizational-chart ol > li {
        padding: 1em 0 0 1em;
    }

    ol.organizational-chart > li ol:before {
        height: 1em;
        left: 50%;
        top: 0;
        width: 3px;
    }

    ol.organizational-chart > li ol:after {
        height: 3px;
        left: 3px;
        top: 1em;
        width: 50%;
    }

    ol.organizational-chart > li ol > li:not(:last-of-type):before {
        height: 3px;
        left: 0;
        top: 2em;
        width: 1em;
    }

    ol.organizational-chart > li ol > li:not(:last-of-type):after {
        height: 100%;
        left: 0;
        top: 0;
        width: 3px;
    }

    ol.organizational-chart > li ol > li:last-of-type:before {
        height: 3px;
        left: 0;
        top: 2em;
        width: 1em;
    }

    ol.organizational-chart > li ol > li:last-of-type:after {
        height: 2em;
        left: 0;
        top: 0;
        width: 3px;
    }

    ol.organizational-chart li > div {
        background-color: #fff;
        border-radius: 3px;
        min-height: 2em;
        padding: 0.5em;
    }

    /*** PRIMARY ***/
    ol.organizational-chart > li > div {
        background-color: #00AB66;
        margin-right: 1em;
    }

    ol.organizational-chart > li > div:before {
        bottom: 2em;
        height: 3px;
        right: -1em;
        width: 1em;
    }

    ol.organizational-chart > li > div:first-of-type:after {
        bottom: 0;
        height: 2em;
        right: -1em;
        width: 3px;
    }

    ol.organizational-chart > li > div + div {
        margin-top: 1em;
    }

    ol.organizational-chart > li > div + div:after {
        height: calc(100% + 1em);
        right: -1em;
        top: -1em;
        width: 3px;
    }

    /*** SECONDARY ***/
    ol.organizational-chart > li > ol:before {
        left: inherit;
        right: 0;
    }

    ol.organizational-chart > li > ol:after {
        left: 0;
        width: 100%;
    }

    ol.organizational-chart > li > ol > li > div {
        background-color: #83e4e2;
    }

    /*** TERTIARY ***/
    ol.organizational-chart > li > ol > li > ol > li > div {
        background-color: #fd6470;
    }

    /*** QUATERNARY ***/
    ol.organizational-chart > li > ol > li > ol > li > ol > li > div {
        background-color: #fca858;
    }

    /*** QUINARY ***/
    ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > div {
        background-color: #fddc32;
    }

    /*** MEDIA QUERIES ***/
    @media only screen and ( min-width: 64em ) {

        ol.organizational-chart {
            margin-left: -1em;
            margin-right: -1em;
        }

        /* PRIMARY */
        ol.organizational-chart > li > div {
            display: inline-block;
            float: none;
            margin: 0 1em 1em 1em;
            vertical-align: bottom;
        }

        ol.organizational-chart > li > div:only-of-type {
            margin-bottom: 0;
            width: calc((100% / 1) - 2em - 4px);
        }

        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2),
        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2) ~ div {
            width: calc((100% / 2) - 2em - 4px);
        }

        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3),
        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3) ~ div {
            width: calc((100% / 3) - 2em - 4px);
        }

        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4),
        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4) ~ div {
            width: calc((100% / 4) - 2em - 4px);
        }

        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5),
        ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5) ~ div {
            width: calc((100% / 5) - 2em - 4px);
        }

        ol.organizational-chart > li > div:before,
        ol.organizational-chart > li > div:after {
            bottom: -1em!important;
            top: inherit!important;
        }

        ol.organizational-chart > li > div:before {
            height: 1em!important;
            left: 50%!important;
            width: 3px!important;
        }

        ol.organizational-chart > li > div:only-of-type:after {
            display: none;
        }

        ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after,
        ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
            bottom: -1em;
            height: 3px;
            width: calc(50% + 1em + 3px);
        }

        ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after {
            left: calc(50% + 3px);
        }

        ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
            left: calc(-1em - 3px);
        }

        ol.organizational-chart > li > div + div:not(:last-of-type):after {
            height: 3px;
            left: -2em;
            width: calc(100% + 4em);
        }

        /* SECONDARY */
        ol.organizational-chart > li > ol {
            display: flex;
            flex-wrap: nowrap;
        }

        ol.organizational-chart > li > ol:before,
        ol.organizational-chart > li > ol > li:before {
            height: 1em!important;
            left: 50%!important;
            top: 0!important;
            width: 3px!important;
        }

        ol.organizational-chart > li > ol:after {
            display: none;
        }

        ol.organizational-chart > li > ol > li {
            flex-grow: 1;
            padding-left: 1em;
            padding-right: 1em;
            padding-top: 1em;
        }

        ol.organizational-chart > li > ol > li:only-of-type {
            padding-top: 0;
        }

        ol.organizational-chart > li > ol > li:only-of-type:before,
        ol.organizational-chart > li > ol > li:only-of-type:after {
            display: none;
        }

        ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after,
        ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
            height: 3px;
            top: 0;
            width: 50%;
        }

        ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after {
            left: 50%;
        }

        ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
            left: 0;
        }

        ol.organizational-chart > li > ol > li + li:not(:last-of-type):after {
            height: 3px;
            left: 0;
            top: 0;
            width: 100%;
        }

    }
    .the-chart {
      padding: 7px;
      border-radius: 5px;
      height: 100%;
  }
  /* div shadow */
  .div-shadow {
    border-radius: 10px;
    box-shadow: 0px 9px 30px rgba(10, 36, 99, 0.3);
  }
  /* Div Click Bottom tick*/
  .box:after {
    content: "";
    display: block;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #084c9d transparent transparent;
    margin-left: -20px;
    position: absolute;
    bottom: -20px;
    left: 50%;
  }
  .box.arrow-bottom-left:after,
  .box.arrow-bottom-right:after,
  .box.arrow-top-left:after,
  .box.arrow-top-right:after,
  .box.arrow-left-top:after,
  .box.arrow-left-bottom:after,
  .box.arrow-right-top:after,
  .box.arrow-right-bottom:after {
    border-width: 10px;
    margin: 0;
  }
  .box.arrow-bottom-left:after,
  .box.arrow-bottom-right:after {
    border-left-color: #3498db;
  }
  .box.arrow-bottom-left:after {
    left: 0;
    right: auto;
  }
  .box.arrow-bottom-right:after {
    border-left-color: transparent;
    border-right-color: #3498db;
    left: auto;
    right: 0;
  }
  .box.arrow-top-center:after,
  .box.arrow-top-left:after,
  .box.arrow-top-right:after {
    border-top-color: transparent;
    border-bottom-color: #3498db;
    top: -20px;
    bottom: auto;
  }
  .box.arrow-top-center:after {
    border-top-width: 0;
    border-bottom-width: 20px;
  }
  .box.arrow-top-left:after,
  .box.arrow-top-right:after {
    border-width: 10px;
    border-left-color: #3498db;
  }
  .box.arrow-top-left:after {
    left: 0;
    right: auto;
  }
  .box.arrow-top-right:after {
    border-left-color: transparent;
    border-right-color: #3498db;
    left: auto;
    right: 0;
  }
  .box.arrow-left-center:after,
  .box.arrow-left-top:after,
  .box.arrow-left-bottom:after {
    border-width: 20px;
    border-left-color: transparent;
    border-left-width: 0;
    border-top-color: transparent;
    border-right-color: #3498db;
    margin: -20px 0 0;
    left: -20px;
    right: auto;
    top: 50%;
    bottom: auto;
  }
  .box.arrow-left-top:after,
  .box.arrow-left-bottom:after {
    border-width: 10px;
    margin: 0;
  }
  .box.arrow-left-top:after {
    border-top-color: #3498db;
    top: 0;
  }
  .box.arrow-left-bottom:after {
    border-bottom-color: #3498db;
    top: auto;
    bottom: 0;
  }
  .box.arrow-right-center:after,
  .box.arrow-right-top:after,
  .box.arrow-right-bottom:after {
    border-width: 20px;
    border-right-width: 0;
    border-top-color: transparent;
    border-left-color: #3498db;
    margin: -20px 0 0;
    left: auto;
    right: -20px;
    top: 50%;
    bottom: auto;
  }
  .box.arrow-right-top:after,
  .box.arrow-right-bottom:after {
    border-width: 10px;
    margin: 0;
  }
  .box.arrow-right-top:after {
    border-top-color: #3498db;
    top: 0;
  }
  .box.arrow-right-bottom:after {
    border-bottom-color: #3498db;
    top: auto;
    bottom: 0;
  }
  .box.arrow-bottom-left,
  .box.arrow-left-bottom {
    border-bottom-left-radius: 0;
  }
  .box.arrow-bottom-right,
  .box.arrow-right-bottom {
    border-bottom-right-radius: 0;
  }
  .box.arrow-top-left,
  .box.arrow-left-top {
    border-top-left-radius: 0;
  }
  .box.arrow-top-right,
  .box.arrow-right-top {
    border-top-right-radius: 0;
  }
  
  .organizational-chart li a {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100% !important;
    vertical-align: baseline;
    background: transparent;
    text-decoration:none;
    color:#000;
}
.organizational-chart li a:hover{
    text-decoration:none;
    color:#000
}