﻿@media screen and (min-width: 1897px) {
  .rz-row > .rz-col-xl-2 {
    max-width: calc(2 * (100% - 11 * var(--rz-gap)) / 12 + 1 * var(--rz-gap));
    flex-basis: calc(2 * (100% - 11 * var(--rz-gap)) / 12 + 1 * var(--rz-gap));
  }
}
@media screen and (min-width: 1897px) {
  .rz-row > .rz-col-xl-10 {
    max-width: calc(10 * (100% - 11 * var(--rz-gap)) / 12 + 9 * var(--rz-gap));
    flex-basis: calc(10 * (100% - 11 * var(--rz-gap)) / 12 + 9 * var(--rz-gap));
  }
}
.rz-form-field-content {
  margin-top: 0;
}

.rz-selectbar.rz-selectbar-horizontal .rz-button {
  padding: 0.41rem;
}

.valid.modified:not([type=checkbox]) {
  outline: none;
}

.rz-switch.rz-switch-checked .rz-switch-circle {
  background: var(--rz-primary) !important;
}

.rz-pager {
  padding: 0;
  background: transparent;
}

.container {
  min-width: 768px !important;
}

.pfs-container {
  width: 1872px;
  margin: 0 auto;
}

.header-container::after {
  content: "";
  display: block;
  height: 20px;
  width: 100%;
  position: absolute;
  bottom: -21px;
  left: 0;
  background-color: var(--p-surface-background-secondary);
}

@media screen and (max-width: 769px) {
  .rz-button {
    height: 46px;
  }
}
.icon {
  color: var(--p-text-action-dark);
}

hr {
  border-color: var(--p-border-default);
  border-top: 0;
}

.rz-switch-small {
  width: 1.75rem;
  min-width: 1.75rem;
  height: 1rem;
  padding: 2px;
}
.rz-switch-small::before {
  width: 1.5rem !important;
  height: 1.5rem !important;
}
.rz-switch-small .rz-switch-circle::before {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: -6.7px;
  margin-left: -2px;
}
.rz-switch-small.rz-switch-checked .rz-switch-circle:before {
  transform: translateX(0.75rem);
}

.multiselect-normal-spacing .rz-multiselect-header {
  padding: 0 !important;
  padding-left: 0.5rem !important;
  margin-bottom: 1rem !important;
}

.home-card {
  max-width: 500px;
  margin: auto;
  margin-top: 4rem;
}

.statements-layout main.statements-layout-content {
  background: url(images/bg-prestige-logo.svg) no-repeat center center;
  width: 100%;
  min-height: 50vh;
}
@media screen and (min-width: 1280px) {
  .statements-layout main.statements-layout-content {
    min-height: 80vh;
  }
}

.transaction-details-filter-card {
  position: sticky;
  top: 20px;
}
@media screen and (min-width: 1897px) {
  .transaction-details-filter-card > .rz-card {
    min-height: calc(100vh - 112px);
  }
}
.transaction-details-filter-card .content {
  max-height: calc(100vh - 167px);
  overflow: scroll;
  --rz-scrollbar-size: 10px;
}
.transaction-details-filter-card .rz-selectbar.two-elements > .rz-button {
  width: 50%;
  text-align: center;
}
.transaction-details-filter-card .rz-selectbar.address-select-bar .rz-navigation-item-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
}
.transaction-details-filter-card .rz-checkbox {
  position: relative;
  width: 100%;
}
.transaction-details-filter-card .rz-checkbox.current-maker::after {
  content: "Current Maker";
}
.transaction-details-filter-card .rz-checkbox.current-comaker::after {
  content: "Current Co-Maker";
}
.transaction-details-filter-card .rz-checkbox.no-maker::after {
  content: "No Maker";
}
.transaction-details-filter-card .rz-checkbox.no-comaker::after {
  content: "No Co-Maker";
}
.transaction-details-filter-card .rz-checkbox::after {
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rz-text-color);
  margin-bottom: 0.5em;
  margin: 0;
  color: var(--rz-text-secondary-color);
  position: absolute;
  bottom: -1.5rem;
  min-width: 8rem;
  text-align: left;
}
.transaction-details-filter-card .rz-checkbox:last-child {
  margin-bottom: 2rem;
}

