/*
--bs-breakpoint-xs: 0;
--bs-breakpoint-sm: 576px;
--bs-breakpoint-md: 768px;
--bs-breakpoint-lg: 992px;
--bs-breakpoint-xl: 1200px;
--bs-breakpoint-xxl: 1400px;

Common phones:
  360 x 740
  375 x 667
  390 x 844
  412 x 915
  414 x 896
  430 x 932
*/

/*
  BLAZOR - ERRORS
*/
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
  }

/*
  RADZEN OVERRIDES
*/

:root {
  --rz-dropdown-item-padding: 0.2rem 1rem;
  --rz-menu-item-padding: 0.2rem 1rem;
  --rz-fieldset-padding: 0 1rem 0.5rem;
  --rz-radio-label-margin: 0 0.5rem;
  --rz-dialog-content-padding: 1.25rem 1.5rem;
  --rz-footer-padding: 0.5rem;
  /*--rz-primary: #4340D2;*/
  /*--rz-on-primary-lighter: #4340D2;*/
  --rz-primary: #0F52BA; /* Sapphire Blue #0F52BA rgb(15, 82, 186) */
  --rz-on-primary-lighter: #0F52BA;
  --bs-primary-rgb: 15,82,186;
  /*--rz-primary-light: #6966db;*/
  --rz-primary-light: #1163DD;
  /*--rz-primary-lighter: rgba(67, 64, 210, 0.12);*/
  --rz-primary-lighter: #EAF1FD;
  --rz-primary-dark: #3633a8;
  --rz-primary-darker: #2e2c8f;
  --rz-secondary: #e91e63;
  --rz-secondary-light: #ed4b82;
  --rz-secondary-lighter: rgba(233, 30, 99, 0.12);
  --rz-secondary-dark: #ba184f;
  --rz-secondary-darker: #9e1443;
  --rz-sidebar-toggle-margin: 0 0.5rem 0 0;
  --rz-fieldset-legend-margin-block: 0 0.5rem;
}

.rz-textbox {
  width: 0 !important;
}

/*label.rz-form-field-label {
  color:red !important;
}
*/

.rz-data-grid.rz-density-compact {
  --rz-grid-header-font-size: 0.825rem;
  --rz-grid-header-cell-padding: 0.1rem 0.2rem;
  --rz-grid-header-line-height: 1.15rem;
  --rz-grid-cell-padding: 0.1rem 0.2em;
  --rz-grid-cell-font-size: 0.8rem;
}

  .rz-data-grid.rz-density-compact .rz-cell-border-right {
    border-right: solid 1px #CCCCCC;
  }

/*@media (max-width: 575px) {
  :root {
    --rz-menu-item-padding: 0.4rem 1.25rem;
  }

  .rz-data-grid {
    --rz-grid-cell-padding: 0.25rem 1rem;
  }

    .rz-data-grid .rz-column-title {
      font-size: 0.75rem;
      font-weight: 500;
    }
}
*/
/*
  SITE GLOBAL
*/
:root {
}

h3.site-pagetitle {
  padding: 0;
  margin: 0.25rem 0 0.75rem 0;
}

.site-fs-micro {
  font-size: 0.55rem;
}

.site-fs-small {
  font-size: 0.65rem;
}

/*
  PUBLIC LAYOUT
*/

body {
  /*background-color: #0F52BA;*/
  background-color: #E0E0E0;
}

/*
  MAIN LAYOUT AND SIDEBAR
*/


:root {
  --rz-sidebar-width: 225px;
}

@media (min-width: 0px) {
  #DivMainLayoutBody {
    width: 100vw;
  }

  /*  .rz-layout {
    position: relative !important;
  }

    .rz-layout .rz-sidebar {
      position: absolute !important;
      z-index: 2147483646 !important;
    }

      .rz-layout .rz-sidebar .rz-navigation-item-link {
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
      }
*/
}

/*@media (min-width: 576px) {
  .rz-layout {
    position: initial !important;
  }

    .rz-layout .rz-sidebar {
      position: initial !important;
    }
}
*/

@media (min-width: 768px) {
  #DivMainLayoutBody {
    max-width: 1150px;
  }
}

/*
  FILINGS -> TAX RETURNS
*/

#PageFilingsTaxReturn .rz-cell-data {
  font-family: 'Segoe UI';
}

#LineItems {
  width: min-content;
}

#LineItem {
  border: 1px solid #ccc;
  width: min-content;
}

  #LineItem #NoLineNum {
    margin: 0 0 0 2.25rem;
  }

  #LineItem #LineNum {
    margin: 0 0.6rem 0 0;
    padding: 0;
    font-size: 0.7rem;
    line-height: 1.2rem;
    font-weight: bold;
    background-color: #FCFCFC;
    border-left: 2px solid #CCC;
    border-right: 2px solid #CCC;
    display: inline-block;
    width: 28px;
    text-align: center;
    vertical-align: middle;
  }

  #LineItem #LineItemText1, #LineItem #LineItemText2 {
    font-family: Georgia, 'Segoe UI';
    font-size: 0.875rem;
    padding: 0.05rem 0 0.05rem 0;
    text-align: left;
    width: 300px;
  }

  #LineItem #LineItemmValue1, #LineItem #LineItemmValue2 {
    background-color: #fff;
    font-family: 'Segoe UI';
    font-size: 0.875rem !important;
    padding-right: 0.75rem;
    text-align: right;
    width: 110px;
  }

/* 
  MISC 
*/

.RdzNumericMoneyInput {
  padding-left: 0.6rem;
}

.money-prefix {
  position: absolute;
  top: 52%;
  left: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none; /* not clickable / not interactive */
  color: var(--rz-text-secondary);
  font-size: 1rem; /* adjust as needed */
}

#DispIssues {
  margin-top: 0;
  margin-bottom:1rem;
}

  #DispIssues .alert {
    margin:0;
    padding:0.15rem 0.5rem;
  }
