
.content {
   
    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: 1px solid #282e3f;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    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: #ffffff;
    padding: 4px;
    min-height: 57px;
    min-width: 158px;
  }
  
  .principal
  {
      background:#C9B38D !important;
      border: 1px solid White !important;
  }
  
  .principal:hover
  {
      background:#C9B38D !important;
      border: 1px solid #C9B38D !important;
  }
  
  .org-chart ul li span:hover
  {
      background: #C9B38D;
      border: 1px solid #C9B38D;
      color: White;
      
  }
.org-chart .lvl-b {
    background: #282e3f;
    color: #ffffff;
    font-size: 17px;
    font-family: roboto;
}
  .org-chart .organigrama {
    width: 90%;
    margin: 0 auto;
    display: block;
    position: relative;
   
  }
  .org-chart .organigrama-n2 {
    width: 60%;
    margin: 0 auto;
    display: block;
    position: relative;
    
  }
  .org-chart .organigrama-n3{
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
   
  }
  .org-chart .organigrama:before {
    content: "";
    display: block;
    position: absolute;
    height: 779px;
    width: 0px;
    border-left: 2px solid #282e3f;
    margin-left: 49%;
    top: 20px;
  }
  .org-chart ul.columnOne {
    height: 90px;
    position: relative;
    width: 100%;
    display: block;
    clear: both;
  }
  .org-chart ul.columnOne li {
    width: 55%;
    margin: 0px auto;
    top: 20px;
  }
  .org-chart ul.columnTwo {
    position: relative;
    width: 100%;
    display: block;
    height: 95px;
    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: absolute;
    width: 49%;
    height: 10px;
    border-top: 2px solid #282e3f;
    margin: 0 auto;
    top: 30px;
  }*/
.org-chart ul.columnTwo:after {
    content: "";
    display: block;
    position: absolute;
    width: 40%;
    border-top: 2px solid #282e3f;
    margin: 0 auto;
    top: 30%;
    left: 30%;
}
  .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 #282e3f;
    margin: 0 auto;
    top: 40px;
  }
  .org-chart .departments {
    width: 100%;
    display: block;
    clear: both;
    font-family: roboto;
    height:210px;
  }
  .org-chart .departments-n2 {
    width: 100%;
    display: block;
    clear: both;
    font-family: roboto;
    height:200px;
  }
  .org-chart .departments-n3{
    width: 100%;
    display: block;
    clear: both;
    font-family: roboto;
    height:100px;
  }
  .org-chart .departments:before {
    content: "";
    display: block;
    width: 80%;
    height: 22px;
    border-top: 2px solid #282e3f;
    border-left: 2px solid #282e3f;
    border-right: 2px solid #282e3f;
    margin: 0 auto;
    top: 0px;
  }
   
  .org-chart .departments-n2:before {
    content: "";
    display: block;
    width: 67%;
    height: 22px;
    border-top: 2px solid #282e3f;
    border-left: 2px solid #282e3f;
    border-right: 2px solid #282e3f;
    margin: 0 auto;
    top: 0px;
  }
  .org-chart .departments-n3:before {
    content: "";
    display: block;
    width: 43%;
    height: 22px;
    border-top: 2px solid #282e3f;
    border-left: 2px solid #282e3f;
    border-right: 2px solid #282e3f;
    margin: 0 9%;
    top: 0px;
  }
  .org-chart .department {
    border-left: 2px solid #282e3f;
    width: 14%;
    float: left;
    margin: 0px 3%;
  }
  .org-chart .department-n2 {
    border-left: 2px solid #282e3f;
    width: 35%;
    float: left;
    margin: 0px auto;
    z-index:99;
  }
  .org-chart .department-n3 {
    border-left: 2px solid #282e3f;
    width: 15%;
    float: left;
    margin: 0px 2.5%;
     z-index:99;
  }
  
  .org-chart .esp_de-n3:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 22px;
    border-left: 2px solid #282e3f;
    left: 50%;
    top: -22px;
  }
  .right{
      float: right !important;
      
  }
  
  .org-chart .department:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 22px;
    border-left: 2px solid #282e3f;
    left: 50%;
    top: -22px;
  }
  .org-chart .department-n3.spc-one:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 250%;
    border-left: 2px solid #282e3f;
    left: 50%;
    top: -250%;
  }
  .org-chart .department-n3.spc-two:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 150px;
    border-left: 2px solid #282e3f;
    left: 50%;
    top: -150px;
  }
  .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 #282e3f;
    padding: 15px;
  }
  .org-chart .department li {
    padding-left: 25px;
    border-bottom: 2px solid #282e3f;
    height: 80px;
    
  }
  .org-chart .department li span {
    background: #ffffff;
    top: 38px;
    position: absolute;
    z-index: 1;
    width: 95%;
    height: auto;
    min-height: 57px;
    vertical-align: middle;
    right: 0px;
    line-height: 14px;
    border: 1px solid #282e3f;
    padding:10px;
    /*border-radius: 10px;*/
  }
  .org-chart .department .sections {
    margin-top: -20px;
    padding: 0px 0px 0px 0px;
  }
  
  /* MEDIA QUERIES */
  @media all and (max-width: 1720px) {

    .org-chart .department-n3.spc-one:after {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 200%;
        border-left: 2px solid #282e3f;
        left: 50%;
        top: -200%;
    }
  
      }
  @media all and (max-width: 1550px) {
  
      .org-chart .department-n3.spc-one:after {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      height: 150px;
      border-left: 2px solid #282e3f;
      left: 50%;
      top: -150px;
      }
      .org-chart .lvl-b {
      background: #282e3f;
      color: #ffffff;
      font-size: 15px !important;
      }
      }
  @media all and (max-width: 1400px) {
  
      .org-chart .department-n3.spc-one:after {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      height: 130px;
      border-left: 2px solid #282e3f;
      left: 50%;
      top: -130px;
      }
   
      }
  @media all and (max-width: 1280px) {
  
      .org-chart .department-n3.spc-one:after {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      height: 110px;
      border-left: 2px solid #282e3f;
      left: 50%;
      top: -110px;
      }
   
      }
  @media all and (max-width: 900px) {
    .org-chart .organigrama {
      margin: 0px;
      width: 100%;
    }
        .org-chart .organigrama:before {
            height: 1275px !important;
        }
     .org-chart .organigrama-n2 {
      margin: 0px;
      width: 100%;
    }
    .org-chart .department-n3.spc-one:after {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 100px;
        border-left: 2px solid #282e3f;
        left: 50%;
        top: -255px;
    }
    .org-chart .departments:before,.org-chart .departments-n3:before {
      border: none;
    }
    .org-chart .departments-n3 .g1{
      float:none;
      margin:3% 2%;
    }
     .org-chart .departments-n3 .g2{
      float:right;
      margin:3% 2%;
    }
    .org-chart .department {
      float: none;
      width: 100%;
      margin-left: 0;
      /*background: #F5EEC9;*/
      margin-bottom: 40px;
    }
    .org-chart .department-n2 {
      z-index:99;
     width: 40%;
     margin: 0 4%;
    }
    .org-chart .department-n3 {
   border-left: 2px solid #282e3f;
   width: 50%;
    z-index:99;
    }
    .org-chart .department-n3.b1:after {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      height: 155px;
      border-left: 2px solid #282e3f;
      left: 50%;
      top: -155px;
  }
    .org-chart .department-n3.g2:after {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      height: 445px;
      border-left: 2px solid #282e3f;
      left: 50%;
      top: -445px;
  }
    .org-chart .department:before {
  
      border-left: none;

    }
      .org-chart .departments-n2:before {
      content: "";
      display: block;
      width: 50%;
      height: 22px;
      border-top: 2px solid #282e3f;
      border-left: 2px solid #282e3f;
      border-right: 2px solid #282e3f;
      margin: 0 auto;
      top: 0px;
      
    }
    .org-chart .lvl-b {
        background: #282e3f;
        color: #ffffff;
        font-size: 13px;
        
    }
      .org-chart .departments-n3 .lvl-b{
      background: #282e3f;
      color: #ffffff;
      font-size: 10px;
    }
    .org-chart .department:after {
      display: none;
    }
    .org-chart .department:first-child:before {
      display: none;
    }
      
      .right{
          float: left !important;
      }
      
      
  }
