/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

.tree {
    min-height: 20px;
    margin-bottom: 20px;
}

.tree > ul {
    padding-left: 0;
}

.tree > ul > li::before,
.tree > ul > li::after {
    border: 0;
    width: 0;
}

.tree li {
    list-style-type: none;
    margin: 0;
    padding: 10px 0 0 5px;
    position: relative;
    
}

.tree li::before,
.tree li::after {
    content: "";
    left: -20px;
    position: absolute;
    right: auto;
}

.tree li::before {
    border-left: 1px solid #6c757d;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px;
}

.tree li::after {
    border-top: 1px solid #6c757d;
    height: 20px;
    top: 29px;
    width: 25px;
}

.tree li:last-child::before {
    height: 30px;
}

.tree li .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(250, 250, 250);
    padding: 5px 8px;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 4px;
}

.tree li a {
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    width: 26px;
    height: 26px;
    text-decoration: none;
}

.tree li a + a {
    margin-left: 10px;
}

.tree li a.rss {
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 5662.09 5662.09'%3E%3Cpath d='M400 0h4862.09c220 0 400 180 400 400v4862.09c0 220-180 400-400 400H400c-220 0-400-180-400-400V400C0 180 180 0 400 0z' style='fill:%23f60'/%3E%3Cpath d='M1871.45 4432.79c0 312.13-253.84 565.97-566.08 565.97-312.23 0-566.06-253.84-566.06-565.97 0-312.24 253.83-566.06 566.06-566.06 312.24 0 566.08 253.93 566.08 566.06zm3234.93 566.06c8.57-1301.86-593.41-2591.77-1602.04-3415.08C2735.92 942.26 1741.02 578.65 739.31 582.06v1010.38c1185.28-13.73 2353.43 631.18 2962.22 1650.11 321.83 528.74 493.23 1135.39 494.05 1754.42l910.8.14v1.74zM2519.85 2813.62c-497.44-408.2-1137.19-638.09-1780.45-634.59v850.76c699.8-8.56 1385.99 392.83 1720.41 1008.52 162.72 294.3 248.54 625.86 248.77 962.27l854.17.04v-1.77c21.83-596.37-344.94-1650.77-1042.9-2185.23z' style='fill:%23fff%3Bfill-rule:nonzero'/%3E%3C/svg%3E") bottom center no-repeat;
}

