/**
	Incluir aqu� las reglas css propias de este proyecto 
*/

#tipclick_div.tooltip {
    /* The styling on the tooltip */
    background-color: #ffffe0;
    padding: 2px;
    border: 1px solid black;
    line-height: 18px;
    z-index: 100;
    color: #000000;
    font: normal normal normal 11px Verdana, Arial, Helvetica, sans-serif;
    position: absolute;
    opacity: 90;
}

/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
    font-family: Poppins-Regular;
    src: url("../fonts/Poppins-Regular.ttf");
}

@font-face {
    font-family: Poppins-Bold;
    src: url("../fonts/Poppins-Bold.ttf");
}

@font-face {
    font-family: Roboto-Regular;
    src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
    font-family: Roboto-Bold;
    src: url("../fonts/Roboto-Bold.ttf");
}

* {
    font-family: Roboto-Regular;
}

input {
    width: 100%;
    height: 30px;
    box-sizing: border-box;
    line-height: 30px;
    font-size: 14px;
    border: 0;
    background: none;
    border-bottom: 1px solid #3498db;
    outline: none;
    border-radius: 0;
    position: relative;
    transition: border-bottom 0.1s ease, border-bottom-color 0.1s ease;
    margin-top: 5px !important;
}

input:hover {
    border-bottom-width: 2px;
    border-bottom-color: #3498db;
    transition: border-bottom 0.05s ease, border-bottom-color 0.05s ease;
}

input:focus {
    animation: borderAnimation 0.1s alternate ease-in-out;
}

input:focus:not(:placeholder-shown) {
    animation: none;
    border-bottom-width: 2px;
    border-bottom-color: #1e88e5;
}

@keyframes borderAnimation {
    0% {
        border-bottom-width: 1px;
        border-bottom-color: #3498db;
    }

    50% {
        border-bottom-width: 2px;
        border-bottom-color: #3498db;
    }

    100% {
        border-bottom-width: 1px;
        border-bottom-color: #3498db;
    }
}

div[id='nodo_ef_form_81000018_form_usuariosclave'] label {
    line-height: 40px !important;
}

/* Etiqueta flotante */
label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 14px;
    color: #9099ad;
    transition: all 0.3s ease;
    pointer-events: none;
    text-transform: uppercase;
    font-family: Roboto-Regular !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.form-group .help-block {
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}


select {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 500;
    color: #223254;
    padding: 5px 10px;
    margin-top: 5px;
    border: 2px solid #3498db;
    border-radius: 5px;
    background: linear-gradient(90deg, #f0f4ff, #ffffff);
    appearance: none;
    /* Elimina el estilo nativo */
    outline: none;
    position: relative;
    padding-right: 40px;
    /* Espacio para la flecha */
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D"http%3A//www.w3.org/2000/svg" viewBox%3D"0 0 20 20" fill%3D"%232962ff"%3E%3Cpath d%3D"M10 15l-5.5-6h11z"%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    margin-top: 5px !important;
    font-family: Roboto-Regular !important;
}

/* Efectos de hover y focus */
select:hover {
    border-color: #1e88e5;
    background-color: #e2edf5;
}

select:focus {
    border-color: #64b5f6;
    box-shadow: 0 0 3px rgba(100, 181, 246, 0.6);
}

/* Estado disabled */
select:disabled {
    background-color: #f5f5f5;
    /* Fondo m�s claro */
    color: #b0b0b0;
    /* Texto apagado */
    border-color: #d1d1d1;
    /* Borde gris claro */
    cursor: not-allowed;
    /* Cambia el cursor a no permitido */
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D"http%3A//www.w3.org/2000/svg" viewBox%3D"0 0 20 20" fill%3D"%23b0b0b0"%3E%3Cpath d%3D"M10 15l-5.5-6h11z"%3E%3C/path%3E%3C/svg%3E');
    /* Flecha gris */
}

/* Estilos para inputs similares a select */
[id^="cont_ef_form_"] .dhx_combo_box {
    padding: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 5px !important;
}

[id^="cont_ef_form_"] .dhx_combo_input {
    width: 100% !important;
    padding: 5px 18px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #223254 !important;
    margin-top: 5px !important;
    border: 2px solid #3498db !important;
    border-radius: 5px !important;
    background: linear-gradient(90deg, #f0f4ff, #ffffff) !important;
    outline: none !important;
    position: relative !important;
    padding-right: 40px !important;
    /* Espacio para la flecha */
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D"http%3A//www.w3.org/2000/svg" viewBox%3D"0 0 20 20" fill%3D"%232962ff"%3E%3Cpath d%3D"M10 15l-5.5-6h11z"%3E%3C/path%3E%3C/svg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
    font-family: Roboto-Regular, Arial, sans-serif !important;
}

/* Efectos de hover y focus */
[id^="cont_ef_form_"] .dhx_combo_input:hover {
    border-color: #1e88e5 !important;
    background-color: #e2edf5 !important;
}

[id^="cont_ef_form_"] .dhx_combo_input:focus {
    border-color: #64b5f6 !important;
    box-shadow: 0 0 3px rgba(100, 181, 246, 0.6) !important;
}

/* Estado disabled */
[id^="cont_ef_form_"] .dhx_combo_input:disabled {
    background-color: #f5f5f5 !important;
    color: #b0b0b0 !important;
    border-color: #d1d1d1 !important;
    cursor: not-allowed !important;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns%3D"http%3A//www.w3.org/2000/svg" viewBox%3D"0 0 20 20" fill%3D"%23b0b0b0"%3E%3Cpath d%3D"M10 15l-5.5-6h11z"%3E%3C/path%3E%3C/svg%3E') !important;
}

[id^="cont_ef_form_"] .dhx_combo_img {
    display: none !important;
}

.sidebar-mini .dhx_combo_list {
    margin-top: 5px !important;
    width: 25.667% !important;
}

.dhx_selected_option {
    background-color: #2980b9 !important;
    border-radius: 5px !important;
}

/* Estilo general del checkbox */
.ef-checkbox {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #adb5bd;
    /* Borde gris para el estado desmarcado */
    border-radius: 5px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    padding: 0 !important;
}

/* Checkbox cuando est� marcado */
.ef-checkbox:checked {
    background-color: #3498db;
    /* Fondo azul Bootstrap */
    border-color: #3498db;
    /* Borde azul Bootstrap */
}

/* Animaci�n de la tilde tradicional dentro del checkbox cuando est� marcado */
.ef-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    animation: checkmarkAnimation 0.3s forwards;
    /* Animaci�n */
}

/* Efecto de foco al seleccionar el checkbox */
.ef-checkbox:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    /* Sombra azul clara */
}

