/* -----------------   ORGANIGRAMA  ------------------ */


.margin-section{
  margin-left:100px;
}

.item-raiz {
  position: absolute;
  display: inline;
  height: 50px;
  width: 30px;
  color: #fff;
  margin-bottom: 20px;
  border-radius: 20px 0px 0px 20px;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  cursor: pointer;
}
.item-raiz span {
  position: absolute;
  top: 17px;
  left: 22px;
  width: 12px;
  height: 12px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
.item-raiz:focus{
  outline:0!important;
}

.item-hoja{
  position: relative;
  left: 0px;
  height: 50px;
  width: 400px;
  color: #fff;
  margin-bottom: 20px;
  border-radius: 40px;
  cursor: pointer;
}
.item-hoja p {
  width: 100%;
  position: absolute;
  text-align: center;
  margin: 0!important;
  font-size: 9pt;
  font-weight: 600;
}
.item-hoja:focus{
  outline:0!important;
}
.item-hoja a{
  color:#fff!important;
}
.item-hoja:hover a{
  text-shadow:0 1px 2px rgba(0,0,0,.4);
  text-decoration: none!important;
}

.it-hov-ts p:hover{
  text-shadow:0 1px 0px rgba(0,0,0,.4);
  text-decoration: none!important;
}

.it-hov-ts a{
  text-decoration: none!important;
}

.item-doble{
  position: relative;
  left: 33px;
  height: 50px;
  width: 350px;
  color: #fff;
  margin-bottom: 20px;
  border-radius: 0px 40px 40px 0px;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  cursor: pointer;
}
.item-doble:focus{
  outline:0!important;
}
.item-doble:hover{
  opacity: .9;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
  transform: scale(1);
}
.item-doble a{
  color:#fff!important;
}
.item-doble:hover a{
  text-decoration: underline;
}
.item-doble p {
  width: 100%;
  display: inline-block;
  text-align: center;
  margin: 0!important;
  font-size: 9pt;
  font-weight: 600;
  line-height: 16pt;
}
.item-hoja{
  vertical-align: middle;
}
.item-hoja p{
  vertical-align: middle;
  display: inline-block;
  position: relative;
}


.item-ente {
  height: 50px;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
}
.item-ente p {
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 9pt;
}

.span-rotate{
  -webkit-transform: rotate(135deg)!important;
  transform: rotate(135deg)!important;
}

@media (max-width: 570px) {
  .margin-section{
    margin-left:25px;
  }
  .item-raiz{
    height: 70px;
    width: 30px;
    margin-bottom: 20px;
  }
  .item-raiz span {
    top: 25px;
  }
  .item-doble {
    height: 70px;
    width: 220px;
    margin: 5px;
    left: 28px;
    border-radius: 0px 20px 20px 0px;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
  }
  .item-hoja{
    height: 70px;
    width: 250px;
    border-radius: 20px;
    left: -5px;
    margin: 5px;
  }
  .item-doble p,
  .item-hoja p {
    display: block;
    font-size: 9pt;
    padding: 5px;
    font-weight: 600;
  }

  .item-doble:hover,
  .item-hoja:hover{
    transform: scale(1);
  }
}

@media (min-width: 571px) and (max-width: 742px) {
  .margin-section{
    margin-left:50px;
  }
  .item-raiz{
    height: 70px;
    width: 30px;
    margin-bottom: 20px;
  }
  .item-raiz span {
    top: 25px;
  }
  .item-doble {
    height: 70px;
    width: 170px;
    left: 28px;
    margin: 5px;
    border-radius: 0px 20px 20px 0px;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
  }
  .item-hoja{
    left: 0;
    height: 70px;
    width: 202px;
    border-radius: 20px;
    left: -5px;
  }
  .item-doble p,
  .item-hoja p {
    display: block;
    font-size: 9pt;
    padding: 5px;
    font-weight: 600;
  }
  .item-doble:hover,
  .item-hoja:hover{
    transform: scale(1);
  }
}

@media (min-width: 743px) and (max-width: 1023px) {
  .margin-section{
    margin-left:70px;
  }
  .item-raiz{
    height: 70px;
    width: 30px;
    margin-bottom: 20px;
  }
  .item-raiz span {
    top: 25px;
  }
  .item-doble {
    height: 70px;
    width: 200px;
    left: 28px;
    margin: 5px;
    border-radius: 0px 20px 20px 0px;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
  }
  .item-hoja{
    left: 0;
    height: 70px;
    width: 232px;
    border-radius: 20px;
    left: -5px;
    margin: 5px;
  }
  .item-doble p,
  .item-hoja p {
    display: block;
    font-size: 9pt;
    padding: 5px;
  }
  .item-doble:hover,
  .item-hoja:hover{
    transform: scale(1);
  }

}

.no-button{
    background-color: inherit;
    border: 0px;
}
#modal-item-organigrama{
  margin: 10px;
}
#modal-item-organigrama button{
  float: right;
}
#modal-item-organigrama p{
  margin-bottom: 0px;
}
#modal-item-organigrama  .col-xs-6{
  margin-bottom: 10px;
}
#modal-item-organigrama  .md-title{
  font-weight: bold;
}