.select2-close-mask{
    z-index: 2099;
}
.select2-dropdown{
    z-index: 3051;
}

/* .viewUserModal{
    z-index: 1080;
}

.offcanvasEndExample{
    z-index: 1050;
} */

.pointerCursor{
    cursor: pointer;
}

/* Tablas Hover Color */
.tableRefinishing tbody tr:hover {
    background-color: #DEE0B3;
}

.table-container-services {
    height: 200px; /* establece la altura máxima que deseas para el cuerpo de la tabla */
    overflow-y: auto; /* establece el desplazamiento vertical para el cuerpo de la tabla */
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f5f5f5;
}

#service-table-body td,
#service-table-body th {
    border-top: none !important;
    border-bottom: 1px dotted #d3d1d1 !important;
}

.custom-bg .dropdown-item:hover {
    background-color: #0D6288; /* Color de fondo al hacer hover */
}

.table-hover tbody tr:hover {
    cursor: pointer;
}

.canvas-container {
    border: 1px dashed #02943d;
    padding: 10px;
}

/* .qrcode-container {
    border: 1px dashed #02943d;
    padding: 10px;
    text-align: center;
} */

#myModalQRcode .modal-body {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.qrcode-container {
    height: 100%;
}

#qr-code-image {
    display: block;
    margin: 0 auto;
    max-height: 100%;
}

@media only screen and (max-width: 768px) {
    #myModalQRcode .modal-body {
        max-width: 90%;
        margin: 0 auto;
    }
}

.carousel-image {
    width: 400px;
    height: 380px;
    object-fit: cover; /* Para ajustar la imagen dentro del contenedor */
} 

/* Cambiar el color de los dots activos */
.carousel-indicators .active {
    background-color: #8DB600; /* Cambia este valor al color deseado */
}
  
/* Cambiar el color de los dots inactivos */
.carousel-indicators li {
    background-color: #FFFFFF; /* Cambia este valor al color deseado */
    width: 12px; /* Ajusta el ancho según tus necesidades */
    height: 12px; /* Ajusta la altura según tus necesidades */
    margin: 0 5px; /* Ajusta el margen entre los dots según tus necesidades */
    border-radius: 50%; /* Hace que los dots sean redondos */
}

/* Estilo de las flechas personalizadas */
.custom-arrow-prev,
.custom-arrow-next {
  background-color: #8DB600; /* Cambia este valor al color deseado */
  /* Otros estilos personalizados para las flechas */
}

/* Estilo de la flecha previa */
.custom-arrow-prev:before {
  content: ""; /* Puedes utilizar una imagen de flecha personalizada aquí */
}

/* Estilo de la flecha siguiente */
.custom-arrow-next:before {
  content: ""; /* Puedes utilizar una imagen de flecha personalizada aquí */
}

.signature-image {
    max-width: 100%;
    max-height: 100%;
}

.color-personal {
    color:#939393;
}

.border-arriba {
    border-top: 1px solid #DEE2E6;
}

.border-derecho {
    border-right: 1px solid #DEE2E6;
}

.border-debajo {
    border-bottom: 1px solid #DEE2E6;
}

#subtotal_estimate[readonly] {
    background-color: #F3F3F3;
}

#discount_estimate[readonly] {
    background-color: #F3F3F3;
}

#tootal_estimate[readonly] {
    background-color: #F3F3F3;
}

#discount_estimate:hover {
    cursor: pointer;
}

.tabla-vacia {
    background-color: #f0f0f0;
}

.align-top {
    vertical-align: top;
}

.tablaheader {
    background-color: #0d6288;
    color: #fff;
}

.btn-eliminar {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }
  
.btn-eliminar i.fa-trash {
    color: red;
    background: none;
    border: none;
}

.btn-editar {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.btn-editar i.fa-pencil {
    color: #26940de2;
    background: none;
    border: none;
}

.color-personal {
    color:#797c7a;
}

#tabla-items {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#tabla-items th,
#tabla-items td {
    text-align: center;
    padding: 10px;
}

#tabla-items th {
    background-color: #2a4d67;
    color: #fff;
}

#tabla-items {
    border-top: none;
}

#tabla-items tbody tr:hover {
    background-color: #f0eeeeec;
}

#tabla-items td {
    border: 1px dashed #f7f6f6;
}

.modal-custom-body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscurecido con un 60% de opacidad */
    z-index: 9999; /* Asegúrate de que el fondo esté por encima de otros elementos */
}

/* Ver Estimado */
#tabla-items-ver {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#tabla-items-ver th,
#tabla-items-ver td {
  text-align: center;
  padding: 10px;
}

#tabla-items-ver th {
    background-color: #0d6288;
    color: #fff;
}

#tabla-items-ver {
    border-top: none;
}

#tabla-items-ver tbody tr:hover {
    background-color: #f0eeeeec;
}

#tabla-items-ver td {
    border: 1px dashed #f7f6f6;
}

#tabla-items-ver thead {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
#tabla-items-ver tbody {
    max-height: 100px; /* ajusta según lo necesario */
    overflow-y: scroll;
}

/* Editar Estimado */
#tabla-items-editar {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#tabla-items-editar th,
#tabla-items-editar td {
  text-align: center;
  padding: 10px;
}

#tabla-items-editar th {
    background-color: #0d6288;
    color: #fff;
}

#tabla-items-editar {
    border-top: none;
}

#tabla-items-editar tbody tr:hover {
    background-color: #f0eeeeec;
}

#tabla-items-editar td {
    border: 1px dashed #f7f6f6;
}

#tabla-items-editar thead {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
#tabla-items-editar tbody {
    max-height: 100px; /* ajusta según lo necesario */
    overflow-y: scroll;
}

.work-order-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.carousel-item img.thumbnail {
    width: 400px; /* Adjust width as needed */
    height: 600px; /* Adjust height as needed */
    object-fit: cover; /* Maintain aspect ratio */
}

.mfp-container {
    z-index: 1040; /* Puedes ajustar este valor según sea necesario */
}

#dateFilterWO::placeholder {
    color: white;
}
#dateFilterWO {
    background-color: #09445e;
    color: white;
}

/* Ver Estimado */
#tblesquotesver {
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

#tblesquotesver th,
#tblesquotesver td {
  text-align: center;
  padding: 10px;
}

#tblesquotesver th {
    background-color: #0d6288;
    color: #fff;
}

#tblesquotesver {
    border-top: none;
}

#tblesquotesver tbody tr:hover {
    background-color: #f0eeeeec;
}

#tblesquotesver td {
    border: 1px dashed #f7f6f6;
}

#tblesquotesver thead {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
#tblesquotesver tbody {
    max-height: 100px; /* ajusta según lo necesario */
    overflow-y: scroll;
}

/* Estilo para las imágenes de miniatura */
.dz-image img {
    width: 100px;
    height: 100px;
    object-fit: cover; /* Mantener proporción, recortando si es necesario */
}

/* Ajustar texto en la columna "Description" */
#tableChecks td:nth-child(5) 
{
    white-space: normal !important;
    word-break: break-word;
    max-width: 400px;
}
/* Ajustar texto en la columna "Note" */
#tableChecks td:nth-child(7) {
    white-space: normal !important;
    word-break: break-word;
    max-width: 200px;
}