/* Estilo cuando el checkbox est� deshabilitado */
.ef-checkbox:disabled {
    background-color: #e9ecef;
    /* Fondo gris claro para deshabilitado */
    border-color: #dee2e6;
    /* Borde gris claro */
    cursor: not-allowed;
    /* Cursor no permitido */
}

/* Estilo para el check en estado deshabilitado */
.ef-checkbox:disabled::after {
    background-color: #ced4da;
    /* Check gris claro */
}

/* Animaci�n para la tilde */
@keyframes checkmarkAnimation {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.2);
    }

    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

#cont_ef_form_81000018_form_usuariosbloqueado,
#cont_ef_form_81000018_form_usuarioscambiar_clave {
    text-align: center;
    margin-top: 10px;
}


/* Botones */

.ei-boton-filtrar,
.ei-boton-limpiar,
.ei-boton-agregar,
.ei-boton-cancelar,
.ei-boton-eliminar,
.ei-boton-guardar {
    font-size: 12px !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
    font-family: Roboto-Bold !important;
    min-width: 130px !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
}

/* Estilo para el bot�n Filtrar */
.ei-boton-agregar {
    background-color: transparent !important;
    color: #1abc9c !important;
    /* Verde */
    border: 2px solid #1abc9c !important;
}

.ei-boton-agregar:hover {
    background-color: #1abc9c !important;
    color: white !important;
    box-shadow: 0 6px 12px rgba(26, 188, 156, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Estilo para el bot�n Limpiar */
.ei-boton-eliminar {
    background-color: transparent !important;
    color: #e74c3c !important;
    /* Rojo */
    border: 2px solid #e74c3c !important;
}

.ei-boton-eliminar:hover {
    background-color: #e74c3c !important;
    color: white !important;
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Estilo para el bot�n Guardar y Filtrar (Azul) */
.ei-boton-guardar,
.ei-boton-filtrar {
    background-color: transparent !important;
    color: #3498db !important;
    /* Azul */
    border: 2px solid #3498db !important;
}

.ei-boton-guardar:hover,
.ei-boton-filtrar:hover {
    background-color: #3498db !important;
    color: white !important;
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Estilo para el bot�n Volver y Limpiar (Gris m�s oscuro) */
.ei-boton-cancelar,
.ei-boton-limpiar {
    background-color: transparent !important;
    color: #2c3e50 !important;
    /* Gris m�s oscuro */
    border: 2px solid #bdc3c7 !important;
}

.ei-boton-cancelar:hover,
.ei-boton-limpiar:hover {
    background-color: #ecf0f1 !important;
    color: #2c3e50 !important;
    /* Contraste claro */
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Estilo para los botones cuando est�n deshabilitados */
.btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

#cuerpo_js_cuadro_224000005_cuadro table,
#cuerpo_js_cuadro_81000082_cuadro table,
#cuerpo_js_cuadro_81000074_cuadro table,
#cuerpo_js_cuadro_81000030_cuadro table,
#cuerpo_js_cuadro_81000010_cuadro table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Cabecera de la tabla */
#cuerpo_js_cuadro_224000005_cuadro th,
#cuerpo_js_cuadro_81000082_cuadro th,
#cuerpo_js_cuadro_81000030_cuadro th,
#cuerpo_js_cuadro_81000074_cuadro th,
#cuerpo_js_cuadro_81000010_cuadro th {
    background-color: #3a4a68;
    color: #fff;
    padding: 15px 10px;
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #ddd;
    cursor: pointer;
}

#cuerpo_js_cuadro_224000005_cuadro th:hover,
#cuerpo_js_cuadro_81000082_cuadro th:hover,
#cuerpo_js_cuadro_81000030_cuadro th:hover,
#cuerpo_js_cuadro_81000074_cuadro th:hover,
#cuerpo_js_cuadro_81000010_cuadro th:hover {
    background-color: #2c3e50;
}

/* Filas de la tabla */
#cuerpo_js_cuadro_224000005_cuadro td,
#cuerpo_js_cuadro_81000082_cuadro td,
#cuerpo_js_cuadro_81000030_cuadro td,
#cuerpo_js_cuadro_81000074_cuadro td,
#cuerpo_js_cuadro_81000010_cuadro td {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f1f1;
    color: #555;
    font-size: 12px;
}

#cuerpo_js_cuadro_224000005_cuadro td:hover,
#cuerpo_js_cuadro_81000082_cuadro td:hover,
#cuerpo_js_cuadro_81000030_cuadro td:hover,
#cuerpo_js_cuadro_81000074_cuadro td:hover,
#cuerpo_js_cuadro_81000010_cuadro td:hover {
    background-color: #f9f9f9;
    color: #333;
}

/* Interacciones de la tabla */
#cuerpo_js_cuadro_224000005_cuadro .table-responsive,
#cuerpo_js_cuadro_81000082_cuadro .table-responsive,
#cuerpo_js_cuadro_81000030_cuadro .table-responsive,
#cuerpo_js_cuadro_81000074_cuadro .table-responsive,
#cuerpo_js_cuadro_81000010_cuadro .table-responsive {
    overflow-x: auto;
    margin-top: 10px;
}

