/*******************************************************
 *
 *  Meet the Team
 *
 *******************************************************/
#inner-page-wrapper {
    margin-bottom: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

#ip-meet-the-team {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
}

.ip-mtt-section, .ip-mtt-container {
    display: block;
    position: relative;
}

/*Section 1*/
.ip-mtt-hero-container {
    display: block;
    position: relative;
}

.ip-mtt-hero-row {
    display: block;
    position: relative;
}

.ip-mtt-hero-col {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 50%;
}

.ip-mtt-hero-content-container {
    display: block;
    position: relative;
    padding: 30px 30px 0 215px;
}

.ip-mtt-hero-content-container .global-title {
    margin-bottom: 35px;
}

.ip-mtt-hero-caption {
    display: block;
    position: relative;
    font-size: 48px;
    line-height: 1;
    color: #333333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 27px;
}

.ip-mtt-hero-caption em {
    font-style: normal;
}

.ip-mtt-hero-caption em:before {
    background-image: url(../../images/sold-properties/highlight.png);
    width: 145px;
    height: 84px;
}

.ip-mtt-hero-content {
    display: block;
    position: relative;
    margin-bottom: 64px;
    padding-right: 165px;
}

.ip-mtt-hero-content .global-line.line-a:before, .ip-mtt-hero-content .global-line.line-a:after {
    background-image: url(../../images/meet-the-team/line-a.png);
    bottom: 0px;
    position: absolute;
    content: '';
    left: 0;
    width: 100%;
    height: 3px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.ip-mtt-hero-content .global-line.line-a:after {
    opacity: 0;
}

.ip-mtt-hero-content p {
    display: block;
    font-size: 16px;
    line-height: 28px;
    color: #333333;
}

.ip-mtt-hero-content p:not(:last-child) {
    margin-bottom: 20px;
}

.ip-mtt-hero-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    max-width: 480px;
}

.ip-mtt-hero-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.custom-breadcrumbs {
    display: block;
    position: relative;
    margin-bottom: 110px;
}

.ip-mtt-hero-col:first-child {
    width: 62.349%;
}

.ip-mtt-hero-col:last-child {
    width: 37.651%;
}

.ip-mtt-hero-img-b canvas, .ip-mtt-hero-img-a canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ip-mtt-hero-img-a canvas {
}

.ip-mtt-hero-img-a {
    display: inline-block;
    vertical-align: bottom;
    position: absolute;
    bottom: 0;
    z-index: 5;
    padding-bottom: 63px;
}

.ip-mtt-hero-img-b {
    display: block;
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: 0;
    overflow: hidden;
}

.ip-mtt-hero-grid-a {
    position: absolute;
    top: 0;
    left: 0;
    width: 138px;
    height: 40px;
    background-color: #fff;
    z-index: 2;
    width: 23.155%;
    height: 5.962%;
}

.ip-mtt-hero-grid-a:before, .ip-mtt-hero-grid-a:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    background-color: #fff;
    width: 30px;
    height: 26vh;
}

.ip-mtt-hero-grid-a:after {
    width: 325%;
    height: 30px;
    top: 25vh;
    right: auto;
    left: 0;
}

.ip-mtt-hero-grid-b {
    position: absolute;
    top: 0;
    right: 0;
    width: 154px;
    height: 63px;
    background-color: #fff;
    z-index: 2;
    width: 25.84%;
    height: 9.39%;
}

.ip-mtt-hero-grid-b:before, .ip-mtt-hero-grid-b:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    width: 30px;
    height: 100vh;
    background-color: #fff;
}

.ip-mtt-hero-grid-b:after {
    top: 31vh;
    width: 100vw;
    height: 30px;
}

/* Section 2 */
.ip-mtt-agent-inner {
    display: block;
    position: relative;
    padding-right: 30px;
}

.ip-mtt-agent-item {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: calc(100% / 3);
    padding: 0 15px;
}

.ip-mtt-agent-list {
    display: block;
    position: relative;
    margin: 0 -15px;
    text-align: center;
}

.ip-mtt-agent-title {
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 73px;
}

.ip-mtt-agent-title img {
    max-width: 100%;
    height: auto;
}

.ip-mtt-agent-main {
    display: block;
    position: relative;
}

.ip-mtt-agent-container {
    display: block;
    position: relative;
    padding: 120px 0 133px;
}

