/* Varaibles - config */
/* SCSS*/

.content {
  /* font-family: Verdana; */
  /* font-size: 14px; */
  position: relative;
}
.content * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.org-chart {
  display: block;
  clear: both;
  margin-bottom: 30px;
  position: relative;
  /** * For IE 6/7 only * Include this rule to trigger hasLayout and contain floats. */
  /* Box colors */
  /* 1 column */
  /* 2 column */
  /* 3 column */
  /* DEPARTMENTS COLUMNs */
}
.org-chart.cf:before,
.org-chart.cf:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}
.org-chart.cf:after {
  clear: both;
}
.org-chart.cf {
  /* *zoom: 1; */
}
.org-chart ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.org-chart ul li {
  position: relative;
}
.org-chart ul li span {
  display: block;
  border: 2px solid #92722a;
  text-align: center;
  overflow: hidden;
  text-decoration: none;
  color: #232528;
  font-size: 20px;
  box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.1);
  -webkit-transition: all linear 0.1s;
  -moz-transition: all linear 0.1s;
  transition: all linear 0.1s;
  background: #fff;
  padding: 22px 10px;
  border-radius: 22px;
}
.org-chart .lvl-b {
  background: #92722a;
  color: #fff;
  box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  padding: 22px 57px;
  font-family: "Inter", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

.ar .org-chart .lvl-b {
  font-family: "Alexandria", "Helvetica Neue", ui-sans-serif, system-ui,
    sans-serif;
}
.ar .org-chart .department .lvl-b {
  font-family: "Noto Kufi Arabic", ui-sans-serif, "Helvetica Neue", sans-serif;
  line-height: 28px;
}
.org-chart .department .lvl-b {
  background: #9ea2a9;
  font-size: 18px;
  font-weight: 800;
  align-items: center;
  min-height: 116px;
  padding: 22px 10px;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  margin-bottom: 18px;
}
.org-chart .board {
  width: 71%;
  margin: 0 auto;
  display: block;
  position: relative;
  padding-bottom: 28px;
}
.org-chart .board:before {
  content: "";
  display: block;
  position: absolute;
  height: 922px;
  width: 0px;
  border-left: 2px solid #c3c6cb;
  margin-left: 50%;
  /* top: 15px; */
  top: 20px;
}
.org-chart ul.columnOne {
  height: 124px;
  position: relative;
  width: 100%;
  display: block;
  clear: both;
}
.org-chart ul.columnOne li {
  width: 100%;
  margin: 0px auto;
  top: 20px;
  max-width: 484px;
}
.org-chart ul.columnTwo {
  position: relative;
  width: 100%;
  display: block;
  height: 108px;
  clear: both;
  max-width: 1225px;
  margin: 0 auto;
}
.org-chart ul.columnTwo li:first-child {
  width: 100%;
  max-width: 472px;
  float: left;
}
.org-chart ul.columnTwo li {
  width: 100%;
  max-width: 472px;
  float: right;
}
.org-chart ul.columnTwo:before {
  content: "";
  display: block;
  position: relative;
  width: 80%;
  height: 10px;
  border-top: 2px solid #c3c6cb;
  margin: 0 auto;
  top: 45px;
}
.org-chart ul.columnTwoSingle:before {
  content: "";
  display: block;
  position: relative;
  width: 19%;
  height: 10px;
  border-top: 2px solid #c3c6cb;
  margin: 0 auto;
  top: 45px;
  left: 116px;
}
.org-chart ul.columnThree {
  position: relative;
  width: 100%;
  display: block;
  clear: both;
}
.org-chart ul.columnThree li:first-child {
  width: 30%;
  float: left;
  margin-left: 0;
}
.org-chart ul.columnThree li {
  width: 30%;
  margin-left: 5%;
  float: left;
}
.org-chart ul.columnThree li:last-child {
  width: 30%;
  float: right;
  margin-left: 0;
}
.org-chart ul.columnThree:before {
  content: "";
  display: block;
  position: relative;
  width: 80%;
  height: 10px;
  border-top: 2px solid #c3c6cb;
  margin: 0 auto;
  top: 40px;
}
.org-chart .departments {
  width: 100%;
  display: block;
  clear: both;
  max-width: 1410px;
  margin: 0 auto;
}
.org-chart .departments:before {
  content: "";
  display: block;
  width: 100%;
  max-width: 1130px;
  height: 50px;
  border-top: 2px solid #c3c6cb;
  /* border-left: 2px solid #c3c6cb;
  border-right: 2px solid #c3c6cb; */
  margin: 0 auto;
  top: 0px;
}
.org-chart .department {
  /* border-left: 2px solid #c3c6cb; */
  width: 18%;
  float: left;
  margin: 0px 14px;
}
.org-chart .department:after {
  /* content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 555px;
  border-left: 2px solid #c3c6cb;
  left: 50%;
  top: -48px;
  z-index: -9; */
}
.org-chart .dept-2::before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 450px;
  border-left: 2px solid #c3c6cb;
  left: 50%;
  top: -48px;
  z-index: -9;
}
.org-chart .dept-4::before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 450px;
  border-left: 2px solid #c3c6cb;
  left: 50%;
  top: -48px;
  z-index: -9;
}
.org-chart .dept-3::before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 950px;
  border-left: 2px solid #c3c6cb;
  left: 50.2%;
  top: -48px;
  z-index: -9;
}
.org-chart .dept-1::before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 800px;
  border-left: 2px solid #c3c6cb;
  left: 49.5%;
  top: -48px;
  z-index: -9;
}
.org-chart .dept-5::before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 800px;
  border-left: 2px solid #c3c6cb;
  left: 50%;
  top: -48px;
  z-index: -9;
}
.org-chart .department:first-child:after {
  display: none;
}
.org-chart .department:last-child:after {
  display: none;
}
.org-chart .department.central {
  /* background: #f5eec9; */
}
.org-chart .department.central:after {
  display: none;
}
.org-chart .department span {
  border-left: 2px solid #9ea2a9;
  border: 2px solid #9ea2a9;
}
.org-chart .department li {
  padding-left: 25px;
  /* border-bottom: 2px solid #c3c6cb; */
  height: 186px;
  min-height: 186px;
}
.org-chart .department li span {
  background: #fff;
  top: 38px;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: auto;
  vertical-align: middle;
  font-weight: 400;
  line-height: 28px;
  right: 0px;
  border: 2px solid #9ea2a9;
  min-height: 153px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.org-chart .department .sections {
  margin-top: -20px;
}
/* MEDIA QUERIES */
@media (min-width: 1644px) and (max-width: 1684px) {
  .org-chart ul.columnTwoSingle:before {
    left: 113px;
  }
}
@media (min-width: 1590px) and (max-width: 1643px) {
  .org-chart ul.columnTwoSingle:before {
    left: 110px;
  }
}
@media (min-width: 1550px) and (max-width: 1589px) {
  .org-chart ul.columnTwoSingle:before {
    left: 107px;
  }
}
@media (min-width: 1506px) and (max-width: 1549px) {
  .org-chart ul.columnTwoSingle:before {
    left: 104px;
  }
}
@media (min-width: 1463px) and (max-width: 1505px) {
  .org-chart ul.columnTwoSingle:before {
    left: 101px;
  }
}
@media (min-width: 1411px) and (max-width: 1462px) {
  .org-chart ul.columnTwoSingle:before {
    left: 98px;
  }
}
@media (min-width: 1120px) and (max-width: 1410px) {
  .org-chart ul.columnTwo li:first-child,
  .org-chart ul.columnTwo li {
    max-width: 420px;
  }
  .org-chart ul.columnTwoSingle:before {
    left: 96px;
    width: 187px;
  }
}
@media (min-width: 1370px) and (max-width: 1410px) {
  .org-chart .department {
    width: 15%;
    margin: 0px 34px;
  }
  .org-chart .dept-3::before {
    left: 52.5%;
  }
  .org-chart .dept-5::before {
    left: 55.5%;
  }
  .org-chart .dept-1::before {
    left: 48.5%;
  }
}
@media (min-width: 1200px) and (max-width: 1369px) {
  .org-chart .department {
    width: 16%;
    margin: 0px 20px;
  }
}
@media (min-width: 1120px) and (max-width: 1199px) {
  .org-chart .department {
    width: 16%;
    margin: 0px 15px;
  }
}
@media (min-width: 1120px) and (max-width: 1230px) {
  .org-chart ul.columnTwo li:first-child,
  .org-chart ul.columnTwo li {
    max-width: 390px;
  }
}
@media (min-width: 1120px) and (max-width: 1280px) {
  .org-chart .department .lvl-b {
    min-height: 150px;
  }
  .org-chart .department li span {
    min-height: 205px;
  }
  .org-chart .department li {
    min-height: 230px;
  }
  .org-chart .dept-1::before,
  .org-chart .dept-5::before {
    height: 970px;
  }
  .org-chart .dept-2::before,
  .org-chart .dept-4::before {
    height: 500px;
  }
  .org-chart .dept-3::before {
    height: 1239px;
  }
}
@media (min-width: 1280px) and (max-width: 1420px) {
  .dept-3 ul li:nth-child(4) {
    height: 210px;
  }
  .org-chart .dept-3::before {
    height: 990px;
  }
}
@media all and (max-width: 1120px) {
  .org-chart .board {
    margin: 0px;
    width: 100%;
  }
  .responsive-content .org-chart .departments li:last-child ul li:last-child {
    position: relative;
    top: 5px;
    min-height: 90px;
  }
  .responsive-content
    .org-chart
    .departments
    li:last-child
    ul
    li:last-child:before {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 2px solid #c3c6cb;
    position: absolute;
    bottom: 5px;
  }
  .org-chart .departments:before {
    border: none;
  }
  .org-chart .department {
    float: none;
    width: 100%;
    margin-left: 0;
    /* background: #f5eec9; */
    margin-bottom: 40px;
  }
  .org-chart .department:before {
    content: "";
    display: block;
    position: absolute;
    width: 15px;
    height: 60px;
    border-left: 2px solid #c3c6cb;
    z-index: 1;
    top: -45px;
    left: 0%;
    margin-left: -2px;
  }
  .org-chart .department:after {
    display: none;
  }
  .org-chart .department:first-child:before {
    display: none;
  }
}
/*--------- TO BE REMOVED FROM YOUR CSS --*/
/* this is just to display the behaviour of responsive on codepen */
.responsive-content {
  width: 333px;
  margin: 0px auto;
}
.responsive-content .org-chart ul.columnTwo li:first-child,
.responsive-content .org-chart ul.columnTwo li {
  max-width: 150px;
}
.responsive-content .org-chart ul.columnOne .ministerMobile {
  max-width: 174px !important;
}
.responsive-content .org-chart .board {
  margin: 0px;
  width: 100%;
}
.responsive-content .org-chart ul li span {
  font-size: 18px;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.responsive-content .org-chart .department ul li span {
  width: 272px;
}
.responsive-content .org-chart ul.columnTwo {
  height: 120px;
}
.responsive-content .org-chart ul.columnOne {
  height: 134px;
}
.responsive-content .org-chart ul.columnTwo:before {
  top: 58px;
}
.responsive-content .org-chart ul.columnTwoSingle:before {
  left: 32px;
}
.responsive-content .org-chart .board:before {
  height: 1010px;
}
.responsive-content .org-chart .departments:before {
  border-top: 2px solid #c3c6cb;
  width: 169px;
  margin: 0;
  border-left: 2px solid #c3c6cb;
}
.responsive-content .org-chart .department li {
  width: 100%;
  height: 100px;
  min-height: 125px;
}
.responsive-content .org-chart .department .lvl-b {
  width: 303px;
  height: 100px;
  margin-left: 29px;
}
.responsive-content .org-chart .department {
  float: none;
  width: 100%;
  margin-left: 0;
  border-left: 2px solid #c3c6cb;
  margin-bottom: 40px;
}
.responsive-content .org-chart .department li {
  padding-left: 0;

  height: 80px;
}
.responsive-content .org-chart .department li.section:before {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 2px solid #c3c6cb;
  position: absolute;
  bottom: 35px;
}
.responsive-content .org-chart .department .lvl-b:before {
  content: "";
  display: block;
  width: 20%;
  border-bottom: 2px solid #c3c6cb;
  position: absolute;
  left: 0;
  z-index: -9;
}
.responsive-content .org-chart .department:before {
  content: "";
  display: block;
  position: absolute;
  width: 15px;
  height: 60px;
  border-left: 2px solid #c3c6cb;
  z-index: 1;
  top: -45px;
  left: 0%;
  margin-left: -2px;
}
.responsive-content .org-chart .department:after {
  display: none;
}
.responsive-content .org-chart .department:first-child:before {
  display: none;
}
