/* === Horizontal scroll container === */
.org-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 20px;
  cursor: grab;
}
.org-scroll-wrapper::-webkit-scrollbar {
  height: 10px;
}
.org-scroll-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.org-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border-radius: 6px;
}
.org-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #888;
}
.org-zoom-area {
  display: inline-block;
  white-space: normal;
  min-width: max-content;
}
.org-scroll-wrapper {
  scroll-behavior: smooth;
}
.org-zoom-area {
  transform: scale(0.7);
}

/* styling */

.tree-view.new .body > div {
  width: 2.5% !important;
}
/* .tree-view.new .child.center {
  width: 2.5% !important;
} */
.tree-view.new .row5 {
  margin-left: 2.5%;
}
.tree-view.new .child p {
  max-width: 280px;
}
.tree-view.new .child > div > div p::before,
.tree-view.new .child .child-div div p::before {
  content: none !important;
  box-shadow: none !important;
}
.tree-view.new .child > div.middle > div::before,
.tree-view.new.child .child-div > div.left > div::after,
.tree-view.new .child .child-div > div.right > div::after,
.tree-view.new .child:nth-child(1)::after,
.tree-view.new .child:nth-child(3)::after,
.tree-view.new .child:nth-child(4) p::after {
  content: none !important;
}
.tree-view.new .child > div > div p,
.tree-view.new .child .child-div div p {
  min-width: 300px;
}
.tree-view.new *::before,
.tree-view.new *::after {
  border: none !important;
  content: none !important;
}
.tree-view.new .head {
  margin-bottom: 0;
}

.tree-view.new .body.row6 .child p {
  background: #1e1b69 !important;
  color: #fff !important;
}

/* .org-zoom-area {
  transform: scale(0.70);    
  transform-origin: center left;  
} */

/* ====== CONNECTOR LINES ====== */

/* head */
.tree-view.new .line-vertical.head-one {
  top: 61%;
  height: 50px;
}
.tree-view.new .line-vertical.head-two {
  top: 60%;
  height: 270px;
}
.tree-view.new .line-vertical.head-down {
  top: 15%;
  left: 250% !important;
  height: 330px;
}
.tree-view.new .line-vertical.head-down2 {
  top: 15%;
  left: 147% !important;
  height: 330px;
}
.tree-view.new .line-horizontal.head-one {
  position: relative;
  top: 15%;
  left: 60%;
  width: 190%;
  height: 2px;
  background-color: #a8a8a8;
  margin: 0 auto;
  z-index: 0;
}

/* dceo */
.tree-view.new .line-horizontal.dceo {
  position: relative;
  right: 40%;
  width: 17.5%;
  height: 2px;
  background-color: #a8a8a8;
  margin: 0 auto;
  z-index: 0;
}
.tree-view.new .body.row5 {
  padding-top: 30px;
}
.tree-view.new .line-horizontal.third-row {
  position: relative;
  right: 45%;
  width: 7.5%;
  height: 2px;
  background-color: #a8a8a8;
  margin: 0 auto;
  z-index: 0;
  margin-bottom: 10px;
}

.tree-view.new .line-vertical {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  width: 2px;
  background-color: #a8a8a8;
  z-index: 0;
}

.body.row4 .child.left::before {
  content: "" !important;
  position: absolute;
  top: -20px !important;
  left: 50%;
  transform: translateX(-50%);
  width: 2px !important;
  height: 30px !important;
  background-color: #a8a8a8;
  border-radius: 0 !important;
}

/* dashed */
.tree-view.new .line-horizontal.ceo-office {
  position: relative;
  bottom: 70%;
  left: 90%;
  width: 58%;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    #a8a8a8 0,
    #a8a8a8 10px,
    transparent 10px,
    transparent 18px
  );
  margin: 0 auto;
  z-index: 0;
}

