@font-face {
    font-family: 'flexslider-icon';
    src:url('fonts/flexslider-icon.eot');
    src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
        url('fonts/flexslider-icon.woff') format('woff'),
        url('fonts/flexslider-icon.ttf') format('truetype'),
        url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* .noticias-agendas .noticias .noticia a p:first-child{
    background: var(--color1);
    color: white;
    margin: 0 10px;
    text-align: center;
    font-weight: bold;
} */

	.noticias-agendas .noticias .noticia{
	margin-bottom:25px;
}

.noticias-agendas .noticias .noticia img{
    width: 100%;
    /* height: 50%; */
    height: 182px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: 50% 50%;
    /* padding: 0 10px; */
}


.noticias-agendas .noticias .noticia .noticia-link{
    /* margin: 10px 0; */
    /* text-align: center; */
}

.noticias-agendas .noticias .noticia .noticia-link .noticia_fecha{
    color: var(--color1);
    margin-top: 10px;
    margin-left: 10px;
    font-weight: bold;
}
.noticias-agendas .noticias .noticia .noticia-link .noticia_titulo{
    /*text-align: center;*/
    /* background: var(--color1); */
    color: black;
    margin: 5px 10px;
    font-weight: bold;
    font-size: 1.25rem;
}

.noticias-agendas .agendas .agenda{
    /* display: grid;
    grid-template-columns: 15% 85%;
    align-items: center;
    gap: 5px; */
    margin: 5px 10px;
    color: black;
    font-weight: bold;
}

.noticias-agendas .agendas a:nth-child(-n+2) div{
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}

.noticias-agendas .agendas .agenda p:first-child{
    font-size: 1.6rem;
}

.noticias-agendas .agendas .agenda .fecha{
    /* background-color: #96DE44; */
    /* background: var(--color2);
    color: white; */
    /* font-size: 1.5rem;
    padding: 5px; */
}

.noticias-agendas .agendas .agenda .fecha p{
    /* font-weight: bold;
    text-align: center; */
}

.noticias-agendas .agendas .agenda .cuerpo{
    /* color:black; */
}

.noticias-agendas .agendas .agenda .cuerpo:hover{
    /* color: var(--color2);
    transition-duration: 1s; */
}

.noticias-agendas .agendas .agenda .cuerpo p:first-child{
    /* font-weight: bold;
    margin-bottom: 10px; */
}

.noticias-agendas .agendas .agenda .cuerpo a{
    /* text-decoration: none; */
}

.noticias-agendas .agendas .agenda .cuerpo p:last-child{
    /* font-size: 0.9rem; */
    /* margin-bottom: 10px; */
}

.index{
}

.pie .accesos{
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: white;
    padding-bottom: 10px;
}

.pie .titulo p{
    /* color: var(--color5); */
    /* color: white; */
    font-size: 1.5rem;
    font-weight: bold;
}

.pie .accesos a{
    text-decoration: none;
    color: white;
}

.pie .accesos a p{
    padding: 0px 5px;
}

.pie .accesos a p:hover{
    background: white;
    color: black;
    margin: 0 2px;
}

.pie .accesos .titulo{
    border-bottom: 3px solid gray;
    margin: 0 2px 5px;
}

.w3-display-bottommiddle{
    width: 100%;
    padding: 5px;
    font-weight: bold;
    text-align: center;
    color: white;
    font-size: 15px;
    bottom: 0px;
    /* background: #FF4F1F; */
    /* background: rgba(255, 79,31, 0.8); */
    /* background: var(--color1); */
    background-color: rgb(0, 0, 0, 0.6);
}

.w3-display-topmiddle{
    background: white;
    padding: 2px;
    top: 5px;
    transform: none;
    left: 0px;
    font-weight: bold;
    font-size: 15px;
}

/*
.index .slider{
    height: 150px;
}
*/

.index .slider img{
    /* height: 100%; */
    min-height: 180px;
    object-fit: cover;
}

.index .botones{
    /* border-top: 1px solid gray;
    border-bottom: 1px solid gray; */
    margin: 10px 0 5px;
    padding: 10px 0;
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    justify-items: center;
    align-items: center;
}

.index .botones i{
    font-size: 50px;
    /* color: var(--color2);
    background-color: white; */
    color: white;
    background-color: var(--color2);
    border-radius: 50%;
    padding: 16px;
    width: 82px;
}

/* .index .botones i:hover{
    opacity: 0.7;
} */

.index .botones a{
    /* padding: 10px; */
    text-align: center;
    font-weight: bold;
    color: var(--color2);
    text-decoration: none;
}

.index .botones a p{
    text-align: center;
}

.index .botones a img{
    height: 50px;
    width: auto;
}

.index .botones a:hover{
    opacity: 0.7
}

.index .slider .w3-content{
    max-width: 1200px !important;
}

.circulo{
    width: 82px;
    height: 82px;
    /* background-color: white; */
    background-color: var(--color2);
    padding: 16px;
    border-radius: 50%;
}


@media (min-width: 440px){
    .index{
        margin: 0 10px;
    }
    .index .links{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .noticias-agendas .noticias{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 5px;
    }

    .noticias-agendas .agendas{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        align-items: center;
        margin-bottom: 15px;
    }
    .pie .accesos{
        grid-template-columns: repeat(3, 1fr);
    }

    .w3-display-bottommiddle{
        padding: 5px;
        font-weight: bold;
        font-size: 37px;
        bottom: 20px;
    }

    .w3-display-topmiddle{
        background: white;
        padding: 5px;
        top: 20px;
        transform: none;
        left: 0px;
        font-weight: bold;
        font-size: 25px;
    }

    .index .botones{
        grid-template-columns: repeat(4, 1fr);
    }

    .index .botones i{
    }

    .index .botones a img:hover{
    }
}

@media (min-width: 768px){
    .noticias-agendas .noticias{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

	.noticias-agendas .noticias .noticia{
	margin-bottom: 0;
}

    .pie .accesos{
        grid-template-columns: repeat(6, 1fr);
        padding: 10px;
    }
}

@media (min-width: 986px){
    /* .index .botones{
        grid-template-columns: repeat(8, 1fr);
    } */
    .index .botones a:nth-child(1n+8){
        display: none;
    }

    .index .botones{
        grid-template-columns: repeat(7, 1fr);
    }
}
