#ajax-modal .modal-header button.close>span {
    display: none;
}

#ajax-modal .modal-header button.close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

#ajax-modal .modal-header button.close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

#ajax-modal .modal-header button.close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}


#ajax-modal .modal-header button.close:disabled,
#ajax-modal .modal-header button.close.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.25;
}

.custom-heading h5 {
    color: #5F5F5F;
    margin: 0px;
}

.permissionNav a {
    margin-bottom: 1px !important;
}

.side-panel-header-wrap>div.row {
    align-items: center;
}

.side-panel-header-wrap .side-panel-close-btn-wrap>a.dismiss-side-panel-btn {
    text-decoration: none;
    font-size: larger;
    font-family: 'FontAwesome';
    color: #6c757d !important;
}

.side-panel-header-wrap .side-panel-title-wrap>h2 {
    margin-bottom: 0;
    font-size: x-large;
    color: #6c757d;
}

.error-message {
    color: #FF0000;
}

.plain-anchor {
    text-decoration: none !important;
}

.taggeduser {
    color: #C04D5C;
}

.active {
    color: #C04D5C;
}

.active.show {
    color: #212529 !important;
}

.cursor-css {
    cursor: pointer;
}

.livewire-modal.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, 0);
}

.livewire-modal.fade:not(.show) {
    opacity: 100;
}

.footer-custom-two {
    padding-top: 0px;
}

.footer-custom-one {
    padding-bottom: 0px;
}

.table-hover>tbody>tr:hover>td a {
    color: #3B5896 !important;
}

.livewire-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    display: block !important;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.livewire-modal.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, 0);
}

.livewire-modal.fade:not(.show) {
    opacity: 100;
}

.footer-livewire-two {
    padding-top: 0px;
}

.footer-livewire-one {
    padding-bottom: 0px;
}

.table-hover>tbody>tr:hover>td a {
    color: #3B5896 !important;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    /* transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
}


.customSelect2Container .select2-selection__rendered {
    float: left;
}

.customSelect2Container .select2-selection__rendered .select2-selection__choice {
    display: inline-block !important;
    background-color: #F0F0F0 !important;
    color: #717170 !important;
    border-radius: 5px !important;
    padding: 0px 3px 0px 7px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    margin-right: 5px !important;
    border: unset !important;
}

/* Move the remove button to the right side */
.customSelect2Container .select2-selection__choice__remove {
    float: right !important;
    margin: 0 7px 3px !important;
    width: 0.30rem !important;
    height: 0.30rem !important;
    margin-top: 0.35rem !important;
}

.customSelect2Container .select2-selection__choice {
    background-color: #717170 !important;
    color: #fff !important;
}

/* Style for unselected option */
.customSelect2Container .select2-results__option {
    color: #000 !important;
    background-color: #F0F0F0 !important;
}

/* Style for highlighted option */
.customSelect2Container .select2-results__option--highlighted {
    color: #fff !important;
    background-color: #717170 !important;
}

.select2-results__option--selected {
    background-color: #717170 !important;
    color: #fff !important;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 100% !important;
}

.select2-container.select2-container--bootstrap-5.select2-container--open {
    z-index: 9999 !important;
}

.selectProjectDiv .select2.select2-container.select2-container--default {
    width: 100% !important;
    height: 100% !important;
}


.dropdownblock .position-relative .btn-danger {
    z-index: 10;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.end-10 {
    right: 10px !important;
}

.productTable .form-control,
.productTable .form-select,
.productTable .select2 {
    width: 100%;
}

/* .productTable.table> :not(caption)>*>* {
    padding: 20px !important;
} */



.form-switch input.form-check-input {
    background-color: grey;
}

.tfoot-style {
    border: none;
    /* Remove borders for the entire footer */
}

.tfoot-style tr {
    border: none;
    /* Remove borders for all rows in the footer */
    background-color: #FF0000;
}

.tfoot-style td {
    border: none;
    /* Remove borders for all cells in the footer */
}

.tfoot-style strong {
    font-weight: bold;
    /* Keep bold text for totals */
}

.table .tfoot-style {
    --bs-table-accent-bg: #EAF1FF;
    /* Set your custom color */
}

.hide-in-allocation-modal {
    display: none;
}

.table> :not(caption)>*>* {
    padding: 0.5rem 0.5rem;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
}


#customer-table th .form-select.form-select-sm {
    padding: 0 4px;
    height: 30px;
}

.user-block {
    display: flex;
    align-items: center;
}

.user-block span.usertext {
    color: #717170;
    font-size: 14px;
    padding-right: 15px;
    font-family: 'Open Sans', sans-serif;
}