/* latest 2025 organizational chart */
/* authority */
.authority-line .line::before {
  content: "";
  position: absolute;
  top: 1.4% !important;
  left: 41% !important;
  width: 50.1%;
  height: 1px !important;
  border-top: 1px solid #a8a8a8;
  z-index: -1;
}
/* ceo office */
.tree-view.latest .head .line-right p::before {
  content: "";
  position: absolute;
  top: 50% !important;
  left: 80% !important;
  width: 50%;
  height: 1px !important;
  border-top: 1px dashed #a8a8a8;
}
body .tree-view.latest .head .ceo-row.office p:hover,
body .tree-view.latest .head .ceo-row.office p {
  background: #fcc700 !important;
}
body .tree-view.latest .head .ceo-row.office p:hover,
body .tree-view.latest .head .ceo-row.office p:hover span {
  color: #000 !important;
}
/* make line solid */
.tree-view.latest .ceo-line {
  border-top: 1px solid #a8a8a8;
}
.tree-view.latest .head p::before {
  border-left: 1px solid #a8a8a8;
}
.tree-view.latest
  .head
  .left-child
  .ceosub-third-col
  .ceosub-col-wrap3
  p::before {
  height: 122px !important;
}
/* long line middle */
.tree-view.latest.chart-dekstop > .head.chhead .ceo p::before {
  height: 410px;
}
/* left right */
/* yellow dot */
.tree-view.latest .left-child .ceo-subcol > div,
.tree-view.latest .right-child .ceo-subcol > div {
  position: relative;
}
.tree-view.latest .left-child .ceo-subcol > div::before,
.tree-view.latest .right-child .ceo-subcol:nth-child(n + 2) > div::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fcc700;
  z-index: 5;
}

/* left child */
.ceosub-row.left-child {
  justify-content: flex-start;
}
.ceosub-row.left-child .ceo-subcol {
  margin: 0 20px 0 0;
}
.ceosub-row.left-child .ceo-subcol div {
  min-width: 160px;
}
.ceo-line.left-child {
  max-width: 490px;
  left: 10%;
}
/* right child */
.tree-view.latest .right-group .ceo-line {
  border-top: 1px dashed #a8a8a8;
  /* border-radius: 0 40px 0 0; */
}
.ceo-line.right-child {
  max-width: 470px;
  left: -20%;
}
.ceosub-row.right-child .ceo-subcol {
  margin: 0 0 0 0;
}
.ceosub-row.right-child .ceo-subcol .sub-col-wrap2 {
  min-width: 200px;
}
.ceosub-row.right-child .ceo-subcol div {
  margin-left: -35%;
}
/* line top */
.tree-view.latest .right-child .ceosub-col-wrap3 p::before,
.tree-view.latest .right-child .sub-col-wrap2 p::before {
  height: 419px !important;
}
.tree-view.latest .right-child .sub-col-wrap2 p::before {
  top: -220% !important;
  bottom: 300%;
}
/* body */
.tree-view.latest .ceo-line.body {
  left: -7.8%;
  width: 90.7%;
  max-width: 100%;
}
.tree-view.latest .child:nth-child(4) p::after,
.tree-view.latest .child:nth-child(3)::after,
.tree-view.latest .body > div.child:nth-child(3)::before,
.tree-view.latest .body > div.child:nth-child(1)::before,
.tree-view.latest .child:nth-child(1)::after,
.tree-view.latest .body::before {
  display: none;
}
.tree-view.latest .chhead {
  margin-bottom: -10px !important;
}
.tree-view.latest .body .child {
  width: 44.44%;
  margin: 0 20px;
}
.tree-view.latest .body .child p {
  max-width: unset;
}
/* body head */
.tree-view.latest .body .child p::after {
  content: "";
  /* border-left: 1px solid #a8a8a8; */
  background-color: #a8a8a8;
  position: absolute;
  display: block;
  width: 1px;
  height: 120px;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 100%;
  z-index: -1;
  border-radius: 0;
}
/* shadow */
.body > .title > .child > a > p::before {
  top: var(--shadow-top, 4%);
  height: var(--shadow-height, 35px);
  position: absolute;
  content: "";
  z-index: -2;
  left: 30px;
  right: 30px;
  border-radius: 50%;
  box-shadow: 0 0 10px 20px rgba(134, 138, 158, 0.65);
}
/* safari desktop */
_::-webkit-full-page-media,
_:future,
:root .body > .title > .child > a > p::before {
  top: 45px;
  height: 10px;
}

.tree-view.latest .body .title {
  display: flex;
  width: 100%;
}
.tree-view.latest .title .child {
  position: relative;
}
/* child > child */
.tree-view.latest .body .details .child {
  width: 100%;
  margin-left: 0;
}
.tree-view.latest .body .details .child p {
  margin-bottom: 8% !important;
}
/* line */
.tree-view.latest .body .title .child.tree::after {
  content: "";
  position: absolute;
  /* border-left: 1px solid #a8a8a8; */
  background-color: #a8a8a8;
  width: 1px;
  height: var(--line-height, 100px);
  left: -120%;
  right: 0;
  margin: auto;
  top: var(--line-top, 50%);
  z-index: -1;
  display: block;
  border-radius: 0;
}

