.structtree-list table {
    border-spacing: 0;
    border-collapse: separate;
}

.structtree-list td {
    vertical-align: top;
    text-align: center;
}

.structtree-list td>div {
    position: relative;
    margin: auto;
    padding: 15px 0;
}

.structtree-list td>div>div {
    position: relative;
}

.structtree-list td>div a {
    display: block;
    border: 1px solid #000;
    background: #ffbe88;
    color: #000;
    padding: 10px;
    margin: auto;
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffff;
}

.structtree-list td.level-2>div a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 115px;
}
.structtree-list td.level-2>div a span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.structtree-list td.level-3>div a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
}
.structtree-list td.level-3>div a span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.structtree-list table.level-3:first-child tr:not(:last-child) td>div a {
    margin-bottom: 20px;
}

.structtree-list td>div a:hover {
    text-decoration: none;
    box-shadow: 5px 8px 12px #888888;
}

.structtree-list .chucvu {
    font-weight: normal;
    font-size: 17px;
}

.structtree-list td.level-1>div a,
.structtree-list td.level-2>div a {
    font-weight: bold;
    font-size: 12px;
}

.structtree-list tr.level-1:first-child>td>div {
    padding-top: 0;
}

.structtree-list td.level-1>div a {
    width: 250px;
}

.structtree-list td.level-1>div:before {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) top center repeat-y;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.structtree-list td.level-1:not(.only_pho)>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) bottom center repeat-x;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.structtree-list td.level-1>div>i {
    display: block;
    background: url(../image/structtree_arrow_tb.png) bottom center no-repeat;
    width: 100%;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
}


.structtree-list td.level-2.parent {
    border-bottom: 0;
}

.structtree-list td.level-2.children {
    border-top: 0;
}

.structtree-list td.level-2.parent>div>i {
    display: block;
    background: url(../image/structtree_arrow_tb.png) bottom center no-repeat;
    width: 100%;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.structtree-list td.level-2>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) top center repeat-y;
    width: 100%;
    height: 50%;
    position: absolute;
    top: -1;
    left: 0;
}

.structtree-list td.level-1:not(.only_pho) td.level-2:last-child:not(.cuctruongphongban-block)>div:before {
    content: '';
    display: block;
    background: #fff;
    width: 50%;
    height: 50%;
    position: absolute;
    top: -2px;
    right: 0px;
}

.structtree-list td.level-2>div:not(.empty-phongban)>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) repeat-y;
    width: 100%;
    height: calc(100% + 10px);
    position: absolute;
    top: 20px;
    left: 0px;
}

.structtree-list td.cuctruongphongban-block:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) right repeat-y;
    width: 100%;
    height: calc(100% + 3px);
    position: absolute;
    right: 0;
    top: 0;
    padding-top: 14px;
}

.structtree-list td.level-2:not(.left)>div>div:before {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) bottom right repeat-x;
    width: 50%;
    height: 50%;
    position: absolute;
    top: 0;
    right: -1px;
}

.structtree-list td.level-2>div>div {
    padding: 0 10px;
}




.structtree-list td.level-1:not(.only_pho) td.level-2:first-child>div:before {
    content: '';
    display: block;
    background: #fff;
    width: 50%;
    height: 50%;
    position: absolute;
    top: -2px;
    left: 0;
    padding-left: 1px;
}

.structtree-list td.level-2.left>div:not(.empty-phongban)>div:before,
.structtree-list td.level-2:first-child>div>div:before {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) top right repeat-x;
    width: 50%;
    height: 50%;
    position: absolute;
    top: 20px;
    left: 0px;
    padding-bottom: 15px;
    padding-left: 1px;
}

.structtree-list td.level-2>div>div {
    padding: 0 10px;
}







.structtree-list td.level-3>div {
    padding: 0;
}

.structtree-list table.level-3:not(:last-child) tr.level-3:last-child>td>div {
    padding-bottom: 20px;
}

.structtree-list tr.level-3:first-child>td.level-3>div>i,
.structtree-list table.level-3:first-child tr.level-3:not(:first-child) td.level-3>div>i {
    display: block;
    background: url(../image/structtree_arrow_rl.png) bottom left no-repeat;
    width: 10px;
    height: 25px;
    position: absolute;
    top: -1px;
    right: 0;
    z-index: 1;
}