.user-block span.user-img span.budge {
    margin-bottom: -5px;
    margin-right: -7px;
    background-color: #FF0000;
    border-radius: 50px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    height: 15px;
    min-width: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.user-block span.user-img {
    position: relative;
}

.profileImgleftBottom {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-size: cover;
    background-position: top center;
}

.profileImgNote {
    width: 34px;
    height: 34px;
    border-radius: 100px;
    background-size: cover;
    background-position: top center;
}

.h3span {
    color: var(--Text---Gray, #5F5F5F);
    font-family: "Trebuchet MS";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.main-content-mini {
    background-color: #fff;
}

.main-content-mini h2 {
    color: #5F5F5F;
    margin: 10px 0px;
    font-family: 'Trebuchet MS';
    font-size: 24px;
    font-weight: bold;
}

.main-content-mini h3 {
    color: #3B5896;
    margin: 10px 0px;
    font-family: 'Trebuchet MS';
    font-size: 18px;
    font-weight: 400;
}

.custom-list-block {
    width: 280px;
}

.sidebar_filter-custom {
    padding-left: 280px;
}

.select2-container--default .select2-selection--multiple {
    border-color: #00000040 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    line-height: 26px !important;
    font-size: 13px !important;
}

.select2-container .select2-search--inline .select2-search__field {
    height: 26px;
    font-size: 13px !important;
    line-height: 30px;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.rounded-bottom-0 {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.side-panel-close-btn-wrap a.dismiss-side-panel-btn:hover {
    color: #3b5896 !important;
    font-weight: bolder;
}

/* ROTATE HELPER CLASSES */
.rotate-0 {
    transform: rotate(0deg) !important;
}

.rotate-45 {
    transform: rotate(45deg) !important;
}

.rotate-90 {
    transform: rotate(90deg) !important;
}

.rotate-135 {
    transform: rotate(135deg) !important;
}

.rotate-180 {
    transform: rotate(180deg) !important;
}

.rotate-225 {
    transform: rotate(225deg) !important;
}

.rotate-270 {
    transform: rotate(270deg) !important;
}

.rotate-315 {
    transform: rotate(315deg) !important;
}

.rotate-45-cc {
    transform: rotate(-45deg) !important;
}

.rotate-90-cc {
    transform: rotate(-90deg) !important;
}

.rotate-135-cc {
    transform: rotate(-135deg) !important;
}

.rotate-180-cc {
    transform: rotate(-180deg) !important;
}

.rotate-225-cc {
    transform: rotate(-225deg) !important;
}

.rotate-270-cc {
    transform: rotate(-270deg) !important;
}

.rotate-315-cc {
    transform: rotate(-315deg) !important;
}

.rotate-1 {
    transform: rotate(30deg) !important;
}

.rotate-2 {
    transform: rotate(60deg) !important;
}

.rotate-3 {
    transform: rotate(90deg) !important;
}

.rotate-4 {
    transform: rotate(120deg) !important;
}

.rotate-5 {
    transform: rotate(150deg) !important;
}

.rotate-6 {
    transform: rotate(180deg) !important;
}

.rotate-7 {
    transform: rotate(210deg) !important;
}

.rotate-8 {
    transform: rotate(240deg) !important;
}

.rotate-9 {
    transform: rotate(270deg) !important;
}

.rotate-10 {
    transform: rotate(300deg) !important;
}

.rotate-11 {
    transform: rotate(330deg) !important;
}

.rotate-12 {
    transform: rotate(0deg) !important;
}

.rotate-1-cc {
    transform: rotate(-330deg) !important;
}

.rotate-2-cc {
    transform: rotate(-300deg) !important;
}

.rotate-3-cc {
    transform: rotate(-270deg) !important;
}

.rotate-4-cc {
    transform: rotate(-240deg) !important;
}

.rotate-5-cc {
    transform: rotate(-210deg) !important;
}

.rotate-6-cc {
    transform: rotate(-180deg) !important;
}

.rotate-7-cc {
    transform: rotate(-150deg) !important;
}

.rotate-8-cc {
    transform: rotate(-120deg) !important;
}

.rotate-9-cc {
    transform: rotate(-90deg) !important;
}

.rotate-10-cc {
    transform: rotate(-60deg) !important;
}

.rotate-11-cc {
    transform: rotate(-30deg) !important;
}

.rotate-12-cc {
    transform: rotate(-360deg) !important;
}


.custom-footer-section-one {
    padding-left: 16px !important;
}

.ui-datepicker {
    z-index: 99999 !important;
}

.ui-datepicker-month,
.ui-datepicker-year {
    background-image: linear-gradient(to bottom, #fff, #f5f7f9);
    border-color: #cfd7df;
    background-color: #f5f7f9;
    height: 32px;
    min-width: 80px;
    vertical-align: middle;
    white-space: nowrap;
    padding: 0;
    border-radius: 4px;
    font-size: 13px;
}

.ui-datepicker-header {
    border: #D7D7D7 solid 1px;
}

.ui-state-active {
    background-color: #6AC180;
}

.ui-datepicker-title {
    background: #fff;
}

.ui-datepicker-calendar {
    border: #D7D7D7 1px solid;
}

.ui-datepicker-prev:after,
.ui-datepicker-next:after {
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
}

.ui-datepicker-month {
    border-radius: 4px 0 0 4px;
}

.ui-datepicker-year {
    border-radius: 0 4px 4px 0;
}

.customDate {
    width: 100%;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover,
.ui-datepicker-prev:hover:after,
.ui-datepicker-next:hover:after {
    border-color: #000;
}

.whitebgcustom {
    background: #fff;
}

.sidebar_filter {
    background-color: #fff;
    margin-right: -400px;
    padding: 30px 24px;
    position: fixed;
    transition: all 0.5s;
    overflow-x: auto;
    width: 400px;
    right: 0px;
    top: 0px;
    bottom: 0px;
}

.sidebar_filter h2 {
    color: rgba(39, 37, 31, 1);
    font-size: 24px;
    font-weight: bold;
}

.sidebar_filter.active {
    margin-right: 0px;
}


.sidebar_filter_filter {
    width: 320px;
    transition: all 0.2s;
    background-color: #fff;
    border-right: #EEEEEE solid 1px;
    height: calc(100% - 66px);
    overflow: auto;
    padding: 0px 35px;
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
}

.sidebar_filter a.logo {
    margin-bottom: 35px;
    display: block;
    background: #fff;
    padding-top: 35px;
    position: sticky;
    top: 0px;
    z-index: 1020;
}

.sidebar_filter a.logo img {
    width: 100%;
}

.sidebar_filter h3 {
    color: #3B5896;
    font-size: 18px;
}

@media screen and (max-width: 1399.5px) {
    .sidebar_filter-custom {
        padding-left: 0px;
    }
}

@media screen and (max-width: 992px) {
    .sidebar_filter {
        left: -320px;
    }

    .sidebar_filter.active {
        left: 0px;
    }

    .sidebar_filter {
        background-color: #fff;
        z-index: 3;
    }

    .sidebar_filter.active {
        left: 0px;
    }

    .sidebar_filter {
        height: 100%;
    }
}

body:has(.sidebar_filter.active)::before,
body:has(.sidebar_filter-css.active)::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 10;
    /* Ensure it covers everything but sidebar */
}

/* Ensure the sidebar remains on top */
.sidebar_filter,
.sidebar_filter-css {
    z-index: 8000;
}

.invoice_statastics p {
    color: #A3A3A3;
    font-size: 14px;
}

.invoice_statastics h4 {
    color: #3B5896;
}

.invoice_statastics_elem {
    background: #EEEEEE;
    margin: 5px;
}

.whitebgcustom_nav {
    border-bottom: 1px solid #ced4da;
}

.dateblock {
    position: relative;
}

.dateblock a {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.drag-icon-assignment {
    cursor: pointer;
}

.drag-icon-assignment img {
    width: 15px;
    margin-right: 5px;
    opacity: 0.5;
}

.subJobAsideNav .parent-job-header {
    color: #C04D5C;
}

.subJobAsideNav .asideNav {
    list-style: none;
    padding-left: 1rem;
}

.subJobAsideNav .asideNav li {
    margin-bottom: 0.25rem;
    position: relative;
}

.subJobAsideNav .asideNav a {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 14px;
}

.subJobAsideNav .asideNav a.active {
    background-color: #f8f9fa; /* bg-light */
    color: #dc3545 !important; /* text-danger */
}

.subJobAsideNav .asideNav a .bullet-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 12px;
}

.subJobAsideNav .asideNav a .line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.1rem;
    background-color: #dee2e6;
    color: #A3A3A3;
}

.subJobAsideNav .asideNav a .bullet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc3545;
    font-size: 1.25rem;
}

.subJobAsideNav .asideNav a .subjob-text {
    color: #C04D5C;
}

.btn-grey {
    background-color: #C6C6C6;
}
.quote_header strong {
    color: #212529;
}
.quote_header p {
    font-size: 12px;
}
.quote_padding_div {
    padding:15px 100px;
}
.main-content-div {
    background-color: #fff;
}
.quote_header_row {
    max-width: 1500px;
}
.blue-card {
    background-color: #3B5896;
    padding: 5px 10px;
    font-size: 32px;
    color: #fff;
    border-radius:0px;
}
.btn-primary-blue-card{
    color: #A3A3A3 !important;
    background-color: #fff !important;
    border-color: #fff !important;
    font-size: 14px;
    border-radius: 0.50rem;
    font-weight: bold;
    padding: 5px 10px;
}
.span_amt {
    color: #5F5F5F;
}
.gray-card {
    background: #F5F5F5;
}
.main-content-div p{
    color: #5F5F5F;

}
.group_sections td span {
    color: #5F5F5F !important;
    font-family: 'Trebuchet MS' !important;
    font-size: 16px !important;
    padding: 0.5rem 0.5rem !important;
}

.group_sections td .form-check-input {
    margin-top: 0.10em !important;
}
.bg-light-blue {
    background-color: #EAF1FF !important;
    color:#3B5896 !important;
}
.bg-light-blue h6 {
    font-weight: bold !important;
}
.group_sections .text-muted {
    color: #000 !important;
    font-weight: bold !important;
}
.error {
    color: #FF0000 !important;
}
.text-blue {
    color:#3B5896 !important;
}

.custom-textarea-box2 { border-radius: 5px; border: #C6C6C6 solid 1px; padding: 0.575rem 0.75rem 0px; resize: none;  font-size: 14px; background-color: #FFFAE1; font-family: 'Trebuchet MS';}

/* Product Modal Dropdown Styling */
#productModal .form-select {
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.5;
}

#productModal .form-select option {
    padding: 8px 12px;
    margin: 2px 0;
    font-size: 14px;
}

#productModal .form-select option:first-child {
    font-weight: 500;
    color: #6c757d;
}

#productModal .form-select option[value="new_part"] {
    font-weight: 500;
    color: #007bff;
    background-color: #f8f9fa;
}

#productModal .form-select option[disabled] {
    color: #6c757d;
    font-style: italic;
    background-color: #e9ecef;
}
.error {
    color: #FF0000 !important;
}
.nameplate-form .form-control:focus {
    background-color:unset !important;
    color:#000 !important;
}

