:root {
  --clr-primary-400: 263 55% 52%;
  --clr-secondary-400: 217 19% 35%;
  --clr-secondary-500: 219 29% 14%;
  --clr-neutral-100: 0 0% 100%;
  --clr-neutral-200: 210 46% 95%;
  --clr-neutral-300: 0 0% 81%;

  --fw-400: 500;
  --fw-700: 600;
  --fw-300: 300;

  --fs-300: 0.6875rem;
  --fs-400: 1rem;
  --fs-500: 1.25rem; 
  --fs-800: 3.9em;


  --bs-font-sans-serif: "Inter",sans-serif;
  --bs-root-font-size: 14px;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1.2rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #2d2f30;
  --bs-body-bg: #ffffff;

  --bs-dark-rgb: 14,37,52;

}

:root {
  font-size:14px !important;
}

html {
  background: #444950;
}


/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  cursor: pointer;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h2 {
  font-size: 1.5em;
  margin: 0 0 0.6666666667em;
}

h3 {
  font-size: 1.1666666667em;
  margin: 0 0 0.8571428571em;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
/*
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
*/
/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}


.form-control, .form-select, .additional_charge_checkbox {
	line-height: 2.0em;
	font-size: 1.0em;
}


/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  border: 0;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


.left-nav a {
  color: inherit;
}
a {
  background-color: transparent;
  color: #30809F;
}
a {
  text-decoration: none;
}
a {
  color: #005cb8;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;

  margin: 0;

  background-color: hsl(var(--clr-neutral-200));
}

.bg-dark {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
}

.pmgt-nav {
	background-color: rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important;
}

@media (min-width: 1101px) {
  .section-layout {
   padding: 1rem 2rem 0;
  }
}

.section-layout  {
    padding: 1rem 0.5rem 0;
}

.pmgrid-layout-sidebar {
  color: #0f0707;
  height: 100%;
  opacity: 0;
  position: fixed;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  width: 170px;
}



/*---------------------------------- Header ------------------------------------*/

.page-header-layout-container {
    background: #f2f7fa;
    overflow: hidden;
    position: relative;
    padding-top: 60px;
    margin-left: 170px;
}

.header-layout-container {
  width: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

@media (min-width: 701px) {
  .header-layout-container {
    width: calc(100% - 170px);
    margin-left: 170px;
  }
}


.header-layout {
  background: #fff;
  position: relative;
  transition: transform 0.3s ease-in-out, box-shadow 0.5s, -webkit-transform 0.3s ease-in-out;
  width: 100%;
}

.header {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 3em;
}

.company-logo-info {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  height: 100%;
  padding: 5px 60px;
}

.company-logo-container {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 250px;
  text-align: center;
  width: 100%;
}

@media (min-width: 701px) {
  .company-logo-container {
      -webkit-box-pack:start;
      -ms-flex-pack: start;
      justify-content: flex-start;
      margin: 0;
      text-align:left;
  }
}


.company-logo-image-container {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 100%;
  width: 100%;
}

.company-logo {
  display: inline-block;
  max-height: 100%;
  vertical-align: middle;
}

.address-info {
  -webkit-box-flex: 2;
  -ms-flex: 2 1 0%;
  flex: 2 1 0%;
  font-size: 15px;
  text-align: right;
}

.logout-link {
  display: inline-block;
  padding: 15px;
}

/*---------------------------------- End Header --------------------------------*/

/*---------------------------------- Left Navigation ---------------------------*/
.left-nav-layout {
    color: #fff;
    height: 100%;
    opacity: 0;
    position: fixed;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    width: 170px;
}

@media (min-width: 701px) {
  .left-nav-layout {
    opacity: 1;
  }
}

.left-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.left-nav-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: inherit;
  font-weight: 400;
  padding: 1rem;
  padding-bottom: 2px;
}

.left-nav-tenant-name {
  font-size: 18px;
}