/* Estilo para los botones de la tabla */
#cuerpo_js_cuadro_224000005_cuadro a,
#cuerpo_js_cuadro_81000082_cuadro a,
#cuerpo_js_cuadro_81000030_cuadro a,
#cuerpo_js_cuadro_81000074_cuadro a,
#cuerpo_js_cuadro_81000010_cuadro a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #3a4a68;
    color: #fff;
    margin: 0 5px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cuerpo_js_cuadro_81000082_cuadro .btn-seleccion,
#cuerpo_js_cuadro_81000082_cuadro .pager a,
#cuerpo_js_cuadro_81000030_cuadro .btn-seleccion,
#cuerpo_js_cuadro_81000030_cuadro .pager a,
#cuerpo_js_cuadro_81000074_cuadro .btn-seleccion,
#cuerpo_js_cuadro_81000074_cuadro .pager a,
#cuerpo_js_cuadro_81000010_cuadro .btn-seleccion,
#cuerpo_js_cuadro_81000010_cuadro .pager a {
    background-color: #3498db !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cuerpo_js_cuadro_81000082_cuadro .btn-seleccion:hover,
#cuerpo_js_cuadro_81000082_cuadro a:hover>.btn-seleccion,
#cuerpo_js_cuadro_81000074_cuadro .pager a:hover,
#cuerpo_js_cuadro_81000074_cuadro .btn-seleccion:hover,
#cuerpo_js_cuadro_81000074_cuadro a:hover>.btn-seleccion,
#cuerpo_js_cuadro_81000074_cuadro .pager a:hover,
#cuerpo_js_cuadro_81000030_cuadro .btn-seleccion:hover,
#cuerpo_js_cuadro_81000030_cuadro a:hover>.btn-seleccion,
#cuerpo_js_cuadro_81000030_cuadro .pager a:hover,
#cuerpo_js_cuadro_81000010_cuadro .btn-seleccion:hover,
#cuerpo_js_cuadro_81000010_cuadro a:hover>.btn-seleccion,
#cuerpo_js_cuadro_81000010_cuadro .pager a:hover {
    background-color: #2980b9 !important;
}

#cuerpo_js_cuadro_81000030_cuadro .btn-bloquear,
#cuerpo_js_cuadro_81000010_cuadro .btn-bloquear {
    background-color: #e67e22 !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cuerpo_js_cuadro_81000030_cuadro .btn-bloquear:hover,
#cuerpo_js_cuadro_81000030_cuadro a:hover>.btn-bloquear,
#cuerpo_js_cuadro_81000010_cuadro .btn-bloquear:hover,
#cuerpo_js_cuadro_81000010_cuadro a:hover>.btn-bloquear {
    background-color: #d35400 !important;
}

#cuerpo_js_cuadro_224000005_cuadro .btn-eliminar,
#cuerpo_js_cuadro_81000082_cuadro .btn-eliminar,
#cuerpo_js_cuadro_81000030_cuadro .btn-eliminar,
#cuerpo_js_cuadro_81000074_cuadro .btn-eliminar,
#cuerpo_js_cuadro_81000010_cuadro .btn-eliminar {
    background-color: #e74c3c !important;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cuerpo_js_cuadro_224000005_cuadro .btn-eliminar:hover,
#cuerpo_js_cuadro_224000005_cuadro a:hover>.btn-eliminar,
#cuerpo_js_cuadro_81000082_cuadro .btn-eliminar:hover,
#cuerpo_js_cuadro_81000082_cuadro a:hover>.btn-eliminar,
#cuerpo_js_cuadro_81000030_cuadro .btn-eliminar:hover,
#cuerpo_js_cuadro_81000030_cuadro a:hover>.btn-eliminar,
#cuerpo_js_cuadro_81000074_cuadro .btn-eliminar:hover,
#cuerpo_js_cuadro_81000074_cuadro a:hover>.btn-eliminar,
#cuerpo_js_cuadro_81000010_cuadro .btn-eliminar:hover,
#cuerpo_js_cuadro_81000010_cuadro a:hover>.btn-eliminar {
    background-color: #c0392b !important;
}

#cuerpo_js_cuadro_81000082_cuadro a:hover,
#cuerpo_js_cuadro_81000030_cuadro a:hover,
#cuerpo_js_cuadro_81000074_cuadro a:hover,
#cuerpo_js_cuadro_81000010_cuadro a:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
}

#cuerpo_js_cuadro_81000082_cuadro a img,
#cuerpo_js_cuadro_81000030_cuadro a img,
#cuerpo_js_cuadro_81000074_cuadro a img,
#cuerpo_js_cuadro_81000010_cuadro a img {
    vertical-align: middle;
}

/* Ajustes del pie de página */
#cuerpo_js_cuadro_81000082_cuadro .text-center,
#cuerpo_js_cuadro_81000030_cuadro .text-center,
#cuerpo_js_cuadro_81000074_cuadro .text-center,
#cuerpo_js_cuadro_81000010_cuadro .text-center {
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}

#cuerpo_js_cuadro_81000082_cuadro .text-primary,
#cuerpo_js_cuadro_81000030_cuadro .text-primary,
#cuerpo_js_cuadro_81000074_cuadro .text-primary,  
#cuerpo_js_cuadro_81000010_cuadro .text-primary {
    color: #3498db;
}