.statement-table {
  border-radius: 0.5rem;
}
.statement-table .rz-data-grid-data {
  border-bottom: none;
}
.statement-table .rz-data-grid-data .rz-grid-table thead th {
  border: 0;
}
.statement-table .rz-data-grid-data .rz-grid-table thead th > div:not(.rz-cell-filter) {
  margin: 1rem 0;
  padding: 0;
  border-inline-end: var(--rz-grid-header-cell-border);
  border-width: 2px;
  align-items: flex-start;
}
.statement-table .rz-data-grid-data .rz-grid-table thead th:last-child > div:not(.rz-cell-filter) {
  border-width: 0;
}
.statement-table .rz-data-grid-data .rz-grid-table thead th .rz-column-title-content {
  font-size: 1rem;
  line-height: 1.2em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--rz-text-title-color);
  margin-bottom: 0.5em;
  margin: 0;
}
.statement-table .rz-data-grid-data .rz-grid-table thead th .rz-column-title, .statement-table .rz-data-grid-data .rz-grid-table thead th:first-child .rz-column-title {
  padding: 0 1rem !important;
}
.statement-table .rz-data-grid-data .rz-grid-table tbody td {
  padding: 0.5rem 1rem;
}

.statement-table.headers-white-space-normal .rz-data-grid-data .rz-grid-table thead th {
  border: 0;
}
.statement-table.headers-white-space-normal .rz-data-grid-data .rz-grid-table thead th > div:not(.rz-cell-filter) {
  min-height: 56px;
}
.statement-table.headers-white-space-normal .rz-data-grid-data .rz-grid-table thead th .rz-column-title-content {
  white-space: normal;
  overflow: hidden;
  line-height: normal;
  text-overflow: initial;
}

.statement-table.rows-white-space-normal .rz-grid-table tbody td .rz-cell-data {
  white-space: normal;
  overflow: hidden;
  line-height: normal;
  text-overflow: initial;
}

.combined-term-statement-summary-card {
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--p-border-default);
  background-color: var(--rz-primary-lighter);
  background-color: var(--rz-primary-lighter);
  box-shadow: none !important;
}
body.dark .combined-term-statement-summary-card {
  background-color: var(--rz-primary-darker);
}
.combined-term-statement-summary-card .combined-term-statement-summary-box {
  width: 244px;
}

@media screen and (min-width: 1280px) {
  .combined-term-statement-summary-footer {
    flex-direction: row !important;
  }
}

.customer-info-card {
  min-width: 428px;
}

.transaction-content-card > .rz-card {
  border-radius: 0;
  background-color: var(--p-surface-primary);
  padding: 0;
  border: 0;
}
.transaction-content-card > .rz-card .header {
  padding: 1rem 1.5rem;
  background: var(--p-surface-secondary);
  position: sticky;
  top: 20px;
  z-index: 10;
}
.transaction-content-card > .rz-card .content {
  padding: 1.5rem;
}