.ip-mtt-agent-name {
    display: block;
    position: relative;
    padding: 25px 0 25px 30px;
    text-align: center;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-mtt-agent-name h2 {
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.020em;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

.ip-mtt-agent-name span {
    font-size: 16px;
    line-height: 1;
    color: #000;
    display: block;
    margin-top: 7px;
}

.ip-mtt-agent-item a {
    -webkit-box-shadow: 19px 23px 30px 0px rgba(0, 0, 0, 0.05);
            box-shadow: 19px 23px 30px 0px rgba(0, 0, 0, 0.05);
    display: block;
    position: relative;
}

.ip-mtt-agent-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    z-index: 2;
}

.ip-mtt-agent-btn span {
    margin: 0 auto;
}

.ip-mtt-agent-name, .ip-mtt-agent-btn {
    min-height: 94px;
}

.ip-mtt-agent-inner:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,1+99 */
    /* FF3.6-15 */
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),color-stop(99%, rgba(0,0,0,1)),to(rgba(0,0,0,1)));
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 99%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 99%,rgba(0,0,0,1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 );
    /* IE6-9 */
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.ip-mtt-agent-item a:hover .ip-mtt-agent-inner:before {
    opacity: 1;
    visibility: visible;
}

.ip-mtt-agent-item a:hover .ip-mtt-agent-name {
    opacity: 0;
    visibility: hidden;
}

.ip-mtt-agent-item a:hover .ip-mtt-agent-btn {
    opacity: 1;
    visibility: visible;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1560px) {
    .ip-mtt-hero-img-b canvas {
        min-height: 670px;
    }

    .ip-mtt-hero-content-container {
        padding: 30px 30px 80px 155px;
    }

    .ip-mtt-hero-content {
        padding-right: 135px;
    }

    .ip-mtt-hero-caption {
        font-size: 45px;
    }

    .ip-mtt-cl-content-holder {
        padding: 0 85px 0 106px;
    }
}

@media only screen and (max-width: 1440px) {
    .ip-mtt-hero-content {
        padding-right: 125px;
    }

    .ip-mtt-hero-content-container {
        padding: 30px 30px 80px 120px;
    }
}

@media only screen and (max-width: 1366px) {
    .ip-mtt-hero-content-container {
        padding: 30px 30px 50px 75px;
    }

    .ip-mtt-hero-col:last-child {
        width: 37.124%;
    }

    .ip-mtt-hero-col:first-child {
        width: 62.876%;
    }

    .ip-mtt-hero-content {
        padding-right: 120px;
    }

    .ip-mtt-hero-img-b canvas {
        min-height: 640px;
    }

    .ip-mtt-hero-grid {
        width: 185px;
    }
}

