:root {
    --themetxtcolor: #ba857f;
}

.structure {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.expandChildTable:before {
    /* content: "▼"; */
    content: " + ";
    display: block;
    cursor: pointer;
}

.expandChildTable.selected:before {
    /* content: "▲"; */
    content: " - ";

}

.childTableRow {
    display: none;
}

/* .childTableRow table {
    border: 2px solid #555;
} */
#customer-table::-webkit-scrollbar {
    width: 5px;
}

/* Track */
#customer-table::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
#customer-table::-webkit-scrollbar-thumb {
    background: #ba857f;
    border-radius: 10px;
}

tr.childTableRow td {
    border-top: none;
    padding-top: 0;
}

tr.childTableRow th {
    background: #ba857f;
    color: #fff;
}

tr.childTableRow table.table.table-bordered.table-hover {
    margin-bottom: 0;
}

label.error {
    color: #dc3545;
    font-size: 14px;
}

.active,
.card-header,
.btn-primary,
.bg-info,
.card-outline {
    background-color: #ba857f !important;
    border-color: #ba857f !important;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover{
    color : #fff;
}
.btn-primary:hover,
.active:hover {
    background-color: #a9726c !important;
}

.card-body {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

.info {
    font-size: 18px;
    font-weight: 600;
}

.col {
    font-size: 18px;
}

.btn-white {
    background-color: #ba857f !important;
    border-color: #fffefe !important;
}

.btn-white:hover {
    background-color: #a9726c !important;
    border-color: #fffefe !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: black !important;
}

.card-title {
    color: white !important;
}

.swal-footer {
    text-align: center !important;
}

.swal-button {
    display: block;
    margin: 0 auto;
    text-align: center;
    box-shadow: none !important;
}

.card-header .row {
    display: flex;
    justify-content: space-between;
}

/* Optional: Adjust the spacing between the dropdown and the button */
.card-header .row .form-group {
    margin-right: 15px;
}

#order-datatable_filter,
input,
select#order_status  ,
#group_name, #category_name{
    outline: none;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
#order-datatable_filter{
    height: unset;
    border: none;
}
#order-datatable_filter input:focus {
    border: 1px solid #ba857f !important;
}

.swal-button--confirm {
    background-color: #ba857f !important;
    border: 1px solid #ba857f !important;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    margin: 0;
    cursor: pointer;
}

.swal-button.swal-button--confirm:focus {
    box-shadow: none;
}

input[type="search"]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type="search"]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

