/*External Grid*/
.ag-theme-fresh .ag-header {
    background-image: linear-gradient(lightgrey, lightgrey);
}

.ag-fresh .ag-root {
    border: 1px solid #ccc !important;
}

/*Header grid*/
.ag-fresh .ag-header {
    color: #000;
    background: #f3f3f3 !important;
    border-bottom: 1px solid #ccc !important;
    font-weight: normal;
}

.ag-fresh .ag-ltr .ag-header-cell {
    border-right: 1px solid #ccc !important;
}

.ag-fresh .ag-header-cell-label {
    padding: 11px 2px 4px 2px !important;
}

.ag-fresh .ag-header-cell-menu-button {
    margin-top: 14px !important;
    margin-right: 4px !important;
}

/*Body Grid*/
.ag-fresh .ag-body {
    background-color: #fff !important;
}

.ag-fresh .ag-row-even {
    border-bottom: 1px solid #ccc;
}

.ag-fresh .ag-row-odd {
    border-bottom: 1px solid #ccc;
}

.ag-fresh .ag-ltr .ag-cell-no-focus {
    border-right: 1px solid #ccc !important;
}

.ag-fresh {
    line-height: 1 !important;
    font-family: roboto-light !important;
    font-size: 14px !important;
}

    .ag-fresh .ag-group-cell {
        font-style: normal !important;
    }

.ag-theme-balham .ag-root {
    border: 1px solid #ccc !important;
}

.ag-theme-balham .ag-header {
    color: #000;
    background: #f3f3f3 !important;
    /*border-bottom: 1px solid #ccc !important;*/
    font-weight: normal;
}

.ag-theme-balham .ag-header-cell-label .ag-header-cell-text {
    color: #333333;
    font-family: Titillium !important;
    font-size: 14px !important;
}

.ag-theme-balham .ag-header-cell-label {
    float: none !important;
    width: auto !important;
    justify-content: center;
}

.ag-theme-balham .ag-ltr .ag-header-cell {
    border-right: 1px solid #ccc !important;
}

.ag-theme-balham .ag-ltr .ag-cell-no-focus {
    border-right: 1px solid #ccc !important;
}

.ag-theme-balham {
    line-height: 1 !important;
    font-family: roboto-light !important;
    font-size: 14px !important;
}

    .ag-theme-balham .ag-group-cell {
        font-style: normal !important;
    }

/*--------------------------------*/

.ag-header-cell.ag-header-cell-sortable {
    width: 100%;
    padding: 0;
    margin: 0;
}

.ag-theme-balham .ag-header-select-all {
    text-align: center;
    width: 100%;
    margin: 0;
}

.ag-theme-balham .ag-header-cell::after, .ag-theme-balham .ag-header-group-cell::after {
    height: 100%;
    margin-top: 0;
}

.ag-theme-balham .ag-ltr .ag-header-cell {
    border-right: none !important;
}

.ag-cell-wrapper {
    padding: 0.1em 0 0 0;
}

.ag-theme-balham .ag-selection-checkbox span,
.ag-theme-balham .ag-group-expanded span,
.ag-theme-balham .ag-group-contracted span {
    margin-right: 0px;
}

.ag-pivot-off .ag-header-group-cell {
    color: #ffffff;
    font-size: 14px;
}

.button-action-grid {
    color: #b0b0b0;
    font-size: 18px;
    border: none;
    display: block;
    background-color: transparent;
    outline: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

    .button-action-grid i {
        cursor: pointer;
    }


.ag-theme-balham .ag-header-cell-label .ag-header-cell-text {
    display: flex;
    align-items: center;
    white-space: break-spaces !important;
    line-height: normal !important;
    text-align: center !important;
}

.ag-header-cell-menu-button {
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 5px;
}

.ag-header-icon .glyphicon {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
}

.ag-theme-group .ag-header-cell-label {
    float: none !important;
    width: auto !important;
    justify-content: flex-start;
}

.ag-theme-group .ag-header-icon .glyphicon {
    display: flex;
    align-items: center;
    height: 100%;
    color: #000000;
}

.ag-theme-group .ag-cell {
    line-height: 30px !important;
}

.ag-theme-group {
    --ag-list-item-height: 40px;
}

    .ag-theme-group .ag-root {
        border: 1px solid #ccc !important;
        /*border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;*/
    }