﻿.dxbl-treeview-items-container {
    color: var(--bs-body-color);
}

.demo-treeview-template .nav-pills .nav-pills {
    margin-left: 0 !important;
}

.demo-treeview-template h5 {
    margin-bottom: .1rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.demo-treeview-template .treeview-template-icon {
    padding: 7px !important;
    width: 30px !important;
    height: 30px !important;
}

.demo-treeview-template .treeview-expand-btn {
    background-color: currentColor !important;
    width: 0.7em !important;
    height: 0.7em !important;
}

    .demo-treeview-template .treeview-expand-btn.expanded {
        -webkit-mask-image: url("images/icons/chevron-down.svg") !important;
        mask-image: url("images/icons/chevron-down.svg") !important;
    }

    .demo-treeview-template .treeview-expand-btn.collapsed {
        -webkit-mask-image: url("images/icons/chevron-right.svg") !important;
        mask-image: url("images/icons/chevron-right.svg") !important;
    }

.tree-row {
    border-bottom: 1px solid #ccc !important;
    border-collapse: collapse !important;
}

.tree-row-top-border {
    border-top: 1px solid #ccc !important;
    margin-top: -1px !important;
}

.tree-cell {
    border-collapse: collapse !important;
    padding: 4px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    margin-top: 0 !important;
}

.year-cell {
    width: 60px !important;
    min-width: 60px;
    text-align: center !important;
    /*cursor: pointer !important;*/
    border-left: 1px solid #ccc !important;
}

.title-cell {
    color: var(--bs-body-color) !important;
    font-weight: bold !important;
}

.right-year-cell {
    border-right: none !important;
}

.left-item-cell {
    border-left: none !important;
}

.header-cell {
    border-collapse: collapse !important;
    font-weight: bold !important;
    padding: 4px !important;
    border-bottom: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
}

.year-header-cell {
    text-align: center !important;
}

.header-item-cell {
    border-collapse: collapse !important;
    text-align: left !important;
    text-overflow: ellipsis;
}

.header-year-cell {
    text-align: center !important;
    width: 60px !important;
    min-width: 60px;
    text-align: center !important;
}

.item-cell {
    border-left: 1px solid #ccc !important;
    margin: auto;
}

.group-item-cell {
    border-left: 1px solid #ccc !important;
    font-weight: 600 !important;
}

.top-group-cell {
    border-left: none !important;
    border-top: 1px solid #ccc !important;
    margin-top: -1px !important;
}

.right-year-header-cell {
    border-right: none !important;
}

.tree-view {
    border: 1px solid #ccc !important;
    border-collapse: collapse !important;
}

.tree-view, ul {
    padding-left: 0 !important;
}

    .tree-view, ul.list-unstyled {
        list-style-type: none !important;
    }

.tree-view, li {
    color: inherit /*dodgerblue !important*/;
}

.portafolio-icon-hidden {
    display: none;
}

.cell-counter {
    display: inline-block;
    text-decoration: underline;
    cursor: pointer;
}

.btn-actividades-portafolio {
    padding: 0 !important;
    padding-inline: 0 !important;
    margin: 0 !important;
}

/*.llamado-actividad-tipo .dxbl-treeview-item-container {
    font-weight: 400 !important;
    text-decoration: none;
}*/

.dx-treelist .dx-row[aria-expanded="true"],
.dx-treelist .dx-row[aria-expanded="false"] {
    /*font-weight: 600;*/
    /*text-decoration: underline;*/ /* Example style for non-leaf nodes */
    font-weight: 500;
}

/* Style for leaf nodes */
.dx-treelist .dx-row:not([aria-expanded]) {
    text-decoration: underline; /* Example style for non-leaf nodes */
    cursor: pointer;
    /*font-weight: 500;*/
}

.treeview-item > .dxbl-treeview-item-content > .dxbl-treeview-item-container > .dxbl-treeview-item-text-container > .dxbl-treeview-item-text {
    text-decoration: underline; /* Example style for non-leaf nodes */
    cursor: pointer;
}

.treeview-grupo > .dxbl-treeview-item-content > .dxbl-treeview-item-container > .dxbl-treeview-item-text-container > .dxbl-treeview-item-text {
    font-weight: 600 !important;
}

/*.actividad-tipo-grupo {
    font-weight: 700 !important;*/ /* Example style for non-leaf nodes */
/*}*/

.llamado-actividad-row {
    /*text-decoration: underline;*/ /* Example style for non-leaf nodes */
    cursor: pointer;
}

    .llamado-actividad-row:hover {
        /*text-decoration: underline;*/ /* Example style for non-leaf nodes */
        background-color: var(--dxbl-treeview-item-hover-bg);
        /*background-color: yellow;*/
    }

.llamado-actividad-tipo {
    font-weight: 500; /* Example style for non-leaf nodes */
}

.llamado-actividad-grupo {
    font-weight: 600; /* Example style for non-leaf nodes */
}

/* Add the FontAwesome icon when the class is applied */
/* Add the FontAwesome icon when the class is applied */
/*.llamado-actividad-tipo-sin-creditos::before {
    content: "\f06a";*/ /* Unicode for the FontAwesome icon, e.g., exclamation-circle */
/*font-family: "Font Awesome 5 Free";
    font-weight: 900;*/ /* Ensure to use the solid style if required */
/*margin-right: 5px;
}*/
