#container-async_mediatheque {
    padding: 4rem 0;
}

#container-async_mediatheque .count-search {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

#container-async_mediatheque .count-search .countresult {
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    color: #27476B;
    min-width: 280px;
    margin-bottom: 0;
}

#container-async_mediatheque .count-search .filter-search {
    width: 100%;
}

#container-async_mediatheque .count-search .filter-search input {
    width: 100%;
    color: rgba(16, 24, 40, 0.6);
    font-weight: bold;
    font-size: 16px;
}

#container-async_mediatheque .count-search .filter-search i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    cursor: pointer;
    color: #667085;
}

#container-async_mediatheque .count-search .filter-search .icone-input {
    position: relative;
    border: 1px solid #B9C0D4;
    padding: 4px 10px;
}

#container-async_mediatheque .count-search .filter-search input::placeholder {
    color: rgba(16, 24, 40, 0.6);
}

.all-filters-cat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.most-recently-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.most-recently-filters .filter-trierpar {
    min-width: 290px;
    margin-left: 25px;
}

.all-filters-mediatheque {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.all-filters-mediatheque .filter-categories {
    min-width: 220px;
    margin-left: 25px;
}

.all-filters-mediatheque .title-filters-mdt {
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    color: #27476B;
}

.all-filters-mediatheque .select-filter {
    height: 44px;
    font-weight: bold;
}

.all-filters-mediatheque .select-filter .select-all {
    height: 44px;
    padding: 8px 30px 8px 14px;
}

.all-filters-mediatheque .select-filter ul.filters {
    padding: 5px;
}

.all-filters-mediatheque .select-filter ul li a:hover {
    background-color: #0069c80f;
}

.all-filters-mediatheque .select-filter ul li a {
    border-radius: 6px;
    font-size: 15px;
    text-align: left !important;
    padding: 10px;
}

.all-filters-mediatheque .select-filter ul li:after {
    display: none;
}

.all-filters-mediatheque .select-filter ul li {
    text-align: left !important;
    margin-bottom: 0px;
    text-indent: 0px;
}

.content-mediatheque {
    padding-top: 5rem;
}

.item-mdt .img-mdt {
    height: 200px;
}

.item-mdt .img-mdt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-mdt .content-mdt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(358.92deg, #27476B 0.93%, rgba(39, 71, 107, 0.84375) 40.81%, rgba(39, 71, 107, 0) 99.09%);
}

.item-mdt .ci-imdt {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.bottom-cmdt {
    color: white;
}

.bottom-cmdt .title-cmdt {
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 10px;
}

.excerpt-cmdt {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #475467;
    overflow: hidden;
    display: block;
    -webkit-line-clamp: 3;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    height: 0;
    transition: .3s;
}

.item-mdt .ci-imdt:hover .excerpt-cmdt {
    height: 60px;
}

.item-mdt .ci-imdt:hover .content-mdt {
    background: #F2F6FB !important;
}

.item-mdt .ci-imdt:hover .title-cmdt {
    color: #101828;
}

.medias-cmdt {
    width: 40px;
    height: 40px;
    background: #0058BE;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

span.thematique-cmdt {
    display: inline-flex;
    height: 40px;
    border: 1px solid #0058BE;
    background: #FFFFFF;
    border-radius: 8px;
    color: #0058BE;
    font-weight: 600;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
}

.top-cmdt {
    display: flex;
    align-items: center;
}

.item-mdt {
    margin-bottom: 30px;
}

.content-mediatheque .pagination {
    justify-content: center;
}

.content-mediatheque .pagination .page-numbers:not(.next):not(.prev) {
    width: 32px;
    height: 32px;
    border: 1px solid #0058BE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-align: center;
    transition: .3s;
}

.content-mediatheque .pagination .page-numbers.current,
.content-mediatheque .pagination .page-numbers:not(.next):not(.prev):hover {
    background: #0058BE;
    color: white;
}

.content-mediatheque .pagination li {
    margin: 0 3px;
}

.content-mediatheque .pagination .page-next,
.content-mediatheque .pagination .page-prev {
    display: flex;
    align-items: center;
}


.modal-mdt .modal-dialog {
    max-width: 650px;
}

.modal-mdt .modal-header {
    border: none;
}

.modal-mdt button.close {
    font-size: 35px;
    outline: none;
}

.modal-mdt .modal-body {
    padding: 1rem !important;
}

.select-filter .select-all:after {
    transition: .3s;
}

.select-filter.display .select-all:after {
    transform: translate(0,-50%) rotate(180deg);
}


@media (max-width: 767px) {
    .count-search {
        flex-wrap: wrap;
    }

    #container-async_mediatheque .count-search .countresult {
        margin-bottom: 15px;
    }

    .all-filters-mediatheque .title-filters-mdt {
        width: 100%;
        margin-bottom: 15px;
    }

    .all-filters-mediatheque .filter-categories {
        margin-left: 0;
        margin-right: 25px;
    }

    .most-recently-filters .filter-trierpar {
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    #container-async_mediatheque .count-search .countresult {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .all-filters-mediatheque .title-filters-mdt {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .most-recently-filters .filter-trierpar {
        width: 100%;
        min-width: auto;
    }

    .most-recently-filters {
        width: 100%;
    }

    .all-filters-mediatheque .filter-categories {
        width: 100%;
        margin-right: 0;
    }
}