﻿
/********************************/
/*        New Table - List       */
/********************************/
.listFilter .listArea .analysisContainer {
    padding: 0;
    background-color: transparent;
}
    /*ICONS TABLE*/
    .listFilter .listArea .analysisContainer .fa-cog {
        color: #b3bfc8;
        position: absolute;
        right: 86px;
        top: 5px;
        font-size: 20px;
        display: block;
        z-index: 2;
        cursor: pointer;
    }

    .listFilter .listArea .analysisContainer .icon-excel-file {
        position: absolute;
        right: 48px;
        top: 4px;
        color: #b3bfc8;
        font-size: 20px;
        display: block;
        z-index: 2;
        cursor: pointer;
    }

        .listFilter .listArea .analysisContainer .fa-cog:hover,
        .listFilter .listArea .analysisContainer .icon-excel-file:hover {
            color: #959fa5;
        }

#table-prototype-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    #table-prototype-container th.active-th {
    }

    #table-prototype-container th.hover-th {
    }

    /*COLUMN CHOOSER*/
    #table-prototype-container .dialog-column-chooser {
        height: 300px;
        width: 200px;
        min-height: 300px;
        position: absolute;
        top: 5%;
        right: 5%;
        border: none;
        background-color: #ededed !important;
        color: #8999a6;
        box-shadow: 1px 1px 4px rgba(0,0,0,.2);
        overflow: auto;
    }

        #table-prototype-container .dialog-column-chooser .column-chooser {
            list-style: none;
            padding: 5px 10px
        }

            #table-prototype-container .dialog-column-chooser .column-chooser .grouped-item {
                display: block;
                font-weight: 600;
                font-size: 11px;
                color: #aab0b4;
                padding: 8px 3px;
                text-transform: uppercase
            }

                #table-prototype-container .dialog-column-chooser .column-chooser .grouped-item:hover {
                    color: #8999a6;
                    background-color: rgba(255,255,255,0.4)
                }

                #table-prototype-container .dialog-column-chooser .column-chooser .grouped-item a {
                    font-weight: 300;
                    font-size: 16px;
                    margin-right: 11px;
                    color: #8999a6;
                }

                    #table-prototype-container .dialog-column-chooser .column-chooser .grouped-item a:hover,
                    #table-prototype-container .dialog-column-chooser .column-chooser .grouped-item a.active {
                        color: #78b8d9;
                    }

        #table-prototype-container .dialog-column-chooser label {
            text-transform: uppercase;
            font-size: 11px;
            color: #8999a6;
            font-weight: bold;
            line-height: 11px;
            padding: 16px 10px 0px;
        }

        #table-prototype-container .dialog-column-chooser i.close {
            float: right;
            padding: 10px;
        }

    #table-prototype-container table.prototype tr:nth-child(even) {
        background-color: #f8f8f8;
    }

    #table-prototype-container table.prototype tr:hover {
        background-color: #ddd;
    }

    #table-prototype-container .paging-container {
        text-align: right;
        padding-right: 18px;
        margin-top: 0;
    }

        #table-prototype-container .paging-container span {
            padding: 2px;
            border-radius: 2px;
            color: #8999a6;
            cursor: pointer;
            font-weight: normal;
            margin: 4px;
            display: inline-block;
            font-size: 11px
        }

            #table-prototype-container .paging-container span.selected {
                color: #fff;
                width: 18px;
                text-align: center;
                background-color: #78b8d9;
                height: 100%
            }

/*Drop Bar/ Header*/
.listArea .prototype .table-container {
    overflow: auto;
    max-height: 90%;
    background-color: white;
}

.listArea .prototype .group-by-container {
    width: 100%;
    display: inline-block;
    height: 30px;
    background-color: #ededed;
    color: #b0b7bd;
    top: -34px;
    font-size: 10px;
    line-height: 30px;
    padding: 0 5px;
}

    .listArea .prototype .group-by-container .grouped-item {
        margin: 0 2px;
        text-transform: uppercase;
        font-size: 10px;
        font-weight: 600;
        border-radius: 2px;
        text-align: left !important;
        height: 28px;
        padding: 5px;
        background-color: #78b8d9;
        color: #fff
    }

