/*Meet the Team*/
#inner-page-wrapper {
    margin-bottom: 0;
}
    #inner-page-wrapper > .container {
        padding: 0;
        width: 100%;
    }

#content-full {
    margin-top: 0;
}

#meet-the-team {
    position: relative;
    margin: 0 0 42px;
}
    .bg-section.bg-team {
        top: 4.55%;
        opacity: 0.1;
        height: 1207px;
        z-index: -1;
    }
        .bg-section.bg-team:before {
            content: '';
            height: 397px;
            background: rgb(255,255,255);
            background: -moz-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
            background: -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
            background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
        }
        .bg-section.bg-team:after {
            content: '';
            height: 63px;
            top: initial;
            background: rgb(255,255,255);
            background: -moz-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
            background: -webkit-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
            background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
        }
.team-top {
    margin: 52px 0 0;
}
    .team-text {
        width: 49.687%;
        padding-right: 5.3%;
        padding-left: 15px;
        padding-bottom: 22px;
/*        padding-left: 165px;*/
    }
        .team-text-inner {
            max-width: 546px;
            margin-left: auto;
        }
        .team-logo {
            margin-bottom: 39px;
        }
            .team-logo img {
                display: block;
                width: 290px;
                height: auto;
            }
        .team-text h2 {
            font-size: 55px;
            line-height: 1.2;
            font-family: var(--font-family-title);
            text-transform: uppercase;
            margin-bottom: 28px;
        }
        .team-text p {
            font-size: 16px;
            letter-spacing: 0.04em;
            line-height: 1.875;
            color: #343434;
        }
    
    .team-img {
        position: relative;
        width: 50.313%;
    }
        .team-img canvas {
            display: block;
            width: 100%;
            background-position: center;
            background-size: cover;
            border-top-left-radius: 80px;
            background-color: #999;
        }
        .team-img img {
            position: absolute;
            bottom: -46px;
            left: -83px;
        }

.team-agent-wrap {
    padding: 132px 0 0;
}
    .team-agent-list {
        margin: 0 -36px;
    }
        .team-item {
            display: inline-block;
            vertical-align: top;
            width: 25%;
            padding: 0 20px;
            margin-bottom: 40px;
        }
            .team-item a {
                display: block;
                position: relative;
                border-radius: 30px;
                transition: all var(--default-transition);
            }
                .team-item-img {
                    position: relative;
                    border-radius: inherit;
                }
                    .team-item-img canvas {
                        display: block;
                        width: 100%;
                        border-radius: inherit;
                        background: rgb(127,107,63);
                        background: -moz-linear-gradient(0deg, rgba(127,107,63,1) 0%, rgba(255,255,255,1) 100%);
                        background: -webkit-linear-gradient(0deg, rgba(127,107,63,1) 0%, rgba(255,255,255,1) 100%);
                        background: linear-gradient(0deg, rgba(127,107,63,1) 0%, rgba(255,255,255,1) 100%);
                        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7f6b3f",endColorstr="#ffffff",GradientType=1);
                    }
                    .team-item-img img {
                        position: absolute;
                        top: 0;
                        left: 0;
                        border-radius: inherit;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        z-index: 1;
                        transition: all var(--default-transition);
                    }
                    .team-item-img:before,
                    .team-item-img:after {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        z-index: 2;
                        border-radius: inherit;
                        transition: all var(--default-transition);
                    }
                    .team-item-img:before {
                        background: rgb(0,0,0);
                        background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
                        background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
                        background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%);
                        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
                        opacity: 0.6;
                    }
                    .team-item-img:after {
                        background: url(../images/home/overlay-team.png) center/100% 100% no-repeat;
                    }

                .team-item-name {
                    position: absolute;
                    bottom: 30px;
                    left: 0;
                    right: 0;
                    z-index: 2;
                    font-size: 24px;
                    line-height: 1.208333333333333;
                    letter-spacing: -0.01em;
                    color: #fff;
                    font-family: var(--font-family-title);
                    text-align: center;
                    padding: 0 15px;
                    max-width: 66%;
                    margin: 0 auto;
                    transition: all var(--default-transition);
                }
                .team-item-bio {
                    position: absolute;
                    bottom: 32px;
                    left: 0;
                    font-size: 16px;
                    color: var(--secondary);
                    z-index: 2;
                    left: 0;
                    right: 0;
                    text-align: center;
                    letter-spacing: 0.04em;
                    opacity: 0;
                    transition: all var(--default-transition);
                }

            .team-item a:hover {
                transform: translateY(-43px);
                box-shadow: 0px 3px 20px 5.6px rgba(0, 0, 0, 0.53);
                z-index: 2;
            }
                .team-item a:hover .team-item-img:before,
                .team-item a:hover .team-item-img:after {
                    top: 3px;
                    right: 3px;
                    bottom: 3px;
                    left: 3px;
                }
                .team-item a:hover .team-item-name {
                    bottom: 60px;
                }
                .team-item a:hover .team-item-bio {
                    opacity: 1;
                }
                .team-item a:hover .team-item-img img {
                    top: 3px;
                    left: 3px;
                    width: calc(100% - 6px);
                    height: calc(100% - 6px);
                    filter: grayscale(1);
                }