/* Safari desktop */
.safari-browser .tree-view.latest .body .title .child.tree::after {
  height: var(--safari-line-height, var(--line-height, 100px)) !important;
  top: var(--safari-line-top, var(--line-top, 50%)) !important;
}
.tree-view.latest .body .details .child p::after {
  display: none;
}
.tree-view.latest .body .details a::after {
  content: "";
  position: absolute;
  top: 47%;
  left: -107%;
  right: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fcc700;
  z-index: 5;
}
.tree-view.latest .child.tree .details a::before {
  content: "";
  position: absolute;
  top: 55% !important;
  left: -10% !important;
  width: 50%;
  height: 1px !important;
  border-top: 1px solid #a8a8a8;
  z-index: -1;
}
.tree-view.latest .child.tree > a::before {
  content: "";
  position: absolute;
  top: 5% !important;
  left: -10% !important;
  width: 50%;
  height: 1px !important;
  border-top: 1px solid #a8a8a8;
  z-index: -1;
}
/* body 2 // bottom */
.ceo-line.body.bottom {
  margin-top: 5% !important;
}
/* line left combine */
.body.top .title::before {
  content: "";
  position: absolute;
  top: -9%;
  left: -3%;
  transform: translateX(-50%);
  width: 1px;
  height: 117.4%;
  border-left: 1px solid #a8a8a8;
  z-index: 1;
}
.tree-view.latest a.long-text::after {
  top: 48% !important;
}

