/*
 * Used in https://it.tamu.edu/about/our-organization/org-chart.html
 * Source: https://uit.stanford.edu/organization/orgchart
 */
ul#orgchart {
  font-size: 1em;
  margin: 0px auto;
  padding: 0px;
  text-align: center;
  color: #3f3c30;
  width: auto;
}

ul#orgchart div {
  box-sizing: border-box;
}

ul#orgchart a {
  word-wrap: normal;
}

ul#orgchart a:hover,
ul#orgchart a:active {
  color: #500000;
}

ul#orgchart .name a {
  color: #565347;
  text-decoration: none;
  border: none;
}

ul#orgchart .name a:hover,
ul#orgchart .name a:active {
  color: #500000;
}

ul#orgchart .description {
  display: block;
  font-size: 14px;
  line-height: 1.4em;
  margin-top: 8px;
  padding-top: 5px;
  border-top: 1px solid #ccc;
}

ul#orgchart img {
  border: none;
}

ul#orgchart ul {
  margin: 0px;
  padding: 0px;
  background-image: none;
}

ul#orgchart li {
  display: inline-block;
  list-style-type: none;
  list-style-image: none;
  margin: 0px;
  padding: 0px;
  vertical-align: top;
  /*zoom: 1;*/
}

ul#orgchart li ul {
  background-image: url(images/gray.gif);
  background-position: top center;
  background-repeat: no-repeat;
}

ul#orgchart li li {
  margin: 10px -1px 0px -3px;
  padding: 10px 5px 10px 5px;
  text-align: right;
  background-image: url(images/connect_last.gif);
  background-position: top left;
  background-repeat: no-repeat;
  border-top: 1px solid #666;
}

ul#orgchart li > ul > li:last-child {
  border-top: none;
}

ul#orgchart li li ul,
ul#orgchart li.expanded ul {
  margin: 0px;
  padding: 0px 0px 0px 10px;
  background-image: none;
}

ul#orgchart li li li {
  display: list-item;
  margin: 0px;
  padding: 10px 0px 0px 5px;
  text-align: right;
  background-image: url(images/connect.gif);
  background-position: top left;
  background-repeat: no-repeat;
  border-top: none;
}

ul#orgchart li li li:last-child {
  background-image: url(images/connect_last.gif);
  background-position: top left;
  background-repeat: repeat-y;
  border-top: none;
}

ul#orgchart .vp {
  position: relative;
  display: block;
  text-align: center;
  border: 5px double #666;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .avp {
  position: relative;
  display: block;
  text-align: center;
  border: 3px double #666;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .executive {
  position: relative;
  display: block;
  text-align: center;
  border: 2px solid #666;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .director {
  position: relative;
  display: block;
  text-align: center;
  border: 2px solid #666;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .manager {
  position: relative;
  display: block;
  text-align: center;
  border: 1px solid #666;
  margin: 0px;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .staff {
  position: relative;
  display: block;
  text-align: center;
  border: 1px solid #666;
  margin: 0px;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .group {
  position: relative;
  display: block;
  text-align: center;
  border: 1px solid #666;
  margin: 0px;
  padding: 5px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart .external {
  position: relative;
  display: block;
  text-align: center;
  border: 2px solid #666;
  margin: 0px;
  padding: 5px 20px;
  border-radius: 5px;
  background-color: #fff;
}

ul#orgchart li div {
  margin: 0px auto;
  width: 255px;
}

ul#orgchart li li div {
  width: 235px;
}

ul#orgchart li li li div {
  width: 220px;
}

ul#orgchart li li li li div {
  width: 205px;
}

ul#orgchart li li li li li div {
  width: 190px;
}

ul#orgchart ul.special {
  padding: 0 0 0 5px;
  margin-left: 5px;
  border-left: 1px dotted #666;
}

ul#orgchart ul.special li {
  padding-left: 5px;
}

ul#orgchart ul.special li:nth-last-child(2) {
  background-image: url(images/connect_last.gif);
  background-position: top left;
  background-repeat: repeat-y;
  border-top: none;
}

ul#orgchart ul.special li:last-child {
  margin-left: -6px;
  background-image: url(images/connect_special.gif) !important;
  background-position: top left;
  background-repeat: repeat-y;
  border-top: none;
}

ul#orgchart ul.special li:last-child div {
  width: 226px;
}

ul#orgchart .collapsed {
  position: relative;
}

/*
ul#orgchart .collapsed:after {
  content: "+";
  display: inline-block;
  cursor: pointer;
  padding: 2px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 10px;
  font-weight: 600;
  position: absolute;
  top: 14px;
  left: 10px;
  width: 10px;
  text-align: center;
  background-color: #666;
  color: #fff;
}
*/

/* Removed 20250806-cws */
/*
ul#orgchart .collapsed:after {
  content: "+";
  display: inline-block;
  cursor: pointer;
  padding: 0 .2em;
  border-radius: 50%;
  font-size: 1em;
  line-height: 1;
  font-weight: 600;
  position: absolute;
  top: 1em;
  left: .7em;
  text-align: center;
  background-color: #666;
  color: #fff;
}
*/
ul#orgchart .collapsed:hover:after {
  background-color: #500000;
}

