
.no-padding{
  padding:0;
}
.org-chart a:link, .org-chart a:visited  {
    color: rgb(225, 225, 225);
}

.org-chart h5 a:link, .org-chart h4 a:link, .org-chart h5 a:visited, .org-chart h4 a:visited{
    color: rgb(225, 225, 225);
}

.org-chart h5, .org-chart p {
    color: rgb(225, 225, 225);
    font-size:1.3em;
}
/* ORG CHART  */
.org-chart .board {
  margin: 0 auto;
  display: inline-block;
  position: relative;
}
.org-chart ul {
  padding: 0;
  margin: 5px 0;
  list-style: none;
}
.org-chart ul li {
  position: relative;
}
.org-chart ul li .member {
  display: block;
  border: 3px solid #999;
  text-align: center;
  overflow: hidden;
  text-decoration: none;
  color: black;
  font-size: 12px;
  -webkit-transition: all linear .1s;
  -moz-transition: all linear .1s;
  transition: all linear .1s;
  background: #015A9C;
  padding-bottom: 10px;
}
.org-chart ul li .member img{
  margin:0 auto 10px;
}
.org-chart ul.cda {
    margin: -40px auto;
    padding: 15px 0px 30px;
}

.org-chart .cda:after {
  content: "";
  display: block;
  position: absolute;
  height: 80%;
  width: 0px;
  border-left: 2px solid #999;
  margin-left: 50%;
  top: -5px;
  z-index: -1;
}
.org-chart ul.odc {
    margin: -10px auto;
    padding: 15px 0px 30px;
}

.org-chart ul.odc:before {
  content: "";
  display: block;
  position: relative;
  width: 35%;
  height: 10px;
  margin: 0 auto;
  top: 40px;
}
.org-chart .odc:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 0px;
  border-left: 2px solid #999;
  margin-left: 50%;
  top: -5px;
  z-index: -1;
}
.org-chart ul.pres {
    margin: -10px auto;
    padding: 15px 0px 30px;
}

.org-chart ul.pres:before {
  content: "";
  display: block;
  position: relative;
  width: 35%;
  height: 10px;
  border-top: 2px solid #999;
  margin: 0 auto;
  margin-left: 50%;
  top: 40px;
}
.org-chart .pres:after {
  content: "";
  display: block;
  position: absolute;
  height: 80%;
  width: 0px;
  margin-left: 50%;
  top: -5px;
  z-index: -1;
}
.org-chart ul.staff {
    margin: -10px auto;
    padding: 15px 0px 30px;
}
.org-chart ul.staff:before {
  content: "";
  display: block;
  position: relative;
  width: 35%;
  height: 10px;
  margin: 0 auto;
  top: 40px;
}
.org-chart .staff:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 0px;
  border-left: 2px solid #999;
  margin-left: 50%;
  top: -5px;
  z-index: -1;
}
.org-chart .dipartimenti {
  width: 100%;
  display: inline-block;
  clear: both;
}
.org-chart .dipartimenti:before {
  content: "";
  display: block;
  width: 67.0%;
  height: 22px;
  border-top: 2px solid #999;
  margin: 0 auto;
  top: 0px;
}
.org-chart .department {
    border-left: 2px solid #999;
    width: 13%;
    float: left;
    margin: 0px 7px;
}
.org-chart .dipartimenti li:after {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 22px;
  border-left: 2px solid #999;
  left: 50%;
  top: -22px;
}
.org-chart .department:first-child:after {
  display: none;
}
.org-chart .department:last-child:after {
  display: none;
}
.org-chart .department li {
  padding-left: 25px;
  border-bottom: 2px solid #999;
  height: 80px;
}


/* MEDIA QUERIES */
@media all and (max-width: 767px) {
  
  .org-chart .dipartimenti:before{
    border:none;
  }
  
  .org-chart .dipartimenti {
    margin-top: -17px;
  }
  
  .org-chart .dipartimenti li:after {
    border-left: none;
  }
  
  .org-chart ul.level3 li .member {
    margin-bottom: 22px;
    padding: 0;
    }
  
  
  .org-chart .board {
    margin: 0px;
    width: 100%;
  }
  .org-chart .department {
    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 #999;
    z-index: 1;
    top: -45px;
    left: 0%;
    margin-left: -2px;
  }
  .org-chart .department:after {
    display: none;
  }
  .org-chart .department:first-child:before {
    display: none;
  }
  
    
  .org-chart ul.level3 .info {
    padding: 10% 0 0;
  }
  
}