
@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: Arial; /* 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: 14px !important;
}
h3 {
    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: 5px !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;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #406a9a;
    --bs-btn-border-color: #406a9a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #173a62;
    --bs-btn-hover-border-color: #173a62;
    --bs-btn-focus-shadow-rgb: 225,83,97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #173a62;
    --bs-btn-active-border-color: #173a62;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #406a9a;
    --bs-btn-disabled-border-color: #406a9a;
}

.text-danger2 {
    --bs-text-opacity: 1;
    color: rgb(64 106 154) !important;
}





/* Contenedor de la tarjeta */
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

/* Contenedor de la imagen, ajusta el tamaño de la imagen dentro de la tarjeta */
.card-img-container {
    width: 100%;
    height: 258px; /* Ajusta la altura de la imagen según tus necesidades */
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
    padding: 25px;
}

.card-img-container2 {
    width: 100%;
    height: 266px; /* Ajusta la altura de la imagen según tus necesidades */
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
    padding: 25px;
}

/* La imagen debe ajustarse al contenedor sin ser recortada, manteniendo su proporción */
.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Hace que la imagen se vea completa dentro del contenedor sin recortarse */
    background-color: transparent; /* Fondo gris si no hay imagen */
}

/* Si no hay imagen, muestra un área gris */
.card-img-container .card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 14px;
}
/* Si no hay imagen, muestra un área gris */
.card-img-container2 .card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 14px;
}

/* Aseguramos que las tarjetas tengan el mismo tamaño de forma uniforme */
.col-md-4 {
    padding: 10px;
}

/* Para asegurar que la tarjeta tenga la misma altura */
.card-body {
    flex-grow: 1; /* Para que la tarjeta crezca según el contenido */
    padding: 15px;
    text-align: center;
}







