/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.team-members #members-grid {
    margin-right: 0;
    margin-left: 0;
    padding-left: 30px;
}

.team-members .member__image img {
    aspect-ratio: 1 / 1;
    min-width: 100%;
    object-fit: cover;
}

.team-members__filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.team-members__filters__row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-bottom: 1rem;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 100%;
    z-index: 10;
}
.team-members__filter__item {
    background-color: #ecf3fd;
    color: #043972;
    padding: 4px 7px;
    font-weight: 400;
    margin: 5px 6px;
    cursor: pointer;
    display: block;
    white-space: nowrap;
    font-size: 18px;
    z-index: 10;
}
.team-members__filter__item.active {
    background-color: #043972;
    color: #ffffff;
}
.team-members__filter__item:hover {
    text-decoration: none;
    background-color: #CBDDEF;
}
.team-members__filter__item.active:hover {
    background-color: #043972;
    color: #ecf3fd;
}
.filtr-item.member .member__info {
    background-color: #F5F5F5;
    margin-top: -5px;
    padding: 15px 15px 10px 15px;
    font-size: 16px;
    line-height: 1.4em;
    min-height: 135px;
}
.filtr-item.member .member__info .member__info__name {
    color: #043972;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4em;
}
.filtr-item.member .member__info .member__info__phone i,
.filtr-item.member .member__info .member__info__mail i{
    padding-right: 5px;
}
.filtr-item.member .member__info .member__info__function {
    font-size: 16px;
    line-height: 1.2em;
    padding: 2px 0;
}
@media only screen and (max-width: 1500px) and (min-width: 1151px){
    .col-lg-3.filtr-item.member {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}
@media only screen and (max-width: 1200px) and (min-width: 1151px){
    .filtr-item.member .member__info {
        min-height: 150px;
    }
}
@media only screen and (max-width: 1150px) and (min-width: 767px){
    .filtr-item.member .member__info {
        min-height: 135px;
    }
    .col-lg-3.filtr-item.member {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media only screen and (max-width: 768px) and (min-width: 720px){
    .col-lg-3.filtr-item.member {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media only screen and (max-width: 720px) {
    .filtr-item.member .member__info {
        min-height: 140px;
        margin-bottom: 2px;
    }
    .filtr-item.member {
        padding-left: 0;
        padding-right: 0;
    }
}