/* Sidebar */
.main-sidebar {
    height: 100vh !important;
    background-color: #1e242b !important;
    color: #fff !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;

    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1) !important;
}

/* Men� del sidebar */
.main-sidebar .sidebar-menu {
    list-style-type: none !important;
}

.main-sidebar .sidebar-menu li {
    display: block !important;
    margin-bottom: 1px !important;
}


.main-sidebar .sidebar-menu li a {
    color: #ecf0f1 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
    padding: 5px !important;
}

.main-sidebar .sidebar-menu li a:hover,
.main-sidebar .sidebar-menu li.active>a,
.main-sidebar .sidebar-menu>li:hover>a {
    color: #fff !important;
    background-color: #31b9ec !important;
}

.main-sidebar .sidebar-menu li.treeview>a {
    justify-content: space-between !important;
}

.main-sidebar .sidebar-menu li.treeview-menu {
    list-style-type: none !important;
    padding-left: 20px !important;
    display: none !important;
}

.main-sidebar .sidebar-menu>li>.treeview-menu {
    background: #2d384d !important;
}

.main-sidebar .sidebar-menu .treeview-menu {
    padding-left: 0 !important;
}

.main-sidebar .sidebar-menu li.active .treeview-menu {
    /*display: block !important;*/
}

.main-sidebar .sidebar-menu li.treeview-menu li {
    margin-bottom: 5px !important;
}

.main-sidebar .sidebar-menu li.treeview-menu li a {
    font-size: 14px !important;
}

@media (min-width: 768px) {
    .main-sidebar .sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>span {
        margin-left: 0 !important;
        background: #31b9ec !important;
    }
}

.user-panel {
    display: flex !important;
    align-items: center !important;
    background-color: #2d384d !important;
    /* Fondo sutilmente diferente */
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    width: 90% !important;
    margin: 10px auto !important;
}

.user-panel .image img {
    border-radius: 50% !important;
    /* Circular */
    border: 2px solid #f9f9f9 !important;
    /* Borde claro */
}

.user-panel .info {
    color: #fff !important;
}

.user-panel .info p {
    margin: 0 !important;
    font-size: 14px !important;
}

.user-panel .info p:first-child {
    font-size: 16px !important;
}

.user-panel .info p:last-child {
    font-style: italic !important;
    font-size: 13px !important;
    color: #b0b0d6 !important;
    /* Color de texto sutil */
}

/* Estilo del formulario de b�squeda */
.main-sidebar .sidebar-form {
    border: 0 !important;
}

/* Estilo del input de b�squeda */
.main-sidebar #search-input {
    padding: 12px !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 25px !important;
    background-color: #ecf0f1 !important;
    color: #34495e !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    height: 38px !important;
}

.main-sidebar #search-input:focus {
    background-color: #fff !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4) !important;
    z-index: 2 !important;
}

/* Estilo del bot�n de b�squeda */
.main-sidebar #search-btn {
    background-color: #3498db !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    position: absolute !important;
    right: 4px !important;
    top: 7px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.main-sidebar #search-btn:hover {
    background-color: #2980b9 !important;
    transform: scale(1.1) !important;
}


/* Animaciones */
@media (max-width: 768px) {
    .main-sidebar .main-sidebar {
        width: 80% !important;
        left: 10% !important;
        top: 30px !important;
    }

    .main-sidebar.sidebar-form {
        padding: 10px !important;
    }
}

/* Estilos logos*/

.main-header .logo {
    background-color: #1e242b !important;
    position: fixed !important;
}

.main-header .logo .logo-mini{
    margin-top: 3px !important;
    height: 40px !important;
}

.main-header .logo img.hidden-xs{
    margin-top: 10px !important;
    height: 40px !important;
}

.content-wrapper .logo {
    display: flex;
    justify-content: center;
}

/* ITEM Inicial (pantalla de inicio al loguearse)*/
#container-item-inicial-logo{
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Estilo para el �ltimo �tem (sin separaci�n) */
.breadcrumb li:last-child {
    color: #2980b9 !important;
    font-weight: bold !important;
}

/* Estilos Necesarios para el mapa */

/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane>svg,
.leaflet-pane>canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
    position: absolute;
    left: 0;
    top: 0;
}

.leaflet-container {
    overflow: hidden;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
    background: transparent;
}

/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
    image-rendering: -webkit-optimize-contrast;
}

/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
    width: 1600px;
    height: 1600px;
    -webkit-transform-origin: 0 0;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
    display: block;
}

/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
    max-width: none !important;
    max-height: none !important;
}

.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    width: auto;
    padding: 0;
}

.leaflet-container img.leaflet-tile {
    /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
    mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
    -ms-touch-action: pan-x pan-y;
    touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
    -ms-touch-action: pinch-zoom;
    /* Fallback for FF which doesn't support pinch-zoom */
    touch-action: none;
    touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
    -ms-touch-action: none;
    touch-action: none;
}

.leaflet-container {
    -webkit-tap-highlight-color: transparent;
}

.leaflet-container a {
    -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}

.leaflet-tile {
    filter: inherit;
    visibility: hidden;
}

.leaflet-tile-loaded {
    visibility: inherit;
}

.leaflet-zoom-box {
    width: 0;
    height: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 800;
}

/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
    -moz-user-select: none;
}

.leaflet-pane {
    z-index: 400;
}

.leaflet-tile-pane {
    z-index: 200;
}

.leaflet-overlay-pane {
    z-index: 400;
}

.leaflet-shadow-pane {
    z-index: 500;
}