@media print {
  @page {
    size: letter;
    margin: 6mm 0 12mm 0;
  }
  .pfs-container, .print-content {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  html, body, * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  html, body, .rz-root, .rz-application, .rz-layout, .rz-content, .rz-page, .rz-main {
    height: auto !important;
    overflow: visible !important;
  }
  body {
    background: white !important;
  }
  *:not(#statement-data):not(#statement-data *):not(:has(#statement-data)) {
    display: none !important;
  }
  strong {
    font-weight: 600 !important;
  }
  .rz-text-h4 {
    font-size: 12px !important;
    line-height: normal;
  }
  .rz-text-h6, h6.rz-text-subtitle1 {
    font-size: 10px !important;
    line-height: normal;
  }
  .rz-text-body1 {
    font-size: 9px !important;
    line-height: normal;
  }
  .rz-text-body2 {
    font-size: 8px !important;
    line-height: normal;
  }
  #statement-data .statement-table::after {
    content: "";
    display: block;
    height: 14mm;
  }
  #statement-data {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    padding-top: 0 !important;
  }
  #statement-data .rz-stack {
    gap: 4px;
  }
  #statement-data > .rz-stack {
    gap: 8px;
    /*Individual tables*/
  }
  #statement-data > .rz-stack > .rz-row {
    justify-content: space-between !important;
  }
  #statement-data > .rz-stack > .rz-row > div:first-child {
    max-width: 250px !important;
    flex-basis: 250px !important;
  }
  #statement-data > .rz-stack > .rz-row > div:last-child {
    max-width: 592px;
  }
  #statement-data > .rz-stack > .rz-row > div:last-child .customer-info-card > .rz-stack {
    gap: 4rem !important;
  }
  #statement-data > .rz-stack > .rz-row > div:last-child .customer-info-card > .rz-stack .customer-info-detail {
    gap: 2rem !important;
  }
  #statement-data > .rz-stack .combined-term-statement-summary-card {
    padding: 8px;
  }
  #statement-data > .rz-stack .combined-term-statement-summary-footer {
    flex-direction: row !important;
  }
  #statement-data > .rz-stack .statement-table .rz-data-grid-data .rz-grid-table thead th .rz-column-title, #statement-data > .rz-stack .statement-table .rz-data-grid-data .rz-grid-table thead th:first-child .rz-column-title {
    padding: 0 8px !important;
  }
  #statement-data > .rz-stack .statement-table .rz-data-grid-data .rz-grid-table thead th > div:not(.rz-cell-filter) {
    margin: 2px 0 !important;
  }
  #statement-data > .rz-stack .statement-table.headers-white-space-normal .rz-data-grid-data .rz-grid-table thead th > div:not(.rz-cell-filter) {
    margin: 2px 0 !important;
    min-height: 34px !important;
  }
  #statement-data > .rz-stack .statement-table .rz-data-grid-data .rz-grid-table tbody td {
    padding: 2px 8px !important;
  }
  #statement-data > .rz-stack .statement-table .rz-data-grid-data .rz-grid-table thead th .rz-column-title-content {
    font-size: 9px;
    font-weight: 600;
  }
  #statement-data > .rz-stack .rz-datatable-data td .rz-cell-data, #statement-data > .rz-stack .rz-grid-table td .rz-cell-data {
    font-size: 8px;
  }
  #statement-data > .rz-stack .combined-term-table table colgroup col:not(:nth-child(2)) {
    width: 88px !important;
  }
  #statement-data > .rz-stack .fees-statement-table table colgroup > col:first-child {
    width: 102px !important;
  }
  #statement-data > .rz-stack .fees-statement-table table colgroup > col:is(:nth-last-child(-n+3)) {
    width: 98px !important;
  }
  #statement-data > .rz-stack .installments-statement-table table colgroup > col:is(:nth-child(1), :nth-child(2), :nth-child(6)) {
    width: 75px !important;
  }
  #statement-data > .rz-stack .installments-statement-table table colgroup > col:is(:nth-child(3), :nth-child(4), :nth-child(5)) {
    width: 142px !important;
  }
  #statement-data > .rz-stack .maryland-monthly-statement-table table colgroup > col:is(:first-child, :nth-last-child(-n+7)) {
    width: 60px !important;
  }
  #statement-data > .rz-stack .maryland-monthly-statement-table table colgroup > col:is(:nth-child(4), :nth-child(5)) {
    width: 40px !important;
  }
  #statement-data > .rz-stack .fees-statement-footer {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #statement-data > .rz-stack .fees-statement-footer .fees-statement-totals, #statement-data > .rz-stack .fees-statement-footer .fees-statement-total-amount {
    gap: 3.25rem;
  }
  #statement-data > .rz-stack .fees-statement-footer .fees-statement-totals *:nth-child(2), #statement-data > .rz-stack .fees-statement-footer .fees-statement-total-amount *:nth-child(2) {
    width: 45px;
    text-align: right;
  }
  #statement-data > .rz-stack .fees-statement-category-summary {
    padding: 4px 8px !important;
  }
  #statement-data > .rz-stack .fees-statement-category-summary .fees-statement-totals, #statement-data > .rz-stack .fees-statement-category-summary .fees-statement-total-amount {
    gap: 3.25rem;
  }
  #statement-data > .rz-stack .fees-statement-category-summary .fees-statement-totals *:nth-child(2), #statement-data > .rz-stack .fees-statement-category-summary .fees-statement-total-amount *:nth-child(2) {
    width: 45px;
    text-align: right;
  }
  #statement-data > .rz-stack .tinted-background-content {
    padding: 4px;
    margin: 4px 0 !important;
  }
  #statement-data > .rz-stack .tinted-background-content.variant-primary {
    background-color: rgba(0, 109, 235, 0.15) !important;
    print-color-adjust: exact;
  }
  #statement-data > .rz-stack .fees-category-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
/* We can maybe move the print changes to their own style sheets but it could be harder to track and do changes so for now this is easier */
