@charset "UTF-8";

/**
 * Gov.co - Componente Miga de Pan
 * Versión 5.2.0 - Sin variables CSS
 */
.breadcrumb-nav-govco {
  padding: 0 2rem;
  margin: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
}

.breadcrumb-govco {
  display: inline-flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.breadcrumb-item-govco {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #FFFFFF !important;
}

/* Separadores estilizados */
.breadcrumb-item-govco:not(:first-child)::before {
  content: ">";
  position: absolute;
  left: -0.5rem;
  color: #FFFFFF !important;
  font-weight: 500;
  font-size: 1.1em;
  opacity: 0.9;
  pointer-events: none;
}

.breadcrumb-item-govco > a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  font-family: 'Verdana', sans-serif;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto hover con subrayado dinámico */
.breadcrumb-item-govco > a::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0F62D9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.breadcrumb-item-govco > a:hover {
  background-color: rgba(255,255,255,0.12);
}

.breadcrumb-item-govco > a:hover::after {
  width: 85%;
  opacity: 1;
}

/* Estado activo destacado */
.breadcrumb-item-govco.active {
  background-color: #008037;
  font-weight: 600;
  padding: 0 2.5rem;
}

.breadcrumb-item-govco.active > span {
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Versión invertida */
.breadcrumb-govco.inverted {
  background-color: #008037;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .breadcrumb-nav-govco {
    padding: 0 1rem;
    height: 48px;
  }
  
  .breadcrumb-item-govco {
    padding: 0 1.5rem;
    font-size: 0.9rem;
  }
  
  .breadcrumb-item-govco::before {
    font-size: 1em;
    left: -0.4rem;
  }
  
  .breadcrumb-item-govco > a {
    padding: 0 0.7rem;
    font-size: 0.85rem;
  }
  
  .breadcrumb-item-govco > a::after {
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-item-govco {
    padding: 0 1rem;
  }
  
  .breadcrumb-item-govco::before {
    left: -0.3rem;
  }
  
  .breadcrumb-item-govco > a {
    padding: 0 0.5rem;
  }
}

/* ESTILOS ESPECÍFICOS PARA TAB 1 */
.tab-pane#v-pills-tab1 {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

#v-pills-tab1 .subTituloRojo {
    color: #606060;
    font-size: 2rem;
    font-weight: 700;
    border-left: 4px solid #FFFF00;
    padding-left: 1rem;
    margin: 0 0 2rem 0;
}

#v-pills-tab1 hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, #0F62D9 0%, rgba(15,98,217,0.1) 100%);
    margin: 2rem 0;
}

#v-pills-tab1 h1 {
    color: #1A1A1A;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    position: relative;
    padding-left: 1.5rem;
}

#v-pills-tab1 h1::before {
    content: "•";
    color: #008037;
    position: absolute;
    left: 0;
    font-size: 2rem;
    line-height: 1;
    top: -0.2rem;
}

#v-pills-tab1 p {
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

#v-pills-tab1 ol {
    counter-reset: section;
    padding-left: 2rem;
    color:#ffffff;
}

#v-pills-tab1 ol li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}

#v-pills-tab1 ol li::before {
    counter-increment: section;
    content: counter(section);
    position: absolute;
    left: 0;
    top: 0;
    background: #0F62D9;
    color: white;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

#v-pills-tab1 ol li a {
    color: #0F62D9;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
    position: relative;
}

#v-pills-tab1 ol li a:hover {
    color: #008037;
    transform: translateX(5px);
}

#v-pills-tab1 ol li a::after {
    content: "↗";
    margin-left: 0.5rem;
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.3s ease;
}

#v-pills-tab1 ol li a:hover::after {
    transform: translate(3px, -3px);
}

/* Responsive */
@media (max-width: 768px) {
    #v-pills-tab1 {
        padding: 1.5rem;
    }
    
    #v-pills-tab1 .subTituloRojo {
        font-size: 1.5rem;
    }
    
    #v-pills-tab1 h1 {
        font-size: 1.3rem;
        padding-left: 1rem;
    }
    
    #v-pills-tab1 ol li {
        padding-left: 2rem;
    }
    
    #v-pills-tab1 ol li::before {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Contenedor con scroll horizontal si es necesario */
.tab-pane {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Tabla básica */
table {
    border-collapse: collapse;
    width: 100%;
    font-family: sans-serif;
    font-size: 14px;
    table-layout: auto; /* Permite que el contenido determine el ancho */
    white-space: normal;
}

/* Celdas y encabezados */
th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    vertical-align: top;
    word-wrap: break-word;
    white-space: normal; /* Permite saltos de línea */
}

/* Encabezado */
thead th {
    background-color: #f9f9f9;
    font-weight: bold;
}

/* Enlaces */
.enlace_documento {
    text-decoration: none;
    color: #007bff;
}

.enlace_documento:hover {
    text-decoration: underline;
}

/* Evita que los enlaces largos rompan diseño */
td a {
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
    table {
        font-size: 13px;
    }

    th, td {
        padding: 6px;
    }
}

