@font-face {
  font-display: swap;
  font-family: Gilroy;
  src: url(gr.otf) format("opentype")
}

@font-face {
  font-family: Gilroy;
  src: url(gb.otf) format("opentype");
  font-weight: 900
}

@font-face {
  font-family: Gilroy;
  src: url(gbli.otf) format("opentype");
  font-weight: 900;
  font-style: italic
}

@font-face {
  font-family: Gilroy;
  src: url(gbi.otf) format("opentype");
  font-weight: 700;
  font-style: italic
}

@font-face {
  font-family: Gilroy;
  src: url(gl.otf) format("opentype");
  font-weight: 300
}

@font-face {
  font-family: Gilroy;
  src: url(gm.otf) format("opentype");
  font-weight: 500
}

@font-face {
  font-family: Gilroy;
  src: url(gsb.otf) format("opentype");
  font-weight: 600
}

@font-face {
  font-family: Gilroy;
  src: url(gb.otf) format("opentype");
  font-weight: 700
}


*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  max-width: 500px;
  overflow-y: scroll;
}

body {
  margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 500px;
  padding-bottom: 60px;
}

.site-layout {
  width: 100%;
  margin: 0;
}

.site-shell {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.heading {
  font: 500 28px / 30px Gilroy;
}

.anavbar {
  overflow: visible;
  position: relative;
  padding: 5px 0px;
  margin-top: 0px;
  z-index: 1030;
  background: linear-gradient(180deg, #cccccc 0%, #ffffff 50%, #c5c5c5 100%);
}

.anavbar a {
  float: left;
  font-size: 16px;
  color: #333333;
  text-align: center;
  text-decoration: none;
  border: 0px solid #818181;
  border-radius: 0px;

}

.adropdown {
  float: left;
  overflow: visible;
}

.logo {
  background: linear-gradient(180deg, #cccccc 0%, #ffffff 50%, #c5c5c5 100%);
}

.adropdown {
  outline: 1px solid transparent;

  padding: 3px 0px !important;
  margin: 0;
  font: 500 18px Gilroy, sans-serif;

  border-radius: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #cccccc 50%, #ffffff 10%);
  transition: filter .2s ease, transform .1s ease;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);


}



.dropbtn {
  font: 500 18px Gilroy, sans-serif;
  padding: 2px;
  color: #333333;
  border: #cac9c9 solid 0px;
}


.adropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1060;
}

.adropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}




.adropdown.open .adropdown-content {
  display: block;
}

.adropdown-right .adropdown-content {
  right: 0;
  left: auto;
}



.navigation {
  border: 0px;
  min-width: auto;
  width: 100%;
  height: 20px;
  margin-top: 5px;
  background-color: #edf5ff;
}

.navigation a {
  border: 0px;
  margin-right: 5px;
  font: 500 12px Gilroy, sans-serif;
}

.main1 {
  width: inherit;
  height: inherit;
  margin: 5px;
  overflow: hidden;
}



#tdimg {
  padding-left: 10px;
  padding-right: 10px;
}

.hidden {
  opacity: 0;
}



#searchTerm {
  position: relative;
  margin-top: 8px;
  padding: 5px;
  margin-left: 10px;
  padding-left: 10px;
  width: 190px;

}






.collapsible {
  background-color: #C1C1C1;
  color: #000000;

  padding: 5px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  height: 50px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0px 0px;
  display: none;
  overflow: hidden;
  background: transparent;
}

.itemtbl {
  width: 100%;
  border-color: #C1C1C1;
}

.date {
  font-size: 12px;
  font-style: italic;
  font-family: system-ui;
  color: #C1C1C1;
}

.fcname {
  font: 500 18px / 20px Gilroy, sans-serif;
  color: dodgerblue;
}

#desc {
  font-style: italic;
  color: #6B0101;
  font-family: Georgia, serif;
}

.ftext {
  color: #C1C1C1;
}


.bpayment {
  font: 700 20px / 22px Gilroy;
}


#cinfo {
  font-size: 12px;
  font-style: italic;
  font-family: system-ui;
  color: #89BCFF;
}

.input-md {
  max-width: 300px;
}

.windowcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: inherit;
  height: inherit;
  overflow: hidden;

}

.formcontainer {

  width: 350px;

  border: 2px solid #333;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);

  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;

}

.form-group {
  max-width: 300px;
}


.tddatapc {
  text-align: center;
  border: 0px;
  border-top: 1px solid #000000;

}

.tdcustpc {
  text-align: left;
  border: 0px;
  margin-left: 10px;
  border-top: 1px solid #000000;

}

.blinkred {
  animation-name: blinkred;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}