/*
ul#orgchart .expanded:after {
  content: "-";
  display: inline-block;
  cursor: pointer;
  padding: 2px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 10px;
  font-weight: 600;
  position: absolute;
  top: 14px;
  left: 10px;
  width: 10px;
  text-align: center;
  background-color: #666;
  color: #fff;
}
*/
/* Removed 20250806-cws */
/*
ul#orgchart .expanded:after {
  content: "-";
  display: inline-block;
  cursor: pointer;
  padding: 0 .3em;
  border-radius: 50%;
  font-size: 1em;
  line-height: 1;
  font-weight: 600;
  position: absolute;
  top: 1em;
  left: .7em;
  text-align: center;
  background-color: #666;
  color: #fff;
}
*/
ul#orgchart .expanded:hover:after {
  background-color: #500000;
}
/*980px*/
@media (min-width: 992px) and (max-width:1199px) {
  ul#orgchart li div {
    width:225px;
  }

  ul#orgchart li li div {
    width: 205px;
  }

  ul#orgchart li li li div {
    width: 190px;
  }

  ul#orgchart li li li li div {
    width: 175px;
  }

  ul#orgchart li li li li li div {
    width: 160px;
  }

  ul#orgchart ul.special li:last-child div {
    width: 196px;
  }
}
/*979px*/
@media (min-width: 768px) and (max-width: 991px) {
  ul#orgchart li div {
    width:175px;
  }

  ul#orgchart li li div {
    width: 155px;
  }

  ul#orgchart li li li div {
    width: 140px;
  }

  ul#orgchart li li li li div {
    width: 125px;
  }

  ul#orgchart li li li li li div {
    width: 110px;
  }

  ul#orgchart ul.special li:last-child div {
    width: 146px;
  }
}

@media (min-width: 768px) {
  ul#orgchart li > ul {
    padding-left:2px;
  }
}

@media (max-width: 767px) {
ul#orgchart .collapsed:after,
ul#orgchart .expanded:after {
    left:18px;
    top: 18px;
  }
}

ul#orgchart .group .manager {
  border: none;
  border-radius: 0;
  padding: 0;
}

@media (min-width: 768px) {
  ul#orgchart .group .manager {
    border-bottom:1px solid #666;
  }
}

ul#orgchart .group .title {
  display: block;
  margin-bottom: 1em;
}

ul#orgchart .group .name {
  display: block;
  line-height: 1.2em;
  margin: .25em 0;
  border: none;
}

ul#orgchart .group .name a.stanfordwho {
  border-bottom: 1px dotted #81785a;
}

ul#orgchart .group .org {
  display: block;
  font-weight: 600;
}

ul#orgchart .group .org sup {
  font-weight: normal;
}

ul#orgchart .group .org a {
  font-weight: 600;
}

ul#orgchart .group ul {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

ul#orgchart .group ul li {
  display: list-item;
  margin: 0px;
  padding: 0px;
  text-align: center;
  background-image: none;
}

ul#orgchart .group ul li:last-child {
  background-image: none !important;
}

ul#orgchart .name {
  display: block;
  border-bottom: 1px solid #666;
}

ul#orgchart .title,
ul#orgchart .role {
  font-size: 0.9em;
  line-height: 1.2em;
  margin: 0.25em 0;
  font-style: italic;
  display: block;
}

ul#orgchart .org {
  font-size: 1em;
  line-height: 1.4em;
  margin: 0.25em 0;
  font-weight: 400;
  display: block;
}

ul#orgchart .suborg {
  font-size: 0.9em;
  display: block;
  margin: 1em 0px 0px 0px;
  font-weight: bold;
}

ul#orgchart .url {
  position: absolute;
  display: block;
  bottom: 6px;
  right: 2px;
  width: 15px;
  height: 15px;
}

ul#orgchart .url a {
  border: none;
}

ul#orgchart .url a i {
  text-size: 12px;
  color: #7b7455;
}

ul#orgchart .url a:hover i,
ul#orgchart .url a:active i,
ul#orgchart .url a:focus i {
  color: #500000;
}

ul#orgchart .key {
  font-size: 12px;
  color: #3f3c30;
  margin: 0px;
  padding: 10px 0px;
}

ul#orgchart .key li {
  list-style-type: none;
  list-style-image: none;
  margin: 0px;
  padding: 0px;
}

ul#orgchart > li > ul:nth-child(2) {
  background-image: url(images/gray.gif);
  background-position: top center;
  background-repeat: repeat-y;
}

ul#orgchart > li > ul.row1:nth-child(2) > li:nth-child(1),
ul#orgchart > li > ul.row2:nth-child(2) > li:nth-child(2),
ul#orgchart > li > ul.row3:nth-child(2) > li:nth-child(2),
ul#orgchart > li > ul.row4:nth-child(2) > li:nth-child(3),
ul#orgchart > li > ul.row4:nth-child(3) > li:nth-child(3) {
  background-image: url(images/connect_row.gif);
  background-position: top left;
}


