/*Version 1.0.0*/
/*Noticias CSS*/
/*Texto CSS*/
.notice-i-title{
    color: rgb(0 107 179);
    font-weight: bolder;
}
.image-noticia-i{
    border-radius: 10%;
}
.text-content-noticia-i{
    text-align: justify;
}
.span-fecha span{
    background-color: rgb(0 107 179);
    color:white;
    display: inline-block;
    border-radius:5px;padding: 2px;
    font-size:1rem;
}

/*Noticias de inicio CSS*/

.nt-chorizontal-card {
    position: relative;
    display: flex;
    flex-direction: row;
    border: none; 
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /*background-color: #ffffff;*/
    overflow: hidden;
    margin-bottom: 20px;
}

.nt-image-container {
    position: absolute;
    top: 50%;
    left: 30px; /* Ajusta la posición horizontal para invadir el contenido */
    transform: translateY(-50%);
    width: 300px; /* Ajusta el ancho de la imagen */
    z-index: 1;
    margin-left: -20px; /* Mueve la imagen hacia la derecha */
}

.nt-image-container img {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nt-content-container {
    flex: 1;
    margin-left: 220px; /* Deja espacio para la imagen */
    padding: 1rem;
    background-color: #157DB7;
    border-radius: 0.9rem 0.5rem 0.5rem 0.9rem;
}

.nt-date-box {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffffff;
    color: #157DB7;
    border-radius: 0.5rem;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 50px;
}

.nt-date-box .day {
    font-size: 1.5rem;
    font-weight: bolder;
    padding-bottom: 3px;
}

.nt-date-box .month {
    font-size: 0.8rem;
    font-weight: bolder;
}

.nt-date-box .year {
    font-size: 0.8rem;
    font-weight: bolder;
}

.nt-card-title {
    font-size: 0.9rem;
    font-weight: bolder;
    color: #ffffff;
    padding-right: 10%;
    padding-left: 15%;
    margin-bottom: 8px;
}

.nt-card-text {
    font-size: 0.9rem;
    color: #ffffff;
    padding-right: 10%;
    padding-left: 15%;
}

.nt-btn-primary {
    background-color: #157DB7;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: lighter;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nt-btn-primary:hover {
    background-color: #005b9d;
    color: #ffffff;
}

.nt-fb-page {
    width: 100%;
}

/* Media Query para pantallas pequeñas */
@media (max-width: 767px) {
    .nt-horizontal-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nt-image-container {
        position: relative;
        margin-left: 0;
        margin-bottom: 10px;
        top: 0;
        left: 0;
        transform: translateY(0);
        width: 100%;
    }

    .nt-content-container {
        margin-left: 0;
        border-radius: 0 0 0.5rem 0.5rem;
        width: 100%;
    }
    .nt-btn-primary {
        align-self: center;
    }
}