/* Contenedor general */
.page-node-27016 .bootstrap-tabs {
  background-color: #f4f4f4;
 padding: 0px 28px;
}


/* Fila de pestañas */
.page-node-27016 .bootstrap-tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

/* Cada pestaña */
.page-node-27016 .bootstrap-tabs .nav-tabs > li {
  flex: 1 1 160px;
  margin: 0;
}

/* Enlaces */
.page-node-27016 .bootstrap-tabs .nav-tabs .tab-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 20px;

  color: #929292;
  background-color: #d8d8d8;
  border: 4px solid #fff;
  border-radius: 14px;

  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Pestaña activa */
.page-node-27016 .bootstrap-tabs .nav-tabs > li.active > .tab-link,
.page-node-27016 .bootstrap-tabs .nav-tabs .tab-link.active {
  color: #fff;
  background-color: #ffb900;
  border-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

/* Efecto al pasar el cursor */
.page-node-27016 .bootstrap-tabs .nav-tabs .tab-link:hover,
.page-node-27016 .bootstrap-tabs .nav-tabs .tab-link:focus {
  color: #fff;
  background-color: #ffb900;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Contenido de las pestañas */
.page-node-27016 .bootstrap-tabs .tab-content {
  padding-top: 25px;
}

.page-node-27016 .bootstrap-tabs .nav-tabs > li.active {
    background-color: transparent;
}

.page-node-27016  .bootstrap-tabs {

        max-width: 100%;
    margin-top: -40px;
}

/* Dispositivos móviles */
@media (max-width: 576px) {
  .page-node-27016 .bootstrap-tabs {
    padding: 18px 15px;
  }

  .page-node-27016 .bootstrap-tabs .nav-tabs {
    gap: 8px;
  }

  .page-node-27016 .bootstrap-tabs .nav-tabs > li {
    flex-basis: calc(50% - 4px);
  }

  .page-node-27016 .bootstrap-tabs .nav-tabs .tab-link {
    min-height: 50px;
    padding: 8px 10px;
    font-size: 15px;
  }
}






  .propuesta-investigacion {
    margin: auto;
    padding: 20px 24px;
    background: #f8f8fa;
    font-family: Arial, sans-serif;
  }



  .propuesta-investigacion .paso-icono,
  .propuesta-investigacion .descarga-icono {
    flex: 0 0 auto;
    color: #db1518;
    font-size: 42px;
  }

  .propuesta-investigacion .paso-texto {
    margin: 0;
    color: #292929;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.12;
  }

  .propuesta-investigacion .paso-texto strong {
    color: #a90000;
    font-weight: 800;
  }

  .propuesta-investigacion .descarga {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
  }

  .propuesta-investigacion .descarga-enlace {
    display: block;
    padding: 13px 22px;
    border-radius: 50px;
    background: #ffb70c;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }

  .propuesta-investigacion .descarga-enlace:hover,
  .propuesta-investigacion .descarga-enlace:focus {
    background: #e6a200;
    color: #fff;
    text-decoration: underline;
  }

  @media (max-width: 575px) {
    .propuesta-investigacion .paso {
      margin-left: 12px;
    }

    .propuesta-investigacion .descarga {
      align-items: flex-start;
    }

    .propuesta-investigacion .descarga-enlace {
      font-size: 13px;
    }
  }
  
  
  
  
  
  
  
  
  
  
  
  dl.styled[data-once~="ckeditorAccordions"] {
  counter-reset: linea;
  margin: 0;
}

dl.styled[data-once~="ckeditorAccordions"] dt {
  counter-increment: linea;
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

dl.styled[data-once~="ckeditorAccordions"] dt > a.ckeditor-accordion-toggler {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 28px;
  padding: 6px 12px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
}

dl.styled[data-once~="ckeditorAccordions"] dt > a::before {
  content: "1." counter(linea) ".";
  position: static !important;
  flex: 0 0 auto;
  color: #b00000;
  font-weight: 800;
}

/* Ocultar icono original */
dl.styled[data-once~="ckeditorAccordions"] .ckeditor-accordion-toggle {
  display: none !important;
}

/* Flecha al extremo derecho */
dl.styled[data-once~="ckeditorAccordions"] dt > a::after {
  content: "\f054";
  position: static !important;
  flex: 0 0 auto;
  margin-left: auto;
  color: #c90000;
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
  transform: none !important;
}

dl.styled[data-once~="ckeditorAccordions"] dd {
  margin: 0 0 8px;
  padding: 12px 18px;
  background: #fff;
}

dl.styled[data-once~="ckeditorAccordions"] dt + dd {
  border-radius: 0 0 18px 18px;
}





/* Aplica solo a los tabs de RELEVOS */
.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li > a::before {
  content: "";
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}



/* Una imagen para cada tab */
.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li:nth-child(1) > a::before {
  background-image: url("https://www.idrd.gov.co/sites/default/files/2026-09/relevos-gestion-del-conocimiento.jpg");
}

.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li:nth-child(2) > a::before {
  background-image: url("https://www.idrd.gov.co/sites/default/files/2026-09/fondorelevo2.png");
}

.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li:nth-child(3) > a::before {
  background-image: url("https://www.idrd.gov.co/sites/default/files/2026-09/fondorelevo3_0.png");
}

.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li:nth-child(4) > a::before {
  background-image: url("https://www.idrd.gov.co/sites/default/files/2026-09/fondorelevo4.png");
}

.bootstrap-tabs[data-tab-set-title="RELEVOS"] .nav-tabs > li > a::before {
  display: none;
}