/* ESTILOS PARA CONTENIDO PRINCIPAL */
.main-content {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.content-title {
    color: #0F62D9;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 3px solid #FFD100;
    padding-bottom: 0.5rem;
}

.development-plan-list {
    margin: 2rem 0;
}

.plan-item {
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #008037;
    transition: all 0.3s ease;
    background: #F8F9FA;
    border-radius: 6px;
}

.plan-item:hover {
    transform: translateX(10px);
    box-shadow: 0 2px 8px rgba(0,128,55,0.1);
}

.plan-year {
    color: #008037;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Estilos para el menú lateral */
.sidebar-menu {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-link.VerticalMenu {
    color: #1A1A1A !important;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link.VerticalMenu:hover {
    background: #008037 !important;
    color: white !important;
    transform: translateX(8px);
}

.nav-link.VerticalMenu.active {
    background: #0F62D9 !important;
    color: white !important;
}

/* Pie de página institucional */
.footer-links {
    margin-top: 3rem;
    padding: 1.5rem;
    background: #F8F9FA;
    border-radius: 8px;
}

.footer-link {
    color: #0F62D9 !important;
    margin: 0 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #008037;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .content-title {
        font-size: 2rem;
    }
    
    .plan-item {
        padding: 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
}

/* ====== Encabezado ====== */
.heading-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #F1F1F1!important;
  padding: 10px 20px;
  border-radius: 6px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.heading-wrapper h3 {
  margin: 0;
  font-size: 14px;
  padding-left: 20px;
  font-weight: normal;
}

.heading-wrapper a {
  color: #3EB447;
  text-decoration: none;
  font-size: 23px;
}

.heading-wrapper li {
  list-style: none;
  color: #606060;
  font-size: 23px;
}

.heading-wrapper li::before {
  content: "›";
  margin: 0 8px;
  color: #888;
}

/* ====== Ruta de navegacion (miga de pan) ======
   La cantidad de niveles depende del arbol del menu y los nombres son largos,
   por eso la ruta va en letra pequena y puede pasar a varias lineas. El titulo
   grande de la pagina queda como unico encabezado. */
.mp-ruta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.5;
}

.heading-wrapper .mp-ruta li {
  font-size: 15px;
  color: #5A5F66;
}

.heading-wrapper .mp-ruta a {
  font-size: 15px;
  color: #1F6B2C;
  text-decoration: none;
}

.heading-wrapper .mp-ruta a:hover,
.heading-wrapper .mp-ruta a:focus {
  text-decoration: underline;
}

.heading-wrapper .mp-ruta li::before {
  margin: 0 8px;
  color: #9AA0A6;
}

.heading-wrapper .mp-ruta li:first-child::before {
  content: none;
}

@media (max-width: 767.98px) {
  .heading-wrapper .mp-ruta li,
  .heading-wrapper .mp-ruta a {
    font-size: 13px;
  }

  .heading-wrapper .mp-ruta li::before {
    margin: 0 5px;
  }
}

/* ====== Barra de categorías ====== */
.category-bar {
    background: #606060;
    border-radius: 0 0 90px 90px;
    display: flex;
    justify-content: center;
    height: 5px;
}

.category-item {
    flex: 1 1 0;
    text-align: center;
    padding: 1.25rem .5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}
.category-item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: #fff;
    opacity: .75;
}

/* Variables de colores */
:root {
  --primary: #0d518c;
  --secondary: #e67e22;
  --accent: #27ae60;
  --light: #f8f9fa;
  --dark: #2c3e50;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --border: #dee2e6;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f0f4f8;
  padding: 20px;
}

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
}

/* Encabezado */
.header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light-gray);
}

.header h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Secciones principales */
.section {
  margin-bottom: 40px;
}

.section-title {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--secondary);
}

/* Información de contacto */
.contact-info {
  background: var(--light);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.info-item {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.info-label {
  font-weight: 600;
  min-width: 200px;
  color: var(--dark);
}

/* Lista de dependencias */
.dependencies-list {
  margin: 20px 0;
}

.dependencies-list ul {
  columns: 2;
  column-gap: 30px;
  margin: 20px 0;
}

.dependencies-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  break-inside: avoid;
}

.dependencies-list li:before {
  content: "•";
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Departamento/Entidad */
.department {
  background: var(--light);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--accent);
}

.department-title {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.department-head {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.department-info {
  margin-bottom: 5px;
}

.department-info a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.department-info a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .dependencies-list ul {
    columns: 1;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }
  
  .header h1 {
    font-size: 1.7rem;
  }
  
  .department-title {
    font-size: 1.2rem;
  }
}

/* Estilos para elementos específicos */
strong {
  color: var(--primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

p {
  margin-bottom: 15px;
}

h6 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 15px 0 10px;
}

/* MEJORAS DE UX PARA INICIO EN MOVILES */
@media (max-width: 768px) {
    /* Limita la altura del menú lateral de convocatorias en móviles para que no oculte el contenido */
    .nav.flex-column.nav-pills {
        max-height: 250px;
        overflow-y: auto;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-bottom: 20px;
        background: #fff;
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    }
}
