.three {
  padding: 2em;
  top: -35px;
  bottom: 34px;
  padding-bottom: 60px;
  margin-bottom: -35px;
}

.three-wrapper {
  /* :checked */
  /* :checked */
}

.three-wrapper-title {
  position: relative;
  margin: 20px !important;
  text-align: center;
}

.three-wrapper-title h5 {
  font-family: 'fira_sansmedium', Arial, sans-serif;
  color: #0d4ea4;
}

.three-wrapper .hierachy_chart--main {
  padding: 0;
  /* bootstrap approach */
  margin: 0 -1em;
  word-break: break-word;
}

.three-wrapper .hierachy_chart--mainentry,
.three-wrapper .hierachy_chart--department,
.three-wrapper .hierachy_chart--section {
  list-style: none;
}

.three-wrapper .hierachy_chart--departments {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  padding: 0;
}

.three-wrapper .hierachy_chart--departments li {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 5.555%;
          flex: 1 0 5.555%;
}

@media (max-width: 768px) {
  .three-wrapper .hierachy_chart--departments li {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
            flex: 1 0 100%;
  }
}

.three-wrapper .hierachy_chart--main--title {
  font-family: 'fira_sansmedium', Arial, sans-serif;
  color: #0d4ea4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #0d4ea4;
  padding: 1em;
  margin: 2em auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  position: relative;
  font-size: 1.25rem;
  max-width: calc(20% - 0em);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .three-wrapper .hierachy_chart--main--title {
    max-width: calc(100% - 4em);
  }
}

.three-wrapper .hierachy_chart--main--title:before {
  content: "";
  width: 1px;
  height: calc(2em + 1px);
  position: absolute;
  background: #0d4ea4;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .three-wrapper .hierachy_chart--main--title:before {
    display: none;
  }
}

.three-wrapper .hierachy_chart--main--title:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  background: #0d4ea4;
  top: calc(100% + 2em + 1px);
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .three-wrapper .hierachy_chart--main--title:after {
    display: none;
  }
}

.three-wrapper .has-five .hierachy_chart--main--title:after {
  width: calc(402%);
  left: -151%;
}

.three-wrapper .hierachy_chart--departments--title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #0d4ea4;
  padding: 1em;
  margin: 2em 1em;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  font-family: 'fira_sansmedium', Arial, sans-serif;
  color: #0d4ea4;
  text-align: center;
  border-radius: 3px;
  background: #e7edff;
}

.three-wrapper .hierachy_chart--departments--title:before {
  content: "";
  width: 1px;
  height: 2em;
  position: absolute;
  background: #0d4ea4;
  top: calc(-2em - 1px);
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .three-wrapper .hierachy_chart--departments--title:before {
    display: none;
  }
}

.three-wrapper .hierachy_chart--departments--title:after {
  content: "";
  width: 1px;
  height: 2em;
  position: absolute;
  background: #0d4ea4;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.three-wrapper .hierachy_chart--sections {
  padding: 0;
}

.three-wrapper .hierachy_chart--section {
  margin: 0 1em;
  border: 1px solid #0d4ea4;
  border-bottom: none;
}

.three-wrapper .hierachy_chart--section:last-child {
  border-bottom: 1px solid #0d4ea4;
}

.three-wrapper .hierachy_chart--sections .section .richtext ul {
  counter-reset: item 0;
}

.three-wrapper .hierachy_chart--sections .section .richtext ul li {
  list-style-type: circle;
}

.three-wrapper .hierachy_chart--hiddeninput {
  visibility: hidden;
  height: 0;
  position: absolute;
}

.three-wrapper .hierachy_chart--section--link {
  position: relative;
  font-family: 'fira_sansmedium', Arial, sans-serif;
  color: #0d4ea4;
  font-size: 1rem;
  border-radius: 3px;
}

.three-wrapper .hierachy_chart--section--link a {
  display: block;
  padding: 1em;
}

.three-wrapper .hierachy_chart--section--link a:hover {
  background: #f7f8fb;
}

.three-wrapper .hierachy_chart--section--link a:hover .fa {
  display: block;
}

.three-wrapper .hierachy_chart--section--link a .fa {
  float: right;
  display: none;
  top: 3px;
  position: relative;
}

.three-wrapper .hierachy_chart--section--toggler {
  display: block;
  position: absolute;
  top: 50%;
  right: 1em;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  text-transform: none;
}

.hierachy_chart--section--link .three-wrapper .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;
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: -webkit-transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.three-wrapper .hierachy_chart--accordion {
  height: 0;
  overflow: hidden;
  background: white;
  -webkit-transition: padding 0.5s ease-in-out;
  transition: padding 0.5s ease-in-out;
  padding: 0;
}

.three-wrapper .hierachy_chart--hiddeninput:checked ~ .hierachy_chart--accordion {
  height: auto;
  padding: 1em 0;
}

.three-wrapper .hierachy_chart--hiddeninput:checked ~ label .hierachy_chart--section--toggler:after {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: -webkit-transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.three-wrapper .hierachy_chart--hiddeninput:checked ~ label .hierachy_chart--section--toggler .hierachy_chart--accordion {
  height: auto;
  padding: 1em 0;
}

.three-wrapper .hierachy_chart--accordion--content {
  margin: 1em;
}