/* mobile tree latest */
/* iphone 14 */
@media screen and (max-width: 768px) {
  .tree-view.latest .child.quality > div::before {
    display: none;
  }
  .tree-view.latest.chart-mobile > .head {
    margin-bottom: 20px;
  }
  .head.ceo-office {
    margin-top: -5%;
    margin-bottom: 10% !important;
  }
  .tree-view.latest.chart-mobile > .head p::before {
    height: 7487%;
  }
  .tree-view.latest .child.quality p:before {
    content: "";
    position: absolute;
    top: 20%;
    left: -110%;
    right: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fcc700;
    z-index: 5;
    visibility: visible !important;
    box-shadow: none;
    display: block !important;
    border-top: none;
  }
  .tree-view.latest .child.quality p::after {
    content: "";
    position: absolute;
    top: 5%;
    left: -12%;
    width: 45px;
    height: 1px;
    /* border-top: 1px solid #a8a8a8; */
    background-color: #a8a8a8;
    z-index: -1;
    display: block;
    border-radius: 0;
  }
  .tree-view.latest .child.quality a.long-text p::after {
    top: 10%;
  }
  /* child */
  .tree-view.latest .body .child {
    width: 60.44%;
    margin: 0 0 0 20%;
  }
  /* child line */
  .tree-view.latest .body .child p::after {
    display: none;
  }
  /* auto height line */
  /* child */
  .tree-view.latest .body .child .left a:after {
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: -95px;
    background-color: #a8a8a8;
    position: absolute;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body .child .left a:after {
    left: -7px;
  }
  /* all child 100% */
  .tree-view.latest .body .child .left a:not(:last-child):after {
    height: calc(100% + 35px);
  }
  /* last child 50% */
  .tree-view.latest .body .child .left a:last-child:after {
    height: 50%;
  }
  /* connect with head */
  .child.tree > .child-div > .left:first-of-type a:first-of-type:after {
    height: calc(100% + 80px);
    top: -45px;
    z-index: -1;
  }

  /*  */
  .tree-view.latest .body > div.child:nth-child(3) > div {
    margin-left: 0;
  }

  .tree-view.latest .body > .child > p {
    min-width: 190px;
  }
  .tree-view.latest .child > div > div p::before,
  .tree-view.latest .child .child-div div p::before {
    display: none;
  }
  .tree-view.latest .body .child .child-div p:before {
    content: "";
    position: absolute;
    top: 19%;
    left: -108%;
    right: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fcc700;
    z-index: 5;
    visibility: visible !important;
    box-shadow: none;
    display: block !important;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body .child .child-div p:before {
    left: -106%;
  }
  .tree-view.latest .body .child .child-div p {
    position: relative;
  }
  .tree-view.latest .body > .child > p {
    line-height: 20px;
  }
  .body .child p a {
    color: #fff;
  }

  /* mobile update */
  .tree-view.latest .body > .child > p a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -111%;
    right: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fcc700;
    z-index: 5;
    visibility: visible !important;
    box-shadow: none;
  }
  .tree-view.latest .head p,
  .tree-view.latest .chright p {
    font-size: 10px;
  }

  /* updated line */
  .tree-view.latest .child.quality p::after {
    content: "";
    position: absolute;
    top: 5%;
    left: -12%;
    width: 45px;
    height: 1px;
    /* border-top: 1px solid #a8a8a8; */
    background-color: #a8a8a8;
    z-index: -1;
    display: block;
  }

  .tree-view.latest .body .child p a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 45px;
    height: 1px;
    border-top: 1px solid #a8a8a8;
    background-color: #a8a8a8;
    z-index: -1;
    display: block;
    border-radius: 0;
  }
  .tree-view.latest .body .child .left a {
    position: relative;
  }
  .tree-view.latest .body .child .left a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 159px;
    width: 20px;
    height: 1px;
    /* border-top: 1px solid #a8a8a8; */
    background-color: #a8a8a8;
    z-index: -1;
    display: block;
  }
  .tree-view.latest .body .child .left a.link-general::before {
    width: 69px;
    top: 48%;
  }
  .tree-view.latest a.long-text::after {
    top: 0% !important;
  }
  /* safari mobile */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body .child .left a::before {
    bottom: -29px;
    left: -10px;
    top: 28px !important;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body .child .left a::before {
    visibility: hidden;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body .child .left a:not(:last-child):after,
  _::-webkit-full-page-media,
  _:future,
  :root .child.tree > .child-div > .left:first-of-type a:first-of-type:after {
    visibility: hidden;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree > p:after {
    content: "";
    border-left: 1px solid #a8a8a8;
    position: absolute;
    display: block;
    width: 1px;
    left: -44%;
    right: 50%;
    margin: auto;
    top: 0;
    z-index: -1;
    display: block;
  }
  /* 1 */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.one > p:after {
    top: 473px;
    height: 349px;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body > .child:first-child > p::after {
    left: -44% !important;
  }
  /* 2 */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.third > p:after {
    top: 700px;
    height: 700px;
  }
  /* 3 */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.sec > p:after {
    top: 582px;
    height: 456px;
  }
  /* 4 */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.fif > p:after {
    top: 410px;
    height: 400px;
  }
  /* 5 */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.sev > p:after,
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.six > p:after {
    top: 350px;
    height: 300px;
  }
  _:future,
  :root .tree-view.latest .child.tree.six > p:after {
    top: 201px;
    height: 77px;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.ei > p:after {
    top: 336px;
    height: 300px;
  }
  /* 8 */
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .child.tree.fo > p:after {
    top: 500px;
    height: 500px;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .tree-view.latest .body .child .left a.link-general::before {
    visibility: visible;
    left: -53px;
  }
  .child.tree.sev > .child-div > .left:first-of-type a:first-of-type:after {
    top: -40px !important;
  }

  /* adjust */
  .tree-view.latest .child.tree.six a.long-text::after {
    top: -60% !important;
    height: 75px !important;
  }
}

/* smaller device */
@media screen and (max-width: 390px) {
  .tree-view.latest.chart-mobile > .head p::before {
    height: 7481%;
  }
  .tree-view.latest .body > .child:first-child > p::after {
    left: -97%;
  }
  .child.tree > .child-div > .left:first-of-type a:first-of-type:after {
    top: -38px !important;
  }
}

@media screen and (max-width: 375px) {
  .tree-view.latest.chart-mobile > .head p::before {
    height: 8180%;
  }
}
@media screen and (max-width: 320px) {
  .tree-view.latest.chart-mobile > .head p::before {
    height: 8170%;
  }
}

/* laptop */
@media (min-width: 1024px) and (max-width: 1440px) {
  .body.top .title::before {
    left: -3.1%;
  }
  .tree-view.latest .body .details a::after {
    top: 48%;
  }
}
/* orgs chart 2025 end here */

/* move to live */
/* menu top dropdown active class (custom link) */
.site-header .dropdown-menu .current-menu-item > a,
.site-header .dropdown-menu .active > a {
  background-color: #bfdef5 !important;
}
.sub-child-menu a.slick-slide.in-view-active {
  opacity: 1;
}

/* exam page eservice form */
.page-id-10021 .wpb_column.vc_column_container.vc_col-sm-3 {
  display: none;
}
