/*||||||||||||| TEAM PAGE |||||||||||||*/

.title-team {
    width: 100%;
    padding: 20px;
}

.team-list {
    width: 100%;
    display: flex;
}

.row {
    display: flex;
}


/* CARD FOR EMPLOYEES */

.card {
    background-color: #F4F4F4;
    margin: auto;
    border: none;
}

.card-top-gradient {
    width: 100%;
    background: rgb(71, 70, 68);
    background: linear-gradient(90deg, rgba(71, 70, 68, 1) 10%, rgba(210, 210, 210, 1) 50%, rgba(71, 70, 68, 1) 90%);
    height: 100px;
    border-radius: 0.25rem 0.25rem 0 0;
    position: absolute;
    z-index: -1;
}

.card-body {
    text-align: center;
    min-height: 240px;
}

.card-div-image {
    z-index: 1;
}

.team-box img.img-thumbnail {
    border-radius: 50%;
    background-color: transparent;
    border: none;
}

.name-and-position {
    border-left: 5px solid #ed1b2f;
    padding-left: 5px;
    text-align: left;
}

.employee-name {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
}

.employee-description {
    color: gray;
    text-align: left;
}


/* middle div for the department and the modal */

.department-and-modal {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 5px;
    margin-left: 10px;
    padding-left: 5px;
    text-align: left;
}

.phone-and-email {
    margin-left: 10px;
    padding-left: 5px;
    padding-right: 0;
    text-align: left;
}


/* ||||||||||| MODAL ||||||||||||| */


/* MODAL CONTAINER */

.modal-dialog {
    background-color: #F8F9FA;
    display: flex;
    max-width: 55vw;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
}


/* MODAL IMAGE */

.modal-image-left {
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
    background-position: center 25%;
}


/* MODAL BUTTON */

.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: #F4F4F4 !important;
    height: 20px;
    color: #ed1b2f;
    background-color: #F4F4F4 !important;
}

.cercleImage {
    border-radius: 50%;
    border: 3px solid white;
    height: 150px;
    width: 150px;
    object-fit: cover;
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.title-container {
    border-left: 5px solid #ed1b2f;
    margin: 0rem 0rem 2rem 0.5rem;
    min-height: 75px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
}

.hr-bar {
    margin-right: 10px;
    color: red;
    float: left;
    height: 5px;
    width: 30px;
}

.btn-primary:focus {
    text-decoration: none;
    outline: none;
}

.btn-primary:hover {
    color: #ed1b2f;
}


/* MODAL DESCRIPTION EMPLOYEE */

.description-right-modal {
    display: flex;
    flex-direction: column;
    width: 50%;
    flex-basis: 50%;
}

.modal-info-text {
    font-size: 10px;
    color: gray;
    letter-spacing: 2px;
    margin-top: 5px;
}

.modal-info-text::before {
    content: '';
    width: 45px;
    background: #ed1b2f;
    height: 3px;
    display: inline-block;
    top: -2px;
    position: relative;
    margin: 0 0.5rem 0 1rem;
}

.modal-header {
    border: none;
    display: flex;
    justify-content: flex-start;
}

.modal-top-information {
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-weight: bold;
    font-size: 25px;
}

.modal-body {
    margin-bottom: 200px;
    padding: 1rem;
}


/* MODAL WHITE BOX */

.modal-white-info-box {
    position: relative;
    background-color: white;
    color: black;
    top: 39px;
    right: 111px;
    width: 325px;
    height: 121px;
    box-shadow: 1px 1px 5px 1px rgb(0 0 0 / 20%);
    text-align: left;
    padding: 1rem 0 1rem 1rem;
}

.modal-white-box-pos {
    font-weight: bold;
}

.modal-white-box-name {
    font-weight: bold;
    border-bottom: 2px solid lightgray;
    margin-bottom: 10px;
}

.modal-white-box-phone-email {
    color: red;
    margin-bottom: 5px;
}

.padding-card {
    padding-top: 25px;
}
/* TODO: */

.location-container,
.email-container,
.phone-container,
.fax-container,
.know-container
{
    display: flex;
    flex-direction: row;
    justify-content: start;
    justify-content: center;
}

.phone {
    color: red;
    font-weight: bold;
    margin-left: 1rem;
}

.info-box {
    letter-spacing: .3em;
    color: grey;
    font-size: .7em;
}
.info-box::before {
    display: inline-block;
    content: '';
    position: relative;
    height: 1px;
    width: 20px;
    background: black;
    top: -4px;
    opacity: .5;
}

.image-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 400px;
}

.img-modal {
    width: 75%;
    height: 75%;
}

.phone-img {
    margin-left: 0.5rem;
}

.location-img {
    margin-left: 0.5rem;
}

.plus-img {
    margin-left: 15px;
    margin-top: 5px;
}

.mail-img {
    margin-left: 0.5rem;
}

.exp-container {
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.email {
    margin-left: 1rem;
}

.fax {
    margin-left: 0.8rem;
}

.modal-title {
    font-weight: bold;
}

.modal-subtitle {
    font-weight: lighter;
    color: grey;
    font-size: 1rem;
}

#exp-modal {
    font-size: 1rem;
}

.fax-img {
    margin-left: 0.5rem;
}


.know-container {
    margin-left: 24px;
    margin-right: 18px;
}

.text-container {
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    padding: 10px 20px 10px 20px;
}

.text-container:hover {
    background-color: rgb(234, 234, 234);
    transition: 0.5s;
}

.team_card_container .card-body {
    padding: 1rem;
}

.team_card_container  {
    height: 100%;
}

.tm_truncated_text {
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0px 8px;
}

@media screen and (max-width: 426px) {
    .info-box {
        justify-content: center;
    }
    .img-modal {
        width: 200px;
        height: 381px;
    }
    .modal {
        left: -45px;
    }
    .modal-title {
        text-align: center;
    }
    .modal-subtitle {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #exp-modal {
        text-align: center;
    }
    #modal-description {
        text-align: center;
    }
    .modal-dialog {
        background-color: #F8F9FA;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        position: relative;
        left: 50px;
        top: 45px;
    }
    .image-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 200px;
        width: 100%;
        align-items: center;
        align-content: center;
        padding-left: 14p;
    }
}
@media screen and (max-width: 1200px) {

    .employee-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .modal-dialog {
        max-width: 70vw;
    }
    .padding-card {
        width: 18rem
    }
    .employee-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 90vw;
    }
    .employee-text {
        font-size: 12px;
    }
}


.section {
    width: 100%;
    height: 50vh;
    position: relative;
  
  }
  .section img {
    width: 200px;
    height: 100px;
    display: block;
    position: absolute;
    margin-left: calc(50% - 100px);
    margin-top: -50px;
  }

  