.tree li a.atom {
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 5662.09 5662.09'%3E%3Cpath d='M400 0h4862.09c220 0 400 180 400 400v4862.09c0 220-180 400-400 400H400c-220 0-400-180-400-400V400C0 180 180 0 400 0z' style='fill:%230694ba'/%3E%3Cpath d='M2723.05 1304.81c-74.72-58.1-148.1-109.3-219.32-152.2-356.1 322.74-645.48 721.16-873.93 1142.4 30.42 116.92 67.82 235.93 112.76 355.66 136.98-295.06 307.4-574.78 505.81-832.45 141.33-185.5 299.6-359.17 474.68-513.41zm1480.8 2192.05c86.48-34.58 167.47-72.67 242.84-114.16-25.63-116.27-58.8-235.93-98.95-357.77-49.8 119.73-106.56 238.74-169.52 356.36 10.35 39.43 18.66 77.46 25.63 115.57zM1458.11 2160.01c-86.48 34.58-167.47 72.67-242.84 114.16 102.97 467.65 298.77 923.98 554.27 1328.53 115.57 31.84 236.63 58.8 362.56 78.88-148.87-213.3-279.47-439.52-389.53-675.33-109.69-232.74-203.14-479.08-258.82-730.69-10.36-39.42-18.67-77.45-25.64-115.55zm2720.11 115.57c-111.1 502.68-355.34 985.92-648.35 1406 126.63-21.47 248.39-48.45 364.67-80.93 248.59-409.34 446.94-853.47 551.51-1322.27-73.32-40.85-154.31-79.58-242.9-115.57-6.91 36.64-14.52 74.74-24.93 112.77zM3950.6 888.94c184.73 106.56 292.69 363.96 304.46 714.77 91.34 31.12 179.24 65.71 262.91 103.11 7.09-353.74-65.27-770.95-366.71-997.23-357.26-268.22-852.32-117.36-1195 99.08 74.02 51.9 147.41 110.01 220.02 173.67 200.69-107.91 528.66-235.24 774.32-93.4zm-1509.83 908.58c127.97-11.82 258.11-17.33 390.24-17.33 134.93 0 265.02 5.56 390.94 16.62-83.03-101-167.47-192.34-251.85-275.37-91.99-2.81-184.1-2.81-276.07 0-86.49 84.44-170.92 176.41-253.26 276.08zm-1033.79-191.7c7.8-247.51 63.16-566.15 291.99-709.34 259.9-162.61 613.07-14.96 848.88 122.21 616.59 358.79 1074.77 995.18 1371.62 1631.26 44.99-119.73 82.34-238.04 112.76-354.95-198.28-365.56-441.89-710.42-733.49-1007.72-281.32-286.75-620.36-552.02-1009.95-669.7-311.49-94.1-660.43-63.28-886.33 192.09-213.37 241.18-265.02 589.1-258.37 899.88 83.72-37.33 171.55-72.61 262.89-103.73zm1751.31 2898.49c-35.28 33.24 88.59-80.22 0 0zm-435.24-152.2c-29.09-25.63-58.8-52.61-88.59-80.29-134.23-4.86-265.02-15.22-391.64-31.12 85.08 95.49 172.26 184.02 260.87 263.61 73.37-43.6 146.75-94.79 219.36-152.2zm1532-301c-7.6 240.54-58.94 540.71-267.77 692.97-238.74 174-578.81 52.86-810.32-70.89-72.67 62.96-146.69 121.77-220.71 175.08 347.61 210.75 832.63 369.91 1194.11 99.84 303.18-226.47 375.15-645.93 367.61-1000.75-83.76 37.34-171.57 71.91-262.92 103.75zM3419.15 4240c-128.68 15.92-259.45 26.98-392.35 31.12-160.38 156.61-343.58 297.05-541.09 403.4-177.96 95.76-388.06 177.06-593.63 152.14-428.46-51.84-500.88-573.5-486.5-919.5v-3.45c6.97-175.46 32.8-353.93 77.47-523.77-62.26-117.62-119.02-235.93-168.82-354.95-112.25 340.57-184.35 703.07-168.69 1063.01 12.02 276.78 80.09 575.54 277.54 781.56 503.64 525.36 1321.38 24.29 1735.21-365.25 88.59-80.29 175.78-168.82 260.86-264.31zm1226.88-2312.26c47.67 26.28 375.99 206.86-2.78-1.56-3.38-1.85-3.58-1.95-1.3-.69-274.26-150.14-576.71-249.28-882.29-312.08 78.18 102.4 152.9 210.37 223.47 323.83 355.72 101.64 763.53 280.04 982.54 593.06 85.08 121.64 128.68 266.3 90.19 413.05-41.1 156.99-156.48 284.84-279.21 385.37-287.52 235.61-658.32 369.59-1017.37 448.86-414.91 91.6-844.33 118.25-1267.87 86.68-311.94-23.27-630.13-75.81-925.96-179.88-12.46 88.08-22.12 177.38-22.12 266.42 506.76 159.74 1049.2 210.18 1578.28 177.77 519.23-31.84 1064.41-141.01 1521.65-399.18 336.67-168.3 687.79-497.69 687.79-900.9-.02-412.23-352.75-717.25-685.02-900.75zm-4014.86 713.6c134.05-312.51 502.23-504.53 802.15-619.71 79.71-32.86 162.49-61.05 245.65-83.73 69.86-112.76 145.3-221.43 224.17-324.52-305.16 62.71-612.11 160.5-884.28 314.11-13.87 6.9-26.98 13.87-40.14 22.12l-.7-.01c-322.86 186.21-656.85 492.19-646.75 896.24 10.1 405.65 359.11 704.09 687.6 884.86 8.31-91.34 22.11-184.73 40.14-278.82-270.02-166.54-576.2-464.8-427.84-810.54zm1977.21 784.75c70.25 26.72 145.36 40.34 220.59 40.34 316.53 0 589.73-248.27 618.76-563.72 29.01-315.57-192.85-610.9-504.98-668.61-312-57.72-626.36 136.98-712.08 442.78-85.78 305.86 80.73 636.39 377.71 749.21z' style='fill:%23fff%3Bfill-rule:nonzero'/%3E%3C/svg%3E") bottom center no-repeat;
}

.tree li a::before {
    content: "";
    display: inline-block;
}

.tree li a:hover {
    color: #212529;
    background-color: #e9ecef;
}
