/*Department Org Chart */

#respDeptchart *{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

#respDeptchart  .cf::before,
#respDeptchart  .cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

#respDeptchart  .cf::after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
#respDeptchart  .cf {
    *zoom: 1;
}

/* Generic styling */

#respDeptchart {
  padding-top:50px;
  background: #eee;
  min-height:400px;
}

#respDeptchart ul li {
  background: none !important;
    line-height: 15px;
    margin-bottom: 0px;
    overflow: visible;
    padding-left: 0px;
    list-style-type: none;
}

#respDeptchart ul li.deptOrChSeparator {
  border-bottom: none;
  left: 400px;
  border-right: none;
}

#respDeptchart  .content{
  width: 100%;
  max-width: 1142px;
  margin: 0 auto;
  padding: 0 20px;
}

#respDeptchart  a:focus{
  outline: 2px dashed #f7f7f7;
}

@media all and (max-width: 767px){
  #respDeptchart  .content{
    padding: 0 20px;
  }
}

#respDeptchart ul{
  padding: 0;
  margin: 0;
  list-style: none;
}

#respDeptchart ul a{
  display: block;
  background: #cfebeb;
  border: 4px solid #fff;
  text-align: center;
  overflow: hidden;
  font-size: 12px; /*.7em*/
  text-decoration: none;
  /*font-weight: bold;*/
  color: #333;
  height: 70px;
  margin-bottom: -26px;
  box-shadow: 4px 4px 9px -4px rgba(0,0,0,0.4);
  -webkit-transition: all linear .1s;
  -moz-transition: all linear .1s;
  transition: all linear .1s;
}


@media all and (max-width: 767px){
  #respDeptchart ul a{
    font-size: 12px !important;
    padding-top: 5px;
  }
}


#respDeptchart ul a span{
  padding-top:12px;
  margin-top: -0.7em;
  display: block;
}

/*

 */

#respDeptchart .administration > li > a{
  margin-bottom: 25px;
}

#respDeptchart .director > li > a{
  width: 30%; /*50%*/
  margin: 0 auto 0px auto;
}

#respDeptchart .subdirector::after{
  content: "";
  display: block;
  width: 0;
  height: 130px;
  background: red;
  /*border-left: 4px solid #fff;*/
  left: 45.45%;
  position: relative;
}

#respDeptchart .subdirector,
#respDeptchart .deptOrChs{
  position: absolute;
  width: 100%;
}

#respDeptchart .subdirector > li:first-child,
#respDeptchart .deptOrChs > li:first-child{
  width: 30%; /*18.59894921190893%*/
  height: 64px;
  margin: 0 auto 92px auto;
  padding-top: 25px;
  border-bottom: 4px solid white;
  z-index: 1;
}

#respDeptchart .subdirector > li:first-child{
  float: right;
  right: 16%; /*27.2%*/
  border-left: 4px solid white;
}

#respDeptchart .deptOrChs > li:first-child{
  float: left;
  left: 16%;  /*27.2*/
  border-right: 4px solid white;
}

#respDeptchart .deptOrChs > li:first-child::after { /*added new*/
content: "";
    display: block;
    position: absolute;
    width: 65%;
    height: 35px;
    border-left: 4px solid #fff;
    margin: 0 auto;
    top: 95px;
    left: 35% /*9.1%*/;

}

#respDeptchart .subdirector > li:first-child a,
#respDeptchart .deptOrChs > li:first-child a{
  width: 100%;
}

#respDeptchart .subdirector > li:first-child a{
  left: 25px;
}


/*New Organization Chart Dec 2023*/
orgchart ul.vertical-division {
  flex-direction: column;
  align-items: center;
  margin: 0 2px;
  position: relative;
}

.orgchart ul.vertical-divison::before {
  top: -8px;
  left: calc(50% - 9px);
  height: 10px;
  width: 10px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-bottom-right-radius: 7px;
}

.orgchart ul.vertical-divison > li > .nodecontent {
  margin: 10px 0 0 10px;
}

.orgchart ul.vertical-divison > li::before {
  border-width: 0 0 0 2px;
  left: 0px;
  height: 100%;
  width: 10px;
  border-radius: 0;
}

.orgchart ul.vertical-divison > li:first-child::before {
  height: calc(100% + 2px);
  width: calc(50% - 7px);
  border-top-width: 2px;
}

.orgchart ul.vertical-divison > li:last-child::before {
  height: calc(50% + 6px);
  border-bottom-width: 2px;
  border-bottom-left-radius: 7px;
}

.orgchart ul.vertical-divison > li > .nodecontent::before {
  height: 2px;
  width: 8px;
  top: calc(50% - 1px);
  left: -8px;
  border-width: 2px 0 0 0;
}

.orgchart ul.vertical-divison > li:first-child > .nodecontent {
  margin-top: 20px;
}

.orgchart ul.vertical-divison > li:last-child > .nodecontent::before {
  display: none;
}





