﻿
#container-e {
    padding: 53px 0px 45px 0;
}
/*  team section */
div#team {
    display: block;
    background: var(--text-white);
    left: 0;
    top: 0;
    opacity: 1;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    -ms-grid-rows: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;
    padding: 0px;
    max-width: 1600px;
    margin: 0 auto;
}
#team .team-item {
    border-radius: 10px !important;
    -webkit-transition: none;
    transition: none;
    min-height: 300px;
    min-width: 172px;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    background-size: cover !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
}
   /* #team .team-item:nth-child(1) {
        grid-row: span 2;
        grid-column: span 2;
    }*/
    #team .team-item .team-info {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        padding: 25px 20px;
        font-weight: 500;
        letter-spacing: 0.2px;
        font-size: 16px;
        font-size: 1.6rem;
        line-height: 20px;
        line-height: 2.0rem;
        row-gap: 2px;
        background: linear-gradient(to top, rgba(248,248,248,1), 68%, rgba(248, 248, 248, 0));
        height: 25%;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
    #team .team-item .team-name {
        color: var(--h-title);
        display: flex;
        column-gap: 4px;
    }
    #team .team-item .team-role {
        color: var(--bright-pink);
        text-align: left;
    }

    /* hover state  - hide for now as it's not a link - add it back when profiel page done */ 
    /*#team .team-item:hover .team-role {
        background: url(../grfx/png/right-arrow-white.png) no-repeat right 1px center;
        background-image: url(../grfx/svg/right-arrow-white.svg), none;
        background-size: 16px;
    }*/
    #team .team-item:hover .team-info {
        background: linear-gradient(to top, rgba(99,20,55,1), 60%, rgba(99,20,55, 0));
        /*min-height: 80%;*/
    }
        #team .team-item:hover .team-info .team-name {
            color: var(--text-white);
        }

#team .team-item.linkitem-1 {
    background: url('../grfx/homepage/stuart-attwood.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/stuart-attwood.jpg'), none;
}

#team .team-item.linkitem-2 {
    background: url('../grfx/homepage/ben-newbury.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/ben-newbury.jpg'), none;
}

#team .team-item.linkitem-3 {
    background: url('../grfx/homepage/lucy-watkins.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/lucy-watkins.jpg'), none;
}

#team .team-item.linkitem-4 {
    background: url('../grfx/homepage/karen-williams.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/karen-williams.jpg'), none;
}

#team .team-item.linkitem-5 {
    background: url('../grfx/homepage/sophie-plant.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/sophie-plant.jpg'), none;
}

#team .team-item.linkitem-6 {
    background: url('../grfx/homepage/claire-armstrong.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/claire-armstrong.jpg'), none;
}

#team .team-item.linkitem-7 {
    background: url('../grfx/homepage/tom-leonard.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/tom-leonard.jpg'), none;
}

#team .team-item.linkitem-8 {
    background: url('../grfx/homepage/mark-stretch.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/mark-stretch.jpg'), none;
}

#team .team-item.linkitem-9 {
    background: url('../grfx/homepage/chloe-witheford.jpg') no-repeat center center;
    background-image: url('../grfx/homepage/chloe-witheford.jpg'), none;
}

    #team .team-item.linkitem-10 {
        background: url('../grfx/homepage/placeholder.jpg') no-repeat center center;
        background-image: url('../grfx/homepage/team-placeholder.jpg'), none;
    }