@media only screen and (max-width: 1280px) {
    .ip-mtt-hero-caption {
        font-size: 40px;
    }

    .ip-mtt-hero-caption em:before {
        width: 140px;
        height: 75px;
    }

    .ip-mtt-hero-content {
        padding-right: 70px;
    }

    .ip-mtt-hero-img-b canvas {
        min-height: 610px;
    }

    .ip-mtt-hero-content-container .global-title h2 {
        font-size: 70px;
    }

    .ip-mtt-hero-btns {
        max-width: 420px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .ip-mtt-hero-content-container {
        padding: 30px 0 40px 42px;
    }

    .ip-mtt-hero-content-container .global-title h2:before {
        left: -38px;
    }

    .ip-mtt-hero-caption em:before {
        width: 130px;
        height: 65px;
    }

    .ip-mtt-hero-caption {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .custom-breadcrumbs {
        margin-bottom: 70px;
    }

    .ip-mtt-hero-content-container .global-title {
        margin-bottom: 35px;
    }

    .ip-mtt-hero-content p {
        font-size: 15px;
        line-height: 25px;
    }

    .ip-mtt-hero-btns {
    }

    .ip-mtt-hero-img-a {
        width: 100%;
        max-width: 185px;
    }

    .ip-mtt-hero-grid {
        width: 155px;
        height: 280px;
    }

    .ip-mtt-hero-img-b canvas {
        min-height: 550px;
    }

    .ip-mtt-hero-content {
        margin-bottom: 50px;
        padding-right: 48px;
    }

    .ip-mtt-agent-container .container {
        max-width: 940px;
    }

    .ip-mtt-agent-name h2 {
        font-size: 18px;
    }

    .ip-mtt-agent-name span {
        font-size: 14px;
    }

    .ip-mtt-agent-name, .ip-mtt-agent-btn {
        min-height: 89px;
    }

    .ip-mtt-agent-inner {
        padding-right: 20px;
    }

    .ip-mtt-agent-item {
        padding: 0 10px;
    }

    .ip-mtt-agent-list {
        margin: 0 -10px;
    }

    .ip-mtt-agent-container {
        padding: 70px 0 90px;
    }

    .ip-mtt-agent-title {
        margin-bottom: 50px;
    }

    .ip-mtt-agent-name {
        padding: 25px 0 25px 20px;
    }

    .ip-mtt-agent-container .container {
        max-width: 940px;
    }

    .ip-mtt-agent-name h2 {
        font-size: 18px;
    }

    .ip-mtt-agent-name span {
        font-size: 14px;
    }

    .ip-mtt-agent-name, .ip-mtt-agent-btn {
        min-height: 89px;
    }

    .ip-mtt-agent-inner {
        padding-right: 20px;
    }

    .ip-mtt-agent-item {
        padding: 0 10px;
    }

    .ip-mtt-agent-list {
        margin: 0 -10px;
    }

    .ip-mtt-agent-container {
        padding: 70px 0 90px;
    }

    .ip-mtt-agent-title {
        margin-bottom: 50px;
    }

    .ip-mtt-agent-name {
        padding: 25px 0 25px 20px;
    }

    .ip-mtt-agent-title img {
        max-width: 650px;
        width: 100%;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-mtt-hero-content-container .global-title h2:before {
        left: -35px;
        height: calc(100% + 8px);
    }

    .ip-mtt-hero-col {
        display: block;
        width: 100%!important;
    }

    .ip-mtt-hero-content-container {
        padding: 20px 20px 50px;
    }

    .ip-mtt-hero-content-container .global-title {
        text-align: center;
    }

    .ip-mtt-hero-content-container .global-title h2 {
        display: inline-block;
        position: relative;
        font-size: 42px;
    }

    .ip-mtt-hero-content {
        text-align: center;
        padding: 0;
        margin: 0 auto 30px;
    }

    .ip-mtt-hero-caption {
        text-align: center;
    }

    .ip-mtt-hero-btn a {
        margin: 0 auto;
    }

    .ip-mtt-hero-img-a {
        position: relative;
        display: block;
        max-width: 516px;
        margin: 0 auto;
        padding: 20px;
    }

    .ip-mtt-hero-img-b canvas {
        min-height: 250px;
        height: auto;
    }

    .ip-mtt-hero-img-b {
        width: 100%;
        margin: 0 auto;
        max-width: 556px;
    }

    .ip-mtt-hero-grid {
        height: 220px;
    }

    .ip-mtt-hero-grid:before, .ip-mtt-hero-grid:after {
        width: 20px;
    }

    .ip-mtt-hero-grid:after {
        width: 100vw;
        height: 20px;
        bottom: 55%;
    }

    .ip-mtt-hero-btns {
        margin: 0 auto;
    }

    .ip-mtt-agent-item {
        padding: 0;
        display: block;
        width: 100%;
    }

    .ip-mtt-agent-list {
        margin: 0 auto;
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }

    .ip-mtt-agent-item:not(:last-child) {
        margin-bottom: 30px;
    }

    .ip-mtt-agent-container {
        padding: 70px 0 70px;
    }

    .ip-mtt-hero-grid-a:after {
        width: 330%;
    }

    div#ip-meet-the-team .ip-mtt-hero-img-holder{
        display: none;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-mtt-hero-caption {
        font-size: 25px;
    }

    .ip-mtt-hero-btns {
        display: block;
        text-align: center;
        max-width: 100%;
    }

    .ip-mtt-hero-btn {
        display: block;
        text-align: center;
    }

    .ip-mtt-hero-btn:not(:last-child) {
        margin: 0 0 20px;
    }

    .ip-mtt-hero-caption em:before {
        width: 115px;
        height: 50px;
    }

    .ip-mtt-hero-content p {
        font-size: 13px;
        line-height: 23px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ip-mtt-hero-content-container .global-title h2:before {
        left: -20px;
    }

    .ip-mtt-hero-content-container .global-title h2 {
        font-size: 35px;
    }

    .ip-mtt-hero-grid {
        width: 50%;
        height: 138px;
    }

    .ip-mtt-sl-content p span:before {
        bottom: -2px;
    }

    .ip-mtt-sl-main .global-title {
        margin-bottom: 35px;
    }

    .ip-mtt-hero-grid-b:before {
        width: 20px;
    }

    .ip-mtt-hero-grid-b:after {
        height: 20px;
        top: 25vh;
    }

    .ip-mtt-hero-grid-a:before {
        width: 20px;
        height: 20vh;
    }

    .ip-mtt-hero-grid-a:after {
        height: 20px;
        top: 19vh;
    }

    .ip-mtt-hero-caption em:before {
        width: 115px;
        height: 45px;
    }

    .ip-mtt-hero-content .global-line.line-a:before {
        width: 71%;
        margin: 0 auto;
        right: 0;
        bottom: 0px;
        height: 2px;
        background-size: cover;
    }

    .ip-mtt-hero-content span.global-line.line-a {
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    .ip-mtt-hero-content .global-line.line-a:after {
        background-image: url(../../images/meet-the-team/line-a.png);
        bottom: 0px;
    }

    .ip-mtt-hero-content .global-line.line-a:after {
        opacity: 0;
    }

    .ip-mtt-hero-content .global-line.line-a:after {
        opacity: 1;
        bottom: 25px;
        max-width: 95%;
        margin: 0 auto;
        right: 0;
    }

    .ip-mtt-hero-content {
        width: 100%;
        max-width: 290px;
    }

    .ip-mtt-hero-content p {
        font-size: 15px;
        line-height: 25px;
    }
}