/* Tablas GridView */
.endalia table.e_gridView {
}

    .endalia table.e_gridView tr.e_gridViewPager td {
        border: none;
        margin: 0;
        padding: 0;
        padding-top: 10px;
    }

        .endalia table.e_gridView tr.e_gridViewPager td:hover {
            background: none;
        }

        .endalia table.e_gridView tr.e_gridViewPager td a, 
        .endalia table.e_gridView tr.e_gridViewPager td span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
            cursor: pointer;
            color: #333;
        }

        .endalia table.e_gridView tr.e_gridViewPager td span {
            color: #fff;
            cursor: default;
            background-color: #428bca;
            border-color: #428bca;
        }

        .endalia table.e_gridView tr.e_gridViewPager td a:hover {
            background-color: #fbfbfb;
        }

    .endalia table.e_gridView tr.e_gridViewPager table td:first-child a, 
    .endalia table.e_gridView tr.e_gridViewPager table td:first-child span {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .endalia table.e_gridView tr.e_gridViewPager table td:last-child a, 
    .endalia table.e_gridView tr.e_gridViewPager table td:last-child span {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

/***********************************GENERAL GRID********************************************/
/*Clase para las cabeceras del grid*/

.endalia .e_headerGrid {
    /*! -webkit-touch-callout: none; */
    /*! -webkit-user-select: none; */
    /*! -khtml-user-select: none; */
    /*! -moz-user-select: none; */
    /*! -ms-user-select: none; */
    /*! user-select: none; */
    /*! cursor: pointer; */
}

.endalia .e_headerGrid:hover {
    background-color: #eee;
}

.endalia .e_GroupingSettings {
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px 0;
    border-bottom: 0;
    font-size: 13px;
    color: #999;
    position: relative;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, .02);
}

.endalia .e_GroupingSettingsWithoutImage {
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px 0;
    border-bottom: 0;
    font-size: 13px;
    color: #999;
    position: relative;
}

.endalia .ighg_GroupedRow td {
    background: #fafafa;
    font-weight: 600 !important;
}

.endalia .e_GroupingSettings::before {
    content: url(../images/ico/grouping_grids.png);
    margin-right: 10px;
    margin-top: 3px;
    vertical-align: -webkit-baseline-middle;
}

.endalia .ighg_GroupedColumn {
    font-weight: 600;
    color: #444;
    border: solid 1px #ddd;
    display: inline-block;
    padding: 2px 4px 2px;
    margin-left: 2px;
    background: #fafafa;
    border-radius: 2px;
}

.endalia .ighg_GroupedColumn img {
    margin-top: -2px;
}
/*.e_GroupingSettings:hover {
    background-color:#fbfbfb;
}*/

/*esta clase se aplica cuando arrastramos la columna al contenedor de group by*/
.endalia .e_GroupingSettingsDragMarkup {
    cursor: move;
    background-color: #e4f1f7;
    border: 3px solid #009ada;
}

.endalia .e_grid_lg_size, 
.endalia .e_gridView table th.e_grid_lg_size {
    width: 25% !important;
}

.endalia .e_grid_sm_size, 
.endalia .e_gridView table th.e_grid_sm_size {
    width: 5% !important;
}

/*Para la botonera de paginación*/

.endalia .igg_Pager {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 0px;
    float: right;
    width: auto !important;
    float: right;
}

.endalia .igg_Pager span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.endalia .igg_Pager span:first-child {
    margin-left: 0;
    border-radius: 2px 0 0 2px;
}

.endalia .igg_Pager span:last-child {
    border-radius: 0px 2px 2px 0px;
}

.endalia .igg_Pager span.igg_PageLink:hover {
    background-color: #eee;
}

.endalia .igg_Pager span.igg_PageCurrent {
    color: #fff;
    cursor: default;
    background-color: #44709b;
    border-color: #357ebd;
}

/*.e_Pager{
    float:right;
    width: auto !important;
}*/

/*Css que se aplica al seleccionar un row. Varía si afecta al row entero o a la celda dependiendo de si la propiedad CellClickAction del grid está a row o a cell*/
/*.e_cellSelected {
    background-color:#009ada !important;
    color: white;
}



.e_buttonAction {
    width:50px !important;
    background-color:#FFF !important;
}

.e_headerColButtonActions {
    width:50px !important;
    background-color:#FFF !important;
}

.e_Filtering {

}

.e_FilteringRuleDropDown {
    background-color:#009ada !important;
    color: white;
}*/

.endalia .e_specialClass {
        /*background-color:yellow !important;*/
}

        .endalia .e_specialClass td:last-child::before {
            content: "";
            font-family: 'Glyphicons Halflings';
            content: "\e006";
            color: #fc0;
            margin-right: 5px;
            font-size: 20px;
            display: inline-block;
            vertical-align: middle;
        }

    .endalia tr[mkr="sizeRow"] td::before {
        content: "";
    }

    .endalia .e_specialOk::before {
        content: "";
        font-family: 'Glyphicons Halflings';
        content: "\e084";
        color: #018f53;
        margin-right: 5px;
        font-size: 20px;
        display: inline-block;
        vertical-align: middle;
    }

/***************** TABLAS GRIDVIEW ******************/

    .endalia .ig_Control .e_gridView.e_With_Options {
        outline: 0;
        overflow: visible !important;
    }

    .endalia .e_gridView {
        width: 100%;
        margin-bottom: 20px;
        outline: none;
        overflow: visible !important;
    }

        .endalia .e_gridView table th, 
        .endalia .e_gridView .e_tableRow td {
            /*line-height: 1.42857;
            border: none;*/
            border-top: 1px solid #eee;
        }

        .endalia .e_gridView table th {
            background: #fafafa;
            padding: 8px 10px;
            color: #666;
            font-size: 13px;
            font-weight: 600;
            border-bottom: solid 1px #ddd;
            /*white-space: nowrap;*/
            overflow: hidden;
            text-overflow: ellipsis;
            height: 50px;
        }

        .endalia .e_gridView .e_tableRow td {
            padding: 5px 8px;
            word-break: break-word;
            font-size: 12px;
        }

@media (min-width: 1600px) {
    .endalia .e_gridView .e_tableRow td {
        padding: 8px 8px;
    }
}

/* Celdas seleccionadas */

.endalia .e_cellSelected {
    outline: none;
}

.endalia .e_tableRow .e_cellSelected > .igg_FilterButton {
    border-color: #ccc;
}

.endalia .e_cellCol:not(.e_Filtering) > td {
    background-color: #efeff4 !important;
    /*color: #fff !important;*/
}

.endalia .e_cellCol button, .endalia .e_cellCol .btn {
    /*border-color: transparent;*/
    color: #000;
}

.endalia th.igg_HeaderCaption:hover {
    background-color: none !important;
}

.endalia .e_buttonAction {
    text-align: right;
    position: relative;
}


    /*.e_buttonAction:after
{
    content: "";
    position: absolute;
    left: -1px;
    top: 0px;
    bottom: 0;
    width: 1px;
    background: #fff;
}
*/

    .endalia .e_buttonAction .btn {
        /*border-color: transparent;*/
        border-radius: 1px;
        padding: 3px 5px 2px;
        font-size: 12px;
        margin-left: -25px !important;
    }

    /*.e_buttonAction .btn:hover 
{
    background: #fafafa;
    border-color: #ccc;
}*/

    .endalia .e_buttonAction a {
        color: #666;
    }

    .endalia .e_buttonAction a .glyphicon {
        color: #999;
        margin-right: 3px;
        font-size: 12px;
    }

/* Dropdown de acciones */

.endalia .e_grid_actions_dropdown {
}

.endalia .e_grid_actions_dropdown.dropdown-menu a, 
.endalia .e_more_actions_dropdown.dropdown-menu a {
    padding-left: 15px;
}

.endalia .e_grid_actions_dropdown.dropdown-menu a .glyphicon, 
.endalia .e_more_actions_dropdown.dropdown-menu a .glyphicon, 
.endalia .e_btn_group_table .e_btn_group_table_item .glyphicon {
    margin-right: 10px;
    display: inline-block;
    color: #999;
    font-size: 12px;
}

/* Filtros externos Grid */

.endalia .e_grid_filters {
    margin: 0;
    border-top: solid 1px #ddd;
    padding: 15px 0 0;
}

.endalia .e_grid_filters.form-inline .control-label {
    margin-right: 5px;
}

/* Filtros Internos Grid */

.endalia .igg_FilterButton {
    background: #fff;
    border: solid 1px #eee;
    margin-right: 10px;
    float: left !important;
}

.endalia .igg_FilterButton:hover {
    background: #fbfbfb;
    border: solid 1px #ccc;
}

.endalia .e_gridView .e_Filtering td {
    padding: 5px;
}

.endalia .e_FilteringRuleDropDown {
    background: #fff;
    border: solid 1px #ccc;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, .05);
}

    .endalia .e_FilteringRuleDropDown > ul {
        outline: none;
        font-size: 12px;
    }

        .endalia .e_FilteringRuleDropDown > ul li {
            padding: 2px 5px;
        }

            .endalia .e_FilteringRuleDropDown > ul li:hover {
                background: #fbfbfb;
                cursor: pointer;
            }

/*Variaciones bordes*/

.endalia .e_gridView table th {
    background: #fafafa;
    padding: 8px 0px;
    text-indent: 8px;
    border-bottom: solid 1px #eee;
    text-overflow: ellipsis;
    min-width: 50px;
    position: relative;
    border: none;
    /*width: auto !important;*/
    white-space: nowrap;
}

    .endalia .e_gridView table th span {
        color: #666;
        font-size: 13px;
        font-weight: 600;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: calc(100%-10px);
        display: block;
        position: absolute;
        left: 8px;
        right: 5px;
        top: 7px;
        bottom: 5px;
        pointer-events: none;
        min-height: 24px;
    }

    .endalia .e_gridView table th img {
        position: absolute;
        right: 3px;
        top: 40%;
    }

.endalia .e_gridView.e_HasGroupedColumns1 table th:first-child {
    width: 20px !important;
}

.endalia .e_gridView.e_HasGroupedColumns2 table th:first-child {
    width: 40px !important;
}

.endalia .e_gridView.e_HasGroupedColumns3 table th:first-child {
    width: 60px !important;
}

.endalia .e_gridView.e_HasGroupedColumns4 table th:first-child {
    width: 80px !important;
}

.endalia .e_gridView.e_HasGroupedColumns5 table th:first-child {
    width: 100px !important;
}

.endalia .e_gridView.e_HasGroupedColumns6 table th:first-child {
    width: 120px !important;
}

.endalia .e_gridView.e_HasGroupedColumns7 table th:first-child {
    width: 140px !important;
}

.endalia .e_gridView.e_HasGroupedColumns8 table th:first-child {
    width: 160px !important;
}

.endalia .e_gridView.e_HasGroupedColumns9 table th:first-child {
    width: 180px !important;
}

.endalia .e_gridView.e_HasGroupedColumns10 table th:first-child {
    width: 200px !important;
}

.endalia .e_gridView table th:hover {
    background: #eee;
}

.endalia .e_gridView .e_tableRow td:not(:last-child), 
.endalia .e_gridView table th:not(:last-child) {
    /*border-right: solid 1px #ddd;*/
}

.endalia th.e_headerColButtonActions {
    border-left: none !important;
    position: relative;
    pointer-events: none;
}

    .endalia th.e_headerColButtonActions * {
        display: none !important;
    }

/*th.e_headerColButtonActions:after
{
    content: "";
    position: absolute;
    left: -1px;
    top: 0px;
    bottom: 0;
    width: 1px;
    background: #fbfbfb;
}*/


.endalia .e_gridView td.e_before_options {
    border-right: medium none !important;
}

.endalia .e_gridView td.e_buttonAction {
    border-left: medium none !important;
}

.endalia th.e_headerColButtonActions:hover {
    background: #fafafa !important;
    cursor: default;
}

.endalia .e_gridView tr.ig_Header > td > div > table > tbody {
    /*border: solid 1px #ddd;
   border-bottom: none;*/
}

/*@media (min-width:768px)
{*/

.endalia .e_gridView > table > tbody > tr:nth-child(2) > td > table {
    border: solid 1px #ddd;
    /*border-top-color: #eee;*/
    box-shadow: 3px 3px 0px rgba(0, 0, 0, .02);
}

.endalia .e_gridView > table > tbody > tr:nth-last-child(2) > td > div {
    border: solid 1px #ddd;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, .02);
    margin-top: -1px;
}

.endalia .e_gridView.e_With_Options > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td > div {
    overflow: visible !important;
}

.endalia .e_gridView > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td > div > table {
    table-layout: fixed !important;
    width: 100% !important;
}

    .endalia .e_gridView > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td > div > table td {
        min-width: 50px;
    }

/* Tablas responsivas */

@media (max-width: 767px) {
    .endalia .e_gridResponsive > table > tbody > tr:nth-child(2) > td {
        display: block;
        overflow-x: scroll;
        box-shadow: inset -1px 0px 0px #eee;
        position: relative;
        box-shadow: 3px 3px 0px rgba(0, 0, 0, .02);
        border: solid 1px #ddd;
    }

        .endalia .e_gridResponsive > table > tbody > tr:nth-child(2) > td > table {
            width: 900px !important;
            margin-left: -1px;
            border: none;
        }

            .endalia .e_gridResponsive > table > tbody > tr:nth-child(2) > td > table > tbody {
                display: block;
                width: 900px;
            }

                .endalia .e_gridResponsive > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td > div {
                    overflow-x: hidden !important;
                    overflow-y: visible !important;
                }
}

/*******Sombra de la cabecera del grid al mover las columns *******/
.endalia .e_gridView > table > tbody > tr:nth-child(2) > td > table > tbody:nth-child(2) > tr > td > div > table:not([mkr="dataTbl.hdn"]) {
    width: 100px !important;
}

/* Dropdown de acciones */

.endalia .e_grid_actions_dropdown {
}


    .endalia .e_grid_actions_dropdown.dropdown-menu a, 
    .endalia .e_more_actions_dropdown.dropdown-menu a {
        padding-left: 15px;
    }

    .endalia .e_grid_actions_dropdown.dropdown-menu a .glyphicon, 
    .endalia .e_more_actions_dropdown.dropdown-menu a .glyphicon, 
    .endalia .e_btn_group_table .e_btn_group_table_item .glyphicon {
        margin-right: 10px;
        display: inline-block;
        color: #999;
        font-size: 12px;
    }