#table-prototype-container table.prototype {
    border-collapse: collapse;
    width: 100%;
    width: max-content;
    min-width: 100%;
}

    #table-prototype-container table.prototype thead {
        background-color: #e4e9ea;
        color: #8999a6 !important;
        font-weight: 600;
        font-size: 10px;
        text-transform: uppercase;
        padding: 4px 12px 4px 6px;
        border: none; /*border-bottom: 1px solid #d3dbdd; border-right: 1px solid #d3dbdd;*/
    }

    #table-prototype-container table.prototype thead {
        position: sticky;
        top: 0;
    }

        #table-prototype-container table.prototype thead .header-group th {
            position: sticky;
            top: 0;
            height: 55px;
        }

            #table-prototype-container table.prototype thead .header-group th.target-first-group {
                min-width: 103px;
            }

    #table-prototype-container table.prototype th {
        text-align: left;
        position: sticky;
        top: 0px;
        padding: 8px;
        background-color: #e4e9ea;
        color: #8999a6;
    }

        #table-prototype-container table.prototype th span.column-name {
            display: block;
            white-space: pre;
        }

        #table-prototype-container table.prototype th.target {
            text-align: center;
        }

    #table-prototype-container table.prototype td {
        border: 1px solid #ddd;
        padding: 8px;
        cursor: pointer;
        white-space: nowrap;
    }

    /*Filters input*/
    #table-prototype-container table.prototype thead .header-group th .input-filter {
        border: 0;
        margin-top: 5px;
        width: 100%;
        opacity: 0.5;
        font-size: 11px;
    }

    #table-prototype-container table.prototype thead .header-group th .input-filter-modal {
        width: 100%;
        height: 28px;
        border: 0;
        border-radius: 4px;
    }

    #table-prototype-container table.prototype thead .header-group .clearfix .fa-filter {
        float: left
    }

    /*Table*/
    #table-prototype-container table.prototype .row-item td {
        border: 1px solid #f3f2f2;
        font-weight: 600;
        font-size: 10px;
        padding:5px;
        color: #5b6c7e;
        user-select: none;
        max-width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #table-prototype-container table.prototype .row-item .editable-input {
        height: 25px;
    }

    #table-prototype-container table.prototype .row-group {
        padding: 7px 6px !important;
        color: #2d3e53;
        font-weight: 700;
        font-size: 10px;
        border-top: none;
        letter-spacing: -.05em;
    }

        #table-prototype-container table.prototype .row-group td {
            border: 0
        }

    #table-prototype-container table.prototype tfoot td {
        vertical-align: middle;
        position: sticky;
        border: 0;
        bottom: 0;
        background-color: #ededed;
        color: #5b6c7e;
        font-size: 10px;
        font-weight: 700;
        padding-bottom: 0;
        height: 25px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 8px 6px;
    }

    #table-prototype-container table.prototype .row-group span.tableGroupState {
        width: 15px;
        margin: 0 13px;
    }

    #table-prototype-container table.prototype .row-group span.tableGroupTotals button.tableGroupInfo {
        margin-left: 0px !important;
        vertical-align: middle;
    }

    #table-prototype-container table.prototype .header-container th:nth-of-type(2n) {
        background-color: #dae3e4
    }

    /*TABLE BORDERS*/
    #table-prototype-container table.prototype th:after, #table-prototype-container table.prototype th:before {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
    }

    #table-prototype-container table.prototype th:before {
        top: 0; /*border-top: 1px solid #ddd;*/
    }

    #table-prototype-container table.prototype th:after {
        bottom: 0;
        border-bottom: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

.analysisContainer .dxgvSelectedRow {
    background-color: #78b8d9 !important;
}

#table-prototype-container table.prototype .row-item.dxgvSelectedRow td {
    color: white !important
}

/*Filter Table*/
#table-prototype-container table.prototype .target-header .test {
    background-color: #dae3e4
}

#table-prototype-container table.prototype .target-header {
    cursor: pointer;
    width: 100%;
    position: relative;
}

.ui-draggable-dragging {
    background-color: rgba(120,184,217,0.8) !important;
    height: 30px !important;
    line-height: 30px;
    color: white !important;
    padding: 2px 5px !important;
}

#table-prototype-container table.prototype .target-header th .fa-angle-down, #table-prototype-container table.prototype .target-header th .fa-angle-up {
    display: inline;
    margin: 0 5px;
}

/*TOOLTIP*/
#table-prototype-container table.prototype .tooltip .tooltip-arrow {
    border-right-color: #e2e6ea
}

#table-prototype-container table.prototype .tooltip .tooltip-inner {
    background-color: #fff !important;
    text-align: left;
    color: #8999a6 !important;
    border: 1px solid #e2e6ea;
    letter-spacing: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    box-shadow: 1px 1px 4px rgba(0,0,0, 0.2);
    padding: 18px 20px 18px !important;
    max-width: max-content;
}

#table-prototype-container table.prototype th .tooltip .tooltip-arrow {
    display: none
}
#table-prototype-container table.prototype th .tooltip .tooltip-inner {
    padding: 5px 10px !important;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

#table-prototype-container table.prototype .tooltip.in {
    opacity: 1;
    filter: alpha(opacity=100);
}

/*BARRA DE TOTAIS*/
#table-prototype-container table.prototype .row-total {
    color: #848990;
    font-weight: 700;
    font-size: 9px;
    border-top: none;
    letter-spacing: -.05em;
}

    #table-prototype-container table.prototype .row-total td {
        border: 1px solid #f2f2f2;
    }

    #table-prototype-container table.prototype .row-total:nth-child(even) {
        background-color: #fff !important
    }

