.hierachy_chart--main {
  padding: 0;
  /* bootstrap approach */
  margin: 0 -1em;
  word-break: break-word;
}

.hierachy_chart--mainentry,
.hierachy_chart--department,
.hierachy_chart--section {
  list-style: none;
}

.hierachy_chart--departments {
  display: flex;
  flex-flow: row wrap;
  padding: 0;
}

.hierachy_chart--departments li {
  flex: 1 0 33.333%;
}
@media (max-width: 768px) {
  .hierachy_chart--departments li {
    flex: 1 0 100%;
  }
}

.hierachy_chart--main--title {
  display: flex;
  /* border: 1px solid; */
  padding: 0px;
  margin: 2em auto;
  justify-content: center;
  text-align: center;
  position: relative;
  font-weight: bold;
  max-width: calc(67% - 3px);
  background: #51743b;
  /* background: linear-gradient(89deg, #6bbcc5, #09909f) !important; */
  color: #ffffff;
  border-radius: 5px;
  font-size: 30px;
  margin-top: 0px;
}
.hierachy_chart--main--title-with-twoChild {
  max-width: calc(50% - 0px) !important;
}
@media (max-width: 768px) {
  .hierachy_chart--main--title {
    max-width: calc(100% - 4em);
  }
}
.hierachy_chart--main--title:before {
  content: "";
  width: 1px;
  height: calc(2em + 1px);
  position: absolute;
  background: #51743b;
  top: 100%;
  left: 1px;
  right: 0;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hierachy_chart--main--title:before {
    display: none;
  }
}
.hierachy_chart--main--title:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  background: #51743b;
  top: calc(100% + 2em - 1px);
  left: 0;
  right: 0;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hierachy_chart--main--title:after {
    display: none;
  }
}
.has-three .hierachy_chart--main--title:after {
  width: calc(133.333%);
  left: -16.666%;
}

.hierachy_chart--departments--title {
  display: flex;
  padding: 4px;
  margin: 2em 1em;
  justify-content: center;
  position: relative;
  background: #51743b;
  /* background: linear-gradient(89deg, #6bbcc5, #09909f) !important; */
  color: white;
  border-radius: 5px;
  font-weight: 500;
}
.btn-green-and-white:hover{
    background: #d9d9d9;
    color: #51743b;
}
.btn-white-and-green:hover{
    background: #51743b;
    color: #d9d9d9;
}
.hierachy_chart--departments--title:before {
  content: "";
  width: 1px;
  height: 2em;
  position: absolute;
  background: #51743b;
  top: calc(-2em - 1px);
  left: 0;
  right: 0;
  margin: 0 auto;
}

.hierachy_chart--departments--title:after {
  content: "";
  width: 1px;
  height: 2em;
  position: absolute;
  background: #51743b;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.hierachy_chart--sections {
  padding: 0;
}

.hierachy_chart--section {
  margin: 0 1em;
  border: 1px solid;
  border-bottom: none;
}
.hierachy_chart--section:last-child {
  border-bottom: 1px solid;
}

.hierachy_chart--sections .section .richtext ul {
  counter-reset: item 0;
}

.hierachy_chart--sections .section .richtext ul li {
  list-style-type: circle;
}

.hierachy_chart--hiddeninput {
  visibility: hidden;
  height: 0;
  position: absolute;
}

.hierachy_chart--section--link {
  position: relative;
  padding: 1em;
}

