/*START builder_list*/
ul.tree {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

ul.tree ul {
    margin: 0 0 0 25em; /* whole tree indentation */
    padding: 0;
    list-style: none;
    color: #369;
    position: relative;
}

ul.tree ul:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-left: 1px solid; /* vertical connectors */
    background: white;
}

ul.tree li {
    font-weight: bold;
    line-height: 2em;
    margin: 0;
    padding: 0.25em 0 0 1em;
    position: relative;
}

/* ul.tree>li {
     padding: 0.25em 0 0 0;
 }*/

ul.tree li:before {
    border-top: 1px solid;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    margin-top: 1em; /* border top width */
    position: absolute;
    top: 0.25em; /* (line-height/2) */
    width: 1em; /* same with indentation */
}

ul.tree li:last-child:before {
    background: white;
    bottom: 0;
    height: auto;
    top: 0.25em; /* (line-height/2) */
}

ul.tree > li:before {
    border-top: none !important;
}

ul.tree li div {
    border-radius: 5px;
    border: 1px solid #afafaf;
    margin: 0;
    min-width: 20em;
    max-width: 20em;
    padding: 0.25em 0.5em;

    background: white;
    box-shadow: 1px 1px 4px #8F949A;
    color: black;
    font-weight: bold;
    overflow: hidden;
}


ul.tree li div a {
    float: inline-end;
    margin-right: 0.25rem !important;
}

ul.tree li div a:first-of-type {
    margin-right: 0 !important;
}

.sticky {
    margin-top: 10px !important;
}

.header-tree li {
    padding: 0.25em 0 0 1em!important;
    text-align: center;
}

ul.header-tree div {
    background-color: #f5f7fa!important;
    border-color: #f6f8fb!important;
}

ul.header-tree li:before {
    width: 0;
}

/*.header-tree li:first-of-type {
    padding: 0.25em 0 0 0!important;
}*/




ul.tree div:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: -40px;
    bottom: -150px;
    left: 26.5em;
    border-right: 1px dotted;
    background: white;
}

ul.tree ul:after {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: 0;
    bottom: -50px;
    left: 7px;
    border-left: 1px dotted; /* vertical connectors */
    background: white;
}

ul.tree li:last-of-type ul:after {
    bottom: 0px;
}

ul.tree li:last-of-type .menu:before,
ul.tree li:last-of-type ul li:last-of-type .submenu:before,
ul.tree li:last-of-type ul li:last-of-type ul li:last-of-type .address:before,
ul.tree li:last-of-type ul li:last-of-type ul li:last-of-type ul li:last-of-type .element:before {
    bottom: 0px;

}

.btn-add {
    position: relative;
    left: 15px;
}

.custom-checkbox {
    width: 25%;
}

/*END builder_list*/

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background-position: center left!important;
}

.nav-link.active {
    color: var(--phoenix-link-color) !important;
    transition: none !important;
}

.form-control:read-only:not(.datetimepicker):not(.dataTable .form-control) {
    color: var(--phoenix-gray-500);
    background-color: rgba(var(--phoenix-gray-100-rgb), 0.7);
    opacity: 1;
}

.tabs-bg-light-info, .tabs-active-bg-light-info.active {
    background-color: #c7ebff !important;
}

.tabs-bg-light-warning, .tabs-active-bg-light-warning.active {
    background-color: #ffefca !important;
}

.tabs-bg-light-success, .tabs-active-bg-light-success.active {
    background-color: #d9fbd0 !important;
}

.tabs-bg-light-danger, .tabs-active-bg-light-danger.active {
    background-color: #ffe0db !important;
}

.tabs-bg-light-secondary, .tabs-active-bg-light-secondary.active {
    background-color: #e3e6ed !important;
}

.mis-table-preview {
    font-size: .9rem !important;
    --phoenix-table-color: var(--phoenix-gray-900);
    --phoenix-table-bg: transparent;
    --phoenix-table-border-color: #e3e6ed;
    --phoenix-table-accent-bg: transparent;
    --phoenix-table-striped-color: var(--phoenix-gray-1000);
    --phoenix-table-striped-bg: rgba(var(--phoenix-1100-rgb), 0.07);
    --phoenix-table-active-color: var(--phoenix-gray-900);
    --phoenix-table-active-bg: rgba(0, 0, 0, 0.1);
    --phoenix-table-hover-color: var(--phoenix-black);
    --phoenix-table-hover-bg: rgba(var(--phoenix-primary-600-rgb), 0.07);
    width: 100%;
    color: var(--phoenix-table-color);
    vertical-align: top;
    border-color: var(--phoenix-table-border-color);
    caption-side: bottom;
    border-collapse: collapse;
    background: white;
    font-family: var(--phoenix-body-font-family);
}

.mis-table-preview th, .mis-table-preview td {
    border: 1px solid #dee2e6;
}

.mis-table-preview>:not(caption)>*>* {
    padding: .25rem .25rem;
     background-color: var(--phoenix-table-bg);
     border-bottom-width: 1px;
     -webkit-box-shadow: inset 0 0 0 9999px var(--phoenix-table-accent-bg);
     box-shadow: inset 0 0 0 9999px var(--phoenix-table-accent-bg);
}

.mis-table-preview>thead {
    vertical-align: bottom;
}

.mis-table-preview>thead>tr>th,
.mis-table-preview>thead>tr>td {
    line-height: 1;
}

.select2-container {
    max-width: 100%;
}

/*.confirm-delete {
    color: #ed2000;
}*/