.team-cta-wrap {
    position: relative;
    margin: 29px 0 0;
}
    .team-cta-wrap .container {
        position: relative;
        padding: 102px 15px 92px;
    }
    .team-cta-wrap .container:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -100vw;
        right: 0;
        background: #000;
        border-bottom-right-radius: 80px;
        display: block;
        z-index: -1;
    }
    .team-cta-list {
        max-width: 87.5%;
    }
        .team-cta-list li {

        }
            a.team-cta {
                display: flex;
                align-items: center;
            }
                .team-cta .accent-icon {
                    width: 31px;
                    position: relative;
                }
                .team-cta-text {
                    margin-left: 38px;
                }
                    .team-cta-text h2 {
                        font-size: 26px;
                        line-height: 1;
                        color: #fff;
                        text-transform: uppercase;
                        font-family: var(--font-family-title);
                        transition: color var(--default-transition);
                    }
                    .team-cta-text span {
                        display: block;
                        font-size: 14px;
                        letter-spacing: 0.1em;
                        color: #808080;
                        text-transform: uppercase;
                        margin-top: 11px;
                        transition: color var(--default-transition);
                    }

                a.team-cta:hover .team-cta-text span {
                    color: #fff;
                }

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

}
@media only screen and (max-width: 1280px) {
    .team-img img {
        width: 130px;
        height: auto;
        bottom: -30px;
        left: -30px;
    }
}
@media only screen and (max-width: 1199px) {
    .team-text h2 {
        font-size: 45px;
    }
    .team-logo img {
        width: 200px;
    }
    .team-item-name {
        max-width: 85%;
    }
}
@media only screen and (max-width: 991px) {
    .border-outline {
        display: none;
    }
    #meet-the-team {
    }

    .team-top {
        margin: 30px 0 0;
    }

    .team-text {
        text-align: center;
        width: 100%;
        padding: 0 15px;
        margin-bottom: 50px;
    }
        .team-text h2 {
            font-size: 35px;
        }
    .team-text-inner {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .team-logo img {
        margin: 0 auto;
    }

    .team-img {
        width: calc(100% - 30px);
        margin: 0 auto;
        max-width: 720px;
    }

    .team-img img {
        bottom: -15px;
        left: -15px;
        width: 100px;
    }

    .team-img canvas {
        border-top-left-radius: 40px;
    }
    .team-agent-list {
        margin: 0 -15px;
    }
    .team-item {
        width: 50%;
        padding: 0 20px;
    }
        .team-item a:hover {
            transform: none;
        }

    .team-cta-list {
        max-width: 90%;
        flex-flow: column;
        width: 300px;
        margin: 0 auto;
    }

        .team-cta-list li {
            margin-bottom: 30px;
        }

        .team-cta-list li:last-child {
            margin-bottom: 0;
        }

        .team-cta-text {
            margin-left: 25px;
        }

}
@media only screen and (max-width: 767px) {

}
@media only screen and (max-width: 500px) {
    
}
@media only screen and (max-width: 480px) {
    .team-item {
        width: 100%;
    }
        .team-item-name {
            font-size: 16px;
        }
}