.content {
    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 p {
    display: block;
    border: 1px solid #ddd;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    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: #fff;
    padding: 15px;
}

.org-chart .lvl-b {
    background: #ddd;
    color: #fff;
}
.org-chart .president {
    background-color: #08f;
    /*border-color: #00498A;*/
}

.org-chart .board {
    width: 70%;
    margin: 0 auto;
    display: block;
    position: relative;
}

.org-chart .board:before {
    content: "";
    display: block;
    position: absolute;
    height: 63px;
    width: 0px;
    border-left: 1px solid #ddd;
    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: 30%;
    margin: 0px auto;
    top: 20px;
}

.org-chart ul.columnTwo {
    position: relative;
    width: 100%;
    display: block;
    height: 90px;
    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: relative;
    width: 80%;
    height: 10px;
    border-top: 1px solid #ddd;
    margin: 0 auto;
    top: 40px;
}

.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: 1px solid #ddd;
    margin: 0 auto;
    top: 40px;
}

.org-chart .departments {
    width: 100%;
    display: block;
    clear: both;
}

.org-chart .departments:before {
    content: "";
    display: block;
    width: 75%;
    height: 21px;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    margin: 0 auto;
    top: 0px;
}

.org-chart .department {
    border-left: 1px solid #ddd;
    width: 23%;
    float: left;
    margin: 0px 4px;
}
/*.org-chart .department:before{*/
/*content: "";*/
/*position: absolute;*/
/*display: block;*/
/*width: 10px;*/
/*height: 50%;*/
/*border-left: 1px solid #ddd;*/
/*left: 0;*/
/*top: 0;*/
/*}*/

.org-chart .department:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 21px;
    border-left: 1px solid #ddd;
    left: 50%;
    top: -21px;
}

.org-chart .department:first-child:after {
    display: none;
}

.org-chart .department:last-child:after {
    display: none;
}

.org-chart .department.central:after {
    display: none;
}

.org-chart .department p {
    border-left: 1px solid #ddd;
    background: #333;
    color: #fff;
}

.org-chart .department li {
    padding-left: 25px;
    /*border-bottom: 1px solid #ddd;*/
    /*height: 80px;*/
}
.org-chart .department ul.sections2 {
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.org-chart .department li.left-border:before {
    content: "";
    display: block;
    position: absolute;
    width: 15px;
    height: 1px;
    border-left: 78px solid #ddd;
    z-index: 1;
    top: 60px;
    left: 0%;
    margin-left: -1px;
}
.org-chart .department li p {
    background: #fff;
    top: 38px;
    position: relative;
    z-index: 1;
    /*width: 95%;*/
    height: auto;
    vertical-align: middle;
    right: 0px;
    line-height: 14px;
    color: #333;
}


.org-chart .department .sections {
    margin-top: -20px;
}

@media all and (max-width: 767px) {
    .org-chart .board {
        margin: 0px;
        width: 100%;
    }
    .org-chart .board:before {
        height: 170px;
    }

    .org-chart .departments:before {
        border: none;
        height: 0;
    }

    .org-chart .department {
        float: none;
        width: 100%;
        margin-left: 0;
        /*background: #F5EEC9;*/
        margin-bottom: 50px;
    }

    .org-chart .department:before {
        content: "";
        display: block;
        position: absolute;
        width: 15px;
        height: 60px;
        border-left: 1px solid #ddd;
        z-index: 1;
        top: -50px;
        left: 0%;
        margin-left: -1px;
    }
    .org-chart .department:after {
        display: none;
    }

    .org-chart .department:first-child:before {
        display: none;
    }
}

/*--------- 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 .board {
    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: 1px solid #ddd;
    z-index: 1;
    top: -45px;
    left: 0%;
    margin-left: -1px;
}

.responsive-content .org-chart .department:after {
    display: none;
}

.responsive-content .org-chart .department:first-child:before {
    display: none;
}

#management {
    position: absolute;
    top: 84px;
    right: 0;
    width: 100%;
}

.org-chart ul li p {
    min-width: 100px;
}
.adjust-line-height {
    height: 60px;
}
.special-margin1 {
    margin-top: 56px;
}
.special-margin2 {
    margin-top: 112px;
}
@media screen and (min-width:1200px){
    .org-chart .department {
        width: 23.7%;
    }
}
@media screen and (max-width:992px){
    .org-chart .department {
        width: 23.7%;
    }
}
@media all and (max-width: 767px) {
    /*.adjust-line-height {*/
        /*height: auto;*/
    /*}*/
    /*.special-margin1 {*/
        /*margin-top: auto;*/
    /*}*/
    /*.special-margin2 {*/
        /*margin-top: auto;*/
    /*}*/
    .sm-special-padding1{
        padding-bottom: 56px;
    }
    .sm-special-padding2{
        padding-bottom: 112px;
    }
    .sm-special-padding3{
        padding-bottom: 168px;
    }
    .sm-special-padding4{
        padding-bottom: 135px;
    }
    .org-chart .department {
        width: 100%;
    }
}
