
div.orgChart {
    margin: 10px;
    padding: 20px;
}

    div.orgChart h2 {
        margin: 0px;
        font-size: 16px;
        font-weight: normal;
        min-height: 20px;
    }

        div.orgChart h2:hover {
            background: #fcfaca;
            cursor: text;
        }

    div.orgChart ul {
        list-style: none;
        margin: 4px;
        padding: 0px;
        font-size: 0.8em;
        text-align: left;
    }

        div.orgChart ul.stack,
        div.orgChart ul.stack ul {
            text-align: center;
        }

    div.orgChart table {
        width: 100%;
    }

    div.orgChart tr.lines td.line {
        width: 1px;
        height: 20px;
    }

    div.orgChart tr.lines td.top {
        border-top: 1px dashed black;
    }

    div.orgChart tr.lines td.left {
        border-right: 1px dashed black;
    }

    div.orgChart tr.lines td.right {
        border-left: 0px dashed black;
    }

    div.orgChart tr.lines td.half {
        width: 50%;
    }

    div.orgChart td {
        text-align: center;
        vertical-align: top;
        padding: 0px 2px;
    }

    div.orgChart div.node {
        cursor: default;
        border: 1px solid #e7e7e7;
        display: inline-block;
        padding: 5px;
        width: 300px;
        height: 100px;
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #fbfbfb 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #fbfbfb)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #ffffff 0%, #fbfbfb 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #ffffff 0%, #fbfbfb 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #ffffff 0%, #fbfbfb 100%); /* IE10+ */
        background: linear-gradient(to bottom, #ffffff 0%, #fbfbfb 100%); /* W3C */
        line-height: 1.3em;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        position: relative;
        box-shadow: 1px 1px 0px #ddd;
    }

.org-add-button,
.org-del-button,
.org-confirm-del-button {
    position: absolute;
    font-size: 12px;
}

.org-add-button {
    bottom: 3px;
    left: 5px;
    padding-left: 13px;
    background: url(../tree/add.png) no-repeat 0 3px;
}

    .org-add-button:hover,
    .org-del-button:hover {
        background-color: #eef;
        border-radius: 2px;
        cursor: pointer;
    }

.org-del-button {
    background: url(../tree/delete.png) no-repeat;
    
    height: 12px;
    bottom: 7px;
    right: 5px;
    padding-left:20px;
}

.org-input {
    width: 90px;
}

.org-confirm-del-button {
    display: none;
}

@media screen and (max-width:767px) {
    .button_text, .designationText {
        display: none
    }   
    div.orgChart div.node, div.orgChart div.nodeself {
        width: 149px !important;
    }
    div.orgChart div.nodeself, div .orgChart div.node {
        height: 70px !important;
    }
}