body {
    margin-bottom: 60px;
}

.page-index h3 {
    padding-left: 25%;
}

.message-box {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    z-index: 1000;
    background-color: #3832323b;
    align-content: center;
    justify-items: center;
}

    .message-box textarea {
        width: 100%;
        resize: none;
        z-index: 1001;
        border-color: gray;
    }

.message-box-body {
    width: 50%;
    border: 2px solid lightgray;
    border-radius: 8px;
    background-color: white;
    min-height: 120px;
    min-width: 180px;
    max-width: 360px;
}

.message-box-body h1 {
    font-size: 16px !important;
    padding: 16px;
    border-bottom: 2px solid lightgray;
}

.message-box-text {
    padding: 16px;
}

.message-box-buttons {
    padding: 16px;
}

.message-box-body a {
    text-decoration: none;
    text-align: center;
    padding: 5px 20px;
    min-width: 60px;
    border: 1px solid lightgray;
    border-radius: 8px;
}

.red-font {
    color: red;
}

.main {
    flex-grow: 1;
}

.body-container {
    max-width: 1920px;
    padding: 0 16px;
    margin: 0;

}

.main-container {
    max-width: 1988px;
    padding: 0 16px;
    width: 100%;
}

.wrapper {
    display: flex;
}

.side-panel-open .side-pannel {
    display: initial;
}

.editoffcanvas {
    width: 45% !important;
}

.accordion-button {
    text-align: justify !important;
}

.text-row:after {
    content: "";
    display: table;
    clear: both;
}

.icon-black {
    color: black !important;
}

.colSetWidth{
    width: 3rem;
}

.accordion-item.d-table {
    width: 100%
}

.colIdWidth {
    width: 4.5rem;
}

.colProjectWidth {
    width: 12rem;
}

.colDisciplineWidth {
    width: 10rem;
}

.colDisciplineMinWidth {
    min-width: 20rem;
}

.colDiscDescWidth {
    width: 15rem;
}

.colButtonWidth {
    width: 8rem;
}
.colDayWidth {
    width: 2.5rem;
}

.colDayWidth {
    width: 2.5rem;
}

.LMarginNone #main.container {
    margin-left: 0px;
}

/* Style the main layout container */
.page-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Style the sidebar column */
.sidebarAA {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    /* Sidebar won't grow or shrink */
    width: 25%;
    /* Adjust the width as needed */
    padding-right: 80px;
    /* Add padding to the sidebar as needed */
}

.sidebarAA .btn-primary {
    min-width: 100px;
}

.sidebarTA {
    flex: 0 0 auto;
    padding-right: 50px;
}

/* Style the main content column */
.main-contentAA {
    flex: 1;
    /* Main content takes up remaining space */
    /* padding: 20px; */
    /* Add padding to the main content as needed */
}

.prompt {
    border-color: #d1d5dc;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 600px;
  }
  
  .prompt:focus-within {
    border-color: #abafb8;
  }
  
  .prompt-textarea {
    resize: none;
    width: 100%;
    font-size: 14px;
    color: #101828;
    padding: 14px;
    outline: none;
    border: 0 solid;
    border-radius: 0.5rem;
  }
  
  .prompt-textarea:disabled {
    cursor: progress;
    background-color: white;
  }
  
  .prompt-controls {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
  }
  
  .prompt-controls .btn {
    padding: 8px 35px;
    font-size: 14px;
  }
  
  .prompt-controls .btn:focus {
    box-shadow: none;
  }
  
  /* Table */
  .output-table {
    margin: 25px 0;
    font-size: 14px;
    min-width: 400px;
  }
  
  /* Row */
  .output-table thead tr {
    text-align: left;
  }
  
  /* Cells */
  .output-table th,
  .output-table td {
    padding: 15px 30px;
  }
  
  /* Body */
  .output-table tbody tr {
    border-bottom: 0.5px solid #dddddd;
  }
  
  .output-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
  }

  .code-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    min-width: 500px;
  }

  .code {
    border-radius: 10px;
  }
  
  .mt-32 {
    margin-top: 8rem
  }

  .width-100 {
      width: 100%;
  }

  .month-day {
      font-size: 10px;
  }

.my-table-container {
    max-width: 72vw;
    overflow-x: auto;
    overflow-y: auto;
    min-height: calc(100%);
    max-height: calc(100vh - 370px);
}

.my-table-wide {
    min-width: calc(70vw);
    table-layout: fixed;
}

.my-table-select-td {
    width: 30px;
    max-width: 40px;
    padding: 2px;
    border-left: none;
}

.my-table-buttons-td {
    border-left: none;
    border-right: none;
    float: right;
}

.my-table-short-td {
    width: 8%;
    max-width: 8%;
    padding: 2px;
}

.my-table-10-td {
    width: 10%;
    max-width: 10%;
    padding: 2px;
}

.my-table-10-td input {
    width: 100%;
    padding: 7px 5px;
    font-size: 12px;
}

.my-table-10-td select {
    width: 100%;
    padding: 7px 5px;
    font-size: 12px;
}

.my-table-15-td {
    width: 15%;
    max-width: 15%;
    padding: 2px;
}

.my-table-no-wrap {
    white-space: nowrap;
    overflow: hidden;
}

.disabled-anchor {
    pointer-events: none;
    cursor: default;
    touch-action: none;
    color: gray !important;
}

.disabled-anchor:hover {
    touch-action: none;
    color: gray;
}

.details-menu {
    display: flow;
    align-items: end;
}

.action-menu {
    list-style: none inside;
    display: inline-flex;
    margin: 0;
    padding: 0;
    width: fit-content;
}

.action-menu li {
    display: block;
    position: relative;
    float: left;
}