/* Subjobs Photos Styles */
.subjobs-photos .photo-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.subjobs-photos .photo-filename {
    max-width: 200px;
}

.subjobs-photos .grid-view-container {
    display: none;
}

.subjobs-photos .grid-photo {
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.subjobs-photos .modal-photo {
    max-height: 70vh;
}

/* Simple photo modal styles */
.subjobs-photos .uploaded-files-list {
    display: none;
    margin-top: 20px;
}

.subjobs-photos .uploaded-file-item {
    margin-bottom: 15px;
}

.subjobs-photos .photo-table img {
    border: 1px solid #dee2e6;
}

.subjobs-photos .card-img-top {
    transition: transform 0.2s ease;
}

.subjobs-photos .card-img-top:hover {
    transform: scale(1.05);
}

.subjobs-photos .view-container {
    min-height: 400px;
}

.subjobs-photos #photoGrid .card {
    transition: box-shadow 0.2s ease;
}

.subjobs-photos #photoGrid .card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Photos List View Styling */
.subjobs-photos .photo-list-thumbnail {
    width: 39px;
    height: 39px;
    object-fit: cover;
    border-radius: 4px;
}

.subjobs-photos .photo-description-text {
    color: #3B5896;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.subjobs-photos .photo-filename-text {
    color: #709DFF;
    font-size: 12px;
    font-weight: 400;
}

