.banner {
    width: 100%;
    height: 260px;
    background-image: url(../images/noticias/FacultatQuimica.jpg);
    background-position: center;
    background-size: cover;
}

.apartados .apartado {
    border-bottom: 2px solid black;
}


/* NOTICIAS y ACTIVIDADES */

.noticias,
.noticias > div {
    width: 100%;
}

.actividades {
    border-top: 2px solid black;
}

.topNoticias,
.topActividades {
    margin-top: 50px;
    margin-bottom: 10px;
    height: 65px;
}

.viewMore {
    float: right;
    display: flex;
    align-items: center;
    height: 100%;
    font-weight: bold;
    transition: 0.2s;
    cursor: pointer;
}

.viewMore i {
    margin-left: 4px;
}

.viewMore:hover {
    color: gray;
}

.midNoticias,
.midActividades {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.midNoticias {
    margin-bottom: 30px;
}

.midActividades > div {
    width: 30%;
}

.midNoticias > div {
    margin-bottom: 50px;
    width: 22.5%;
}

.midActividades::after {
    content: "";
    width: 30%;
}

.midNoticias::after {
    content: "";
    width: 25%;
}

.titular {
    padding-top: 6px;
    font-size: 17px;
    font-weight: bold;
}

.titulo {
    padding-top: 15px;
    font-size: 20px;
    font-weight: bold;
}

.fecha {
    margin-top: 15px;
    font-size: 15px;
    color: gray;
}

.botActividades,
.botNoticias {
    margin: 20px 0 80px;
}

.botNoticias {
    display: none;
}

.botActividades .moreButton {
    display: none;
    border-color: var(--rosa);
    color: var(--rosa);
}

.botActividades .moreButton:hover {
    background-color: var(--rosa);
    color: white;
}



/********************** SOCIAL **********************/

.socialButtons{
    width: 100%;
    margin-bottom: 50px;
}

.social {
    width: 100%;
    display: flex;
    justify-content: center;
}

.socialButtons li {
    color: gray;
    list-style-type: none;
    width: 34px;
    height: 34px;
    border: 1px solid gray;
    cursor: pointer;
    margin-left: 10px;
    margin-bottom: 20px;
    transition: ease .3s;
    border-radius: 20px;
}

.socialButtons ul > li:first-child{
    margin-left: 0;
}

.socialButtons li a{
    color: gray;
    width: 34px;
    height: 34px;
    transition: ease .3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialButtons li:hover {
    color: black;
    border: 1px solid black;
}

.socialButtons li:hover a{
    color: black;
}

.social:hover > li {
    opacity: 0.5;
}

.social:hover > li:hover {
    opacity: 1;
}



/********************** MEDIA QUERIES **********************/

@media (max-width: 1100px) {
    #act3 {
        display: none;
    }

    .midNoticias > div,
    .midActividades > div {
        width: 47%;
    }

    .banner {
        height: 240px;
    }
}

@media (max-width: 1024px) {
    .banner {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .banner {
        height: 200px;
    }

    .midNoticias > div,
    .midActividades > div {
        width: 48%;
    }

    .midNoticias::after,
    .midActividades::after {
        display: none;
    }

}

@media (max-width: 656px) {

    .apartados .apartado {
        border-bottom: 2px solid lightgray;
    }

    .banner {
        height: 180px;
    }

    .midNoticias > div,
    .midActividades > div {
        width: 100%;
        margin: 20px 0 30px;
    }

    .midNoticias::after,
    .midActividades::after {
        display: none;
    }

    #act1,
    #act2,
    #act3 {
        display: none;
    }

    .titular,
    .titulo {
        font-size: 22px;
    }

    .fecha {
        font-size: 17px;
    }

    .topNoticias,
    .topActividades {
        margin-top: 40px;
        margin-bottom: 0;
    }

    .botNoticias,
    .botActividades {
        display: flex;
        justify-content: center;
    }

    .botNoticias .moreButton,
    .botActividades .moreButton {
        display: block;
    }

    /*
    .topExpertos {
        position: sticky;
        top: 78px;
        background-color: white;
        z-index: 90;
        width: 100.02%;
        transition: border-color 0.2s;
        border-bottom: 2px solid transparent;
    }
*/

    #actividades {
        display: none;
        border: none;
    }

    #noticias .viewMore {
        display: none;
    }

}

@media (max-width: 440px) {
    .banner {
        height: 130px;
        margin: 20px 0;
    }

    .midNoticias > div,
    .midActividades > div {
        margin: 20px 0 20px;
    }

    .titular,
    .titulo {
        font-size: 20px;
    }

    .fecha {
        font-size: 14px;
    }

    .topNoticias,
    .topActividades {
        margin-top: 30px;
        height: 50px;
    }

    /*
    .topActividades {
        top: 58px;
    }
*/
    
    .socialButtons{
        transform: scale(0.9);
        margin-bottom: 25px;
    }
    
    .botNoticias,
    .botActividades{
        margin-top: 25px;
        margin-bottom: 45px;
    }
}
