/* category and their teachers disable (those that aren't needed)*/
.category-filter[data-slug="zentrale-services"],
.category-filter[data-slug="hauptberuflich"],
.category-filter[data-slug="innovationsbegleitung-innolab"],
.category-filter[data-slug="leitung-innolab"],
.category-filter[data-slug="nebenberuflich"],
.category-filter[data-slug="lehrgangsleitung"],
.category-filter[data-slug="zhd-kernteam"],
.teacher[data-slug="zentrale-services"],
.teacher[data-slug="hauptberuflich"],
.teacher[data-slug="innovationsbegleitung-innolab"],
.teacher[data-slug="leitung-innolab"],
.teacher[data-slug="nebenberuflich"],
.teacher[data-slug="lehrgangsleitung"],
.teacher[data-slug="zhd-kernteam"] {
    display: none;
}

.category-filter-wrapper,
.show-all-btn-wrapper,
.team-wrapper {
    font-family: var(--e-global-typography-primary-font-family), sans-serif;
}

.category-filter-wrapper,
.show-all-btn-wrapper {
    width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-left: -10px;
    margin-right: -10px;
    flex-wrap: wrap;
}

.category-filter-wrapper .category-filter,
.show-all-btn-wrapper .show-all-btn,
.show-all-btn-wrapper .show-all-in-category-btn
{
    padding: 10px 15px;
    color: var(--e-global-color-text);
    border-radius: 0;
    border: 0;
    margin: 10px;
}

.category-filter-wrapper .category-filter {
    background-color: var(--e-global-color-f2574e7);
}

.show-all-btn-wrapper .show-all-btn,
.show-all-btn-wrapper .show-all-in-category-btn{
    background-color: var(--e-global-color-primary);
    display: flex;
}

.show-all-btn-wrapper .show-all-btn:after,
.show-all-btn-wrapper .show-all-in-category-btn:after {
    content: "";
    width: 22px;
    height: 22px;
    background-image: url("/wp-content/uploads/2022/09/arrow-01.svg");
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 25px;
}

.category-filter-wrapper .category-filter.active {
    background-color: var(--e-global-color-primary);
    outline: none;
}

.category-filter-wrapper .category-filter:hover,
.show-all-btn-wrapper .show-all-btn:hover,
.show-all-btn-wrapper .show-all-in-category-btn:hover {
    outline: 1px solid var(--e-global-color-text);
}

.category-filter-wrapper .category-filter:not(:last-child) {
    margin-right: 10px;
}

.team-wrapper {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.team-wrapper .team {
    display: flex;
    align-items: center;
    width: 48%;
    background-color: var(--e-global-color-f2574e7);
    margin-bottom: 20px;
}

.team-wrapper .team .image-wrapper {
    width: 175px;
    height: 175px;
    flex-shrink: 0;
}

.team-wrapper .team .image-wrapper img {
    width: 175px;
    height: 175px;
    object-fit: cover;
}

.team-wrapper .team .data-wrapper {
    width: 100%;
    padding-left: 30px;
}

.team-wrapper .team .data-wrapper .name {
    font-size: 20px;
    line-height: 23px;
    margin: 0;
    margin-bottom: 2px;
}

.team-wrapper .team .data-wrapper .profession {
    font-size: 16px;
    line-height: 18px;
    margin: 0;
}

.team-wrapper .team .data-wrapper .phone,
.team-wrapper .team .data-wrapper .email {
    color: var(--e-global-color-text);
    word-wrap: break-word;
}

.team-wrapper .team .data-wrapper .phone:hover,
.team-wrapper .team .data-wrapper .email:hover {
    text-decoration: underline;
}

.team-wrapper .team .data-wrapper .phone,
.team-wrapper .team .data-wrapper .email,
.team-wrapper .team .data-wrapper .room {
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
}

.team-wrapper .team .data-wrapper .phone:before,
.team-wrapper .team .data-wrapper .email:before,
.team-wrapper .team .data-wrapper .room:before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
}

.team-wrapper .team .data-wrapper .phone:before {
    background-image: url("/wp-content/uploads/2022/09/telefon-01.svg");
}

.team-wrapper .team .data-wrapper .email:before {
    background-image: url("/wp-content/uploads/2022/09/mail-01.svg");
}

.team-wrapper .team .data-wrapper .room:before {
    background-image: url("/wp-content/uploads/2022/09/location-01.svg");
}

@media (max-width: 1024px) {
    .category-filter-wrapper {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .team-wrapper {
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .team-wrapper .team {
        width: 525px;
    }
}

@media (max-width: 767px) {
    .category-filter-wrapper {
        justify-content: center;
    }

    .category-filter {
        width: 300px;
        margin-bottom: 0 !important;
        font-size: 14px;
        line-height: 17px;
    }

    .team-wrapper .team {
        width: 450px;
        flex-direction: column;
    }

    .team-wrapper .team .image-wrapper {
        width: 125px;
        height: 125px;
    }

    .team-wrapper .team .data-wrapper {
        padding: 20px;
    }

    .team-wrapper .team .image-wrapper img {
        width: 125px;
        height: 125px;
    }

    .team-wrapper .team .data-wrapper .name {
        font-size: 18px;
        line-height: 21px;
        margin-bottom: 0;
    }

    .team-wrapper .team .data-wrapper .profession {
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 10px;
    }

    .team-wrapper .team .data-wrapper .phone,
    .team-wrapper .team .data-wrapper .email,
    .team-wrapper .team .data-wrapper .room {
        font-size: 14px;
        line-height: 17px;
    }
}
