﻿@import url(fonts/font.css);

.grid-fixed-columns {
    background-color: var(--bg-normal);
}

.ag-root-wrapper {
    border-radius: 5px 5px 0 0;
    padding: 5px 5px 3px 5px;
}

.ag-row .ag-cell {
    display: flex;
    align-items: center;
}

.ag-header-cell-label {
    justify-content: center;
}

.example-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 184px;
    height: calc(100vh - 265px);
}

#LoanRequestInsurancePolicypageContent .example-wrapper, #PanelLoanRequestInstallmentsModal .example-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 140px;
    height: calc(100vh - 390px) !important;
}

#DynamicReportContent .example-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 184px;
    height: calc(100vh - 117px);
}

.content-table [id$="Grid"] {
    flex: 1 1 0px;
    width: 100%;
}

.ag-theme-alpine {
    font-family: 'IRANSans' !important;
}

.ag-header-row {
    /*background-color: var(--bg-dark);
    color: var(--text-primary) !important;*/
    font-weight: 400;
    border-radius: 3px;
}

.ag-header {
    min-height: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--bg-dark);
    color: var(--text-primary) !important;
    margin-bottom: 5px;
}

.ag-pinned-right-cols-container .ag-row {
    border-radius: 0 5px 5px 0;
}

.ag-row:has(.ag-cell-last-left-pinned) {
    border-radius: 5px 0 0 5px;
}

.ag-row:has(.dropdown.open) {
    z-index: 9999;
}

.ag-pinned-left-cols-container .dropdown.open .dropdown-menu {
    position: fixed;
    right: auto;
    left: 2px;
    font-size: 12px;
    background-color: var(--bg-light);
    padding: 0 10px;
    top: 0;
}

    .ag-pinned-left-cols-container .dropdown.open .dropdown-menu i {
        font-size: 14px;
    }