.left-nav-menu {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.left-nav-item+.left-nav-item {
  border-top: 1px solid #585858;
}


.left-nav-item>a,.left-nav-item>span {
  display: block;
  padding: 1em
}

.left-nav-item+.left-nav-item {
  border-top: 1px solid #585858
}

.left-nav-item i {
  display: inline-block;
  margin-right: 1em;
  text-align: center;
  width: 15px
}

.left-nav-item.left-nav-item-selected {
  box-shadow: inset 5px 0 0 #009cf7;
  background-color: #f2f7fa;
  color: #000
}


/*---------------------------------- End Left Navigation -----------------------*/

@media (min-width: 701px) {
  .section-layout-container.header-leftnav-section-layout {
      margin-left: 10.1em;
  }
}

.section-layout-container {
    background: #f2f7fa;
    /*min-height: 100vh;*/
    overflow: hidden;
    padding-bottom: 80px;
    /*position: relative*/
}

.page {
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 1101px) {
  .page {
    max-width: 1500px;
  }
}

.card-header {
  height: 44px;
  text-align: left;
  background-color: #0d80cc;
  color: #fff;
  font-size: 18px;
  margin-top: -1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: .5rem;
}

.card-header-icon {
  height: 44px;
  text-align: right;
  padding: 8px;
  background-color: #0d80cc;
  color: #fff;
  font-size: 18px;
  margin-top: -1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: .5rem;
}

.header-icon-style {
  padding-top: 0.25em;
}

.page-label {
  padding-left: 40px;
  font-weight: lighter;

}
/*---------------------------------- Balance Info -----------------------*/

.balance-info-header {
  margin-left: -2em;
}

.grid_small-12 {
  width: 100%;
}


@media (min-width: 1101px) {
  .grid_large-6 {
      width: 50%
  }
}

@media (min-width: 1101px) {
  .grid_large-3 {
      width: 30.3%
  }
}

.grid_large-3, grid_large-6, .grid_small-12 {
  float: left;
  padding-left: 2em
}

.balance-label {
  text-align: left;
  font-size: 1.8em;
  font-weight: var(--fw-300); 
}

@media (min-width: 1101px) {
  .balance-label {
    text-align: left;
    font-size: 1.8em;
    font-weight: var(--fw-300); 
  }
}

.current-balance {
  flex: 0 0 auto;
  text-align: left;
  font-size: 2em;
  font-weight: 500;
  margin: 0;
}

@media (min-width: 1101px) {
  .current-balance {
    flex: 0 0 auto;
    width: 50%; 
    text-align: right;
    font-size: 2em;
    font-weight: 500;
    margin: 0;
  }  
}

.balance-amount-info {
  text-align: left;
}

@media (min-width: 1101px) {
  .balance-amount-info {
    margin-left: auto;
    text-align: right;
  }
}

.balance-section-border {
  border-width: 0.620rem !important;
  border-top: 0!important;
  border-bottom: 0!important;  
  border-right: 0!important;
  border-left-color: #91c446;
  overflow: hidden;
  margin-left: auto;
}

.next-due-date {
  color: #595959;
  margin-top: 0.25em;
}

/*---------------------------------- End Balance Info -----------------------*/


.table-row-gray {
  background-color: #f2f2f2;  
}

.table-row-white {
  background-color: #fff;
}

.table-row-lightblue {
  background-color: #e4f4ff;  
}



/* utilities */
.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 0.4em);
}

.bg-primary-400 {
  background: hsl(var(--clr-primary-400));
}
.bg-secondary-400 {
  background: hsl(var(--clr-secondary-400));
}
.bg-secondary-500 {
  background: hsl(var(--clr-secondary-500));
}
.bg-neutral-100 {
  background: hsl(var(--clr-neutral-100));
}
.text-neutral-100 {
  color: hsl(var(--clr-neutral-100));
}
.text-secondary-400 {
  color: hsl(var(--clr-secondary-400));
}
.border-primary-400 {
  border: 2px solid #a775f1;
}

.pmbtn-primary {
  color: #fff;
  background-color: #006eb7;
  border-color: #006eb7;
}

.pmtable-header {
  color: #595959;
  font-size: 16px;
  font-weight: bold;
  margin: 1rem 0;
  text-align: center;
  caption-side: top;
}

/* components */
.pmcard-grid {
  display: grid;
  gap: 1.5rem;
  grid-auto-columns: 1fr;
  grid-template-areas: 
   'One'
   'two';

  padding-block: 2rem;
  width: min(95%, 70rem);
  margin-inline: auto;
}

.pmcard {
  font-size: var(--fs-400);
  padding: 2rem;
  border-radius: 0.25rem;
  box-shadow: 2.5rem 3.75rem 3rem -3rem hsl(var(--clr-secondary-400) / 0.25);
}