.card-body {
    background: linear-gradient(145deg, #f2f2f2, #e6e6e6); /* Gradiente de fondo para un look moderno */
    border-radius: 8px; /* Bordes redondeados */
    padding: 20px; /* Espaciado dentro de la tarjeta */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave para darle profundidad */
    transition: background 0.3s ease; /* Transición suave para el cambio de color */
}

.card-body:hover {
    background: linear-gradient(145deg, #e6e6e6, #f2f2f2); /* Cambio de color en hover */
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333; /* Color oscuro para el título */
    margin-bottom: 10px; /* Separación con el resto del contenido */
}

.card-text {
    font-size: 1rem;
    color: #666; /* Color gris para los textos */
    margin-bottom: 10px;
}

.d-flex button {
    transition: all 0.3s ease; /* Transición suave para los botones */
}

.d-flex button:hover {
    transform: translateY(-3px); /* Efecto de "elevar" el botón al pasar el mouse */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más intensa al pasar el mouse */
}

.d-flex .editarUsuario {
    background-color: #ffc107; /* Color amarillo para el botón de editar */
    color: #fff;
}

.d-flex .eliminarUsuario {
    background-color: #dc3545; /* Color rojo para el botón de eliminar */
    color: #fff;
    border: 1px solid red !important;
}

.d-flex button:focus {
    outline: none; /* Elimina el borde azul cuando el botón está en foco */
}

/****************************************************************************/

/* Estilo para el botón con gradiente */
.btn-blue {
    background: linear-gradient(45deg, #4e81f7, #2a53a1); /* Gradiente azul */
    color: white; /* Texto blanco */
    font-size: 1rem;
    padding: 5px 10px; /* Padding ajustado */
    border: none; /* Sin borde */
    border-radius: 30px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    cursor: pointer; /* Cambia el cursor cuando pasa sobre el botón */
    transition: background 0.3s ease, transform 0.3s ease; /* Transiciones suaves */
}

/* Efecto hover */
.btn-blue:hover {
    background: linear-gradient(45deg, #2a53a1, #4e81f7); /* Invertir los colores del gradiente en hover */
    transform: translateY(-4px); /* Eleva el botón al hacer hover */
}

/* Efecto focus (cuando el botón está seleccionado) */
.btn-blue:focus {
    outline: none; /* Sin borde al hacer clic */
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.5); /* Efecto de enfoque */
}

/* Estilo para el botón naranja con gradiente */
.btn-orange {
    background: linear-gradient(45deg, #ff7f3f, #ff4e00); /* Gradiente de naranja */
    color: white; /* Texto blanco */
    font-size: 1rem;
    padding: 5px 10px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Efecto hover */
.btn-orange:hover {
    background: linear-gradient(45deg, #ff4e00, #ff7f3f); /* Invertir el gradiente en hover */
    transform: translateY(-4px);
}

/* Efecto focus */
.btn-orange:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.5); /* Efecto de enfoque */
}

/* Estilo para el botón verde con gradiente */
.btn-green {
    background: linear-gradient(45deg, #4caf50, #388e3c); /* Gradiente verde */
    color: white;
    font-size: 1rem;
    padding: 5px 10px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Efecto hover */
.btn-green:hover {
    background: linear-gradient(45deg, #388e3c, #4caf50); /* Invertir el gradiente en hover */
    transform: translateY(-4px);
}

/* Efecto focus */
.btn-green:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5); /* Efecto de enfoque */
}

/* Estilo para el botón rojo con gradiente */
.btn-red {
    background: linear-gradient(45deg, #f44336, #d32f2f); /* Gradiente rojo */
    color: white;
    font-size: 1rem;
    padding: 5px 10px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Efecto hover */
.btn-red:hover {
    background: linear-gradient(45deg, #d32f2f, #f44336); /* Invertir el gradiente en hover */
    transform: translateY(-4px);
}

/* Efecto focus */
.btn-red:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.5); /* Efecto de enfoque */
}


/*-------------------------------------------------------------*/
/* Estilo base para los botones */
.btn {
    padding: 5px 10px;
    font-size: 1rem;
    border-radius: 30px !important;
    border: 2px solid; /* El contorno del botón */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: currentColor; /* El color del texto será el mismo que el del borde */
    background-color: white; /* Fondo blanco */
    display: inline-block;
    margin: 5px;
}

/* Estilo para el botón Primary */
.btn-primary {
    border-color: #2196f3; /* Color del borde */
    color: #2196f3; /* Color del texto */
}

.btn-primary:hover {
    background-color: #2196f3; /* Fondo azul en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}

/* Estilo para el botón Default */
.btn-default {
    border-color: #9e9e9e; /* Color del borde */
    color: #9e9e9e; /* Color del texto */
}

.btn-default:hover {
    background-color: #9e9e9e; /* Fondo gris en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}

/* Estilo para el botón Secondary */
.btn-secondary {
    border-color: #9c27b0; /* Color del borde */
    color: #9c27b0; /* Color del texto */
}

.btn-secondary:hover {
    background-color: #9c27b0; /* Fondo morado en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}

/* Estilo para el botón Success */
.btn-success {
    border-color: #4caf50; /* Color del borde */
    color: #4caf50; /* Color del texto */
}

.btn-success:hover {
    background-color: #4caf50; /* Fondo verde en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}

/* Estilo para el botón Info */
.btn-info {
    border-color: #00bcd4; /* Color del borde */
    color: #00bcd4; /* Color del texto */
}

.btn-info:hover {
    background-color: #00bcd4; /* Fondo azul claro en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}

/* Estilo para el botón Warning */
.btn-warning {
    border-color: #ff9800; /* Color del borde */
    color: #ff9800; /* Color del texto */
}

.btn-warning:hover {
    background-color: #ff9800; /* Fondo naranja en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}

/* Estilo para el botón Danger */
.btn-danger {
    border-color: #f44336; /* Color del borde */
    color: #f44336; /* Color del texto */
}

.btn-danger:hover {
    background-color: #f44336; /* Fondo rojo en hover */
    color: white; /* El texto cambia a blanco */
    transform: translateY(-4px);
}


#mapa {
  width: 100%;
  height: 300px; /* Ajusta la altura según tus necesidades */
}

.container {
  max-width: 800px; /* Ajusta el ancho según tus necesidades */
  margin: auto;
  padding-top: 20px;
}

.form-control, .btn {
  border-radius: 0.25rem;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}
.btn-primary {
    border-color: #2196f3;
    color: white;
}





/*--------------------------------------------------------*/
.categoria-card {
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Asegura que nada se salga de los bordes de la tarjeta */
}

.categoria-card .card-img-top {
    transition: transform 0.5s ease;
    width: 100%;
}

.categoria-card .card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0); /* Inicialmente transparente */
    transition: background-color 0.5s ease;
}

.categoria-card:hover .card-img-overlay {
    background-color: rgba(64, 106, 154, 0.39); /* Color semitransparente cuando se hace hover */
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.85) !important; /* Fondo semitransparente para el texto */
    color: #406a9a; /* Color del texto */
    width: 100%;
    transition: background-color 0.5s ease;
}

.card-footer h5 {
    margin: 0; /* Elimina margen por defecto del h5 */
}

/*--------------------------------------------------------*/
.subcategoria-card {
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Asegura que nada se salga de los bordes de la tarjeta */
}

.subcategoria-card .card-img-top {
    transition: transform 0.5s ease;
    width: 100%;
}

.subcategoria-card .card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0); /* Inicialmente transparente */
    transition: background-color 0.5s ease;
}

.subcategoria-card:hover .card-img-overlay {
    background-color: rgba(64, 106, 154, 0.39); /* Color semitransparente cuando se hace hover */
}

.subcategoria-card .card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.85) !important; /* Fondo semitransparente para el texto */
    color: #406a9a; /* Color del texto */
    width: 100%;
    transition: background-color 0.5s ease;
}

.subcategoria-card .card-footer h5 {
    margin: 0; /* Elimina margen por defecto del h5 */
    text-align: center;
}

.subcategoria-card .card-footer button {
    width: 100%;
    border-radius: 0; /* Botones con bordes rectos */
}
/*-----------------------------------------------*/

.card-body {
    font-size: 0.9rem; /* Tamaño de fuente adecuado para el contenido */
    padding: 20px; /* Espaciado interno adecuado */
}

.card-body h5 {
    font-size: 1.2rem; /* Tamaño del título */
    font-weight: bold; /* Hacer el título más destacado */
    margin-bottom: 10px; /* Espacio debajo del título */
    color: #333; /* Color oscuro para el título */
    word-wrap: break-word; /* Hace que el título se ajuste si es demasiado largo */
    white-space: normal; /* Permite que el texto se ajuste al siguiente renglón */
    overflow: hidden; /* Evita que el texto se salga del contenedor */
}

.property-details p {
    margin-bottom: 8px; /* Espacio entre los párrafos */
    font-size: 1rem; /* Tamaño adecuado para la información */
    word-wrap: break-word; /* Hace que el texto se ajuste automáticamente */
    overflow: hidden; /* Asegura que el texto no se salga del contenedor */
    white-space: normal; /* Permite que el texto se ajuste al siguiente renglón */
    text-align: left !important;
}

.card-text {
    margin-bottom: 10px; /* Espacio entre la descripción y los detalles */
    font-size: 0.95rem;
    color: #555; /* Color más suave para la descripción */
    word-wrap: break-word; /* Asegura que el texto largo no se desborde */
    white-space: normal; /* Permite que el texto pase al siguiente renglón */
}

.property-details strong {
    color: #406a9a; /* Color para los encabezados de la propiedad */
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* Espacio entre la información y los botones */
}

.action-buttons button {
    width: 48%; /* Hacer los botones más pequeños */
    font-size: 0.9rem;
    padding: 4px 0;
    border-radius: 5px; /* Bordes redondeados para los botones */
}

.action-buttons .btn-outline-warning {
    background-color: #ffc107;
    color: #fff;
}

.action-buttons .btn-outline-danger {
    background-color: #dc3545;
    color: #fff;
}

/* Estilo para la imagen del carrusel */
.carousel-item img {
    height: 140px; /* Altura fija de la imagen */
    object-fit: cover; /* La imagen se ajustará y cubrirá el área sin distorsionarse */
    width: 100%; /* La imagen ocupará el 100% del ancho del contenedor */
}


.bg-transparent2 {
    background-color: #fff9f9b0 !important;
}

h2{
    font-size: 1.3rem !important;
}

.form-group {
    margin-bottom: 0.1rem !important;
}

.h5, h5 {
    font-size: .85rem !important;
}

@media (max-width: 768px) {
    .table td, .table th {
        font-size: 0.8rem; /* Reduce el tamaño de la fuente para dispositivos móviles */
    }
    #tabla_testimoniales{
        display: block !important;
    }
    #tabla_testimoniales td{
        font-size: 11px;
    }
}


