/* ================================= Estilos Propios =============================== */
/* body {
  font-family: 'Nunito_Sans-Bold';
} */

/* :root {
  --govcolor-cobalt: #488704;
} */

.contrast-govco .accesibility-example div,
.contrast-govco .accesibility-example a {
  background-color: var(--govcolor-black) !important;
}

.landing-container {
    min-height: 500px;
    margin: 0 auto;
    padding: 20px;
}

.div_predeterminado_carrusel {
  /* max-height: 100px; */
	padding: 5px 20px;
}

.div_predeterminado_separacion_entre_div {
	padding: 5px 0;
}

.carrusel-govco .carousel-inner .carousel-item img { 
	min-height: 19.813rem;
	height: 25rem;
	width: 100%;
}

.carrusel-govco .carousel-inner .carousel-item.multiple-carrusel-govco .carousel-caption {
  margin: 0%;
}

.sub-general-container {
  width: 85%;
  margin: auto;
}

.carrusel-black-p {
  color: #000000 !important;
}

/* .cabecera-govco .barra-logos-govco .logo_ministerio {
  content: url('assets/images/Logo_Villanueva.png');
  height: 40px;
} */

.logo_entidad {
  content: url('assets/images/Logo_Villanueva.png');
  height: 3rem;
  width: 3rem;
}

.logo_entidad_tramites {
  content: url('assets/images/Logo_Villanueva.png');
  height: 4rem;
  width: 4rem;
}

.pie-pagina-govco .govco-logo-entidad {
  content: url('assets/images/Logo_Villanueva.png');
}


.breadcrumb-item-govco.invested {
    background-color: white;
}

.breadcrumb-item-govco.invested, .breadcrumb-item-govco.invested>a, .breadcrumb-item-govco.invested+.breadcrumb-item-govco.invested::before {
    color: #3366CC;
}

.breadcrumb-govco .breadcrumb-item-govco span,
.breadcrumb-govco .breadcrumb-item-govco a {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ================================= Estilos Propios =============================== */

.d-none {
    display: none;
}

.cabecera-govco .barra-logos-govco {
    min-width: 0;
}

.cabecera-govco .barra-logos-govco .logo_potencia,
.div-header-inicio-sesion-logo .logo_entidad {
    flex-shrink: 0;
}

.div-header-inicio-sesion-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 0;
    margin-left: 1rem;
}

.div-header-inicio-sesion-logo .header-sesion-govco {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    min-width: 0;
    line-height: 1.25;
}

.div-header-inicio-sesion-logo .link-login-header-govco {
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}

