.library {
    margin: 30px 0 25px 0;
}

.library__space{
    margin-bottom: 25px;
}

.library__item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.10);
    height: 100%;
    overflow: hidden;
    /* padding: 18px 18px 18px 18px; */
    position: relative;
}

.library__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.library__image {
    height: 140px;
    min-width: 230px;
}

.library__img {
    border-radius: 10px 10px 0 0;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.library__date {
    background: #fff;
    border: 1px solid;
    border-radius: 30px;
    color: #000;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin: 30px 0 12px 0;
    padding: 5px 20px 5px 20px;
    text-align: center;
    text-transform: capitalize;
}

.library__text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 18px 18px 18px;
}

.library__header{
    flex-grow: 1;
}

.library__title{
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 5px 0 15px 0;
}

.library__item .library__link {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    margin: 0 0 18px 0;
    padding: 0;
    position: relative;
    text-decoration: none;
    transition: all 0.4s ease;
}

.library__item .library__link:hover{
    color: #494949;
    text-decoration: none;
}

.library__item .library__link:after {
    background: url(/Portals/0/skins/ccma/images/iconos/arrow-link.svg) no-repeat;
    background-size: 100%;
    content: "";
    height: 13px;
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    z-index: 0;
}

.library__items {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.library__theme{
    background: rgba(189, 189, 189, 0.20);
    border-radius: 15px;
    color: #7E7E7E;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    padding: 5px 12px 5px 12px;
    text-align: center;
}

.library__theme span{
    color: #7E7E7E;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.library__element{
    background: rgba(227, 31, 38, 0.30);
    border-radius: 15px;
    color: #000;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    padding: 5px 12px 5px 30px;
    position: relative;
    text-align: center;
}

.library__element:after {
    content: "";
    height: 13px;
    left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 13px;
    z-index: 0;
}

.library__element_Audio:after{
    background: url(/Portals/0/skins/ccma/images/iconos/icono-audio.svg) no-repeat;
    background-size: 100%;
}

.library__element_Documento:after{
    background: url(/Portals/0/skins/ccma/images/iconos/icono-documento.svg) no-repeat;
    background-size: 100%;
}

.library__element_Video:after{
    background: url(/Portals/0/skins/ccma/images/iconos/icono-video.svg) no-repeat;
    background-size: 100%;
}




/*Filtros*/
.edncf_container {
    flex-wrap: wrap;
    padding: 50px 0 50px 0;
    position: relative;
}

.edncf_container:before {
    background: rgba(217, 217, 217, 0.50);
    content: "";
    height: 100%;
    left: calc(-50vw + 50%);
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: -1;
}

.edncf_DropDownList {
    display: block;
    flex: 1;
    margin: 0 0 10px 0;
}

.edncf_DropDownList span {
    display: block;
}

.edncf_Text {
    display: block;
    margin: 0 0 10px 0;
    width: 100%;
}

.edncf_Text input[type=text] {
    border: 1px solid #BDBDBD;
    border-radius: 50px;
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.10);
    color: #7E7E7E;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 15px 8px 15px;
    width: 100%;
}

.edncf_Text input[type=text]::placeholder {
    color: #7E7E7E;
    font-size: 16px;
    line-height: 20px;
}

.edncf_DropDownList select {
    border: 1px solid #BDBDBD;
    border-radius: 50px;
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.10);
    color: #BDBDBD;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 15px 8px 15px;
    width: 100%;
}

.edncf_DropDownList select option {
    background: #D3D3D3;
    color: #000;
}

.edncf_submitContainer .edncf_submit {
    align-items: center;
    background: #E31F26;
    border-radius: 50px;
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 700;
    height: auto;
    line-height: 20px;
    margin: 0 auto;
    max-width: 90%;
    padding: 10px 50px 10px 50px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

.edncf_submitContainer .edncf_submit span{
    color: #fff;
    transition: all 0.4s ease;
}

.edncf_submitContainer .edncf_submit:hover{
    background: #000;
    color: #fff;
    text-decoration: none;
}

.edncf_submitContainer .edncf_submit:hover span{
    color: #fff;
}

/*Filtros laterales*/
.library__format{
    color: #000;
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin: 0 0 30px 0;
}

.library__filter ul {
    margin: 0;
    padding: 0;
}

.library__filter ul li {
    margin: 0 0 10px 0;
}

.library__filter ul input[type=checkbox] {
    margin: 0 7px 0 0;
}

.library__filter ul label {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

/*Fin Filtros laterales*/

/*Paginador*/
.article_pager {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

.article_pager .last,
.article_pager .first{
    display: none;
}

.article_pager .prev {
    background: url(/Portals/0/skins/ccma/images/iconos/pager-arrow.svg) no-repeat;
    background-size: 100%;
    border-radius: 50%;
    display: inline-block;
    font-size: 0;
    height: 44px;
    transform: rotate(180deg);
    text-decoration: none;
    width: 44px;
}

.article_pager .next {
    background: url(/Portals/0/skins/ccma/images/iconos/pager-arrow.svg) no-repeat;
    background-size: 100%;
    border-radius: 50%;
    display: inline-block;
    font-size: 0;
    height: 40px;
    text-decoration: none;
    width: 40px;
}

.article_pager .page{
    color: #212529;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px; 
    margin: 0 15px 0 15px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.article_pager .page:hover,
.article_pager .page.active {
    font-weight: 700;
    color: #000;
}





@media (min-width: 768px){

    .library__container h2 {
        margin: 0 0 6px 0;
        max-width: unset;
    }

    /*Filtros*/
    .edncf_container {
        display: flex;
    }

    .edncf_Text {
        margin: 0 0 20px 0;
    }

    .edncf_DropDownList {
        margin: 0 20px 0 0;
    }

    .edncf_submitContainer .edncf_submit {
        display: flex;
        height: 100%;
        margin: 0 5px 0 5px;
        max-width: unset;
        padding: 5px 50px 5px 50px;
    }


}

@media (min-width: 992px){

    .library__image {
        height: 200px;
    }

    .library__header{
        /* display: flex; */
    }

    .library__buttons {
        display: block;
    }
    
 }

 @media (min-width: 1200px){
    
 }