
.card-header {
  padding: 0.2rem 0.2rem;
}

.card .table {
  margin-bottom: 0; }
  .card .table td,
  .card .table th {
    font-size: .7rem;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem; }


p {
  font-size: .7rem;
  margin-top: .1rem;
  margin-bottom: 0;
}

label {
  display: inline-block;
  text-align: right;
  /*float: right;*/
}
input, select {
  float: right;
}

input[type="text"].custom-field-input {
    width: 100%;
    margin: 8px 0;
    font-size: smaller;
}
a, .text-action {
  color: blue;
}

.sidebar .nav-link {
  font-size: .8rem;
}


.logo {
  text-align: center;
  margin-bottom: 20px;
}

.logo img {
  max-width: 200px;
}

button[type="submit"] {
  background-color: #0f7c8c;
  color: #fff;
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* light blue submit button for process account at top of page */
button[type="submit"].process-account {
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: auto;
    padding: 4px 8px;
}

button[type="submit"].process-account-stale {
    background-color: orangered;
    color: #fff;
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: auto;
    padding: 4px 8px;
}

.btn-note-delete {
    background-color: red !important;
    padding: 0.2rem 0.2rem !important;
    font-size: 0.7rem !important;
}

.btn-note-edit {
    background-color: dodgerblue !important;
    padding: 0.2rem 0.2rem !important;
    font-size: 0.7rem !important;
}

span.tooltip {
    position: relative; /* Make the parent td element a positioning context */
    cursor: help; /* Change the cursor to a pointer on hover */
}

span.tooltip:hover::after {
    content: attr(title); /* Set the tooltip text to the value of the title attribute */
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0.5em;
    background-color: #333;
    color: #fff;
    white-space: nowrap;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-pointer:hover {
  cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.cursor-default:hover {
    cursor: default;
}

.table th.remit-1, tr.remit-1, td.remit-1 {
    background-color: lightpink;
}

.table.table-hover tr:hover td.remit-1 {
    background-color: hotpink;
}

.table th.remit-2, tr.remit-2, td.remit-2 {
    background-color: lightgreen;
}

.table.table-hover tr:hover td.remit-2 {
    background-color: mediumseagreen;
}

.table th.remit-3, tr.remit-3, td.remit-3 {
    background-color: lightblue;
}

.table.table-hover tr:hover td.remit-3 {
    background-color: blue;
}

.table th.remit-4, tr.remit-4, td.remit-4 {
    background-color: slategray;
}

.table.table-hover tr:hover td.remit-4 {
    background-color: slategray;
}

.table th.remit-5, tr.remit-5, td.remit-5 {
    background-color: lightgray;
}

.table.table-hover tr:hover td.remit-5 {
    background-color: gray;
}

.table th.remit-6, tr.remit-6, td.remit-6 {
    background-color: lightcoral;
}

.table.table-hover tr:hover td.remit-6 {
    background-color: coral;
}

.btn-payment, .btn-solution {
    font-size: 0.8rem;
    vertical-align: top;
    text-align: left;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.center {
    border: 2px;
    box-shadow: 5px 5px 5px 5px lightblue;
    margin: auto;
    width: 50%;
    padding: 10px;
}

#parent_div {
    display: flex;
}

.child_div_left {
    float: left;
}

.child_div_right {
    float: right;
}

.btn-in-cell {
    font-size: x-small !important;
    height: auto !important;
    width: auto !important;
    padding: 4px !important;
}

.label-in-table-cell {
    /*display: flex;*/
    flex-direction: row;
    justify-content: flex-end;
    text-align: right;
    width: 400px;
    line-height: 26px;
    /*margin-bottom: 10px;*/
    color: darkorange;
}

.input-in-table-cell {
    height: 20px;
    flex: 0 0 200px;
    margin-left: 20px;
}

.btn-price {
    font-size: 0.8rem;
    vertical-align: top;
    text-align: right;
}

.select2-container {
    float: right; /* move container to right of p tag */
}

.select2-results__option {
    font-size: 0.7rem;
}

/*.select2-selection {*/
/*    display: inline-block;*/
/*    min-height: 10px;*/
/*}*/

.pdf-container {
    position: relative;
    width: auto;
    height: auto;
    overflow: scroll;
}

.pdf-input {
    position: absolute;
    z-index: 0; /* Above the canvas */
    background-color: lightgray;
    border: 0;
    outline: 0;
}

.template-list {
    width: 30%;
    float: left;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}

.template-detail {
    width: 65%;
    float: left;
    padding-left: 20px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
