/****************************************************************************
 * Filter
 ****************************************************************************/
.team_filter ul {
    margin-left: -0.5rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
.team_filter ul li {
    padding: 0.5rem;
    list-style: none;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: 100%; 
}
.team_filter ul li.active a {
    color: #006fb7;
    background-color: rgba(0,202,242,0.25);
}

@media screen and (min-width: 40em){
    .team_filter ul {
        margin-left: 8.333%;
    }
}


/****************************************************************************
 * Listing
 ****************************************************************************/
@keyframes team_item {
    0%   {
        opacity: 0;
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

.team_listing .item {
    height: 0; visibility: hidden;
    opacity: 0; pointer-events: none;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}
.team_listing .item.start_transition {
    animation-name: team_item;
    animation-duration: 0.25s;
    animation-fill-mode: forwards;
}
.team_listing .item:not(.active) {
    width: 0;
    flex: 0 0 0;
    max-width: 0;
    padding: 0;
}
.team_listing .item.active {
    height: auto; visibility: visible;
    opacity: 1; pointer-events: all;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