.structtree-list tr.level-3:first-child td.level-3>div:before,
.structtree-list table.level-3:first-child tr.level-3:not(:first-child) td.level-3>div:before {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) bottom right repeat-x;
    width: 50%;
    height: 20px;
    position: absolute;
    top: 0;
    right: -1px;
}

.structtree-list td.level-2.left table.level-3:not(:last-child) tr.level-3 td.level-3>div:after,
.structtree-list td.level-2.left table.level-3:first-child tr.level-3:not(:last-child) td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) left repeat-y;
    width: 100%;
    height: calc(100% + 20px);
    position: absolute;
    top: 0;
    left: -1px;
}

.structtree-list td.level-2:not(.left) table.level-3:not(:last-child) tr.level-3:first-child td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) right repeat-y;
    width: 100%;
    height: calc(100% + 20px);
    position: absolute;
    top: 0;
    right: -1px;
}

.structtree-list td.level-2:not(.left) table.level-3:first-child tr.level-3:not(:last-child) td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) right repeat-y;
    width: 100%;
    height: calc(100% + 40px);
    position: absolute;
    top: 0;
    right: -1px;
}

.structtree-list td.level-2.left table.level-3:last-child:not(:nth-child(2)) tr.level-3:last-child td.level-3>div:after,
.structtree-list td.level-2.left table.level-3:nth-child(2) tr.level-3:first-child td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) left repeat-y;
    width: 100%;
    height: 20px;
    position: absolute;
    top: 0;
    left: -1px;
}

.structtree-list td.level-2:not(.left) table.level-3:last-child:not(:nth-child(2)) tr.level-3:last-child td.level-3>div:after,
.structtree-list td.level-2:not(.left) table.level-3:nth-child(2) tr.level-3:first-child td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) right repeat-y;
    width: 100%;
    height: 20px;
    position: absolute;
    top: 0;
    right: -1px;
}

.structtree-list td.level-2 table.level-3:not(:last-child) tr.level-3:not(:first-child) td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) right repeat-y;
    width: 100%;
    height: calc(100% + 40px);
    position: absolute;
    top: -40px;
    right: -1px;
}

.structtree-list td.level-2.left table.level-3:not(:last-child) tr.level-3:not(:first-child) td.level-3>div:after {
    content: '';
    display: block;
    background: url(../image/structtree_dot.png) left repeat-y;
    width: 100%;
    height: calc(100% + 40px);
    position: absolute;
    top: -40px;
    left: -1px;
}

.structtree-list td.level-3>div>div {
    padding: 0 10px;
}

.structtree-list td.level-2.left td.level-3>div:before,
.structtree-list td.level-2:first-child td.level-3>div:before {
    left: -1px;
    right: auto;
}

.structtree-list td.level-2.left tr.level-3:first-child>td.level-3>div>i,
.structtree-list td.level-2:first-child td.level-3>div>i,
.structtree-list td.level-2.left table.level-3:first-child tr.level-3:not(:first-child) td.level-3>div>i {
    background: url(../image/structtree_arrow_lr.png) bottom right no-repeat;
    width: 10px;
    height: 25px;
    top: -1px;
    left: 0;
    right: auto;
}


.structtree-detail>h1 {
    font-size: 18px;
    color: #0072bf;
}

.structtree-detail>div {
    margin-top: 20px;
}



.detail-content ul,
.detail-content ol {
    margin-left: 20px;
}

@media screen and (max-width: 768px) {
    .level-2.parent.left.max-w-25 {
        width: auto;
        min-width: 200px;
    }

    .level-2.parent.left a {
        height: auto !important;
        white-space: normal;
    }

    .level-2.parent.left .info-lanh-dao span {
        display: block;
        -webkit-line-clamp: unset !important;
        overflow: visible;
        text-overflow: unset;
        height: auto;
        line-height: 1.4;
    }

    .chucvu.d-flex {
        flex-direction: column;
    }

    .img-lanh-dao {
        margin-bottom: 10px;
    }

    .info-lanh-dao {
        text-align: center;
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .structtree-list {
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .structtree-list table.level-1 {
        min-width: 900px;
    }

    .structtree-list::-webkit-scrollbar {
        height: 8px;
    }

    .structtree-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .structtree-list::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .structtree-list::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}