.leaflet-marker-pane {
    z-index: 600;
}

.leaflet-tooltip-pane {
    z-index: 650;
}

.leaflet-popup-pane {
    z-index: 700;
}

.leaflet-map-pane canvas {
    z-index: 100;
}

.leaflet-map-pane svg {
    z-index: 200;
}

.leaflet-vml-shape {
    width: 1px;
    height: 1px;
}

.lvml {
    behavior: url(#default#VML);
    display: inline-block;
    position: absolute;
}


/* control positioning */

.leaflet-control {
    position: relative;
    z-index: 800;
    pointer-events: visiblePainted;
    /* IE 9-10 doesn't have auto */
    pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
}

.leaflet-top {
    top: 0;
}

.leaflet-right {
    right: 0;
}

.leaflet-bottom {
    bottom: 0;
}

.leaflet-left {
    left: 0;
}

.leaflet-control {
    float: left;
    clear: both;
}

.leaflet-right .leaflet-control {
    float: right;
}

.leaflet-top .leaflet-control {
    margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
    margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
    margin-left: 10px;
}

.leaflet-right .leaflet-control {
    margin-right: 10px;
}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
    opacity: 0;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
    opacity: 1;
}

.leaflet-zoom-animated {
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
    will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
    -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
    -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
    transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
    visibility: hidden;
}


/* cursors */

.leaflet-interactive {
    cursor: pointer;
}

.leaflet-grab {
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
    cursor: crosshair;
}

.leaflet-popup-pane,
.leaflet-control {
    cursor: auto;
}

.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
    cursor: move;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane>svg path,
.leaflet-tile-container {
    pointer-events: none;
}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane>svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
    pointer-events: visiblePainted;
    /* IE 9-10 doesn't have auto */
    pointer-events: auto;
}

/* visual tweaks */

.leaflet-container {
    background: #ddd;
    outline-offset: 1px;
}

.leaflet-container a {
    color: #0078A8;
}

.leaflet-zoom-box {
    border: 2px dotted #38f;
    background: rgba(255, 255, 255, 0.5);
}


/* general typography */
.leaflet-container {
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-size: 0.75rem;
    line-height: 1.5 !important;
}


/* general toolbar styles */

.leaflet-bar {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    border-radius: 4px;
}

.leaflet-bar a {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    width: 26px;
    height: 26px;
    line-height: 26px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
    background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: none;
}

.leaflet-bar a.leaflet-disabled {
    cursor: default;
    background-color: #f4f4f4;
    color: #bbb;
}

.leaflet-touch .leaflet-bar a {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    font: bold 18px 'Lucida Console', Monaco, monospace !important;
    text-indent: 1px !important;
    text-decoration: none !important;
}

.leaflet-touch .leaflet-control-zoom-in,
.leaflet-touch .leaflet-control-zoom-out {
    font-size: 22px !important;
}


/* layers control */

.leaflet-control-layers {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    background: #fff;
    border-radius: 5px;
}

.leaflet-control-layers-toggle {
    background-image: url(../img/mapa/layers.png);
    width: 36px;
    height: 36px;
}

.leaflet-retina .leaflet-control-layers-toggle {
    background-image: url(../img/mapa/layers-2x.png);
    background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
    width: 44px;
    height: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
    display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
    display: block;
    position: relative;
}

.leaflet-control-layers-expanded {
    padding: 6px 10px 6px 6px;
    color: #333;
    background: #fff;
}

.leaflet-control-layers-scrollbar {
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 5px;
}

.leaflet-control-layers-selector {
    margin-top: 2px;
    position: relative;
    top: 1px;
}

.leaflet-control-layers label {
    display: block;
    font-size: 13px !important;
    font-size: 1.08333em !important;
}

.leaflet-control-layers-separator {
    height: 0;
    border-top: 1px solid #ddd;
    margin: 5px -10px 5px -6px;
}

/* Default icon URLs */
.leaflet-default-icon-path {
    /* used only in path-guessing heuristic, see L.Icon.Default */
    background-image: url(../img/mapa/marker-icon.png);
}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
    background: #fff;
    background: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
    padding: 0 5px;
    color: #333;
    line-height: 1.4;
}

.leaflet-control-attribution a {
    text-decoration: none;
}

.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
    text-decoration: underline;
}

.leaflet-attribution-flag {
    display: inline !important;
    vertical-align: baseline !important;
    width: 1em;
    height: 0.6669em;
}

.leaflet-left .leaflet-control-scale {
    margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
    margin-bottom: 5px;
}

.leaflet-control-scale-line {
    border: 2px solid #777;
    border-top: none;
    line-height: 1.1;
    padding: 2px 5px 1px;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px #fff;
}

.leaflet-control-scale-line:not(:first-child) {
    border-top: 2px solid #777;
    border-bottom: none;
    margin-top: -2px;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
    border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
    box-shadow: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
}


/* popup */

.leaflet-popup {
    position: absolute;
    text-align: center;
    margin-bottom: 20px;
    width: 300px !important;
}

.leaflet-popup-content-wrapper {
    padding: 1px;
    text-align: left;
    border-radius: 12px;
}

.leaflet-popup-content {
    margin: 13px 24px 13px 20px;
    line-height: 1.3;
    font-size: 13px !important;
    font-size: 1.08333em !important;
    min-height: 1px;
}

.leaflet-popup-content p {
    margin: 17px 0;
    margin: 1.3em 0;
}

.leaflet-popup-tip-container {
    width: 40px;
    height: 20px;
    position: absolute;
    left: 50%;
    margin-top: -1px;
    margin-left: -20px;
    overflow: hidden;
    pointer-events: none;
}