/* Disable browser close icon for Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 10px;
    background-image: url(../img/cross.svg);
    background-size: 10px 10px;
}


.swal-button--confirm:not([disabled]):hover {
    background-color: #a9726c !important;
}

.table-secondary,
.table-secondary>td,
.table-secondary>th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

tbody tr td:nth-child(8) {
    display: flex;
}

.text-primary {
    color: #ba857f !important;
}

.text-primary:hover {
    color: #a9726c !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #ba857f !important;
    border: 1px solid #fff !important;
    color: white !important;
}


.dataTables_wrapper:hover .dataTables_paginate:hover .paginate_button:hover,
.dataTables_wrapper:hover .dataTables_paginate:hover .paginate_button.current:hover {
    background: #a9726c !important;
    border: 1px solid #fff !important;
    color: white !important;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #ba857f;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.outerDiv {
    position: relative;
}

.remove-button {
    position: absolute;
    top: -8px;
    right: 14px;
}

input.error {
    border: 2px solid;
    border-color: red;
}

.text-danger {
    font-size: 14px;
}

.error-massage {
    margin-top: -14px !important;
}

.side-button {
    position: absolute;
    top: 0;
    right: 0px;
}

tbody tr:first-child td {
    border-top: 0px !important;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable.no-footer {
    border-color: #b3b7bb;
}

table#group-datatable th, table#customer-datatable th, table#order-datatable th{
    padding: 10px;
}

table#group-datatable th input#customer, table#customer-datatable th input#customer{
    margin-right: 3px;
}

@media screen and (max-width:1365px) {
    .table-responsive-1 {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}


.template-customer-details {
    max-width: fit-content;
    max-width: 800px;
}

.template-products-details {
    max-width: fit-content;
    max-width: 800px;
}

.template-unit-details {
    max-width: fit-content;
    max-width: 800px;
}


.cancel-btn {
    color: var(--themetxtcolor);
}

.cancel-btn:hover {
    color: var(--themetxtcolor);
}

.cancel-btn {
    color: var(--themetxtcolor);
}

.cancel-btn:hover {
    color: var(--themetxtcolor);
}

#customer-table {
    display: inline-block;
    width: 100%;
    max-height: 400px;
    overflow: auto;
}

#building-table {
    display: inline-block;
    width: 100%;
    max-height: 400px;
    overflow: auto;
}

#customer-table {
    display: inline-block;
    width: 100%;
    max-height: 400px;
    overflow: auto;
}

#products-table {
    display: inline-block;
    width: 100%;
    max-height: 400px;
    overflow: auto;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    background-color: #e95420 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    background-color: #a9726c !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    background-color: #a9726c !important;
}

.unit-warning-message {
    color: #dc3545;
    margin-top: 4px;
    font-size: 14px;
}

.customer-warning-message {
    color: #dc3545;
    margin-top: 4px;
    font-size: 14px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ba857f !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
}

#customer-footer {
    display: none;
    text-align: center;
}

#units-footer {
    display: none;
    text-align: center;
}

.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
    background-color: #a9726c !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    box-shadow: none !important;
    border-color: #a9726c !important;
}

.products-variant-details {
    max-width: fit-content;
    max-width: 600px;
}
#variant-modifier-data{
    max-height: 400px;
    overflow: auto;
}

.product-name{
    color: red;
}

#variant-error-msg{
    color: red;
    margin: 10px 0px 10px 30px;
}
#product-tbl{
    position: sticky;
    top: 0;
}
#products-details{
    position: sticky;
    top: 0;
    box-shadow: 0px -9px 0 #fff;
}
#master{
    accent-color: #ba857f;
    cursor: pointer;
}
body .loader_loading {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    height: 100%;
    width: 100%;
    background-color: rgb(255 255 255 / 48%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#table-tree{
    border-bottom: 1px solid #b3b7bb;
}

.tree-table thead th{
    border-bottom: 1px solid #b3b7bb;
}

.tree-view-section .tree-view-loader {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: 0 auto;
    right: 0;
    transform: translateY(50px);
    z-index: 99999;
    height: 100%;
    width: 100%;
    background-color: rgb(255 255 255 / 48%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#loader-text {
  font-size: 20px;
  padding-top: 10px;
}
.info-icon{
    padding-right: 2px;
}
#product-message{
    text-align: center;
    display: none;
}

.tab-pane.active.customer-list {
    background-color: transparent !important;
}

#customer{
    accent-color: #ba857f;
}
#group{
    accent-color: #ba857f;
}
#custom-tabs-two-tab li.nav-item a.active, #custom-tabs-two-tab li.nav-item a:hover {
    background: #fff !important;
    color: #000 !important;
}

#custom-tabs-two-tab li.nav-item a {
    padding: 10px 14px;
    border: 0 !important;
    transition: all .6s;
    margin-left: 5px;
}

#customer{
    cursor: pointer;
}
#group{
    cursor: pointer;
}

.single-customer-permission{
    width: 28px !important;
}
.group-permission{
    width: 28px !important;
}
.revoked-permission{
    width: 28px !important;
}
.swal-modal{
    width: 480px !important;
}

.group-datatable th:nth-child(1) {
    width: 1000px !important;
}

.group-datatable th:nth-child(2) {
    width: 140px !important;
}

#group-datatable_filter input:focus, #customer-datatable_filter input:focus{
    border: 1px solid #ba857f !important;
}

#customer-datatable_filter input,
select#order_status, #group-datatable_filter input {
    outline: none;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.dataTables_wrapper .dataTables_length label select {
    border: 1.5px solid #ced4da !important;
    outline: none !important;
    border-radius: 3px !important;
}

.dataTables_wrapper .dataTables_length label select:focus {
    border-color: #ba857f !important;
    border-radius: 3px !important;
}
#customer-datatable_filter input::-webkit-search-cancel-button{
    -webkit-appearance: none !important;
    appearance: none !important;
}
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.category-datatable th:nth-child(1) {
    width: 1000px !important;
}

.category-datatable th:nth-child(2) {
    width: 140px !important;
}

#document-datatable th:nth-child(1) {
    width: 1400px !important;
}

.added-documets-table th:nth-child(1) {
    width: 1400px !important;
}

#file-list{
    margin-top: 20px !important;
}

.custom-file-document label.custom-file-label::after {
    background: #ba857f;
    color: #fff;
}

.custom-file-document label.custom-file-label {
    border-color: #ba857f !important;
}

input[type="checkbox"] {
    height: calc(1.00rem + -3px) !important;
}

.category-title{
    color: #ba857f;
    font-size: 16px;
    display: block;
    width: 100%;
}
.product-name-title{
    font-size: 16px;
    display: block;
    width: 100%;
}

.inner-tab td{
    border-top: none; border-bottom: none;
}

.inner-tab td:first-child {
    border-left: 0; padding-left: 0;
}

.inner-tab td:last-child {
    border-right: 0;
}
.even{
    background-color: #f7f7f7;
}

.text-danger {
    font-weight: 700;
}

.form-heading {
    font-weight: 600;
    margin-bottom: 10px;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
    height: auto;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ck-editor__editable, .ck-source-editing-area {
    height: 200px;
}

.editor-main-container .ck-source-editing-area textarea {
    overflow: auto;
}