@media all and (max-width: 767px){
  #respDeptchart .subdirector > li:first-child,
  #respDeptchart .deptOrChs > li:first-child{
    width: 40%;
  }

  #respDeptchart .subdirector > li:first-child{
    right: 10%;
    margin-right: 2px;
  }

  #respDeptchart .subdirector::after{
    left: 49.8%;
  }

  #respDeptchart .deptOrChs > li:first-child{
    left: 10%;
    margin-left: 2px;
  }
}


#respDeptchart .deptOrChs > li:first-child a{
  right: 25px;
}

#respDeptchart .deptOrCh:first-child,
#respDeptchart .deptOrChs li:nth-child(2){
  margin-left: 0;
  clear: left;
}

#respDeptchart .deptOrChs::after{
  content: "";
  display: block;
  position: absolute;
  width: 65%; /* 81.1%*/
  height: 26px; /*22px*/
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  border-left: 4px solid #fff;
  margin: 0 auto;
  top: 130px;
  left: 15% /*9.1%*/
}

@media all and (max-width: 767px){
  #respDeptchart .deptOrChs::after{
    border-right: none;
    left: 0;
    width: 49.8%;
  }
}

@media all and (min-width: 768px){
  #respDeptchart .deptOrCh:first-child::before,
   #respDeptchart .deptOrCh:last-child::before{
    border:none;
  }
}

#respDeptchart .deptOrCh::before{
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 22px;
  border-left: 4px solid white;
  z-index: 1;
  top: -22px;
  left: 45%; /*50%*/
  margin-left: -4px;
}

#respDeptchart .deptOrCh{
  border-left: 4px solid #fff; /*4px*/
  width: 20%; /*18.59894921190893%;*/
  float: left;
  margin-left: 1.751313485113835% !important;
  margin-bottom: 60px;
}

#respDeptchart .lt-ie8 .deptOrCh{
  width: 30%;
}

#respDeptchart .lt-ie8 .deptOrCh{
  width: 30%;
}


@media all and (max-width: 767px){

  #respDeptchart {
    min-height: 600px;
  }

  #respDeptchart ul a span {
    top:0%;
    margin-top: 0px;
  }

  #respDeptchart .director > li > a {
    width:50%;
    padding-top: 15px;
  }


  #respDeptchart .deptOrCh{
    float: none;
    width: 100%;
    margin-left: 0;
  }

  #respDeptchart .deptOrCh::before{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 60px;
    border-left: 4px solid white;
    z-index: 1;
    top: -60px;
    left: 0%; /*0%*/
    margin-left: -4px;
  }

  #respDeptchart .deptOrCh:nth-child(2)::before{
    display: none;
  }

  #respDeptchart .deptOrChs > li:second-child::before {
    border-left:none;
  }

  #respDeptchart .deptOrChs > li:first-child::after {
    content: "";
    display: block;
    position: absolute;
    width: 65%;
    height: 61px;
    border-left: 4px solid #fff;
    margin: 0 auto;
    top: 95px;
    left: 35% /*9.1%*/;
  }

  #respDeptchart .deptOrCh {
    width: 40% !important;
    float: left;
    margin-left: 24.1% !important;
    margin-bottom: 60px;
  }

  #respDeptchart .deptOrChs::after {
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
  }

}

#respDeptchart .deptOrCh > a{
  margin: 0 0 -26px -4px;
  z-index: 1;
}

/*#respDeptchart .deptOrCh  > a:hover {
  height: 80px;
}*/

#respDeptchart a:hover {
  color: #d42b1e;
}


#respDeptchart .deptOrCh > ul{
  margin-top: 0px;
  margin-bottom: 0px;
}

#respDeptchart .deptOrCh li{
  padding-left: 25px;
  border-bottom: 4px solid #fff;
  height: 80px;
}

#respDeptchart .deptOrCh li a{
background: #fff;
  top: 48px;
  position: absolute;
  z-index: 1;
  width: 90%;
  height: 60px;
  vertical-align: middle;
  right: -1px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMjUiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background-image: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 100%) !important;
  background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.25)), color-stop(100%,rgba(0,0,0,0)))!important;
  background-image: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: -o-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: -ms-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: linear-gradient(135deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00000000',GradientType=1 );
}

#respDeptchart .deptOrCh li a:hover{
  box-shadow: 8px 8px 9px -4px rgba(0,0,0,0.1);
  height: 80px;
  width: 95%;
  top: 39px;
  background-image: none!important;
}

/* Department/ section colors */
#respDeptchart .deptOrCh .dep-a a{ background: #FFD600; }
#respDeptchart .deptOrCh .dep-b a{ background: #AAD4E7; }
#respDeptchart .deptOrCh .dep-c a{ background: #FDB0FD; }
#respDeptchart .deptOrCh .dep-d a{ background: #A3A2A2; }
#respDeptchart .deptOrCh .dep-e a{ background: #f0f0f0; }
