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

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

.cf:after {
  clear: both;
}

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

/* Generic styling */

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

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

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

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

.dep-a ul a span, .dep-e ul li:nth-child(4) a span, .dep-e ul li:nth-child(2) a span, .dep-e ul li:nth-child(3) a span, .dep-e ul li:nth-child(6) a span, .dep-b a span {
    top: 34%;
}

ul a {
  display: block;
  background: #fff;
  border: 2px solid #d7dbe0;
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
  font-size: 0.7em;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  height: 70px;
  margin-bottom: -26px;
  -webkit-transition: all linear 0.1s;
  -moz-transition: all linear 0.1s;
  transition: all linear 0.1s;
}

@media print {
  ul a {
    border: 4px solid #000;
  }
}

@media screen and (max-width: 767px) {
  ul a {
    font-size: 1em;
  }
}

ul a span {
  top: 50%;
  padding: 0 17px;
  margin-top: -0.7em;
  display: block;
}

/*
 
 */

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

.director > li > a {
  width: 190px;
  margin: 0 auto 0px auto;
}

.subdirector:after {
  content: '';
  display: block;
  width: 0;
      height: 240px;
  background: red;
  border-left: 4px solid #477eaa;
  left: 50%;
  position: relative;
}

@media print {
  .subdirector:after {
    border-left: 4px solid #000;
  }
}

.subdirector,
.departments {
  position: absolute;
  width: 100%;
}

.departments > li:first-child {
  width: 18.59894921190893%;
  height: 64px;
  margin: 0 auto 175px auto;
  padding-top: 25px;
  border-bottom: 4px solid #477eaa;
  z-index: 1;
}

.subdirector > li:nth-child(1) {
  width: 18.59894921190893%;
  height: 64px;
  margin: 0 auto 112px auto;
  padding-top: 25px;
  border-bottom: 4px solid #477eaa;
  z-index: 1;
}

.subdirector > li:nth-child(2) {
  width: 18.59894921190893%;
  height: 64px;
  margin: 0 auto 12px auto;
  padding-top: 25px;
  border-bottom: 4px solid #477eaa;
  z-index: 1;
}

@media print {
  .subdirector > li:first-child,
  .departments > li:first-child {
    border-bottom: 4px solid #000;
  }
}

.subdirector > li:nth-child(2) a {
    margin: 0 -25px 0 25px;
}
.subdirector > li:nth-child(2) {
      float: right;
    right: 31.4%;
    border-left: 4px solid #477eaa;
    position: absolute;
    top: 100px;
}

.subdirector > li:nth-child(1) {
  float: right;
  right: 31.4%;
  border-left: 4px solid #477eaa;
}

.department.dep-d {
    height: 630px;
        margin: 0 -110px 0 110px;
} 

.department.dep-d a {
        position: absolute;
    bottom: 0;
    width: 167.47px;
    left: -43%;
}

.department.dep-a {
        height: 400px;
        border-left: 4px solid #477eaa!important;
}

.department.dep-a li:nth-child(2), .department.dep-a li:nth-child(5) {
        border-bottom: 4px solid #477eaa!important;
}


@media print {
  .subdirector > li:first-child {
    border-left: 4px solid black;
  }
}

.departments > li:first-child {
  float: left;
    left: 31.8%;
  border-right: 4px solid #477eaa;
}

@media print {
  .departments > li:first-child {
    border-right: 4px solid black;
  }
}

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

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

@media screen and (max-width: 767px) {
  .subdirector > li:first-child,
  .departments > li:first-child {
    width: 40%;
  }

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

  .subdirector:after {
    left: 49.8%;
  }

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

.departments > li:first-child a {
  right: 25px;
}

.department:first-child,
.departments li:nth-child(2) {
  margin-left: 0;
  clear: left;
}

.departments:after {
  content: '';
  display: block;
  position: absolute;
  width: 98.1%;
  height: 90px;
  border-top: 4px solid #477eaa;
  margin: 82px auto 0;
  top: 155px;
  left: 0.1%;
}

@media print {
  .departments:after {
    border-top: 4px solid #000;
    border-right: 4px solid #000;
    border-left: 4px solid #000;
  }
}

@media screen and (max-width: 767px) {
  .departments:after {
    border-right: none;
    left: 0;
    width: 49.8%;
  }
}

@media screen and (min-width: 768px) {
  .department:first-child:before,
  .department:last-child:before {
    border: none;
  }
}

.department:before {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 22px;
  /* border-left: 4px solid #477eaa; */
  z-index: 1;
  top: -22px;
  left: 50%;
  margin-left: -4px;
}

@media print {
  .department:before {
    border-left: 4px solid black;
  }
}

.department {
  border-left: 4px solid #477eaa;
  width: 18.59894921190893%;
  float: left;
  margin-left: 1.751313485113835%;
  margin-bottom: 60px;
}

.department.dep-e {
  border-right: 4px solid #477eaa;
  border-left: none!important;
  width: 18.59894921190893%;
  float: left;
  margin-left: 1.751313485113835%;
  margin-bottom: 60px;
}

@media print {
  .department {
    border-left: 4px solid #000;
  }
}

.lt-ie8 .department {
  width: 18.25%;
}

@media screen and (max-width: 767px) {
  .department {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  .department:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 60px;
    border-left: 4px solid #477eaa;
    z-index: 1;
    top: -60px;
    left: 0%;
    margin-left: -4px;
  }

  .department:nth-child(2):before {
    display: none;
  }
}

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

.department > a:hover {
  height: 80px;
}

.department > ul {
  margin-top: 0px;
  margin-bottom: 0px;
}

.department li {
  padding-left: 25px;
  border-bottom: 4px solid #477eaa;
  height: 80px;
}

@media print {
  .department li {
    border-bottom: 4px solid #000;
  }
}

.department li a {
  background: #fff;
  top: 48px;
  position: absolute;
  z-index: 1;
  width: 90%;
  height: 60px;
  vertical-align: middle;
  right: -1px;
}

.department.dep-e li a {
  background: #fff;
  top: 48px;
  position: absolute;
  z-index: 1;
  width: 90%;
  height: 60px;
  vertical-align: middle;
  left: -1px;
}

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


.department li a:not(.nohover):hover span {
  padding: 0 21px;
}

#departamento_a_division1_organigrama_organizacion_acerca_de, #departamento_a_division2_organigrama_organizacion_acerca_de{
  pointer-events: none !important;
}
