.ag-header-cell-label {
  justify-content: center !important;
}
.ag-theme-balham {
  width: 100%;
  height: inherit;
  font-family: "agGridBalham" !important;
  font-size: 11px !important;
  background-color: transparent;
  height: calc(100% - 10px);
  --ag-row-hover-color:rgb(31 66 172 / 20%) !important;
}
.ag-theme-balham .ag-root-wrapper {
  border: solid 1px #e1e6f5 !important;
  background: rgb(31 66 172 / 10%);
}

.ag-paging-panel > span {
  color: black !important;
}

.ag-root-wrapper {
  position: relative !important;
}

.ag-root-wrapper-body {
  margin-top: 50px;
}

.hide-pagination .ag-root-wrapper-body {
  margin-top: 0px;
}

.ag-details-grid .ag-root-wrapper-body {
  margin-top: 0px !important;
}

.ag-paging-panel {
  position: relative !important;
  height: 50px !important;
  top: 0 !important;
  right: 0 !important;
  border-top: none !important;
  width: 100%;
  align-items: center;
  border-top: 1px solid #424242;
  color: rgba(245, 245, 245, 0.64);
  display: flex;
  height: 32px;
  justify-content: flex-end;
  padding: 0 12px;
}
.ag-theme-balham .ag-header {
  background: #ffffff !important;
  border-bottom: solid 2px #e1e6f5 !important;
}
.ag-paging-row-summary-panel {
  display: block !important;
  float: right;
}
.ag-header-row {
  height: 30px !important;
}

.ag-theme-balham .ag-header-cell::after,
.ag-theme-balham .ag-header-group-cell::after {
  background: rgb(193 202 232 / 45%) !important;
}

.ag-theme-balham .ag-header-cell-text,
.ag-theme-balham .ag-react-container {
  color: #0a173e;
  font-weight: 300;
  font-size: 11px;
  text-shadow: 0px 0px;
}

/**********************************/
.ag-react-container,
.ag-header-group-text,
.ag-theme-balham .ag-header-cell-text,
.ag-theme-balham .ag-react-container,
.ag-theme-balham .ag-rtl .ag-cell {
  font-family: "iranSansDN" !important;
  justify-content: center !important;
}
/**********************************/

.ag-theme-balham .ag-row {
  border-width: 0px !important;
  border-bottom: 1px solid #f3f3f3 !important;
}

.ag-theme-balham .ag-rtl .ag-cell,
.ag-theme-balham .ag-rtl .ag-cell strong {
  font-size: 11.5px;
  color: rgb(0 0 0 / 85%);
  line-height: 38px;
  text-shadow: 0px 0px #c7c7c7;
}

/* .ag-theme-balham .ag-row-odd {
  background: rgb(31 66 172 / 5%) !important;
} */

.ag-theme-balham .ag-row-hover {
  background: rgb(31 66 172 / 10%) !important;
}

.ag-theme-balham .ag-row .ag-cell-wrapper {
  height: 100% !important;
}
.ag-react-container {
  text-align: center;
  padding-right: 5px;
}

.ag-theme-balham .ag-checkbox .ag-input-wrapper,
.ag-theme-balham .ag-radio-button .ag-input-wrapper {
  border: solid 1px #ddd;
}
.ag-theme-balham .ag-checkbox-input-wrapper::after {
  opacity: 0;
  content: "\f00c" !important;
  font-family: font6;
  font-size: 12px;
}

.ag-theme-balham .ag-checkbox-input-wrapper.ag-checked::after {
  opacity: 1;
  color: #fff !important;
  background: #1f42ab;
  width: 100%;
  height: 100%;
  text-align: center;
}

.ag-theme-balham .ag-paging-panel {
  border: none !important;
  border-bottom: solid 2px #e1e6f5 !important;
  height: 50px !important;
  padding: 10px 0;
  display: block;
  background: #f9fafe;
  align-items: center;
  border-top: 1px solid #424242;
  color: rgba(245, 245, 245, 0.64);
  display: flex;
  height: 32px;
  justify-content: flex-end;
  padding: 0 12px;
}

.ag-theme-balham .ag-paging-button {
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  border-radius: 2px;
  border: solid 1px #ddd;
  overflow: hidden;
  color: #0c1c4c;
}

