.resp-container {
    width: 100%;
}

.resp-iframe {
    width: 100%;
    height: 100%;
    min-height: 700px;
    border: 0;
}


/*
estructura organigrama
 */

*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.j-1:before,
.j-1:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.j-1:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.j-1 {
    *zoom: 1;
}

/* Generic styling */

body{
    /*background: #F5EEC9; */
}

.content{
    width: 100%;
    max-width: 1142px;
    margin: 0 auto;
    padding: 0 20px;
}

a.administration:focus{
    outline: 2px dashed #f7f7f7;
}

@media all and (max-width: 767px){
    .content{
        padding: 0 20px;
    }
}

ul.administration,
ul.j-2,
ul.j-1,
ul.dir-cuadros,
ul.sections {
    padding: 0;
    margin: 0;
    list-style: none;

}

ul.j-2{ overflow:hidden;

margin-top:215px;

}
ul.j-1{
       overflow:hidden;
}


ul.administration a{
    display: block;
    background:#f78282;
    border: 4px solid #bfbfbf;
    text-align: center;
    overflow: hidden;
    font-size: .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;
    line-height: 1.42857143;
}

.other div a {
    margin-bottom: 10px;
}


@media all and (max-width: 767px){
    ul.administration a{
        font-size: 1em;
    }
}


ul.administration a span{
    top: 50%;
    margin-top: -0.7em;
    display: block;
}

/*

 */

.administration > li > a{
    margin-bottom: 25px;
}

.director > li > a{
    width: 50%;
    margin: 0 auto 0px auto;
}

.subdirector:after{
    content: "";
    display: block;
    width: 0;
    height: 130px;
    background: red;
    border-left: 4px solid #fff;
    left: 45.45%;
    position: relative;
}

.subdirector,
.departments{
    position: absolute;
    width: 100%;
}

.subdirector > li:first-child,
.departments > li:first-child{
    width: 18.59894921190893%;
    height: 64px;
    margin: 0 auto 92px auto;
    padding-top:13px;
    /*border-bottom: 4px solid white;*/
    z-index: 1;
}

.subdirector > li:first-child{
    float: right;
    right: 27.2%;
    border-left: 4px solid #bfbfbf;
}

.departments > li:first-child{
    float: left;
    left:33%;
    border-right: 4px solid #bfbfbf;
}
ul.departments.j-1 > li:first-child  {
   height:100px;
   margin-bottom:20px;
}

.subdirector > li:first-child a,
.departments > li:first-child a{
    width: 100%;
}

.subdirector > li:first-child a{
    left: 25px;
}

@media all 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: 50%;
    height: 22px;
    border-top: 4px solid #bfbfbf;
    border-right: 4px solid #bfbfbf;
    border-left: 4px solid #bfbfbf;
    margin: 0 auto;
    top: 98px;
    left:25%
}
.j-2:after{
    content: "";
    display: block;
    position: absolute;
    width:72%;
    height: 22px;
    border-top: 4px solid #bfbfbf;
    border-right: 4px solid #bfbfbf;
    border-left: 4px solid #bfbfbf;
    margin: 0 auto;
    top:0px;
    left:18.2%
}



@media all and (max-width: 767px){
    .departments:after{
        border-right: none;
        left: 0;
        width: 49.8%;
    }
}

@media all 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 #bfbfbf;
    z-index: 1;
    top: -22px;
    left: 50%;
    margin-left: -4px;
}


.department{
    /*border-left: 4px solid #fff;*/
    width: 18.59894921190893%;
    /*float: left;*/
    margin-left: 1.751313485113835%;
    margin-bottom: 60px;
}
.department.vc{

    float: left;

}
li.dir{
    float: left;
	margin-top:26px;

}
ul.j-1 li.org-ind.dep-a{ width:15.3%; margin:0;
border:none;
padding-left: 8px;
padding-top: 20px;


}
.department > ul.dir-cuadros{ margin-top:-70px;
 border:none;
}

.lt-ie8 .department{
    width: 18.25%;
}

@media all 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 white;
        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;
}

.sections{
border-left: 4px solid #bfbfbf;
margin-left: 12px;

}
.sections.sub{  border-left: 4px dashed #bfbfbf;

}
 .sections.sub .subor{ height:75px;

}

.department > ul{
    margin-top: 0px;
    margin-bottom: 0px;
}

.department li{
    padding-left: 25px;
    border-bottom: 4px solid #bfbfbf;
    height: 80px;
}

.department li a{
    background: #fff;
    top: 48px;
    position: absolute;
    z-index: 1;
    width: 90%;
    height: 60px;
    vertical-align: middle;
    right: -1px;

   /* 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 ); */
}

.department 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 */
.department.dep-a a{ background: #159893/*#ffaa19; *//*#FFD600; */ }
.department.dep-b a{ background: #FFD600; /*#AAD4E7;*/ }
.department.dep-c a{ background:#159893; /*#FDB0FD;*/ }
.department.dep-d a{ background:#90cf04;/*#A3A2A2;*/ }
.department.dep-e a{ background:#ff80c0; /*#f0f0f0*/}

ul.j-1 li.dep-a a, ul.j-1 li.dep-b a, ul.j-1 li.dep-c a { background:#f78282; /*#ff9999; */ }



ul.j-1 li.dep-b{ margin-left:6.7%; }
ul.j-1 li.dep-c{ margin-left: 7%; }
ul.j-1 li.department.dep-a::before{ border:none;}

ul.j-2 li.dep-a{border-right: 4px solid #bfbfbf; border-left:none;  }

.j-2 .dep-a li a{ left:0px; }

.empty{
border-top: 4px solid #bfbfbf;
top: -70px;
width: 18.5%;
left: 32.7%;}
