/* Varaibles - config */


/* SCSS*/

body {
    background: #f4f5f8;
}

.content {
    font-family: Verdana;
    font-size: 14px;
    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 span {
    display: block;
    border: 3px solid #dcdcdc;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    color: #252525;
    font-size: 12px;
    box-shadow: 4px 4px 9px -4px rgba(0, 0, 0, 0.4);
    -webkit-transition: all linear 0.1s;
    -moz-transition: all linear 0.1s;
    transition: all linear 0.1s;
    background: #fff;
    padding: 4px;
}

.org-chart .lvl-b {
    background: #007daa;
    color: #fff;
    padding: 15px 0;
}

.org-chart .lvl-b a {
    color: #fff;
    line-height: 18px;
 
}

.org-chart .department .lvl-b:hover {
    background: #ffffff;
}

.org-chart .department .lvl-b:hover a {
    color: #007daa;
}

.org-chart .board {
    width: 70%;
    margin: 0 auto;
    display: block;
    position: relative;
}

.org-chart .board:before {
    content: "";
    display: block;
    position: absolute;
    height: 162px;
    width: 0px;
    border-left: 2px solid #dcdcdc;
    margin-left: 49%;
    top: 30px;
}

.org-chart ul.columnOne {
    height: 124px;
    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: 2px solid #dcdcdc;
    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: 2px solid #dcdcdc;
    margin: 0 auto;
    top: 40px;
}

.org-chart .departments {
    width: 100%;
    display: block;
    clear: both;
}

.org-chart .departments:before {
    content: "";
    display: block;
    width: 85%;
    height: 49px;
    border-top: 2px solid #dcdcdc;
    border-left: 2px solid #dcdcdc;
    border-right: 2px solid #dcdcdc;
    margin: 0 auto;
    top: 0px;
}

.org-chart .department {
    border-left: 2px solid #dcdcdc;
    width: 13.2%;
    float: left;
    margin: 0px 4px;
}

.org-chart .department:after {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 52px;
    border-left: 2px solid #dcdcdc;
    left: 50%;
    top: -51px;
}

.org-chart .department:first-child:after {
    display: none;
}

.org-chart .department:last-child:after {
    display: none;
}

.org-chart .department.central {
    background: #f4f5f8;
}

.org-chart .department.central:after {
    display: none;
}

.org-chart .department span {
    border-left: 1px solid #dcdcdc;
}

.org-chart .department li {
    padding-left: 25px;
    border-bottom: 2px solid #dcdcdc;
    height: 80px;
}

.org-chart .department li span {
    background: #fff;
    top: 38px;
    position: absolute;
    z-index: 1;
    width: 95%;
    height: auto;
    vertical-align: middle;
    right: 0px;
    line-height: 14px;
    border: 3px solid #dcdcdc;
}

.org-chart .department .sections {
    margin-top: -20px;
}


/* MEDIA QUERIES */

@media all and (max-width: 767px) {
    .org-chart .board {
        margin: 0px;
        width: 100%;
    }
    .org-chart .board:before {
        height: 120px;
    }
    .org-chart .departments:before {
        border: none;
    }
    .org-chart .department {
        float: none;
        width: 100%;
        margin-left: 0;
        background: #f4f5f8;
        margin-bottom: 12px;
    }
    .org-chart .department:before {
        content: "";
        display: block;
        position: absolute;
        width: 15px;
        height: 60px;
        border-left: 2px solid #dcdcdc;
        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.columnOne li {
        width: 65%;
    }
    .org-chart ul.columnOne {
        height: 54px;
    }
}


/*--------- 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: #f4f5f8;
    margin-bottom: 40px;
}

.responsive-content .org-chart .department:before {
    content: "";
    display: block;
    position: absolute;
    width: 15px;
    height: 60px;
    border-left: 2px solid #dcdcdc;
    z-index: 1;
    top: -45px;
    left: 0%;
    margin-left: -2px;
}

.responsive-content .org-chart .department:after {
    display: none;
}

.responsive-content .org-chart .department:first-child:before {
    display: none;
}