.leaflet-popup-tip {
    width: 17px;
    height: 17px;
    padding: 1px;

    margin: -10px auto 0;
    pointer-events: auto;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: white;
    color: #333;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    text-align: center;
    width: 24px;
    height: 24px;
    font: 16px/24px Tahoma, Verdana, sans-serif !important;
    color: #757575;
    text-decoration: none;
    background: transparent;
}

.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
    color: #585858;
}

.leaflet-popup-scrolled {
    overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
    -ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
    width: 24px;
    margin: 0 auto;

    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
    border: 1px solid #999;
}


/* div icon */

.leaflet-div-icon {
    background: #fff;
    border: 1px solid #666;
}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
    position: absolute;
    padding: 6px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #222;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip.leaflet-interactive {
    cursor: pointer;
    pointer-events: auto;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
    position: absolute;
    pointer-events: none;
    border: 6px solid transparent;
    background: transparent;
    content: "";
}

/* Directions */

.leaflet-tooltip-bottom {
    margin-top: 6px;
}

.leaflet-tooltip-top {
    margin-top: -6px;
}

.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
    left: 50%;
    margin-left: -6px;
}

.leaflet-tooltip-top:before {
    bottom: 0;
    margin-bottom: -12px;
    border-top-color: #fff;
}

.leaflet-tooltip-bottom:before {
    top: 0;
    margin-top: -12px;
    margin-left: -6px;
    border-bottom-color: #fff;
}

.leaflet-tooltip-left {
    margin-left: -6px;
}

.leaflet-tooltip-right {
    margin-left: 6px;
}

.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
    top: 50%;
    margin-top: -6px;
}

.leaflet-tooltip-left:before {
    right: 0;
    margin-right: -12px;
    border-left-color: #fff;
}

.leaflet-tooltip-right:before {
    left: 0;
    margin-left: -12px;
    border-right-color: #fff;
}

/* Printing */

@media print {

    /* Prevent printers from removing background-images of controls. */
    .leaflet-control {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}


/* Administraci�n / Instituciones / pant_edicion */

.container-form-edicion {
    display: flex !important;
    width: 100% !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    margin-bottom: 20px !important;
}

/* Sector izquierdo */
.form-section-instituciones {
    width: 40% !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-right: 1px solid #ddd !important;
    gap: 10px !important;
    overflow-y: auto !important; /* Permitir scroll en el formulario si es necesario */
}

.form-section-instituciones h1 {
    margin-bottom: 20px !important;
    font-size: 24px !important;
    color: #0056b3 !important;
}


.form-section-instituciones button {
    padding: 10px 15px !important;
    margin-top: 20px !important;
}

/* Sector derecho */
.map-section-instituciones {
    width: 60%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
    border-left: 1px solid #ddd;
}

.map-section-instituciones #map_instituciones {
    width: 95%;
    height: 95%;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-section-instituciones #map_instituciones:hover {
    transform: scale(1.01); /* Efecto al pasar el mouse */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Contenedor de resultados */
.container-form-edicion #resultados {
    margin-top: 15px;
    padding: 0;
    list-style: none;
    max-height: 200px; /* Altura máxima visible */
    overflow-y: auto; /* Scroll vertical si hay muchos resultados */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    scrollbar-width: thin; /* Estilo para navegadores modernos */
    scrollbar-color: #bbb #f7f7f7; /* Scrollbar personalizado */
}

/* Resultados individuales */
.container-form-edicion #resultados li {
    padding: 15px;
    margin: 5px;
    background: #f9f9f9;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Ícono decorativo */
.container-form-edicion #resultados li::before {
    content: '';
    background-image: url('../img/mapa/pin-map.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    width: 1.2rem; /* Ajusta el tamao */
    height: 1.2rem;
    margin-right: 0.5rem; /* Ajusta el espaciado */
    font-size: 1.2rem;
    color: #3498db; /* Color de acento */
    flex-shrink: 0;
}

/* Hover elegante */
.container-form-edicion #resultados li:hover {
    background: #3498db;
    color: #fff;
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.3) !important;
    transform: translateY(-2px); /* Sutil efecto de elevación */
}

/* Selección activa */
.container-form-edicion #resultados li.active {
    background: #19bb9b;
    color: #fff;
    box-shadow: 0 6px 12px rgba(26, 188, 156, 0.3) !important;
}

/* Scrollbar personalizado */
.container-form-edicion #resultados::-webkit-scrollbar {
    width: 8px;
}

.container-form-edicion #resultados::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 8px;
}

.container-form-edicion #resultados::-webkit-scrollbar-track {
    background-color: #f7f7f7;
}
/* Estilo responsivo */
@media (max-width: 768px) {
    .container-form-edicion {
        flex-direction: column !important;
        height: auto !important;
    }

    .form-section-instituciones, .map-section-instituciones {
        width: 100% !important;
    }

    .form-section-instituciones {
        height: 70vh !important;
    }

    .map-section-instituciones {
        height: 50vh !important;
    }
}

.container-form-edicion #coordenadas-container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-form-edicion #coordenadas-container input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

[id^="nodo_ef_form_81000028_form_agregar"]:not(#nodo_ef_form_81000028_form_agregarlatitud):not(#nodo_ef_form_81000028_form_agregarlongitud) {
    display: flex !important;
}

@media (min-width: 992px) {
    [id^="nodo_ef_form_81000028_form_agregar"] .col-md-6 {
        width: 65% !important; 
    }
}

.wizard-container {
  width: 100% !important;
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden !important;
}

/* Barra de progreso */
.progress-container {
  padding: 15px !important;
  background: #f9f9f9 !important;
  position: relative !important;
}