@media all and (max-width: 820px) {

    .org-chart .department-n3.b1:after {
  
        height: 173px;
    
        top: -173px;
    }
    .org-chart .department-n3.g2:after {
       
        height: 430px;
       
        top: -430px;
    }
}


    @media all and (max-width: 767px) {
       

        .org-chart .department-n3.g2:after {
            content: "";
            position: absolute;
            display: block;
            width: 10px;
            height: 420px;
            border-left: 2px solid #282e3f;
            left: 50%;
            top: -420px;
        }

        .org-chart .department-n3.b1:after {
            content: "";
            position: absolute;
            display: block;
            width: 10px;
            height: 90px;
            border-left: 2px solid #282e3f;
            left: 50%;
            top: -90px;
        }
    }
@media all and (max-width: 706px) {


    .org-chart .department-n3.g2:after {
        content: "";
        position: absolute;
        display: block;
        width: 10px;
        height: 400px;
        border-left: 2px solid #282e3f;
        left: 50%;
        top: -400px;
    }

}
    @media all and (max-width: 545px) {
        .org-chart .organigrama:before {
            height: 1250px !important;
        }

       

        .org-chart .department-n3.spc-one:after {
            content: "";
            position: absolute;
            display: block;
            width: 10px;
            height: 50px;
            border-left: 2px solid #282e3f;
            left: 50%;
            top: -190px;
        }

        .auto-container {
            width: 100%;
            overflow-x: auto;
            white-space: normal;
        }

        .org-chart .organigrama {
            margin: 0px;
            width: 545px;
        }
    }

    /*--------- TO BE REMOVED FROM YOUR CSS --*/
    /* this is just to display the behaviour of responsive on codepen */
    .responsive-content {
        width: 767px;
        margin: 0px auto;
    }

        .responsive-content .org-chart .organigrama {
            margin: 0px;
            width: 100%;
        }

        .responsive-content .org-chart .departments:before {
            border: none;
        }

        .responsive-content .org-chart .department {
            float: none;
            width: 100%;
            margin-left: 0;
            background: #F5EEC9;
            margin-bottom: 40px;
        }

            .responsive-content .org-chart .department:before {
                content: "";
                display: block;
                position: absolute;
                width: 15px;
                height: 60px;
                border-left: 2px solid #282e3f;
                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;
            }



