.kgrid {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-auto-flow: dense;
    text-align: left;
    max-width: 1140px;
    margin: auto;
    grid-row-gap: 25px;
}

.kgrid-wide {
    display: grid;
    grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 16.6%;
    grid-auto-flow: dense;
    text-align: left;
    max-width: 1600px;
    margin: auto;
    grid-row-gap: 5px;
}

.kinner {
    position: relative;
    margin: 0 auto;
}

.kcontent {
    position: relative;
    text-align: center;
    width: 260px;
    height: 450px;
}

.text-overlay {
    position: absolute;
    width: 260px;
    bottom: 100px;
    color: white !important;
    align-content: center;
    font-family: 'have_heart_oneregular' !important;
}

.text-overlay p {
    font-family: 'have_heart_oneregular';
    color: white;
    font-size: 56px;
    font-weight: normal;
    line-height: 56px;
    text-align: center;
}

.turn-btn {
    position: absolute;
    width: 260px;
    height: 35px;
    bottom: 0px;
    background-color: transparent;
    border: none;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}

.btn-text {
    display: inline-block;
    color: white;
}

.turn-btn:hover {
    cursor: pointer;
}

.contact-btn {
    width: 260px;
    height: 35px;
    background-color: #4099ff;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.contact-btn p {
    margin-top: 0px !important;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.employee-name {
    font-weight: bold;
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;
}

.employee-name p {
    padding-top: 25px;
    margin-top: 0px !important;
}

.employee-title {
    padding-left: 25px;
    padding-right: 25px;
}

.employee-quote {
    position: absolute;
    margin-top: 117px;
    padding-left: 25px;
    padding-right: 25px;
}

.employee-sprachen {
    /*padding-left: 25px;
    padding-right: 25px;*/
}

.employee-social {
    padding-left: 25px;
    padding-right: 25px;
}

.employee-social ul li::before{
    content: none;
}

.employee-social i:hover{
    color: #999999;
    cursor: pointer;
}

.employee-name p {
    line-height: 24px;
    font-size: 24px;
    margin-top: 15px;
}

.employee-title p {
    line-height: 24px;
    color: #999999;
    font-size: 24px;
    margin-top: 10px;
}

.employee-quote p {
    line-height: 18px;
    font-size: 16px;
    color: #000000;
    font-style: italic;
}

.employee-sprachen-heading p {
    line-height: 16px;
    font-size: 16px;
    font-weight: bold;
    color: black;
    font-style: normal;
}

.employee-sprachen p {
    line-height: 20px;
    font-size: 16px;
    color: #000000;
    margin-top: 3px;
    font-style: normal;
}

/* entire container, keeps perspective */
.flip-container {
    perspective: 1000px;
}
/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
}

/* flip speed goes here */
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    color: white;
    -webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    visibility:visible;
    backface-visibility: hidden;
}

.front:hover {
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
}

/* front pane, placed above back */
.front {
    z-index: 2;
    /* for firefox 31 */
    transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);
}

.back {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* flex-wrap: wrap */
    background-color: white;
}

.front, .back {
    position: absolute;
    width: 260px;
    height: 450px;
}

.front:hover, .back:hover {
    position: absolute;
    width: 260px;
    height: 450px;
}

.employee-social {
    margin-top: auto;
}

.social-table {
    display: table;
    margin: 0 auto;
}

.social-table ul {
    margin-left: 0;
}

.employee-social-list {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    margin-bottom: 25px;
    padding: 0;
}

.employee-social-list li {
    display: block;
    flex: 0 1 auto;
    list-style-type: none;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px !important;
}

.employee-card {
    display: none;
}

.center {
    text-align: center;
}

.karriereliste .full_section_inner {
    background-position: top !important;
    background-image: url(https://bsc-stg.basecom-preview.de/wp-content/uploads/2019/07/bg_profile_2.jpg?id=4359) !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
}

.loadmore, .loadmore-wide, .loadall {
    margin-top: 40px;
}

.loadmore a, .loadmore-wide a, .loadall a {
    width: 250px;
    text-align: center;
}

#showLess {
    display: none;
    text-decoration: underline;
    color: black;
    text-align: center;
    margin-top: 4px;
    cursor: pointer;
    font-size: 13px;
}
#showLess-wide {
    display: none;
    text-decoration: underline;
    color: black;
    text-align: center;
    margin-top: 4px;
    cursor: pointer;
    font-size: 13px;
}
#showLessAll {
    display: none;
    text-decoration: underline;
    color: black;
    text-align: center;
    margin-top: 4px;
    cursor: pointer;
    font-size: 13px;
}

@media (max-width: 1700px) {
    .kgrid-wide {
        grid-template-columns: 20% 20% 20% 20% 20%;
        max-width: 1350px;
        grid-row-gap: 10px;
    }
}
@media (max-width: 1450px) {
    .kgrid-wide {
        grid-template-columns: 25% 25% 25% 25%;
        max-width: 1140px;
        grid-row-gap: 25px;
    }
}
@media (max-width: 1140px) {
    .kgrid, .kgrid-wide {
        grid-template-columns: 33.3% 33.3% 33.3%;
        max-width: 855px;
    }
}

@media (max-width: 1000px) {
    .kgrid, .kgrid-wide {
        grid-template-columns: 50% 50%;
        max-width: 570px;
    }
}

@media (max-width: 570px) {
    .kgrid, .kgrid-wide {
        grid-template-columns: 100%;
        max-width: 285px;
    }
}