.div-header-inicio-sesion-logo .header-nombre-usuario-govco {
    min-width: 0;
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {
    .div-header-inicio-sesion-logo {
        gap: 0.5rem;
        margin-left: 0.75rem;
    }

    .div-header-inicio-sesion-logo .header-sesion-govco {
        font-size: 0.875rem;
        gap: 0.125rem;
    }

    .div-header-inicio-sesion-logo .header-nombre-usuario-govco {
        max-width: 14rem;
    }

    .div-header-inicio-sesion-logo .logo_entidad {
        height: 2.5rem;
        width: 2.5rem;
    }
}

/* ================================= Estilos Propios Configuracion =============================== */
main.landing-container.contrast-govco.accesibility-example :is(h1, h2, h3, h4, h5, h6) {
  color: var(--color-entidad-titulo, #488704) ;
}

.pie-pagina-govco .first-section {
  box-shadow: 0.625rem 3.75rem 0 -5.625rem var(--color-entidad-footer), -3.75rem 3.75rem 0 -2.5rem var(--color-entidad-footer), 0 0 0 0 var(--color-entidad-footer), 3.75rem 3.75rem 0 -2.5rem var(--color-entidad-footer), -50px 5rem 0 -3.75rem var(--color-entidad-footer);
}

.ajuste-estilo-alerta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    padding: 1rem;
}

.ajuste-para-alerta-modal-center {
    align-content: center;
}

.tabla-govco:not(.responsive-tabla-govco) thead {
    z-index: unset;
}

.input_readonly {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

/* Selects con TomSelect: la clase queda en .ts-wrapper y lo visible es .ts-control */
.ts-wrapper.input_readonly .ts-control,
.ts-wrapper.input_readonly .ts-control * {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

/* ==========================================================
   CARRUSEL TIPOS 3 Y 4
   DESCRIPCIÓN IZQUIERDA / IMAGEN O VIDEO DERECHA
   ========================================================== */

.carrusel-layout {
    display: flex;
    width: 100%;
    height: 400px;
}

/* Descripción izquierda */
.carrusel-layout .carrusel-descripcion {
    position: relative;

    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    width: 35%;
    height: 400px;

    padding: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: none;
    text-align: left;
}

/* Contenido derecha */
.carrusel-media {
    width: 65%;
    height: 400px;
}

/* Imagen */
.carrusel-media img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Video HTML */
.carrusel-media video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* YouTube */
.carrusel-media iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}


/* ==========================================================
   TIPOS SIN DESCRIPCIÓN
   ========================================================== */

/* Imagen */
.carrusel-imagen-completa {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Video */
.carrusel-video-completo {
    display: block;
    width: 100%;
    height: 400px;
    width: 100%;
    border: 0;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .carrusel-layout {
        flex-direction: column;
        height: auto;
    }

    .carrusel-layout .carrusel-descripcion {
        width: 100%;
        height: auto;
        min-height: 150px;
        padding: 25px;
    }

    .carrusel-media {
        width: 100%;
        height: 300px;
    }

    .carrusel-media img,
    .carrusel-media video,
    .carrusel-media iframe {
        height: 300px;
    }

    .carrusel-imagen-completa,
    .carrusel-video-completo {
        height: 300px;
    }
}

.pie-pagina-govco .first-section::after {
    content: "2026 Sisoft Soluciones Informáticas S.A.S.";
    position: absolute;
    right: 20px;
    bottom: 5px;
}

.icono-tarjeta-govco-ajuste-inicio {
    width: 100% !important;
    max-width: 21.8rem;
}

.tabla-govco {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.tabla-govco table {
    height: auto !important;
    max-height: none !important;
}

.tabla-govco tbody {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.tabla-govco table tbody tr {
    display: table-row !important;
}

.archivo-enlace {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    padding: 0.65rem 0.9rem;

    background-color: #f1f6fb;
    border: 1px solid #c8d9e8;
    border-radius: 6px;

    color: #0056b3;
    font-size: 0.95rem;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.2s ease;
}

.archivo-enlace:hover {
    background-color: #e5f0fa;
    border-color: #0056b3;
    color: #003f82;
}

.archivo-enlace:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 3px;
}

.archivo-icono {
    display: flex;
    align-items: center;
    justify-content: center;
}

.archivo-flecha {
    font-size: 1.1rem;
    line-height: 1;
}

mark {
    background-color: #ffcc00 !important;
    /* color: #fff !important; */
}

/* estilos para datos de usuario autenticado */
.user-session {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.user-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #1557c0;
    border-radius: 50%;
    font-size: 27px;
}

.user-data {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.user-name {
    color: #1f2937;
    font-size: 17px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.user-status {
    color: #6b7280;
    font-size: 14px;
    margin-top: 3px;
}

.user-divider {
    width: 1px;
    height: 45px;
    background: #dee2e6;
    flex-shrink: 0;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #1557c0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.logout-link i {
    font-size: 23px;
}

.logout-link:hover {
    color: #0d47a1;
}

@media (max-width: 576px) {
    .user-session {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .user-avatar {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .user-name {
        font-size: 14px;
    }

    .user-status {
        font-size: 12px;
    }

    .user-divider {
        height: 32px;
    }

    .logout-link {
        font-size: 14px;
    }
}

/* El ícono del usuario abre sus opciones (header) */
.user-avatar-boton {
    border: 0;
    padding: 0;
    cursor: pointer;
}

.user-avatar-boton:hover,
.user-avatar-boton[aria-expanded="true"] {
    background: #dbe7ff;
}

.user-avatar-boton:focus-visible {
    outline: 3px solid #1557c0;
    outline-offset: 2px;
}

.user-menu {
    min-width: 230px;
    padding: 6px 0;
}

.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #1f2937;
    font-size: 15px;
}

.user-menu .dropdown-item i {
    color: #1557c0;
    font-size: 18px;
}

/* Usuario y logo alineados horizontalmente */
.div-header-inicio-sesion-logo {
    width: 100%;
}

.header-user-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    width: 100%;
    min-height: 70px;
}

/* El bloque del usuario no debe empujar el logo abajo */
.header-user-logo .user-session {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
}

/* El logo conserva su espacio */
.header-user-logo .logo_entidad {
    display: block;
    flex-shrink: 0;
}

/* Adaptación móvil */
@media (max-width: 767px) {
    .header-user-logo {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px;
    }

    .header-user-logo .user-session {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.desplegable-govco.calendar-govco .dropdown-options-govco {
    z-index: 1000;
}