.hierachy_chart--section--toggler {
  display: block;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  text-transform: none;
}
.hierachy_chart--section--link .hierachy_chart--section--toggler:after {
  display: inline-block;
  vertical-align: middle;
  content: "";
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTUgOSI+Cgk8cGF0aCBmaWxsPSIjMzMzMzMzIiBkPSJNNy44NjcgOC41NzRsLTcuMjItNy4yMi43MDctLjcwOEw3Ljg2NyA3LjE2IDE0LjA1Ljk4bC43MDYuNzA3Ii8+Cjwvc3ZnPgo=")
    no-repeat;
  background-size: contain;
  width: 18px;
  height: 12px;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.hierachy_chart--accordion {
  height: 0;
  overflow: hidden;
  background: white;
  transition: padding 0.5s ease-in-out;
  padding: 0;
}

/* :checked */
.hierachy_chart--hiddeninput:checked ~ .hierachy_chart--accordion {
  height: auto;
  padding: 1em 0;
}

/* :checked */
.hierachy_chart--hiddeninput:checked
  ~ label
  .hierachy_chart--section--toggler:after {
  transform: rotate(180deg);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.hierachy_chart--hiddeninput:checked
  ~ label
  .hierachy_chart--section--toggler
  .hierachy_chart--accordion {
  height: auto;
  padding: 1em 0;
}

.hierachy_chart--accordion--content {
  margin: 1em;
}

.hierachy_chart--department--container {
  /* background: linear-gradient(89deg, #6bbcc5, #09909f) !important; */
  background: #51743b;
  margin: 1rem;
  padding: 3px 10px;
  border-radius: 5px;
}
.hierachy_chart--department--container h6 {
  margin-bottom: 0;
  font-size: 13px;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  line-height: 24px;
}
.hierachy_chart--department--container a {
  font-size: 12px;
  color: white;
  font-weight: 500;
  margin: 6px 0px;
  display: block;
  transition: 0.3s ease-in-out;
  text-decoration: underline;
}
.hierachy_chart--department a {
  font-size: 20px;
  color: white;
  font-weight: 500;
  margin: 6px 0px;
  display: block;
  transition: 0.3s ease-in-out;
  text-decoration: underline;
}

.hierachy_chart--department--container a:hover {
  transform: scale(1.03);
}

.hierachy_chart--department a:hover {
  transform: scale(1.03);
}

.hidegenelogy-tabs {
  margin-bottom: 30px;
  text-align: center;
  white-space: nowrap;
  /* overflow: auto; */
  padding-bottom: 2px;
}

.tab-button {
  padding: 3px 20px;
  cursor: pointer;
  border: none;
  outline: none;
  margin-right: 10px;
  font-size: 12px;
  border-radius: 3px;
  color: black;
}

.tab-button.active {
  /* background: #51743b!important; */
  background: linear-gradient(89deg, #6bbcc5, #09909f) !important;
  color: white;
}

.tab-content {
  display: none;
}
.enSmartSuiteWrapper {
  display: none;
}

@media (min-width: 1200px) {
  .enSmartSuiteWrapper .container {
    max-width: 1160px;
  }
}

.tree-no--child:after {
  display: none;
}
.oneChild-hierachy_chart--main--title {
  margin-bottom: 0;
}
.oneChild-hierachy_chart--main--title:before,
.oneChild-hierachy_chart--main--title:after {
  display: none;
}
.multi-child:before {
  display: none;
}
.multi-child {
  margin: 0 1em;
}
.divForMultiChilds {
  background: linear-gradient(89deg, #6bbcc5, #09909f) !important;
  border-radius: 5px;
  position: relative;
  top: -1px;
}

.bg-node {
  background: #ebf4e6;
}
.hidegenelogy-tabs.nodeTab {
  display: flex;
  justify-content: end;
  flex-direction: column;
  width: fit-content;
  float: right;
}
.hidegenelogy-tabs.nodeTab1 {
  display: flex;
  justify-content: start;
  flex-direction: column;
  width: fit-content;
  float: left;
}

.hidegenelogy-tabs.text-center.nodeTab2 {
  padding-left: 75px;
  margin-top: 20px;
}

.hidegenelogy-tabs.nodeTab a {
  font-size: 14px;
  background: #9fc08d;
  padding: 20px 30px;
  margin-bottom: 10px;
  font-weight: 600;
}
/* .hidegenelogy-tabs a{
  -webkit-animation: pulse 1.5s infinite;
} */
/* .hidegenelogy-tabs button:hover{
  transform: scale(1.07);
} */

.hidegenelogy-tabs.nodeTab1 a {
  font-size: 14px;
  background: #9fc08d;
  padding: 20px 30px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hidegenelogy-tabs.nodeTab2 a {
  font-size: 12px;
  background: #9fc08d;
  padding: 20px 30px;
  margin-bottom: 10px;
  font-weight: 600;
}
@media (min-width: 2000px) {
  .hidegenelogy-tabs.nodeTab a {
    font-size: 14px;
    background: #9fc08d;
    padding: 50px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab1 a {
    font-size: 14px;
    background: #9fc08d;
    padding: 50px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab2 a {
    font-size: 12px;
    background: #9fc08d;
    padding: 50px;
    margin-bottom: 10px;
    font-weight: 600;
  }
}
@media (min-width: 1517px) {
  .hidegenelogy-tabs.nodeTab a {
    font-size: 14px;
    background: #9fc08d;
    padding: 30px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab1 a {
    font-size: 14px;
    background: #9fc08d;
    padding: 30px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab2 a {
    font-size: 12px;
    background: #9fc08d;
    padding: 30px;
    margin-bottom: 10px;
    font-weight: 600;
  }
}
@media (max-width: 1092px) {
  .hidegenelogy-tabs.nodeTab a {
    font-size: 12px;
    background: #9fc08d;
    padding: 15px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab1 a {
    font-size: 12px;
    background: #9fc08d;
    padding: 15px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab2 a {
    font-size: 10px;
    background: #9fc08d;
    padding: 15px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.text-center.nodeTab2 {
    padding-left: 65px;
  }
}
@media (max-width: 910px) {
  .hidegenelogy-tabs.nodeTab a {
    font-size: 10px;
    background: #9fc08d;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab1 a {
    font-size: 10px;
    background: #9fc08d;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.nodeTab2 a {
    font-size: 8px;
    background: #9fc08d;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .hidegenelogy-tabs.text-center.nodeTab2 {
    padding-left: 65px;
  }
}
@media (max-width: 768px) {
  .hierachy_chart--departments--title:before {
    display: none;
  }
}

/* @-webkit-keyframes pulse {
  0% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  70% {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
  }
  100% {
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
  }
} */
@media (min-width:757px){
  .mainGenelogy .col-sm-4.onlyInMobile {
    display: none;
  }
}
@media (max-width: 758px) {
  .mainGenelogy .col-sm-4.onlyInMobile img {
    display: block;
    margin-bottom: 20px;
  }
  .mainGenelogy {
    overflow: hidden;
  }
  .mainGenelogy .col-sm-4 img {
    display: none;
  }
  .mainGenelogy .container-fluid {
    padding-left: 10px;
    padding-right: 0px;
  }
  .hidegenelogy-tabs.nodeTab {
    width: 100%;
  }
  .hidegenelogy-tabs.nodeTab1 {
    width: 100%;
  }
  .hidegenelogy-tabs.text-center.nodeTab2 {
    padding-left: 0;
    padding-right: 10px;
  }
  .hidegenelogy-tabs.nodeTab2 a {
    width: 100%;
    display: block;
    font-size: 10px;
  }
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
}
