/* FILTER STYLES*/
.filterable-list__dropdowns-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.filterable-list__search-checkbox-wrapper {
    display:flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.filterable-list__search-wrapper {
    width: 50%;
}

.filterable-list__checkboxes-wrapper {
    display: block;
    width: 50%;
}

.filterable-list__label-title {
    display: block;
    margin-bottom: 10px;
}

.filterable-list__dropdowns-wrapper {
    align-items: flex-end;
}

.filterable-list__dropdown {
    width: 100% ;
}

.filterable-list__dropdown-select-filter {
    width: 100%;
    padding: 5px;
}

.filterable-list__searchform {
    width: 100%;
    padding: 5px 8px;
}

.filterable-list__pagination {
    display: none;
}

.filterable-list__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    list-style: none;
    margin: 0;
}

.button-alignment {
    display: flex;
    justify-content: flex-end;
}

.clear-button {
    background-color: #FFFEFF;
    margin: 10px 0 !important;
}

.filterable-list__checkbox {
    display: block;
    padding-bottom: 10px;
}

.filterable-list__checkbox:last-child {
    padding-bottom: 0px;
}

/* CARD STYLES */
.filterable-list__list .profile-card {
    padding: 20px;
}

.profile-card__wrapper {
    display: flex;
    flex-direction: column;
}

.profile-card {
    background-color: #F9F8FA;
    flex-grow: 1;
}

.profile-card .profile-card__name {
    font-size: 1.602rem;
}

.profile-card__mandatory-title-ix-reporter, .profile-card__leader {
    display: inline-block;
    line-height: 1.2;
    color: #19224D;
    background-color: #EBC040;
    padding: 5px 8px;
    font-size: .8em;
    font-weight: 700;
    vertical-align: top;
}

.profile-card__leader {
    padding: 7px 8px;
}

.profile-card__mandatory-title-ix-reporter {
    margin: 0 0 10px 0;
}

.profile-card__leader:before {
    font-family: "Font Awesome 6 Pro";
    content: "\f2c1";
    margin-right: 5px;
}

a.profile-card__mandatory-title-ix-reporter-trigger {
    display: block;
    color: #1a224f;
    line-height: 1.5em;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.profile-card__mandatory-title-ix-reporter-trigger:after {
    font-family: "Font Awesome 6 Pro";
    content: " \f05a";
}

a.profile-card__mandatory-title-ix-reporter-trigger:hover {
    color: #990000;
}

.profile-card__mandatory-title-ix-reporter .modal-dialog {
    text-align: left;
    font-weight: 400;
}

.profile-card__image {
    width: 160px;
    height: 215px;
    margin: 0 0 15px 15px;
}

.profile-card__position {
    display: block;
}

.profile-card__affiliation {
    line-height: 1.75em;
}

.profile-card--leader .profile-card__tag {
    color: #44464b;
}

.profile-card__tag {
    display: inline-block;
    line-height: 1.2;
    background-color: #ebecf5;
    border: 1px solid rgba(2, 0, 148, .2);
    padding: 3px 5px;
    margin: 3px 0;
    font-size: .8em;
    vertical-align: top;
}

.button--tight {
    font-size: 16px;
    line-height: 1.5em;
    padding: 5px 10px;
}

@media only screen and (max-width: 802px) {
    .filterable-list__list {
        grid-template-columns: 1fr 1fr;
    }

}

@media only screen and (max-width: 546px) {
    .filterable-list__dropdowns-wrapper, .filterable-list__search-checkbox-wrapper {
        flex-direction: column;
    }
    
    .filterable-list__search-checkbox-wrapper {
        gap: 10px;
    }
    
    .filterable-list__search-wrapper, .filterable-list__checkboxes-wrapper {
        width: 100%;
    }
    
    .filterable-list__list {
        grid-template-columns: 1fr;
    }

}