.progress-bar {
  height: 6px !important;
  width: 100% !important;
  background: #e0e0e0 !important;
  border-radius: 5px !important;
  overflow: hidden !important;
}

.progress-fill {
  height: 100% !important;
  width: 50% !important;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  transition: width 0.3s ease-in-out !important;
}

.progress-steps {
  display: flex !important;
  justify-content: space-between !important;
  position: absolute !important;
  top: 8px !important;
  left: 15px !important;
  right: 15px !important;
}

.step {
  width: 20px !important;
  height: 20px !important;
  background: #e0e0e0 !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.step.active {
  background: #667eea !important;
}

/* Contenido del wizard */
.wizard {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 20px !important;
  background: #f9f9f9 !important;
  text-align: center !important;
}

.wizard-step {
  display: none !important;
}

.wizard-step.active {
  display: block !important;
}

#cuerpo_js_ci_81000031 .tab-content {
    width: 100% !important;
}

#ci_81000038_volver {
    float: left !important;
}

#map-busqueda {
    height: 70vh !important;
    width: 100% !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}

#filter-busqueda-mapa {
    position: absolute !important;
    top: 25px !important;
    right: 40px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    padding: 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 200 !important;
    width: 300px !important;
    backdrop-filter: blur(1px) !important;
}

#nodo_ef_form_81000070_filtroid_area_conocimiento,
#nodo_ef_form_81000070_filtroid_sub_area_conocimiento,
#nodo_ef_form_81000070_filtroid_sub_sub_area_conocimiento,
#nodo_ef_form_81000070_filtrolinea_investigacion,
#nodo_ef_form_81000070_filtroid_institucion,
#nodo_ef_form_81000070_filtropais {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px; /* Asegura que el contenido no sobrepase el div padre */
}

#nodo_ef_form_81000070_filtroid_institucion {
    margin-bottom: 15px !important;
}

#nodo_ef_form_81000070_filtroid_area_conocimiento label,
#nodo_ef_form_81000070_filtroid_sub_area_conocimiento label,
#nodo_ef_form_81000070_filtroid_sub_sub_area_conocimiento label,
#nodo_ef_form_81000070_filtrolinea_investigacion label,
#nodo_ef_form_81000070_filtroid_institucion label,
#nodo_ef_form_81000070_filtropais label {
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
    color: #686d79;
}

#cont_ef_form_81000070_filtroid_area_conocimiento,
#cont_ef_form_81000070_filtroid_sub_area_conocimiento,
#cont_ef_form_81000070_filtroid_sub_sub_area_conocimiento,
#cont_ef_form_81000070_filtrolinea_investigacion,
#cont_ef_form_81000070_filtroid_institucion,
#cont_ef_form_81000070_filtropais {
    width: 26rem !important;
    padding: 0 !important;
}

#filter-busqueda-mapa.collapsed {
    width: 80px !important;
    padding: 5px !important;
}
#filter-busqueda-mapa.collapsed .filter-group,
#filter-busqueda-mapa.collapsed button#apply-filters {
    display: none;
}
#filter-busqueda-mapa.collapsed button#toggle-filters {
    font-size: 16px;
}

button#toggle-filters {
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
    float: right;
    font-size: 14px;
}

/* Estilos para el popup */
.leaflet-popup-content-wrapper {
    padding: 1rem !important;
    max-width: 90vw !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    background-color: #fff !important;
}
.investigadores-popup-header {
    background-color: #f4f7fa !important;
    padding: 0.75rem 1rem !important;
    border-radius: 6px 6px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #e0e0e0 !important;
    flex-direction: column !important;
}
.investigadores-popup-header h3 {
    color: #333 !important;
    margin: 0 !important;
    font-family: Roboto-Bold, Arial, sans-serif !important;
    font-size: 2rem !important;
}
.investigadores-popup-header span {
    color: #666 !important;
    font-family: Roboto-Regular, Arial, sans-serif !important;
    font-size: 1.25rem !important;
}
.investigadores-filter-container {
    position: relative !important;
    margin: 0.75rem 0 !important;
}
.investigadores-filter-input {
    width: 100% !important;
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: border-color 0.2s !important;
    font-size: 1.25rem !important;
}
.investigadores-filter-input:focus {
    border-color: #007bff !important;
    outline: none !important;
}
.investigadores-filter-icon {
    position: absolute !important;
    left: 0.75rem !important;
    top: 50% !important;
    transform: translateY(-40%) !important;
    color: #888 !important;
}
.investigadores-list-container {
    max-height: 20vh !important;
    overflow-y: auto !important;
    padding: 0.5rem 0 !important;
    background-color: #fff !important;
    overflow-x: hidden !important;
}
.investigador-list-item {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background-color: #fafafa !important;
    cursor: pointer !important;
    transition: background-color 0.2s, transform 0.1s !important;
}
.investigador-list-item:hover,
.investigador-list-item:focus {
    background-color: #f0f5ff !important;
    transform: translateX(2px) !important;
    outline: none !important;
}
.investigador-list-item:last-child {
    border-bottom: none !important;
}
.investigador-list-item span {
    color: #333 !important;
    font-family: Roboto-Regular, Arial, sans-serif !important;
    font-size: 1.30rem !important;
}
.investigador-list-item i {
    color: #007bff !important;
    font-size: 1.25rem !important;
}
/* Estilos para el modal */
.investigador-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.investigador-modal-content {
    background-color: #fff !important;
    padding: 0 !important;
    border-radius: 10px !important;
    max-width: 90vw !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
    width: 100% !important;
    max-width: 500px !important;
}
.investigador-modal-header {
    background-color: #f4f7fa !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 10px 10px 0 0 !important;
}
.investigador-modal-header h3 {
    font-size: 1.5rem !important;
    color: #333 !important;
    margin: 0 !important;
    font-family: Roboto-Regular !important;
}
.investigador-modal-close {
    background: none !important;
    border: none !important;
    font-size: 1.25rem !important;
    color: #666 !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
}
.investigador-modal-close:hover {
    color: #333 !important;
}
.investigador-modal-body {
    padding: 1.5rem !important;
}
.investigador-modal-body p {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
    color: #555 !important;
    display: flex !important;
    justify-content: space-between !important;
}
.investigador-modal-body p strong {
    color: #333 !important;
    font-weight: 600 !important;
    flex: 1 !important;
}
.investigador-modal-body p span {
    flex: 2 !important;
    text-align: left !important;
}
.investigador-modal-footer {
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #e0e0e0 !important;
    display: flex !important;
    justify-content: flex-end !important;
}
.investigador-modal-footer button {
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    cursor: pointer !important;
    border-radius: 3px !important;
    font-size: 1.3rem !important;
    transition: background-color 0.2s !important;
}
.investigador-modal-footer button:hover,
.investigador-modal-footer button:focus {
    background-color: #0056b3 !important;
    outline: none !important;
}
.investigador-modal-footer button.unfollow {
    background-color: #dc3545 !important;
}
.investigador-modal-footer button.unfollow:hover,
.investigador-modal-footer button.unfollow:focus {
    background-color: #c82333 !important;
}
@media (min-width: 768px) {
    .leaflet-popup-content-wrapper {
        max-width: 400px !important;
    }
    .investigadores-list-container {
        max-height: 300px !important;
    }
    .investigador-modal-content {
        max-width: 500px !important;
    }
    .investigador-modal-header h3 {
        font-size: 1.75rem !important;
    }
    .investigador-modal-body p {
        font-size: 1.4rem !important;
    }
}
@media (min-width: 1024px) {
    .leaflet-popup-content-wrapper {
        max-width: 450px !important;
    }
    .investigadores-list-container {
        max-height: 400px !important;
    }
    .investigador-modal-content {
        max-width: 600px !important;
    }
}