/*POP UP FILTERS*/
#table-prototype-container table.prototype .popup-filter {
    top: 46px;
    right: -120px;
    transition: all 200ms ease 80ms;
    box-shadow: 0 2px 8px rgba(0,0,0,.175);
    list-style: none;
    z-index: 999999;
    background: #fff;
    padding: 5px;
    position: absolute;
    background-color: #FFF;
    border-spacing: 0px;
    width: 140px;
    margin-top: 10px;
}

#table-prototype-container table.prototype .last-column .popup-filter {
    right: 0
}

#table-prototype-container table.prototype .popup-filter .popup-filter-item {
    margin-bottom: 8px
}

    #table-prototype-container table.prototype .popup-filter .popup-filter-item:hover {
        background-color: rgba(211,211,211,0.4)
    }

    #table-prototype-container table.prototype .popup-filter .popup-filter-item .fa-check {
        color: #78b8d9;
        margin-right: 5px;
    }

    #table-prototype-container table.prototype .popup-filter .popup-filter-item span.popup-name {
        font-family: "Open Sans", Arial, Helvetica, sans-serif;
        color: #5b6c7e;
        font-size: 11.5px;
        font-weight: 100;
        text-transform: initial;
        padding-left: 19px
    }

#table-prototype-container table.prototype thead .header-group th.target-first-group .input-icon-right .filter {
    position: absolute;
    top: -14px;
    right: 4px;
    font-size: 11px;
}
/*POP UP DATE FILTERS*/
#table-prototype-container table.prototype .popup-date-filter {
    top: 46px;
    right: 15px;
    transition: all 200ms ease 80ms;
    box-shadow: 0 2px 8px rgba(0,0,0,.175);
    list-style: none;
    z-index: 999999;
    background: #fff;
    padding: 5px;
    position: absolute;
    background-color: #FFF;
    border-spacing: 0px;
    margin-top: 10px;
    width: 223px;
}

    #table-prototype-container table.prototype .popup-date-filter label {
        font-size: 12px !important;
        font-weight: 600;
        display: block;
        min-height: 22px;
        padding-top: 6px;
        text-transform: capitalize;
    }

    #table-prototype-container table.prototype .popup-date-filter .name-filter {
        padding: 0;
        margin-bottom: 3px
    }

    #table-prototype-container table.prototype .popup-date-filter input {
        width: 100%;
        padding: 3px;
        height: 28px;
        border: 0;
        background-color: #f6f6f6;
    }

    #table-prototype-container table.prototype .popup-date-filter button {
        width: 100%;
        height: 28px;
        padding: 10px 18px !important;
    }

    #table-prototype-container table.prototype .popup-date-filter .name-filter .options-name {
        font-weight: 500;
        background-color: #f6f6f6 !important;
        border: 0 !important;
        width: 100%;
        height: 28px;
    }

    #table-prototype-container table.prototype .popup-date-filter .option-btn {
        height: 20px;
        margin-bottom: 5px;
    }

    #table-prototype-container table.prototype .popup-date-filter .name-filter.tittle {
        line-height: 20px;
        text-transform: uppercase;
        font-size: 11px !important;
        color: #8999a6 !important;
        letter-spacing: -.05em;
        font-weight: 600 !important;
    }

    #table-prototype-container table.prototype .popup-date-filter .flatpickr-input {
        display: none;
    }

/*Td LEVEL 2 Padding*/
#table-prototype-container table.prototype tbody tr.level-2 td[data-column="LocalName"] {
    padding-left: 30px;
}

/*Td LEVEL 3 Padding*/
#table-prototype-container table.prototype tbody tr.level-3 td[data-column="LocalName"] {
    padding-left: 45px;
}

/*Td LEVEL 4 Padding*/
#table-prototype-container table.prototype tbody tr.level-4 td[data-column="LocalName"] {
    padding-left: 60px;
}

/*Td LEVEL 5 Padding*/
#table-prototype-container table.prototype tbody tr.level-5 td[data-column="LocalName"] {
    padding-left: 75px;
}


#table-prototype-container table.prototype thead tr th div.ui-resizable-e {
    width: 15px;
}

/*CONTEXT MENU*/
/* The whole thing */
.custom-menu {
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    border: 1px solid #CCC;
    white-space: nowrap;
    font-family: sans-serif;
    background: #FFF;
    color: #3d5065;
    font-size: 11px;
    font-weight: 600;
    border-top-width: 4px;
    padding: 0;
    width: 180px;
}

    .custom-menu text {
        text-transform: uppercase;
        padding: 15px;
        display: block;
    }

    /* Each of the items in the list */
    .custom-menu li {
        padding: 8px 12px;
        cursor: pointer;
        list-style-type: none;
        transition: all .3s ease;
        user-select: none;
        font-size: 12px;
        font-weight: 300;
    }

        .custom-menu li:hover {
            background-color: #a7d2e9;
        }