
@font-face {
    font-family: 'hola';
    src: url('../fonts/superline-italic-webfont.woff2') format('woff2'),
         url('../fonts/superline-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'hola2';
    src: url('../fonts/superline-lineitalic-webfont.woff2') format('woff2'),
         url('../fonts/superline-lineitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'hola3';
    src: url('../fonts/superline-line-webfont.woff2') format('woff2'),
         url('../fonts/superline-line-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'hola4';
    src: url('../fonts/superline-outlineitalic-webfont.woff2') format('woff2'),
         url('../fonts/superline-outlineitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'hola5';
    src: url('../fonts/superline-outline-webfont.woff2') format('woff2'),
         url('../fonts/superline-outline-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'hola6';
    src: url('../fonts/superline-regular-webfont.woff2') format('woff2'),
         url('../fonts/superline-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/*--------------------*/
@font-face {
    font-family: 'fuente1';
    src: url('../fonts/BrutalMilkNo1-Black.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente2';
    src: url('../fonts/BrutalMilkNo1-Bold.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente3';
    src: url('../fonts/BrutalMilkNo1-Extrabold.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Extrabold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente4';
    src: url('../fonts/BrutalMilkNo1-Extralight.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Extralight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente5';
    src: url('../fonts/BrutalMilkNo1-Light.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente6';
    src: url('../fonts/BrutalMilkNo1-Medium.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente7';
    src: url('../fonts/BrutalMilkNo1-Regular.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente8';
    src: url('../fonts/BrutalMilkNo1-Semibold.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Semibold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'fuente9';
    src: url('../fonts/BrutalMilkNo1-Thin.woff2') format('woff2'),
         url('../fonts/BrutalMilkNo1-Thin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/*--------------------*/





body {
/*    max-width: 1500px;*/
    margin: auto;
    font-family: 'fuente4'; /* Cambia la fuente para que sea más moderna */
/*    background-color: red; /* Color de fondo suave */*/*/
    color: #34495e; /* Color de texto principal */
    /* Ajusta según la altura de tu navbar */
/*    padding-top: 80px; */
/*    background-image: url('../img/fondo.jpg') !important;    */
/*    opacity: 93%;*/
    /* No repetir la imagen */
/*    background-repeat: no-repeat;*/
    /* Asegura que la imagen cubra todo el espacio disponible */
/*    background-size: cover;*/
    /* Fija la imagen de fondo */
/*    background-attachment: fixed;*/
    /* Centra la imagen en la página */
/*    background-position: center;    */
}

/* Tamaño de fuente para pantallas grandes (escritorio) */
input, select, textarea, button, label,p,a, strong {
    font-size: 13px !important;
}
h3, table, thead {
    font-size: 14px !important;
}

/* Tamaño de fuente para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    input, select, textarea, button, label,p,a, strong {
        font-size: 11px !important; /* Ajusta el tamaño según lo necesites */
    }
    h3 {
        font-size: 13px !important;
    }
}

label{
    font-weight: 500;
}


#toggleAll {
    margin-bottom: 10px;
}
.mb-3{
    margin-bottom: 5px !important;
}

.dropdown-menu {

    min-width: 300px !important;

}

.semaforo {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.semaforo.verde {
    background-color: green;
}

.semaforo.amarillo {
    background-color: yellow;
}

.semaforo.rojo {
    background-color: red;
}





/***************************************************************************/

.btn-warning {
    --bs-btn-color: #000;
    --bs-btn-bg: #ffc720;
    --bs-btn-border-color: #ffc720;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffca2c;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-focus-shadow-rgb: 217,164,6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #ffc720;
    --bs-btn-disabled-border-color: #ffc720;
}
/* Estilos generales para las tarjetas del proyecto */
.card-proyecto {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
        border-left: 27px solid rgb(255 199 32);
    box-shadow: 0 .125rem .25rem rgb(251 171 0 / 62%) !important;
}

.card-proyecto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body{
    padding: 10px !important;
        font-size: 0.8rem !important;
}

.card-proyecto h5 {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.card-proyecto p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* Estilos para los íconos de FontAwesome */
.info-actividad, .info-fecha, .info-fecha-max, .info-dias-transcurridos, .info-avance {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.info-actividad i, .info-fecha i, .info-fecha-max i, .info-dias-transcurridos i, .info-avance i {
    margin-right: 8px;
    color: #007bff;
    font-size: 16px;
}

/* Ajustes para el semáforo (solo el ícono) */
.icono-semaforo {
    font-size: 24px;
    position: absolute;
    top: 6px;
    right: 7px;
}

.icono-semaforo.verde {
    color: #28a745;
}

.icono-semaforo.amarillo {
    color: #ffc107;
}

.icono-semaforo.rojo {
    color: #dc3545;
}

/* Estilos para el botón */
.card-proyecto .btn {
/*    background-color: #007bff;*/
    border-radius: 50px;
    font-size: 14px;
    padding: 6px 20px;
    width: 100%;
    transition: background-color 0.2s ease;
}

/*.card-proyecto .btn:hover {
    background-color: #0056b3;
}*/

/* Ajustes responsive para las tarjetas */
@media (min-width: 768px) {
    .card-proyecto {
        display: flex;
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .icono-semaforo {
        margin: 0 auto 10px;
    }

    .card-proyecto .btn {
        width: 100%;
    }
}
/*******************************************************/
.actividad-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 8px;
}

.actividad-item h6 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.actividad-item p {
    margin: 5px 0;
}

.actividad-item i {
    margin-right: 5px;
}

.actividad-item hr {
    border-top: 1px solid #ddd;
}

/* Personalizar el semáforo dentro del modal */
.verde {
    color: #28a745;
    font-weight: bold;
}

.amarillo {
    color: #ffc107;
    font-weight: bold;
}

.rojo {
    color: #dc3545;
    font-weight: bold;
}
.close {
    font-size: 1.5rem; /* Ajusta el tamaño del ícono de cerrar */
    color: #000; /* Cambia el color del botón */
    opacity: 0.8; /* Añade algo de transparencia */
}

.close:hover {
    opacity: 1; /* Aumenta la visibilidad al pasar el mouse */
    color: #dc3545; /* Cambia el color al pasar el mouse (opcional) */
}
.tab-content {
    margin-top: 20px;
}

.actividad-item {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.actividad-item h6 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.actividad-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.card-title {
    font-weight: 600;
}

textarea {
    resize: vertical;
}

.notificacion-exito {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-exito i {
    margin-right: 10px;
}

.notificacion-exito.ocultar {
    opacity: 0;
}

.notificacion-exito {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745; /* Fondo verde para éxito */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-warning {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ff9800; /* Fondo naranja para advertencia */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-danger {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #dc3545; /* Fondo rojo para peligro */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-info {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #007bff; /* Fondo azul */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

/*notificaciones*/

    .dropdown-item {
        display: flex;
        align-items: center;
        padding: 10px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

    .dropdown-item .icono {
        font-size: 20px;
        margin-right: 8px;
    }

    .navbar-badge {
        background-color: #dc3545;
        color: white;
        padding: 5px 10px;
        border-radius: 50%;
        font-size: 12px;
        position: absolute;
        top: 8px;
        right: 8px;
    }

/*---------------------------------*/
/* Estilo de la lista de notificaciones */
.notificacion-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.notificacion-item:hover {
    background-color: #e2e6ea;
}

.icono-notificacion {
    width: 40px;
    height: 40px;
    background-color: #d1e7ff;
}

.descripcion-notificacion {
    font-size: 15px;
    color: #495057;
}

.text-secondary {
    font-size: 16px;
    color: #adb5bd;
}

@media (max-width: 576px) {
    #notificaciones-dropdown {
        width: 100% !important;
        max-width: 100% !important;
        left: -300px !important; /* Alinear al borde izquierdo en móvil */
    }
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #9c9c9c;
    --bs-btn-border-color: #9c9c9c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #9c9c9c;
    --bs-btn-hover-border-color: #9c9c9c;
    --bs-btn-focus-shadow-rgb: 130,138,145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #9c9c9c;
    --bs-btn-active-border-color: #9c9c9c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #9c9c9c;
    --bs-btn-disabled-border-color: #9c9c9c;
}

.icono-exclamacion {
    background-color: orange;  /* Fondo naranja */
    color: white !important;  /* Color blanco para el signo de exclamación */
    border-radius: 50%;  /* Hace que sea un círculo */
    width: 30px;  /* Ancho del círculo */
    height: 30px;  /* Alto del círculo */
    display: flex;  /* Para centrar el contenido */
    align-items: center;  /* Centrar verticalmente */
    justify-content: center;  /* Centrar horizontalmente */
    font-size: 16px;  /* Ajusta el tamaño del signo de exclamación */
}

.icono-palomita {
    background-color: green;  /* Fondo verde */
    color: white;  /* Color blanco para la palomita */
    border-radius: 50%;  /* Hace que sea un círculo */
    width: 30px;  /* Ancho del círculo */
    height: 30px;  /* Alto del círculo */
    display: flex;  /* Para centrar el contenido */
    align-items: center;  /* Centrar verticalmente */
    justify-content: center;  /* Centrar horizontalmente */
    font-size: 16px;  /* Ajusta el tamaño de la palomita */
}
.icono-exclamacion-rojo {
    background-color: red;  /* Fondo rojo */
    color: white;  /* Color blanco para el signo de exclamación */
    border-radius: 50%;  /* Hace que sea un círculo */
    width: 30px;  /* Ancho del círculo */
    height: 30px;  /* Alto del círculo */
    display: flex;  /* Para centrar el contenido */
    align-items: center;  /* Centrar verticalmente */
    justify-content: center;  /* Centrar horizontalmente */
    font-size: 16px;  /* Ajusta el tamaño del signo */
}

.btn {
    border-radius: 50px !important;
}


.semaforo-verde {
    color: green;
    font-weight: bold;
}

.semaforo-rojo {
    color: red;
    font-weight: bold;
}

.atraso-nota {
    color: red;
    font-style: italic;
    font-size: 0.9rem;
}

#productosContainer .card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

#productosContainer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.placeholder-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#rutasDropdown {
    max-width: 300px;
}

#btnGuardarCambios, #btnCancelarEdicion {
    margin-left: 10px;
}
.manitas:hover{
    cursor:pointer;
}

.table td, .table th {
    vertical-align: middle;
}

/* Estilo general */
body {
    font-family: Arial, sans-serif;
}

/* Tabla */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    text-align: center;
    vertical-align: middle;
    padding: 8px;
    border: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.table img {
    max-height: 50px;
    width: auto;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    padding: 8px 12px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .page-link:hover {
    background-color: #0056b3;
    color: white;
}

/* Tarjetas */
.card-remision {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-remision .card-header {
    background-color: #f8f9fa;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.card-remision .card-body {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.card-remision .img-evidencia {
    max-width: 100%;
    border-radius: 4px;
    margin-top: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
    .table {
        display: none;
    }

    .card-remision {
        display: block;
    }
}

@media (min-width: 769px) {
    .card-remision {
        display: none;
    }
}

#btnMostrarTodas {
    display: none; /* Ocultar por defecto */
}

#btnExportarExcel {
    display: none; /* Ocultar por defecto */
}

@media (min-width: 768px) {
    #btnMostrarTodas {
        display: inline-block; /* Mostrar en dispositivos de escritorio */
    }
    #btnExportarExcel {
        display: inline-block; /* Mostrar en dispositivos de escritorio */
    }
}
#imagenAmpliada {
    max-width: 100%;
    max-height: 80vh; /* Ajustar altura máxima al 80% de la ventana */
    margin: auto;
    display: block;
}


#tablaPedidos button{
    border-radius: 5px !important;
}