.team-employee-list-wrapper {
    margin: 0rem 0;
    padding-left: var(--width-container-margin);
    padding-right: var(--width-container-margin);
}

.team-page-dtt-project-slider .over-dtt-logo-slider-wrapper {
    margin-bottom: 0;
}
.team-page-dtt-project-slider {
    margin-bottom: -6rem; /** Fixes the margin between the footer and the content. **/
}
.intro-team-top-title {
        font-size: 7rem;
        line-height: 6rem;
        margin-bottom: 3rem;
}
/**
 *  Discipline sections
 */
.team-discipline-section-separator {
    background-color: #D9D9D9;
    height: 0.1rem;
    margin: 0 0 6.5rem 0;
    margin-left: var(--width-container-margin);
    margin-right: var(--width-container-margin);
}

.team-discipline-section-title-wrapper {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 4.5rem;
    position: relative;
    align-items: end;
    margin-top: 7rem;
}

.team-discipline-section-title {
    margin-bottom: 0rem;
    margin-top: 1.6rem;
    width: 100%;
    text-align: left;

}

.team-discipline-section-statistic-wrapper {
    display: flex;
    flex-direction: column;
    
}
.team-discipline-section-statistic {
    color: #D9D9D9;
    display: inline-block;
    font-size: 3.7rem;
    font-weight: normal;
    line-height: 5.6rem;
    margin: 0;
    text-align: right;
    text-transform: uppercase;
}
/* .team-discipline-section-statistic-biggest {
    padding-right: 13.5rem;
} */
/* .team-discipline-section-statistic-bigger {
    padding-right: 10.5rem;
} */
.team-discipline-section-statistic-big {
    font-weight: 400;
    line-height: 5.6rem;
    font-family: "Open Sans";
}
.bold-statistic {
    font-size: 7rem;
    font-weight: 800;
    line-height: 7.2rem;
    font-family: 'Montserrat';
}

/**
 *  Employee boxes
 */
 /* .employee-list-wrapper {
   display: flex;
   flex-wrap: wrap;
   grid-gap: 2.4rem 0.9rem; 
}
*/

.employee-list-wrapper {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-1 * var(--bs-gutter-x));
  margin-left: calc(-1 * var(--bs-gutter-x));
}
.employee-list-wrapper > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 1);
  padding-left: calc(var(--bs-gutter-x) * 1);
  margin-top: var(--bs-gutter-y);
}

.team-employee-list-item {
    flex: 0 0 auto;
    width: 25%;
    margin-bottom: 5.5rem;
}
.team-employee-image-wrapper {
    align-items: flex-end;
    border-radius: 1.6rem;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}
.team-employee-text-wrapper {
    margin-top: 1.6rem;
 /*    width: 25rem; */
}
.team-employee-image {
    height: auto;
    user-select: none;
    width: 100%;
}
.team-employee-position {
    font-size: 1.3rem;
    line-height: 1.6rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    text-align: center;
    text-transform: uppercase;
}
.team-employee-name {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 2.8rem;
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
}
.team-employee-item-icon-quote-wrapper {
    position: absolute;
    right: 0;
    top: 0%;
    z-index: 10;
}
.team-employee-item-icon-quote-wrapper:hover {
    cursor: pointer;
}
.team-employee-item-icon-quote-wrapper:hover + .team-employee-tooltip-content-wrapper{
    display: block;
}
.icon-quote-team-employee-list-item {
    height: 4.8rem;
    width: 4.8rem;
}
.team-employee-tooltip-content-wrapper {
    border: 1px solid #E6EBF0;
    border-radius: 16px;
    background-color: #FFFFFF;
    box-shadow: 0 12px 20px 0 rgba(0,0,0,0.16);
    display: none;
    padding: 4.8rem 3.2rem 2.4rem 2.4rem;
    position: absolute;
    top: 10%;
    left: 0;
    z-index: 5;
    width: 65vw;
}
.team-employee-tooltip-content {
    font-size: 1.6rem;
    line-height: 2.6rem;
    opacity: 0.8;
    margin: 0;
}