/*ul#orgchart > li > ul.row4:nth-child(2) > li:nth-child(4),*/
ul#orgchart > li > ul.row2:nth-child(2) > li:nth-child(2),
ul#orgchart > li > ul.row3:nth-child(2) > li:nth-child(3),

ul#orgchart > li > ul:last-child > li:nth-child(3) {
  background-image: url(images/connect_last.gif);
}


@media (min-width: 992px) and (max-width: 1599px) {
  ul#orgchart > li > ul.row4:nth-child(2) > li:nth-child(3),
  ul#orgchart > li > ul.row4:nth-child(3) > li:nth-child(3) {
    background-image: url(images/connect_last.gif);
  }
}

@media (min-width: 992px) and (max-width: 1599px) {
  ul#orgchart > li > ul.row4:nth-child(2) > li:nth-child(2),
  ul#orgchart > li > ul.row4:nth-child(3) > li:nth-child(2) {
    background-image: url(images/connect_row.gif);
    border-top: none;
  }
}

@media (min-width: 992px) and (max-width: 1599px) {
  ul#orgchart > li > ul.row4:nth-child(2) > li:nth-child(4),
  ul#orgchart > li > ul.row4:nth-child(3) > li:nth-child(4) {
    background-image: url(images/connect_row.gif);
  }
}

ul#orgchart > li > ul:last-child {
  background-image: url(images/gray.gif);
  background-position: top center;
  background-repeat: no-repeat !important;
}

ul#orgchart > li > ul.row1,
ul#orgchart > li > ul.row2,
ul#orgchart > li > ul.row3,
ul#orgchart > li > ul.row4 {
  background-repeat: repeat-y;
}

ul#orgchart > li > ul.row1 > li:first-child {
  margin-left: 240px;
}

ul#orgchart > li > ul.row3 > li:first-child {
  margin-right: 240px;
}
/*980px*/
@media (min-width: 992px) and (max-width: 1199px) {
  ul#orgchart > li > ul.row1 > li:first-child {
    margin-left:210px;
  }

  ul#orgchart > li > ul.row3 > li:first-child {
    margin-right: 210px;
  }
}
/*979px*/
@media (min-width: 768px) and (max-width: 991px) {
  ul#orgchart > li > ul.row1 > li:first-child {
    margin-left:165px;
  }

  ul#orgchart > li > ul.row3 > li:first-child {
    margin-right: 165px;
  }
}

@media screen and (max-width: 767px) {
  ul#orgchart {
  }

  ul#orgchart li {
    display: block;
    width: auto !important;
  }

  ul#orgchart li ul {
    background-image: none !important;
  }

  ul#orgchart > li > ul > li {
    margin: 0px 0px 0px 10px !important;
  }

  ul#orgchart li li {
    margin: 0px 0px 0px 10px;
    padding: 10px 0px 0px 10px;
    text-align: right;
    background-image: url(images/connect.gif);
    background-repeat: repeat-y;
    border-top: none;
  }

  ul#orgchart li ul:last-child li:last-child {
    background-image: url(images/connect_last.gif);
    background-repeat: no-repeat;
    border-top: none;
    margin-right: 0px;
  }

  ul#orgchart li li li {
    padding: 10px 0px 0px 10px;
  }

  ul#orgchart div {
    margin: 0px;
    padding: 3px 20px;
    width: auto !important;
  }

  ul#orgchart .group ul li {
    display: inline-block !important;
    margin: 0px 10px;
    line-height: 15px;
    vertical-align: bottom;
  }

  ul#orgchart .name {
    display: inline-block;
    margin: 0px;
    border-bottom: none;
  }

  ul#orgchart .role {
    display: inline-block;
    margin: 0px;
  }

  ul#orgchart .role:before {
    content: "(";
  }

  ul#orgchart .role:after {
    content: ")";
  }

  ul#orgchart .org {
    display: block;
    margin: 0px;
  }

  ul#orgchart .suborg {
    display: block;
    margin: 0.5em 0px 0px 0px;
  }

  ul#orgchart > li > ul:nth-child(2) > li:nth-child(1),
  ul#orgchart > li > ul:nth-child(2) > li:nth-child(2),
  ul#orgchart > li > ul:nth-child(2) > li:nth-child(3),
  ul#orgchart > li > ul:nth-child(2) > li:nth-child(4),
  /*ul#orgchart > li > ul:nth-child(2) > li:last-child,*/
  /*ul#orgchart > li > ul:last-child > li:nth-child(3),*/
  ul#orgchart > li > ul:nth-child(3) > li:nth-child(3) {
    background-image: url(images/connect.gif) !important;
  }

  ul#orgchart > li > ul:last-child > li:last-child {
    background-image: url(images/connect_last.gif) !important;
  }
}

#orgchart.col1 li li {
  margin-top: 0px;
}

#orgchart.col1 li ul {
  background-image: none;
  padding-top: 0px;
}

#orgchart.col1 > li > ul:last-child {
  background-image: none;
  padding-top: 0px;
}

@media (max-width: 767px) {
  #orgchart .avp {
    height:auto !important;
  }
}
