/*Estilos de inicio*/
html,
body,
header,
.jarallax {
    height: 100%;
    scroll-behavior: smooth; /* Scroll suave */
}

@media (max-width: 740px) {
    html,
    body,
    header,
    .jarallax {
        height: 100vh;
    }
}
.top-nav-collapse {
    transition: background-color 0.5s ease; 
    background-color: #0bb6a8 !important;
}

.navbar:not(.top-nav-collapse) {
    transition: background-color 0.5s ease;
    background: transparent !important;
    color: #000000;
}

@media (max-width: 991px) {
    .navbar:not(.top-nav-collapse) {
        background: #0bb6a8 !important;
        text-decoration-color: black;
        color: #000000;
    }
}

h5 {
    letter-spacing: 3px;
}


/* Apoyo footer */

.fondoFooter {
    background-color: #0bb6a8;
}


/* Efectos hover botones cabecera */

.effect2:before, .effect2:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-style: solid;
    border-color: #e60023;
}

.effect2:before {
    border-width: 2px 0 2px 0;
    transform: scaleX(0);
}

.effect2:after {
    border-width: 0 2px 0 2px;
    transform: scaleY(0);
}

.effect2:hover:before, .effect2:hover:after {
    transform: scale(1, 1);
}

.fondoGpeTarjetas {
    background: url('../media/img/index/fondoGpeV2.png')no-repeat center center;
    background-size: 55%;
}

.margenTotalSemana {
}

.marginBlockSection{
    margin-top:22px;
}

/*************************************Light box for images*************************************/
row_p > .column_p {
    padding: 0 8px;
}

.row_p:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column_p {
    float: left;
    width: 25%;
}

/* The Modal (background) */
.modal_p {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 80%;
    height: 800%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-contentp {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
}

/* The Close Button */
.closep {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    z-index: 150;
}

    .closep:hover,
    .closep:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

/* Hide the slides by default */
.mySlidesp {
    display: none;
}

/* Next & previous buttons */
.prevp,
.nextp {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color:#ffffff;
}

/* Position the "next button" to the right */
.nextp {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prevp:hover,
    .nextp:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* Number text (1/3 etc) */
.numbertextp {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-containerp {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.imgp .demop {
    opacity: 0.6;
    width: 15px;
}

.activep,
.demop:hover {
    opacity: 1;
    width: 15px;
}

.imgp .hover-shadowp {
    transition: 0.3s;
}
.scale-img{
    max-width: 5px;
}

.hover-shadowp:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/*************************************Light box for images*************************************/

/* Ajustes para los indicadores del carrusel */
.carousel-indicators {
    bottom: 10px; /* Posiciona los indicadores en la parte inferior */
    top: auto; /* Anula cualquier posición superior que pueda estar definida */
}

/* Asegura que el contenedor del carrusel tenga posición relativa */
#carouselExampleIndicators {
    position: relative;
}