body{
    padding-top: 0rem !important;
    background-color: white !important;
}

h2 {
        font-size: 3rem;
}

#main-navbar{
    background-color: rgba(0, 0, 0, 0) !important; /* transparente al inicio */
    transition: background-color 0.4s ease;
    padding-top: 2rem;
}

#main-navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8) !important; /* color con opacidad al hacer scroll */
  backdrop-filter: blur(6px); /* opcional, efecto glass */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#main-navbar .vr{
    border-left: 1px solid white !important;
    background-color: red !important;
    margin: 0 1rem;
    opacity: 1;
}

#funciones .nav-item button img{
    width: 120px;
    height: auto;
    max-width: 120px;
}

#funciones .nav-link.active::after {
  content: "";
  display: block;
  position: absolute;
  margin-left: 30px;
  margin-top: 7px;
  border-top: 30px solid #fff;
  border-right: 30px solid transparent;
  border-left: 30px solid transparent;
}

#funciones .nav-item button span{
    font-size: 1.3rem;
    color: black !important;
}

#funciones .nav-link.active{
    border-color: white !important;
    background-color: white !important;

}

#funciones .nav-link:hover{
    border-color: white !important;
}

#myTabContentFun{
    background-color: #005577!important;
    color: #fff;
}

#container-content-fun{
    background-color: #005577!important;
    color: #fff;
}

#container-content-fun .vr{
    border-left: 1px solid white !important;
    background-color: white !important;
    opacity: 1 !important;
    padding: 1px;
    margin-right: 2rem;
}

#second-section{
    color: black !important;
}


#third-section{
    background-color: #f2f2f2;
}

#third-5-section{
    background-color: #bdd6e8 !important;
}

#fourth-section{
    background-color: #f2f2f2 !important;
}

#fourth-section h2,
#fourth-section span{
    color: #005577;
}

#fifth-section img{
    max-width: 420px;
    height: auto;
    margin-bottom: 10px;
}

#fifth-section .modal-body img{
    max-width: 600px;
    height: auto;
}

footer{
    background-color: #e0e0e0!important;
}

#footer_a {
    background-color: #e0e0e0!important;
    padding: 3rem 1rem 0rem 1rem;
}

#footer_a h2{
    color: #575756;
    font-size: 1.5rem;
}

#footer_a a{
    color: #585857!important;
    text-decoration: none;
}

#footer_b ul{
    display: flex;
    align-items: end;
    flex-direction: row;
    justify-content: end;
    color: #585857!important;
}

#footer_b ul li{
    margin: 0.5em;
    color: #585857!important;
}

.navbar-toggler{
    background-color: white !important;
}

.logo-bogota{
    width: 100%;
    max-width: 120px;
    height: auto;
}

.container-center{
    max-width: 600px;
    margin: 10rem auto;
}

.link-logo{
    top: -8px;
    position: relative;
}

.nav-link{
    color: white !important;

}

.btn-arrow{
    display: flex;
    max-width: 230px;
}


.btn-arrow .line-arrow{
    max-width: 60px;
    top: 15px;
    background: #fff;
}

.btn-arrow .line-arrow::after{
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.group-cards{
    margin-top: 4rem;
    padding-bottom: 4rem;
}

.menu .nav-item {
    position: relative;
    padding-right: 1rem; /* separa el texto de la línea */
    margin-right: 1rem;
}

.menu .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* centra verticalmente */
    width: 2px;
    height: 15px; /* altura deseada */
    background-color: white;
}

.titulo-deco {
    position: relative;
    display: inline-block; /* La línea tendrá el mismo ancho del texto */
    padding-bottom: 0.8rem; /* Espacio entre texto y línea */
    color: #a8a8a8 !important;
    font-weight: bold;
}

.titulo-deco::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px; /* grosor */
    width: 100%;
    background: linear-gradient(
        to right,
        #e30613 45%,  /* rojo */
        #fdc82f 45%   /* amarillo */
    );
}

.icons-social{
    max-width: 25px;

}

.center-text-override{
    margin-top: 4rem;
}

.align-ov{
    margin-left: 1.5rem;
}

.heading-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heading-line h2 {
  color: black;
}

.line-arrow {
  flex-grow: 1;
  height: 2px;
  background: #ccc;
  margin-left: 15px;
  position: relative;
  width: 100px;
}