/**
 *  Join the team
 */
.join-team-text-wrapper {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 1.2rem 1.6rem 1.6rem;
    position: absolute;
    right: 0;
}
.join-team-text {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 2rem;
    margin: 0;
    text-transform: uppercase;
}
.join-team-button-wrapper {
    align-items: center;
    background-color: var(--orange-main);
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    height: 4.8rem;
    justify-content: center;
    width: 4.8rem;
}
.join-team-arrow-icon {
    height: 2.5rem;
    width: 2.5rem;
}

.intro-page-top-text-wrapper {
    
    flex: 0 0 51%;
}

@media(max-width: 1200px) {
    .team-employee-list-item {
        width: 25%;
    }
    
}
@media(max-width: 992px) { 
    .team-employee-list-item {
        width: 33.3333333%;
    }
    
    .team-discipline-section-statistic {
        line-height: 4rem;
    }
    .bold-statistic {
        font-size: 7rem;
        font-weight: 800;
        line-height: 7.2rem;
        font-family: 'Montserrat';
    }
}
@media(max-width: 768px) { 
    .team-employee-list-item {
        width: 50%;
    }
    
    
}
/* @media(max-width: 576px){
     .team-employee-list-item {
        width: 50%;
    }
} */
@media only screen and (min-width: 360px) {
}

@media only screen and (min-width: 480px) {
    .team-employee-item-icon-quote-wrapper {
        top: 3%;
    }
}

@media only screen and (min-width: 576px) {
    
    /**
     *  Employee boxes
     */
    .team-employee-list-item {
    }
    .team-employee-image-wrapper {
    }
    
}

@media only screen and (min-width: 768px) {
    .team-page-dtt-project-slider {
        margin-bottom: -10rem; /** Fixes the margin between the footer and the content. **/
    }
    .team-employee-list-wrapper {
        margin: 0 0;
    }
    
    .team-employee-list-wrapper:first-of-type {
        margin-top: 10.2rem;
    }
    
    /**
     *  Discipline sections
     */
    .team-discipline-section-separator {
     /*    margin: 10rem 0 15rem var(--width-container-margin); */
    }
    .team-discipline-section-statistic-wrapper {
        font-family: 'Montserrat';
        /*         position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0; */
    }
   
     .bold-statistic {
        font-size: 7rem;
        font-weight: 800;
        line-height: 7.2rem;
        font-family: 'Montserrat';
    } 
    .team-discipline-section-title {
        margin-bottom: 0rem;
        margin-top: 0rem;
    }
    .team-discipline-section-title-wrapper {
        
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 11rem;
    }
    /**
     *  Employee boxes
     */
     .employee-list-wrapper {
        /* display: flex;
        flex-wrap: wrap;
        grid-gap: 7rem 3rem; */
    }
    .team-employee-position {
        font-size: 1.4rem;
        line-height: 2rem;
        margin-bottom: 0.5rem;
    }
    .team-employee-name {
        font-size: 2.4rem;
        line-height: 2.8rem;
    }
    /* .team-employee-list-item {
        flex-basis: unset;
    } */
    /* .team-employee-image-wrapper {
        height: 28rem;
        width: 25rem;
    } */
    .team-employee-image {
       /*  height: 32rem; */
    }
    .icon-quote-team-employee-list-item {
        height: 6.4rem;
        width: 6.4rem;
    }
    .team-employee-item-icon-quote-wrapper {
        top: -3.5rem;
    }
    .team-employee-tooltip-content-wrapper {
        padding: 4.8rem 3.2rem 2.4rem 2.4rem;
        top: unset;
        left: calc(100% - 85px);
        width: 42rem;
    }
    .team-employee-tooltip-content {
        font-size: 1.6rem;
        line-height: 2.6rem;
        opacity: 0.8;
    }
    /**
     *  Join the team
     */
     .join-team-text-wrapper {
        padding: 0 2.4rem 2.4rem 2.4rem;
    }
    .join-team-text {
        font-size: 2.4rem;
        line-height: 2.6rem;
    }
}