.subjobs-photos .photo-uploaded-by-text {
    color: #3B5896;
    font-size: 14px;
    font-weight: 500;
}

.subjobs-photos .photo-uploaded-time-text {
    color: #5F5F5F;
    font-size: 14px;
    font-weight: 400;
}

/* Square view toggle buttons */
.subjobs-photos .btn-group .btn {
    border-radius: 0 !important;
}

.subjobs-photos .btn-group .btn:first-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.subjobs-photos .btn-group .btn:last-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Profile picture styling for photos list */
.subjobs-photos .photo-profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Subjobs Files Styles */
.subjobs-files .file-description-container {
    display: flex;
    flex-direction: column;
}

.subjobs-files .file-filename-text {
    color: #709DFF;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
}

.subjobs-files .file-filename-text a {
    color: #709DFF;
    text-decoration: none;
}

.subjobs-files .file-filename-text a:hover {
    text-decoration: underline;
}

.subjobs-files .file-description-text {
    color: #3B5896;
    font-size: 14px;
    font-weight: 500;
}

.subjobs-files .file-uploaded-by-text {
    color: #3B5896;
    font-size: 14px;
    font-weight: 500;
}

.subjobs-files .file-uploaded-time-text {
    color: #5F5F5F;
    font-size: 14px;
    font-weight: 400;
}

.subjobs-files .file-profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}