#form_81000070_filtro_cancelar {
    display: none;
    min-width: 12rem !important;
    vertical-align: middle;
}

#form_81000070_filtro_filtrar {
    min-width: 12rem !important;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}

#botones-busqueda-mapa {
    margin-top: 15px;
    align-items: center;
}

/*------------------------------------------------------------*/
/*                            LOGIN                           */
/*------------------------------------------------------------*/

.login-titulo {
    display: flex;
    justify-content: center;
    padding: 25px 0 25px 0;
}

.caja-administracion {
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

#cuerpo_js_form_81000003_datos {
    background: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    padding: 30px !important;
    width: 100vw !important;
}

.caja-administracion h2 {
    color: #333 !important;
    margin-bottom: 30px !important;
}

#cuerpo_js_form_81000003_datos label.control-label {
    text-align: left !important;
    font-weight: 500 !important;
    color: #666 !important;
    margin-bottom: 5px !important;
    display: block !important; 
}

#cuerpo_js_form_81000003_datos .ef-input {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    transition: border-color 0.3s ease-in-out !important;
}

#cuerpo_js_form_81000003_datos .ef-input:focus {
    outline: none !important;
    border-color: #3498db !important;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5) !important;
}

#cuerpo_js_form_81000003_datos .btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 16px !important;
    margin: 5px !important;
    transition: background-color 0.3s ease !important;
}

#cuerpo_js_form_81000003_datos .btn-default {
    background-color: #3498db !important;
    color: white !important;
    width: 100% !important;
}

#cuerpo_js_form_81000003_datos .btn-default:hover {
    background-color: #2980b9 !important;
}

#cuerpo_js_form_81000003_datos .btn-primary {
    background-color: #2ecc71 !important;
    color: white !important;
}

#cuerpo_js_form_81000003_datos .btn-primary:hover {
    background-color: #27ae60 !important;
}

#cuerpo_js_form_81000003_datos button.ei-boton {
    width: 100% !important;
    margin-top: 10px !important;
}

#cuerpo_js_form_81000003_datos button.ei-boton span img {
    display: none !important; /* Ocultamos las imgenes ya que no tienen src vlido */
}

#cuerpo_js_form_81000003_datos button.ei-boton span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#cuerpo_js_form_81000003_datos .help-block {
    color: #e74c3c !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

#cuerpo_js_form_81000003_datos button.ei-boton.boton-32 {
    height: auto !important;
    width: 100% !important;    
    padding: 15px !important; 
    font-size: 14px !important;
}

#cuerpo_js_form_81000003_datos button.ei-boton div {
    margin: 0 !important;
    width: auto !important;
}

#nodo_ef_form_81000003_datosusuario,
#nodo_ef_form_81000003_datosclave {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 !important;
}

#nodo_ef_form_81000003_datosclave {
    margin-bottom: 20px !important;
}

#nodo_ef_form_81000003_datosusuario label,
#nodo_ef_form_81000003_datosclave label {
    width: 100% !important;
    margin-bottom: 5px !important;
    text-align: left !important;
    padding-top: 0 !important;
}

#cont_ef_form_81000003_datosusuario,
#cont_ef_form_81000003_datosclave {
    width: 100% !important;
    padding: 0 !important;
}

@media (min-width: 250px) {
    #botonera-carga-datos {
        display: flex;
    }

    #otra-institucion-btn {
        white-space: normal;
        width: 50%;
        min-width: 0 !important;
        margin-right: 10px !important;
    }

    #form_81000033_form_institucion_otra_sede_btn {
        white-space: normal;
        width: 50%;
        min-width: 0 !important;
    }
}