.action-menu li a {
    pointer-events: none;
    cursor: default;
    touch-action: none;
}

.action-menu ul {
    position: absolute;
    padding: 0;
    left: 0;
    display: none;
}

.action-menu li .disabled-anchor ul {
    display: none !important;
}

.action-menu li:hover ul {
    display: block;
    width: fit-content;
    background-color: whitesmoke;
    border: 1px solid grey;
    border-radius: 4px;
}

.action-menu li:hover ul li {
    width: 100%;
    white-space: nowrap;
}

.action-menu li:hover .disabled-anchor ul li {
    display: none;
}

.action-menu li:hover ul li a {
    pointer-events: auto;
    cursor: pointer;
    touch-action: auto;
    padding: 1px 5px;
    width: 100%;
}

.error-text {
    color: red;
}

.no-border-td {
    border-style: none !important;
    border-width: 0 !important;
}

.functional-menu {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin-bottom: 10px;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.1);
}

.functional-menu-left {
    min-width: 20%;
    padding-bottom: 5px;
}

.functional-menu a {
    margin-right: 10px;
    text-decoration: none;
    padding-bottom: 5px;
}

.functional-menu a:hover {
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.3);
}

.payment-Payable:before {
    content: "A";
    font-size: 12px;
    color: #5f8b33;
    border: 2px solid #5f8b33;
    padding: 0px 5px 2px 5px;
    border-radius: 40px;
}

.payment-Retainer:before {
    content: "R";
    font-size: 12px;
    color: #2a8bb6;
    border: 2px solid #2a8bb6;
    padding: 0px 5px 2px 5px;
    border-radius: 40px;
}

.payment-Retainage:before {
    content: "R";
    font-size: 12px;
    color: #4b1c1c;
    border: 2px solid #4b1c1c;
    padding: 0px 5px 2px 5px;
    border-radius: 40px;
}

.layout-table {
    padding: 0;
    margin: 0;
    width: 100%;
}

.layout-table tbody td:first-child {
    font-weight: bolder;
    text-align: end;
    padding-right: 5px;
}

.layout-table tfoot td:first-child {
    font-weight: bolder;
    padding-right: 5px;
}

.layout-table tfoot th:last-child {
    text-align: end;
    font-weight: normal;
}

.layout-table tfoot tr:last-child {
    border-bottom: 2px solid black;
}

.layout-table th {
    padding-top: 20px;
}

.results-table {
    margin-top: 10px;
}

.results-table td {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    vertical-align: middle;
}

.results-table th {
    padding-left: 0;
    padding-right: 0;
    border-bottom: none;
}

.results-table select {
    text-align: left;
}

.results-table td:last-child {
    text-align: end;
}

.results-table tfoot tr:first-child {
    font-weight: bold;
    padding-left: 0;
    padding-right: 0;
}

.results-table .table-subheader {
    background-color: whitesmoke;
    text-align: center;
}

.results-table .table-subheader-end {
    border-right: 2px solid white;
}

.results-table .table-groupheader {
    text-align: center;
}

.darker-table-row {
    background-color: whitesmoke;
    font-style: italic;
}

.darker-table-row td {
    text-align: left;
}

.dark-table-cell {
    background-color: lightgrey !important;
    font-style: italic;
}

.table-amount {
    text-align: center;
}

.form-group {
    padding-bottom: 5px;
}

.form-group label {
    font-weight: bold;
}

.global-settings label {
    min-width: 200px;
    text-align: right;
    margin-right: 5px;
}

.global-settings text {
    min-width: 200px;
    text-align: right;
    margin-right: 5px;
}

.global-settings div {
    min-width: 25%;
    max-width: 40%;
    display: flex;
    flex-direction: row;
}

.global-settings input {
    padding: 2px 0;
}

.global-settings select {
    padding: 2px 0;
}

.vats-table input {
    width: calc(100% - 20px);
    margin-top: 10px;
}

.vats-table select {
    width: calc(100% - 20px);
    margin-top: 10px;
}

.list-checkbox {
    pointer-events: none;
}

.timesheet {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 600px);
}

    .timesheet .row {
        margin-left: 0;
        margin-right: 2px;
        display: block;
        --bs-gutter-x: 0;
        margin-bottom: 5px;
    }

.timesheet-section {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.timesheet-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

    .timesheet-menu .btn-default {
        border: 1px solid #ced4da;
        border-radius: .25rem;
    }

.timesheet-table td {
    position: relative;
}

.timesheet-table .thidden {
    visibility: hidden;
}

.timesheet-table .tnormal {
    font-size: 10px;
    font-weight: normal;
    position: absolute;
    right: 0;
    top: 0;
}

.timesheet .my-table-container {
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: auto;
    min-height: calc(100vh - 290px);
}

.timesheet-Week {
    min-width: 1200px;
    max-width: 1200px;
    width: 1200px;
}

.timesheet-Month {
    min-width: 1920px;
    max-width: 1920px;
    width: 1920px;
}

.colDisciplineWidth-Week {
    min-width: 250px;
}

.colDisciplineWidth-Month {
    min-width: 250px;
}

.timesheet-bold {
    font-weight: bold;
}

.timesheet-dim {
    color: gray;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }

    .h3, h3 {
        font-weight: normal;
        font-size: 1.5rem;
    }

    .page-layout {
        flex-direction: row;
        width: auto;
    }

    .timesheet {
        flex-direction: column;
    }

    .timesheet .row {
        margin-bottom: 0;
    }

    .main-container {
        width: auto;
    }

    .sidebarTA {
        /* Sidebar won't grow or shrink */
        width: 25%;
    }
}

@media (min-width: 1200px) {
    .h3, h3 {
        font-weight: normal;
        font-size: 1.5rem;
    }
}