.pmcard img {
  width: 1.75rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.pmcard .title {
  font-size: 1.8em;
  font-weight: var(--fw-300);  
}

.pmcard .table-details {
  font-size: var(--fs-400);
  font-weight: var(--fw-300);
  line-height: 1;
}


.card.card--payment {
  border-left-color: #91c446;
}
.card.border-3 {
  border-width: 0.625rem !important;
}


/*
.pmcard .position {
  font-size: var(--fs-300);
  opacity: 0.5;
}

.pmcard > p:first-of-type {
  font-size: var(--fs-800);
  line-height: 1.2;
}

.pmcard > p:last-of-type {
  opacity: 0.7;
}
*/

.table.table--amounts th:last-child, .table.table--amounts td:last-child {
  text-align: right;
}

.table.table--auto {
  table-layout: auto;
}

.check-mark {
  color: #ff6700; 
  vertical-align: bottom;
}

.icon-style {
  color: #0a64bd;
  vertical-align: middle;
  font-size: 30px;
}

.tenant-info {
  border-bottom-right-radius: 0.25rem; 
  border-bottom-left-radius: 0.25rem; 
  border-top-left-radius: 0.25rem; 
  border-top-right-radius: 0.25rem; 
  background-color: #fff; 
  border: 1px solid rgba(0,0,0,.125);
}






span.input-group-text.bg-light.d-block {
  background-color: #fff !important;
  border: none !important;
}
.input-group-append {
  cursor: pointer;
}

i.fa.fa-calendar {
  padding: 4px;
}
.datepicker td, th {
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
}
.datepicker {
  /*top: 6em !important;*/
  border: 1px solid black;
}



.modal-content {
  width: 60em; 
  margin-left: -10em
}

.table-details {
  overflow-y: auto; 
  max-height: 20em;
}


input[data-type="currency"] {
	text-align: right;
}


.form-control.is-valid, .was-validated .form-control:valid { 
	border-color: inherit !important; 
    padding-right: calc(1.5em + 0.75rem);
    background-image: inherit !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


.form-select.is-valid, .was-validated .form-select:valid {
    border-color: inherit !important; 
    background-image: inherit !important;    
}

/* multi select box */
.subject-info-box-1,
.subject-info-box-2 {
    float: left;
    width: 45%;
    height: 200px;

}
.subject-info-arrows {
    float: left;
    width: 10%;
}


#additional_charge_container_x {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.pageSubHeading h5 {
	border-bottom: 5px solid #ffb432;
	font-weight: 600;
} 

.pageSubHeading p {
	background: #ebebeb;
	font-size: 14px;
	padding: 3px 8px;
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	padding-left: 2em;
	padding-top: .8em;
}

.flex-container > * {
	width: 30em;
}

.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-rows: minmax(100px, auto);
	gap: 20px;
}

.grid-item {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}



.account_dropdown_menu {
	z-index: 1000;
	
	float: left;
	min-width: 10rem;
	padding: 0 0;
	margin: 0 0 0;
	color: #2F323E;
	text-align: left;
	list-style: none;
	background-color: white;
	background-clip: padding-box;
	
	border-radius: 5px;
	box-shadow:
		0 0px 0px 0 rgb(0 0 0 / 20%), 0 10px 18px 0 rgb(0 0 0 / 20%)
}

.account_dropdown_item {
	display: block;
	width: 100%;
	padding: 8px 20px;
	clear: both;
	font-weight: 400;
	color: #2f323E;
	text-align: inherit;
	white-space: nowrap;
	background-color: transpanent;
	border: 0;
}

.account_dropdown_menu.show {
	display: block;
}


.modal-dialog {
	width: 100%; 
	max-width: 50em;
	padding-left: 11em;
	padding-right: 1em;
}

.search-btn {
	width: 10em;
}

.search-bar {
    display: flex;
    gap: 0.8em;
}


.info-divider {
	margin: 8px 0px;
	padding-left: 16px;
	border-radius: 0;
	border-left-color: #02C58D;
	border-left-style: solid;
	border-left-width: 8px;
}



@media (max-width: 910px) {
    :root {
      font-size:14px !important;
    }
	.search-bar {
	    display: block;
	}
    .search-btn {
        width: 100%;
    }
}


@media (max-width: 910px) {
    button {
        width: 100%;
    }
}

.pm-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pm-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: nowrap;
}

.pm-cell {
    padding: 8px;
    flex: 1;
}

.pm-spanning-cell {
    flex: 4; /* span across other columns */
    display: flex;
    flex-direction: column;
}

.pm-nested-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.pm-nested-cell {
    flex: 1;
}


#modal-content {
    min-height: 300px;
    min-width: 300px;
}

#tenant-document-viewer-body {
    overflow: auto;
    max-height: 70vh;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

#tenant-document-viewer-page-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

#tenant-document-viewer-page-controls button {
    margin: 0 5px;
}

#tenant-document-viewer-page-num {
    margin: 0 10px;
}

