html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;


}

input[type="date"] {
    font-size: smaller;
}

table {
    font-size: smaller;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
    width: 100%;
}

table, th, td {
    border: 1px solid #aaaaaa;
    border-collapse: collapse;
    padding: 1px 5px;
    color: black;
}

th {
    background-color: saddlebrown;
    color: white;
}

.shrink {
    width: 1px;
    white-space: nowrap;
}



/* Apply different background colors to odd and even rows */
tr:nth-child(odd) {
    background-color: #f2fff2;
}

tr:nth-child(even) {
    background-color: #ffffd2;
}

.max-div {
    max-width: 200px; /* Set your desired max width */
    width: 200px; /* Ensures content fits tightly when short */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.expand-td-style {
    border-right: none;
    font-weight: bolder;
    text-align: center;
}

.product-td-style {
    border-left: none;
}

.custom-header {
    border-right: none;
}

.div-10-space {
    padding-top: 5px;
    padding-bottom: 5px;
}

.div-20-space {
    padding-top: 10px;
    padding-bottom: 10px;
}

.div-40-space {
    padding-top: 20px;
    padding-bottom: 20px;
}

tr:hover {
    cursor: default;
    filter: brightness(1.2); /* Lightens the row */
}

tr.selected {
    background-color: #88ffff; /* Selected color */
}

td span {
    float: right;
}

.smallerTD {
    width: 110px;
}

.containerTable {
    display: table;
    width: 100%;
}

.rowTable {
    display: table-row;
    font-size: 0.9em;
}

.cellTable {
    display: table-cell;
    padding: 5px 5px 5px 5px;
}

.alignRight {
    text-align: right;
}

.noWrap {
   white-space: nowrap;
}

.centerColumnWithExtraPadding {
    padding: 5px 10px;
    vertical-align: top;
}

.endColumnWithAlignBottom {
    vertical-align: bottom;
}

.textPair {
    padding: 0px 5px 0px 2px;
}

.tfMinWidth {
    min-width: 64px;
    display: inline-block;
}


grid-container {
    display: grid;
    grid-template-columns: repeat(4, min-content);
    grid-gap: 10px;
}

/* non-essential decorative styles */
grid-item {
    display: flex;
    justify-content: left;
    align-items: flex-start;
}

.buttonSmallOnTable {
    display: inline-block;
    padding: 0px 14px;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    text-decoration: none;
    border: 1px solid #dddddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    font-family: inherit;
}

.buttonStandard {
    display: inline-block;
    padding: 1px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
    text-decoration: none;
    border: 1px solid #0056b3;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    font-family: inherit;
}


.buttonBigSquare {
    display: inline-block;
    padding: 14px 14px;
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
    text-decoration: none;
    border: 1px solid #0056b3;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    font-family: inherit;
}