.kdgs-team-list {
    display: flex;
    flex-wrap: wrap;
}

.kdgs-team-item.state--hidden {
    display: none;
}

.kdgs-team-item {
    text-decoration: none;
    margin-bottom: 25px;
}

.kdgs-team-item .team-image {
    position: relative;
    display: block;
    padding-top: 70%;
}

.kdgs-team-item .team-image .wp-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.col-4 {
    width: 25%;
    max-width: 25%;
}

.kdgs-filter {
    margin-bottom: 1em;
}

.kdgs-filter-button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid var(--c-black, #000);;
    text-decoration: none;
    padding: 15px;
    font-size: 1em;
    margin-right: 5px;
    transition: background-color 250ms;
}

.kdgs-filter-button:hover {
    background-color: var(--c-primary, #0d5a10);
}

.kdgs-filter-button.active {
    background-color: var(--c-primary, #0d5a10);
}

.icon {
    position: relative;
    padding-left: 1.2em;
}

.icon::before {
    content: ' ';
    position: absolute;
    left: 0;
    width: 1em;
    height: 1em;
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-email::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/mail_64x64.png");
}

.icon-facebook::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/facebook.png");
}

.icon-flickr::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/flickr.png");
}

.icon-github::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/github.png");
}

.icon-instagram::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/instagram.png");
}

.icon-linkedin::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/linkedin.png");
}

.icon-pinterest::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/pinterest.png");
}

.icon-reddit::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/reddit.png");
}

.icon-rss::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/rss.png");
}

.icon-tumblr::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/tumblr.png");
}

.icon-twitter::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/twitter.png");
}


.icon-vimeo::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/vimeo.png");
}

.icon-xing::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/xing.png");
}

.icon-youtube::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/round/youtube.png");
}

.icon-telefon::before {
    background-image: url("/wp-content/plugins/kdgs-team/public/icons/phone_direct_64x64.png");
}

.kdgs-team-single-content {
    max-width: 1200px;
    margin: auto;
}

.kdgs-team-single-content .team-image img {
    max-width: 100%;
    height: auto;
}

.kdgs-team-single-content h1 {
    font-size: 1.5em;
    line-height: 1.7em;
    margin-bottom: 1em;
}

.kdgs-team-single-content .email {
    display: block;
    margin-bottom: 5px;
}

.kdgs-team-single-content .telefon {
    display: block;
    margin-bottom: 5px;
}

.kdgs-team-single-row .table {
    margin-bottom: 1em;
}

.kdgs-team-single-row .table td {
    width: 50%;
}
