#collapseFiltrar {
    margin-bottom: 50px;
}


#formFiltrarEventos {
    width: 100%;
}

#formFiltrarEventos legend {
    font-size: 1.6em;
    border-bottom: 1px solid #e5e5e5;
}

#formFiltrarEventos>.form-group {
    margin-bottom: 5px;
}


/* Eventos próximos */
.eventos_proximos {}

.eventos_proximos.widget {
    font-size: 0.8em;
}


.eventos_proximos .titulo {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

.eventos_proximos ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eventos_proximos ul li {
    display: block;
    margin-bottom: 8px;
    border-bottom: 1px solid lightgrey;
    padding-bottom: 5px;

}

.eventos_proximos ul li div.NombreEvento {
    font-weight: bold;
    color: #999999;
}


.eventos_proximos ul li:hover {
    border-color: #666;
}

.eventos_proximos ul li:hover div.NombreEvento {
    color: #666;
}

.eventos_proximos ul li:hover div.FechaEvento {
    color: #666;
}




.eventos_proximos .FechaEvento,
.evento_dia .FechaEvento {
    color: #AEAEAE;
}


.evento3 {
    font-size: 16px;
    margin-bottom: 50px;
    padding-bottom: 10px;
    /*	border-bottom:1px solid #E5E5E5; */
}

.evento3 h4 {
    border-bottom: 1px solid #dee2e6;
    padding: 10px 15px 5px 0;
}

.evento3 .FechaEvento {
    color: #C00;
    font-size: 0.9em;
}




.eventos_dia {
    margin-top: 40px;
    margin-bottom: 40px;
}

.card.eventos_dia .card-header {
    color: #C00;
}


.evento_dia {
    font-size: 16px;
}




.evento_dia_sombra {
    /*	border-bottom:1px dotted #CCCCCC; */
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.evento_dia_sombra:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}


.evento_dia .imagen {
    padding: 15px;
    max-height: 250px;
    overflow: hidden;

}

.evento_dia .imagen img {
    max-height: 230px;
    border: 1px solid grey;
    border-radius: 5px;
}

.evento_dia .datos {}

@media (max-width: 991px) {
    .evento_dia .imagen {
        width: 100%;
        text-align: center;
        max-height: 300px;
        overflow: hidden;
    }

    .evento_dia .imagen img {
        margin-left: auto;
        margin-right: auto;
        max-height: 280px;

    }

    .evento_dia .datos {}
}





.evento_dia .cabecera {}

.evento_dia .FechaEvento {
    text-align: right;
    padding-right: 0;
    color: #AEAEAE;
    font-size: 1em;
}


.evento_dia h3,
.evento_dia h4,
.evento_dia h5 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.4em;
}

.evento_dia .titulo {
    padding: 0;
}

.evento_dia .subtitulo {}


.evento_dia .cuerpo .articulo {
    max-height: 300px;
    overflow: auto;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.evento_dia .cuerpo .info_adicional {
    font-size: 0.9em;
}

.evento_dia .ficheros {
    padding: 5px 15px 5px 0;
    border-top: 1px solid;
    border-color: #F2F2F2;
}

.evento_dia .ficheros h5 {
    color: #999999;
    font-weight: bold;
}

.evento_dia .ficheros h5 span {
    font-size: 1.2em;
}



@media (max-width: 991px) {
    .evento_dia .cabecera {}

    .evento_dia .FechaEvento {
        text-align: left !important;
    }
}


.evento_dia .ficheros ul {
    list-style: none;
    padding:0;
    font-size: 0.9em;
}

.filtros {
    margin-bottom: 10px;
}

.link_evento {
    text-decoration: none !important;
}


#myModal .modal-dialog {
    width: 95%;
}

#myModal .modal-body {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    padding: 10px;
}

.modal-footer {
    margin-top: 0;
}

#myModal .evento_dia {
    margin-bottom: 0;
}


@media screen and (min-width: 940px) {
    #myModal .modal-dialog {
        max-width: 1024px;
        text-align: center;
    }
}