.blinkgrey {
  animation-name: blinkgrey;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.okbtn {
  color: Blue;
  font-weight: bold;

}

@keyframes blinkred {
  0% {
    color: rgb(255, 0, 0);
    background-color: wheat;

  }

  25% {
    color: #c8c8c8;
    background-color: white;
  }

  50% {
    color: red;
    background-color: wheat;
  }

  75% {
    color: #c8c8c8;
    background-color: white;
  }

  100% {
    color: rgb(255, 0, 0);
    background-color: wheat;
  }
}



@keyframes blinkgrey {
  0% {
    color: rgb(150, 150, 150);

  }

  25% {
    color: #ffffff;
  }

  50% {
    color: rgb(150, 150, 150);
  }

  75% {
    color: #ffffff;
  }

  100% {
    color: rgb(150, 150, 150);
  }
}




#notification {
  display: none;
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;

  background: #faf5d7;
  border: 6px solid #d1d1d1;
  border-radius: 14px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1300;
}

/* inner content */
#notification_inner {

  color: #333;

  padding: 14px 20px;

  border-radius: 10px;
  border: 10px solid #ffffff;

  background: linear-gradient(to right, #ffecd2, #fcb69f);

  font-weight: 500;
  text-align: center;
}

#notificationText {

  font: 10px, Arial, sans-serif;
  color: #000000;
  margin: 10px;


}

.confirmation {

  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D2FFCC;
  color: #000000;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease-in-out;
  z-index: 2000;
}


.loading {

  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C4E0FF;
  color: #000000;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease-in-out;
  z-index: 2000;
}

.progress-bar {
  width: 100%;
  background-color: #f1f1f1;
  margin-bottom: 10px;
}

.progress-bar-inner {
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: #fff;
}




.overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  transition: .5s ease;

  color: white;
  font: 400 18px / 16px Gilroy, sans-serif;
  padding-bottom: 5px;
  padding-top: 2px;
  text-align: center;
  opacity: 1;
}

.box:hover {
  background-color: lightgrey;
}

.scroll-toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom);
  height: 50px;
  background: #ffffff;
  color: #000;
  display: none;
  justify-content: center;
  padding: 5px;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
}



.p10 {
  padding: 10px;
}

.main1pc {
  width: inherit;
  height: inherit;
  margin: 0px;
  overflow: hidden;
}

/* Base style (not centered for mobile) */
.main1 {
  width: inherit;
  height: inherit;
  margin: 0px;
  overflow: hidden;
}

/* Center the div on tablets and larger screens */
@media (min-width: 768px) {
  .main1 {

    max-width: 500px;
    margin: 10px auto;
    padding: 10px;
    overflow: visible;

    display: block;
    /*text-align: center;*/
    align-items: center;
    justify-content: center;
  }
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* Apply styles only to tables with the class 'transparent-table' */
.transparent-table {
  width: 100%;
  border-collapse: collapse;
  background-color: transparent;
  /* Transparent background for the table */
}

.transparent-table th,
.transparent-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  background-color: transparent;
  /* Transparent background for table cells */
}

/* No background color for header */
.transparent-table th {
  background-color: transparent;
}

/* No background color for table rows */
.transparent-table tr {
  background-color: transparent;
}



.yellow-table-row {
  background-color: #ffffaa;
}

.yellow-table-cell {
  background-color: #ffffaa;
}

/* Single Record Tables */
.table-row {
  background-color: #ffffff;
}

.table-cell {
  background-color: #ffffff;
}

.table-record {
  background-color: transparent;
}



#customer-custpopup.custpopup-list {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  width: 200px;
  z-index: 1000;
}

.custpopup-item {
  padding: 8px;

}

.custpopup-item:hover {
  background-color: #f0f0f0;
}

#search_customers_header {
  display: none;
  position: absolute;
  top: 50px;
  left: 168.917px;
  max-height: 400px;
  max-width: 300px;

  background: #fff;
  border: 1px solid rgb(109, 1, 1);
  padding: 0px;
  z-index: 1100;
}




#search_customers_in_page {
  display: none;
  position: absolute;
  top: auto;
  /* right below the input */
  left: auto;
  width: auto;
  /* same width as the wrapper */
  max-height: 400px;
  max-width: 300px;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);

  opacity: 1;
  z-index: 1080;

}

#customer-custpopup.custpopup-list {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  width: 200px;
  z-index: 1000;
}

.custpopup-item {
  padding: 8px;

}

.custpopup-item:hover {
  background-color: #f0f0f0;
}

body {
  cursor: auto !important;
}

input,
textarea {
  cursor: text !important;
}

button,
a {
  cursor: pointer !important;
}

input,
textarea,
select {
  cursor: text !important;
}

/* Container */
#custTabs {
    border-bottom: 1px solid #c0c0c0;
}

/* All tabs */
#custTabs .nav-link {
    color: #333;
    background-color: #f3f3f3;
    border: 1px solid #c0c0c0;
    border-bottom: none;
    margin-right: 2px;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px 4px 0 0;
    transition: background 0.15s ease;
}

/* Hover */
#custTabs .nav-link:hover {
    background-color: #e6e6e6;
    color: #000;
}

/* Active tab */
#custTabs .nav-link.active {
    background-color: #ffffff;
    color: #000;
    border-bottom: 1px solid #ffffff;
    position: relative;
    top: 1px; /* lifts tab like phpMyAdmin */
    font-weight: 500;
}

/* Optional: small text tweak */
#custTabs .nav-link .small {
    font-size: 12px;
}