.line-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
}

#fourth-section .line-arrow {
    background: #005577;
}

#fourth-section .line-arrow::after {
    border-top: 2px solid #005577;
    border-right: 2px solid #005577;
}

.wrap-covocatoria{
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.wrap-covocatoria-sec-1{

}

.wrap-covocatoria .vr{
    background-color: #005577 !important;
    opacity: 1 !important;
    padding: 1px;
    height: 60px !important;
    position: relative;
    top: 28px;
}
.wrap-covocatoria-sec-1 img{
    max-width: 80px;
    margin-left: 2rem;
}

.wrap-covocatoria-sec-1 h4{
    margin-top: 0.8rem;
    color: #005577;
    font-weight: bold;
}

.wrap-covocatoria-sec-2{
    margin-left: 1.2rem;
}

.wrap-covocatoria-sec-2 .convo-cupos, .convo-cupos h2{
    color: #e1242f !important;
}

.wrap-covocatoria-sec-2 .convo-cupos h2, .wrap-covocatoria-sec-2 .convo-inscritos h2{
    margin-bottom: -10px;
    font-weight: bold;
    font-size: 4rem;
}

.menu a.active{
    color: yellow !important;
}

.menu{
    font-size: 1rem;
    font-weight: bold;
}

.menu .nav-item{
    max-width: 300px;
    text-align: center;
}

.button-modal-{
    width: 100% !important;
    max-width: 450px !important;
    height: auto !important;
    border: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background-color: transparent !important;
}

.color-red{
    background-color: #e42431 !important;
    color: white !important;
    padding-bottom: 1rem;
}

.color-white{
    background-color: white !important;
    color: black !important;
    padding-bottom: 1rem;
}

.color-blue{
    background-color: #005476 !important;
    color: white !important;
    padding-bottom: 1rem;
}

.color-blue a{
    color: white !important;
    text-decoration: none !important;
}

.color-white a{
    color: black !important;
    text-decoration: none !important;
}

.color-red a{
    color: white !important;
    text-decoration: none !important;
}

.color-red .line-arrow,
.color-white .line-arrow,
.color-blue .line-arrow{
    margin-left: 18rem !important;
}

.cronograma{
    background-color: #f5f5f5;
}

.accordion-header{
    border: 0;
    border-bottom: 1px solid #005476 !important;
    font-size: 2rem;
}

.accordion-header button{
    font-size: 1.5rem !important;
    color: black !important;
    background-color: white !important;
}

.accordion-body{
    background-color: white !important;
    color: black !important;
}

.accordion-item{
    border: 0;
}

.accordion-button:not(.collapsed){
    background-color: white;
}

#accordionExample{
    margin: 0 3rem;
}

.noti h2,
.gale h2{
    margin-bottom: 2rem;
}

.noti img{
    max-width: 200px !important;
}

.noticia-link{
    text-decoration: none !important;
    color: black !important;
}
.noticia-link:hover{
    text-decoration: underline !important;
    color: black !important;
}

.card-body{
    color: black !important;
    background-color: white !important;
}

.mapa-thumb {
    max-width: 600px;
    height: auto;
}
.mapa-link{
    text-align: center;
}

@media screen and (max-width: 768px){
    .mapa-thumb {
        max-width: 400px;
    }
    .noti img{
        max-width: 400px !important;
    }
    .card{
        margin-bottom: 1rem;
    }
    .center-text-override{
        margin-top: 0rem;
    }
    #funciones .nav-item button img{
        width: 100px;
        height: auto;
        max-width: 50px;
    }

    .line-arrow{
        margin-left: 0;
        position: absolute;
        display: none;
    }
    .wrap-covocatoria > div {
        margin: 1rem 0 !important;
    }

    .nav-social{
        flex-direction: row !important;
    }

    .nav-social li{
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    #main-navbar{
        background-color: rgba(0, 0, 0, 0.8) !important; /* color con opacidad al hacer scroll */
        backdrop-filter: blur(6px); /* opcional, efecto glass */
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }

    #main-navbar .vr{
        display: none !important;
    }

    #fifth-section img{
        max-width: 350px;
    }

    #myCarousel {
        margin-top: 4rem;
    }
}