﻿
.team_member_block {
    position: relative;
    display: block;
    margin: 0 2px 30px;
    overflow: hidden;
    min-height: 300px;
}

    .team_member_block img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.ben_heading {
    display: block;
}

.team_member_block .team_member_details,
.team_member_block.blue .team_member_details {
    position: absolute;
    left: 0;
    bottom: 0;
    text-transform: uppercase;
    background-color: var(--light-blue);
    padding: 5px 15px;
    margin: 0 15px 0 0;
    color: #fff;
}

.team_member_block.orange .team_member_details {
    background-color: var(--orange);
}

.team_member_block.grey .team_member_details {
    background-color: var(--grey);
}

.team_member_block .team_member_details h3 {
    color: #fff;
    margin: 0;
    font-size: 1em;
    font-weight: 700;
}

.team_member_block .team_member_details span {
    font-size: 0.8em;
    line-height: 0.8em;
}

/*---------------------------------------------------------------------------------------*/

.modal_person_body,
.modal_person_body.blue {
    position: relative;
    border: 1px solid var(--light-blue);
    border-bottom: 5px solid var(--light-blue);
    /*    border: 15px solid var(--light-blue);*/
}

    .modal_person_body.orange {
        border-color: var(--orange);
    }

    .modal_person_body.grey {
        border-color: var(--grey);
    }


        .modal_person_body.grey .modal_person_text h3 {
            color: var(--grey);
        }

        .modal_person_body.grey .close {
            background: var(--orange);
        }

            .modal_person_body.grey .close:active,
            .modal_person_body.grey .close:focus,
            .modal_person_body.grey .close:hover {
                background: var(--grey);
            }

.modal_person {
    display: flex;
}

.modal_person_text {
    position: relative;
    padding: 60px 60px 60px 30px;
    min-height: 500px;
}

    .modal_person_text h2 {
        font-size: 1.5em;
        font-weight: 700;
        margin: 0;
    }

    .modal_person_text h3 {
        margin: 0 0 30px;
        font-size: 1.2em;
    }

.modal_person_socials {
    margin: 30px 0 0;
}

    .modal_person_socials a {
        display: inline-block;
        font-size: 2em;
        margin: 0 15px 15px 0;
    }

.modal_person_img {
    position: relative;
    height: 100%;
}

    .modal_person_img img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

.page_team {
}

    .page_team .blue-background {
        background: var(--new-blue);
        color: var(--new-dark-blue);
        padding: 60px 0;
        position: relative;
        margin-bottom: 80px;
    }

        .page_team .blue-background .container {
        }

        .page_team .blue-background .triangle {
            width: 0;
            height: 0;
            border-style: solid;
            /*            border-width: 64.95px 37px 0px 38px;*/

            border-width: 75px 50px 0px 50px;
            border-color: var(--new-blue) transparent transparent transparent;
            transform: rotate(0deg);
            position: absolute;
            bottom: -38%;
            left: 20%;
        }

    .page_team .banner_page_title {
        margin-bottom: 0;
    }

    .page_team #content {
        margin-top: 0;
    }

    .page_team .blue-background p {
        font-weight: 300;
        font-size: 23px;
        letter-spacing: 1px;
        text-align: left;
        line-height: 25px;
    }

@media screen and (min-width : 0px) {

    .page_team {
    }

        .page_team h2 {
            font-size: 28px;
        }

        .page_team .modal_person .modal_person_text {
            overflow-y: scroll;
        }


        .page_team .blue-background .triangle {
            bottom: -20%;
            left: 0%;
        }
}

@media screen and (min-width : 768px) {
    .page_team .modal_person .modal_person_text {
        overflow-y: initial;
    }

    .page_team .blue-background .triangle {
        bottom: -38%;
        left: 20%;
    }
}
