﻿.contenedor-pagina {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contenido-resto-pagina {
    flex: 1; /* Allow content to fill remaining space */
}

.carousel-container {
    width: 100%;
}

.carousel {
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 100%; /* Asegurar que las imágenes ocupen el 100% del alto del contenedor */
    overflow: hidden;
    position: relative;
}

.carousel-item {
    display: none; /* Ocultar todos los ítems por defecto */
    position: absolute; /* Posicionar todos los ítems en el mismo lugar */
    width: 100%; /* Asegurar que las imágenes ocupen el 100% del ancho del contenedor */
    height: 100%; /* Asegurar que las imágenes ocupen el 100% del alto del contenedor */
    transition: opacity 1s ease-in-out; /* Añadir una transición de opacidad */
    opacity: 0; /* Hacer que el ítem sea invisible */
}

.carousel-item.active {
    display: block; /* Mostrar el ítem activo */
    opacity: 1; /* Hacer que el ítem activo sea visible */
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}
/*@media (max-width: 770px) {
    .carousel-item img {
        content: attr(data-reduced-src);
    }
}*/

.tarjetaLink {
    /*background: url('../../Imagenes/RRHH/fondoD.jpg') repeat-x 0 30px;*/
    background: url('../../imagenes/RRHH/login/fondo.png') 0 0 repeat;
    border-radius: 8px 0 0 8px;
    display: block;
    float: left;
    height: 270px;
    overflow: hidden;
    padding: 0.3px;
    position: relative;
    width: 220px;
    margin: 4px;
    text-align: center;
    margin: 30px;
}
    .tarjetaLink :hover {
        background-image: linear-gradient( rgba(0.01, 0.01, 0.01, 0.01), rgba(95, 95, 99, 0.01) ), url('../../imagenes/RRHH/login/fondo.png');
        /*border-radius: 8px 0 0 8px;*/
        background-color: #8b8888;
        color: #ffffff;
        font-weight: bold;
        /*font-size: 0.9em;*/
    }

.tarjeta {
    font-size: 0.9em;
    /*display: block;*/
    padding-top: 4px;
    width: 100%;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
}
    .tarjeta:hover {
        color: #ffffff;
        background-color: #8b8888;
        /*background-color: #e2dada;*/
        /*text-decoration-style: none*/
    }
.TarjetaTitulo {
    height: 50px;
    padding:4px;

}



/****************Comienza las resoluciiones*****************/

@media only screen and (max-width: 1000px) {
  

}
@media (max-width: 992px) {
 


    .tarjetaLink {
        height: 190px;
        padding: 0.3px;
        width: 150px;
        margin: 2px;
        text-align: center;
        margin: 20px;
    }



    .tarjeta {
        font-size: 0.7em;
        padding-top: 2px;
        width: 100%;
        color: #ffffff;
        text-decoration: none;
        text-align: center;
        font-weight: bold;
    }


    .TarjetaTitulo {
        height: 40px;
        padding: 4px;
    }
}
@media only screen and (max-width: 768px) {
  

    .tarjetaLink {
        height: 190px;
        padding: 0.3px;
        width: 150px;
        text-align: center;
        margin: 15px;
    }



    .tarjeta {
        font-size: 0.7em;
        padding-top: 2px;
        width: 100%;
        color: #ffffff;
        text-decoration: none;
        text-align: center;
        font-weight: bold;
    }


    .TarjetaTitulo {
        height: 40px;
        padding: 4px;
    }
}



@media only screen and (max-width: 700px) {
 
    .tarjetaLink {
        height: 190px;
        padding: 0.3px;
        width: 150px;
        text-align: center;
        margin: 15px;
    }



    .tarjeta {
        font-size: 0.7em;
        padding-top: 2px;
        width: 100%;
        color: #ffffff;
        text-decoration: none;
        text-align: center;
        font-weight: bold;
    }


    .TarjetaTitulo {
        height: 40px;
        padding: 4px;
    }
  
}



/* Para 600px */
/*@media only screen and (max-width: 620px) and (min-width: 501px) {
   
}*/

/* Para 480px */
@media only screen and (max-width: 370px) and (min-width: 341px) {
   
    .tarjetaLink {
        height: 160px;
        padding: 0.3px;
        width: 120px;
        text-align: center;
        margin: 15px;
    }



    .tarjeta {
        font-size: 0.7em;
        padding-top: 2px;
        width: 100%;
        color: #ffffff;
        text-decoration: none;
        text-align: center;
        font-weight: bold;
    }


    .TarjetaTitulo {
        height: 40px;
        padding: 4px;
    }
  }



@media only screen and (max-width: 341px) and (min-width: 4px) {
   


}