.ag-theme-balham .ag-paging-button .ag-icon {
  line-height: 26px;
}

.ag-paging-row-summary-panel {
  float: right;
  line-height: 28px;
}

.ag-paging-page-summary-panel {
  float: left;
}

.ag-root-wrapper-body.ag-layout-normal {
  display: flex;
  min-height: initial !important;
  height: calc(100% - 40px) !important;
  overflow-x: auto;
}

.ag-theme-balham .ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell) {
  border-right-color: #e0e4f4 !important;
}
.ag-theme-balham .ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell) {
  border-left-color: #e0e4f4 !important;
}

.ag-theme-balham .ag-pinned-right-header {
  border-left-color: white !important;
}

.ag-theme-balham .ag-pinned-right-header .ag-header-cell::after {
  opacity: 0;
}
.ag-theme-balham .ag-row-selected {
  background: #b7e4ff !important;
}
.ag-theme-balham .ag-menu-header {
  background: white !important;
  border-bottom: solid 1px #eaedef !important;
}

.ag-theme-balham .ag-floating-bottom .ag-cell {
  font-weight: bold;
}
/***********************************/

.ag-theme-balham .ag-menu {
  font-weight: 300;
  font-size: 11px;
}

.ag-theme-balham .ag-tab-selected {
  border: none !important;
  border-bottom: solid 1px #2043ad !important;
}

.ag-theme-balham .ag-tab-selected .ag-icon {
  color: #2043ad;
}

.ag-theme-balham .ag-menu-separator-part::after {
  border-top-color: #eaedef !important;
}

.ag-theme-balham .ag-simple-filter-body-wrapper {
  padding: 12px 10px 8px 10px !important;
}

.ag-theme-balham .ag-column-select-header {
  height: 50px !important;
  border-bottom: solid 1px #eaedef !important;
}

.ag-theme-balham-dark .footerGrid,
.ag-theme-balham .footerGrid {
  display: inline-block;
  direction: ltr;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
}

.ag-theme-balham.ag-popup {
  position: absolute;
}

.ag-header-group-cell-label {
  justify-content: center;
  color: #0a173e;
}

.ag-theme-balham .ag-header-row:not(:first-child) .ag-header-cell,
.ag-theme-balham .ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group {
  border-top-color: #c1cae8 !important;
}

/***************************/

.ag-theme-balham .ag-tool-panel-wrapper {
  background-color: #f9fafe !important;
}

.ag-theme-balham .ag-column-panel-column-select {
  border: none !important;
}

.ag-theme-balham .ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,
.ag-theme-balham .ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper {
  border-left-color: #e1e6f5 !important;
}

.ag-paging-row-summary-panel {
  display: none;
}

.ag-paging-description {
  height: 28px;
  border: solid 1px #dddddd;
  border-radius: 2px;
  line-height: 28px;
  padding: 0 10px;
  background: #eaebef;
}

.ag-theme-balham .ag-paging-button {
  cursor: pointer;
  background: white;
  color: #1f3f9e;
}
.checkbox-disabled {
  background-color: transparent !important;
}
.checkbox-disabled .ag-checkbox-input-wrapper input[type="checkbox"] {
  pointer-events: none !important;
  color: #aaa;
  background: #aaa;
}
.checkbox-disabled .ag-checkbox-input-wrapper input[type="checkbox"]:focus-within {
  outline: 0 !important;
  box-shadow: none !important;
}
.ag-floating-filter-body input {
  height: 25px !important;
}
.ag-floating-filter-input {
  height: 30px !important;
}
.ag-text-field-input-wrapper .ag-input-field-input.ag-text-field-input {
  -webkit-box-shadow: 0 0 4px 0 #66a3ff !important;
}
.text-box-inside-grid {
  height: 27px;
}
.ag-details-grid .ag-header.ag-focus-managed.ag-pivot-off {
  z-index: 10 !important;
  margin-top: 50px !important;
}
.floating-filter-date {
  border-radius: 5px;
  padding-right: 4px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.footer-border .ag-floating-bottom {
  height: 32px !important;
  min-height: 32px !important;
}
.footer-border .ag-floating-bottom .ag-cell {
  border: 2px solid #e6e6e6;
  border-left: none;
  border-bottom: none;
}
.ag-cell-value {
  height: 100%;
}
