body {
    background: #fff;
  }
  figure {
      display: block;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 15px;
      margin-inline-end: 15px;
  }
  a {
    color: inherit; 
    text-decoration: none !important; 
  }
  .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: inline-block;
    clear: both;
    margin-bottom: 30px;
    position: relative;
  font-size: 80%;
  max-width: 1357px;
  }
  .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: 3px solid orange;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    color: black;
    /*font-size: 12px;*/
    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;
    background: #92D4A8;
    padding: 4px;
    -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  }
  
  .org-chart ul .section span {
      /*font-size: 12px; */
      line-height: 11px !important;
  }
  
  .org-chart ul li a span:hover{
      transform: translate(0, -5px);
  }
  
  .sub{
      opacity: 0.8;
  }
  .org-chart .lvl-a {
    background: #3498db;
    color: #fff;
  }
  .org-chart .lvl-b {
    background: #2ecc71;
    color: #fff;
    -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-bottomright: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  }
  .org-chart .lvl-b2 {
    background: #2ecc71;
    color: #fff;
  }
  .org-chart .lvl-c {
    background: #f1c40f;
    color: #fff;
  }
  .org-chart .lvl-d {
    background: #7ed6df;
    color: #fff;
  }
  .org-chart .board {
    width: 70%;
    margin: 0 auto;
    display: block;
    position: relative;
  }
  .org-chart .board:before { /* linea top a centro */
    content: "";
    display: block;
    position: absolute;
    height: 130.5%;
    width: 0px;
    border-left: 2px solid orange;
    margin-left: 49%;
    top: 15px;
  }
  .org-chart ul.columnOne {
    height: 90px;
    position: relative;
    width: 100%;
    display: block;
    clear: both;
  }
  .org-chart ul.columnOne li {
    width: 30%;
    margin: 0px auto;
    top: 0px;
  }
  
    .org-chart ul.columnOneS2 {
          position: relative;
          width: 100%;
          display: block;
          height: 90px;
          clear: both;
      }
  
      .org-chart ul.columnOneS2 li:first-child {
          width: 30%;
          float: left;
      }
  
      .org-chart ul.columnOneS2 li {
          width: 30%;
          float: right;
      }
  
      .org-chart ul.columnOneS2:before {
          /*content: "";
      display: inline-block;
      position: relative;
      width: 51%;
      height: 10px;
      border-top: 2px solid orange;
      margin: 0 auto;
      position: absolute;
      right: 0;
      top: 20px;*/
      }
      
      .org-chart ul.columnOneS3 {
          position: relative;
          width: 100%;
          display: block;
          height: 90px;
          clear: both;
      }
  
      .org-chart ul.columnOneS3 li:first-child {
          width: 30%;
          float: left;
      }
  
      .org-chart ul.columnOneS3 li {
          width: 30%;
          float: right;
      }
  
      .org-chart ul.columnOneS3:before {
          content: "";
      display: inline-block;
      position: relative;
      width: 51%;
      height: 10px;
      border-top: 2px solid orange;
      margin: 0 auto;
      position: absolute;
      right: 0;
      top: 20px;
      }
  
  
  
      .org-chart ul.columnOneS {
          position: relative;
          width: 100%;
          display: block;
          height: 90px;
          clear: both;
      }
  
      .org-chart ul.columnOneS li:first-child {
          width: 30%;
          float: left;
      }
  
      .org-chart ul.columnOneS li {
          width: 30%;
          float: right;
      }
  
      .org-chart ul.columnOneS:before {
          content: "";
          display:inline-block;
          position:relative;
          width: 19%;
          height: 10px;
          border-top: 2px solid orange;
          margin: 0 auto;
          top: 20px;
          right: 25.5%;
      }
  
  
  
  
  .org-chart ul.columnTwo {
    position: relative;
    width: 100%;
    display: block;
    height: 90px;
    clear: both;
  }
  .org-chart ul.columnTwo li:first-child {
    width: 30%;
    float: left;
  }
  .org-chart ul.columnTwo li {
    width: 30%;
    float: right;
  }
  .org-chart ul.columnTwo:before {
    content: "";
    display: block;
    position: relative;
    width: 80%;
    height: 10px;
    border-top: 2px solid orange;
    margin: 0 auto;
    top: 40px;
  }
  
  .org-chart ul.columnTwoSpecial {
    position: relative;
    width: 100%;
    display: block;
    height: 90px;
    clear: both;
  }
  .org-chart ul.columnTwoSpecial li:first-child {
    width: 30%;
    float: left;
  }
  .org-chart ul.columnTwoSpecial li {
    width: 30%;
    float: right;
  }
  .org-chart ul.columnTwoSpecial:before {
    content: "";
    display: block;
    position: relative;
    width: 49%;
    height: 10px;
    border-top: 2px solid orange;
    top: 40px;
  }
  
  .org-chart ul.columnThreeS {
    position: relative;
    width: 100%;
    display: block;
    clear: both;
  }
  .org-chart ul.columnThreeS li:first-child {
    width: 30%;
    float: left;
    margin-left: 0;
  }
  .org-chart ul.columnThreeS li {
    width: 30%;
    margin-left: 5%;
    float: left;
    float: center;
    
  }
  
  .org-chart ul.columnThreeS li.alcalde{
      width: 30%;
      margin-left: 35%;
      position: absolute;
      z-index:99;
      top:0;
  }
  
  .org-chart ul.columnThreeS li:last-child {
    width: 30%;
    float: right;
    margin-left: 0;
  }
  .org-chart ul.columnThreeS:before {
    content: "";
          display:inline-block;
          position:relative;
          width: 19%;
          height: 10px;
          border-top: 2px dotted orange;
          margin: 0 auto;
          top: 20px;
          right: 25.5%;
  }
  
  .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 orange;
    margin: 0 auto;
    top: 40px;
  }
  /* */
  .org-chart ul.columnFour {
    position: relative;
    width: 100%;
    display: block;
    clear: both;
  }
  .org-chart ul.columnFour li:first-child {
    width: 20%;
    float: left;
    margin-left: 0;
  }
  .org-chart ul.columnFour li:nth-child(2)  {
    width: 30%;
    margin-left: 15%;
    float: left;
  }
  .org-chart ul.columnFour li:nth-child(3)  {
    width: 15%;
    margin-left: 2%;
    float: left;
  }
  .org-chart ul.columnFour li:last-child {
    width: 15%;
    float: right;
    margin-left: 0;
  }
  .org-chart ul.columnFour:before {
    content: "";
    display: block;
    position: relative;
    width: 80%;
    height: 10px;
    /*border-top: 2px solid orange;*/
    margin: 0 auto;
    top: 40px;
  }
  /* */
  .org-chart ul.columnFourSpecial {
    position: relative;
    width: 100%;
    display: block;
    clear: both;
    height: 80px;
  }
  .org-chart ul.columnFourSpecial li:first-child {
    width: 15%;
    float: left;
    margin-left: 0;
  }
  .org-chart ul.columnFourSpecial li:nth-child(2)  {
    width: 15%;
    margin-left: 35%;
    float: left;
  }
  .org-chart ul.columnFourSpecial li:nth-child(3)  {
    width: 15%;
    margin-left: 2%;
    float: left;
  }
  .org-chart ul.columnFourSpecial li:last-child {
    width: 15%;
    float: right;
    margin-left: 0;
  }
  .org-chart ul.columnFourSpecial:before {
    content: "";
    display: block;
    position: relative;
    width: 80%;
    height: 10px;
    margin: 0 auto;
    top: 40px;
  }
  /* */
  .org-chart .departments {
    width: 100%;
    display: block;
    clear: both;
    text-align: center;
    margin-top: 50px;
  }
  .org-chart .departments:before {
    content: "";
      display: block;
      width: 71.8%;
      height: 22px;
      border-top: 2px solid orange;
      margin-top: -22px;
      position: absolute;
      left: 14.2%;
  }
  
  .org-chart .departments2 {
    width: 100%;
    display: block;
    clear: both;
    text-align: center;
    margin-top: 50px;
  }
  .org-chart .departments2:before {
    content: "";
      display: block;
      width: 83.5%;
      height: 22px;
      border-top: 2px solid orange;
      margin-top: -22px;
      position: absolute;
      left: 8.3%;
  }
  
  .org-chart .departments3 {
    width: 100%;
    display: block;
    clear: both;
    text-align: center;
    margin-top: 50px;
  }
  .org-chart .departments3:before {
    content: "";
      display: block;
      width: 11.9%;
      height: 22px;
      border-top: 2px solid orange;
      margin-top: -22px;
      position: absolute;
      left: 44.1%;
  }
  
  
  .org-chart .department {
    border-left: 2px solid orange;
    width: 12.5%; /* modifica total */
    float: left;
    margin: 0px 4px;
  }
  
  .org-chart .department2, .org-chart .department3  {
  
    display:inline-block; 
    vertical-align:top; 
    width:10%; 
    margin:0px 0.8%;
  }
  
  
  .org-chart .department:after,.org-chart .department2:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 22px;
    border-left: 2px solid orange;
    left: 50%;
    top: -22px;
  }
  .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: 1px solid orange;
  }
  .org-chart .department li {
    padding-left: 25px;
    border-bottom: 2px solid orange;
    height: 80px;
  }
  .org-chart .department li span {
    background: #92D4A8;
    top: 58px;
    position: absolute;
    z-index: 1;
    width: 95%;
    height: auto;
    vertical-align: middle;
    right: 0px;
    line-height: 14px;
    border: 3px solid orange;
  }
  .org-chart .department .sections {
    margin-top: -20px;
  }
  
  .inventario{
      margin-top: -10px;
  }
  
  /* MEDIA QUERIES */
  
  @media all and (max-width: 1756px) {
    .org-chart .board:before { /* linea top a centro */
    height: 127%;
  }
  
  @media all and (max-width: 1726px) {
    .org-chart .board:before { /* linea top a centro */
    height: 129.5%;
  }
  
  @media all and (max-width: 1107px) {
    .org-chart .board:before { /* linea top a centro */
    height: 133.7%;
  }
  
  @media all and (max-width: 900px) {
    .org-chart .board:before { /* linea top a centro */
    height: 133.5%;
  }
  
  @media all and (max-width: 898px) {
    .org-chart .board:before { /* linea top a centro */
    height: 136.5%;
  }
  
  
  @media all and (max-width: 767px) {
    .org-chart .board {
      margin: 0px;
      width: 100%;
    }
    .org-chart .board:before { /* linea top a centro */
    height: 123%;
  }
  
  
  
  
    .org-chart .departments:before, .org-chart .departments2:before, .org-chart .departments3:before {
      border: none;
    }
    .org-chart .department,   .org-chart .department2,  .org-chart .department3  {
      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 orange;
      z-index: 1;
      top: -45px;
      left: 0%;
      margin-left: -2px;
    }
    .org-chart .department2:before, .org-chart .department3:before {
      content: "";
      display: block;
      position: absolute;
      width: 15px;
      height: 60px;
      border-left: 2px solid orange;
      z-index: 1;
      top: -45px;
      left: 0%;
      margin-left: 0px;
    }
    .org-chart .department:after, .org-chart .department2:after {
      display: none;
    }
    .org-chart .department:first-child:before, .org-chart .department2:first-child:before {
      display: none;
    }
    
    .org-chart .lvl-b2 {
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      border-radius: 0px;
      -webkit-border-top-right-radius: 10px;
      -webkit-border-bottom-right-radius: 10px;
      -moz-border-radius-topright: 10px;
      -moz-border-radius-bottomright: 10px;
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px;
      }
    
    .org-chart ul.columnOne li {
    width: 100%;
    }
    
    /**/
    .org-chart ul.columnFourSpecial li:first-child  {
    width: 40%;
    float: left;
    margin-left: 0;
  }
  
    .org-chart ul.columnFourSpecial li:nth-child(2)  {
    width: 45%;
   margin-top: -40px;
    float: right;
  }
  
  .org-chart ul.columnFourSpecial li:nth-child(3)  {
    width: 45%;
    margin-left: 15%;
      margin-top: 10px;
    float: right;
  }
  .org-chart ul.columnFourSpecial li:last-child {
    width: 45%;
    float: right;
      margin-top: 10px;
    margin-left: 0;
  }
    /**/
    .org-chart ul.columnFour li:first-child {
    width: 30%;
    float: left;
    margin-left: 0;
  }
  .org-chart ul.columnFour li:nth-child(2)  {
    width: 30%;
    margin-left: 5%;
    float: left;
  }
  .org-chart ul.columnFour li:nth-child(3)  {
    width: 30%;
    margin-left: 2%;
    float: right;
  }
  .org-chart ul.columnFour li:last-child {
    width: 30%;
    float: right;
    margin-left: 0;
    margin-top: 10px;
  }
  /**/
  
  .inventario{
      margin-top: 0px;
  }
  
  }
  
  @media all and (max-width: 540px) {
      .org-chart .board:before { /* linea top a centro */
        height: 113%;
      }
  }
