
.people-container {
    display: flex;
    margin-top: 74px;
    flex-direction: column;

}

.team-title {

    height: 41px;
    width: 191px;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 41px;
    flex-grow: 1;

}

.people-flex-grid {
    flex-grow: 1;
    display: flex;
    /*margin: 20px;*/
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;

}


div.people-flex-grid > :nth-child(3n).person-col {
    margin-right: 0;
}

.person-description-hidden {
    display: none;
}

.person-col {
    display: flex;
    flex-direction: column;
    /*flex-grow: 1;*/
    align-self: flex-start;
    /*justify-content: center;*/
    margin: 20px 20px 20px 0;
    /*align-items: center;*/
    max-width: 280px;
    cursor: pointer;

}

.person-name {
    color: #37323E;
    font-size: 28px;
    line-height: 24px;
    margin-bottom: 10px;

}

.person-title {
    color: #37323E;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 19px;

}

.person-email {
    text-decoration: underline;
}

.person-info-modal {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 28px;
    text-align: center;
}

.person-phone {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 22px;
}

.person-picture {
    /*width: 100%;*/
    max-width: 300px;
    margin-bottom: 24px;
}

.person-picture-img {
    max-width: 300px;
}

.about-us-top-picture1 img {
    height: auto;
    width: 100%;
}

.about-us-top-picture2 img {
    height: auto;
    width: 100%;
}

.about-us-top-picture2-mobile {

}

.about-us-top-title p {
    width: 100%;
    color: #37323E;
    font-size: 48px;
    line-height: 72px;
}

.about-us-top-description p {

    width: 100%;
    color: #37323E;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 29px;
}

.about-us-top-description {
    margin-bottom: 61px;
}

/*modal*/

.info-modal {
    display: none; /* Hidden by default */
    position: absolute; /* Stay in place */
    z-index: 4; /* Sit on top */
    /*width: 100%; !* Full width *!*/
    overflow: auto; /* Enable scroll if needed */
    /*background-color: rgb(0, 0, 0); !* Fallback color *!*/
    /*background-color: rgba(0, 0, 0, 0.4); !* Black w/ opacity *!*/
    /*overflow-y: hidden;*/
    width: 100%;
    margin-top: 61px;
    -ms-overflow-style: none;

}

.info-modal-backdrop {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    overflow-y: hidden;
}

.modal-body {
    display: flex;
    flex-direction: column;
    background-color: #fefefe;
    /*margin: 60px auto; !* 15% from the top and centered *!*/
    border: 1px solid #888;
    /*width: 80%; !* Could be more or less, depending on screen size *!*/
    max-width: 893px;
    width: 100%;
    /*TODO review this calculation that it works with all screen sizes*/
    /*margin-left: calc(50vw - 600px + 292px);*/

}

.modal-info-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 81px;
    margin-right: 103px;
    margin-bottom: 60px;
}

.modal-body-personal-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 64px;
    /*width: 100%;*/
}

.modal-body-personal-info-left-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: flex-start;
    align-items: center;
    width: 307px;
}

.modal-body-personal-info-left {
    width: 100%;
}

.modal-body-personal-info-right {
    width: 100%;
}

.modal-body-personal-info-right-description {
    color: #848484 !important;
    letter-spacing: 0.5px !important;
    line-height: 24px !important;
}

/* The Close Button */
/*.close {*/
/*color: #aaa;*/
/*float: right;*/
/*font-size: 28px;*/
/*font-weight: bold;*/
/*}*/

.modal-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    width: 100%;
    margin-top: 30px;
    padding-right: 15px;

}

.x {
    height: 41px;
    width: 12px;
    color: #171717;
    font-size: 26px;
    letter-spacing: 0.76px;
    line-height: 41px;
    margin-right: 48px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;

}

.modal-body-selected-projects-title {
    height: 38px;
    color: #37323E;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.7px;
    line-height: 38px;
}

.info-modal::-webkit-scrollbar {
    display: none;
}

.modal-body-personal-info-left-picture {
    margin-bottom: 25px;

}

.modal-body-selected-projects-title {
    margin-bottom: 12px;
}

@media screen and (max-width: 1191px) {

    div.people-flex-grid > :nth-child(3n).person-col {
        margin-right: 20px;
    }

    .info-modal {
        /*display: none;*/
        /*position: fixed;*/
        /*z-index: 4;*/
        /*overflow: auto;*/
        /*overflow-y: scroll;*/
        /*!* width: 100%; *!*/
        /*margin-top: 61px;*/
        transform: translateX(-151px);
        max-width: 80vw;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .modal-body-personal-info-left {
        margin-right: 20px;
    }

    .modal-body-personal-info-left-picture {
        width: 100%;

    }

    .modal-body-personal-info-left-info {
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    .modal-body-personal-info-left {
        float: left;
        width: 50%;
    }

    .modal-body-personal-info {
        display: inline-block;
    }
}

@media screen and (max-width: 768px) {

    .modal-body-personal-info-left {
        float: unset;
        width: 100%;
    }

    .modal-body-personal-info {
        display: flex;
    }

    .people-flex-grid {
        grid-template-columns: 1fr;

    }

    .about-us-top-title p {
        font-size: 28px;
        line-height: 40px;
    }

    .modal-body-personal-info {
        flex-direction: column;
        margin: 0 15px;
    }

    .info-modal {
        margin-left: -15px;
        margin-top: -120px;
        width: 100vw;
        height: 100vh;
        background-color: white;
        position: fixed;


    }

    .modal-body {
        border: none;
        margin: 0;
    }

    .modal-info-wrapper {
        margin: 0;
        width: 100%;
    }

    .modal-body-personal-info-left-info {
        width: 100%;
        margin-bottom: 20px;
    }

    .modal-body-personal-info-left-picture {
        width: 100%;
        height: auto;
        max-width: 278px;
    }

    .people-flex-grid {
        justify-content: space-evenly;
        flex-direction: column;
    }

    .modal-body-selected-projects {
        margin: 0 15px;
    }

    .modal-header {
        margin: 0;
    }

    .x {
        margin-right: 0;
    }


    div.people-flex-grid > :nth-child(3n).person-col {
        margin-right: 0;
    }

    .person-col {
        margin: 0 0 28px 0;

    }

    .selected-work-image-mobile.hide-me {
        display: block;
    }

    .info-modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 100;
        /*width: 100%; !* Full width *!*/
        overflow: auto; /* Enable scroll if needed */
        /*background-color: rgb(0, 0, 0); !* Fallback color *!*/
        /*background-color: rgba(0, 0, 0, 0.4); !* Black w/ opacity *!*/
        /*overflow-y: hidden;*/
        width: 100%;
        /*margin-top: 61px;*/
        transform: translateX(0);
        max-width: none;

    }
}