/* Meet Agent */
.ip-banner {
    display: none;
}

.custom-ip-banner {
    position: relative;
}

.custom-ip-banner canvas {
    display: block;
    width: 100%;
    background-position: center;
    background-size: cover;
    min-height: 400px;
}

.custom-ip-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 1;
    background: url(../../images/meet-agent/banner-accent.png) center bottom/100% auto no-repeat;
}

.custom-ip-tagline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 60px;
    letter-spacing: 0.025em;
    line-height: 1;
    color: #fff;
    font-family: var(--title-font);
    font-weight: 400;
    text-shadow: 2px 3px 7px rgba(0, 0, 0, 0.35);
}

#inner-page-wrapper {
    margin-bottom: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

.container.breadcrumb-wrapper {
    margin-top: 34px;
}

.container.breadcrumb-wrapper p#breadcrumbs {
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #999999;
}

.ip-ma-about {
    padding: 0 6.250%;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    margin: 64px 0 40px;
}

.ip-ma-about-img {
    width: 57%;
    padding: 30px 22px 0 0;
    position: relative;
    z-index: 1;
}

.ip-ip-ma-about-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 21%;
    width: 439px;
    max-width: 100%;
    margin: auto;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.ip-ip-ma-about-bg:before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: url(../../images/meet-agent/accent-s.png) center/100% 100% no-repeat;
}

.ip-ma-about-img:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    pointer-events: none;
    z-index: 1;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+89 */
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 89%, rgba(255,255,255,1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 89%,rgba(255,255,255,1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 89%,rgba(255,255,255,1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    /* IE6-9 */
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+89 */
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 89%, rgba(255,255,255,1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 89%,rgba(255,255,255,1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 89%,rgba(255,255,255,1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
    /* IE6-9 */
    z-index: 5;
}

.ip-ma-about-img:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    pointer-events: none;
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
    z-index: 1;
}

.ip-ma-about-img img {
    display: block;
    margin: 0 auto;
    width: 551px;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 4;
}

.ip-ma-about-text {
    width: 575px;
    width: 43%;
    align-self: center;
}

.ip-ma-about-text .global-title {
}

.ip-ma-about-text .global-title .global-logo-icon:before {
    height: 388px;
    top: calc(100% + 2px);
    width: 1px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
}

.ip-ma-about-text .global-title .global-logo-icon:after {
    display: none;
}

.ip-ma-about-content {
}

.ip-ma-about-content p {
    font-size: max(0.875vw, 10px);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.714;
    color: #303030;
    margin-bottom: 24px;
}

.ip-ma-about-content-btn {
    margin-top: 43px;
}

.sm-container, .fl-container {
    border-bottom: 0;
}

.sm-container .global-accent-bar {
    right: 0;
    left: initial;
}

.ip-ma-ci {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

.ip-ma-ci .ip-ma-info {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    font-size: max(0.875vw, 12px);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.714;
    color: #303030;
    margin-left: max(1.250vw, 10px);
}

.ip-ma-ci .ip-ma-info:first-child {
    margin: 0 0 0;
}

.ip-ma-ci .ip-ma-info em {
    margin-right: 7px;
}

.ip-ma-ci .ip-ma-info em.ai-font-envelope {
    font-size: 0.8em;
}

.ip-ma-ci .ip-ma-info em.ai-font-business-card {
    font-size: 1.3em;
}

.ip-ma-ci .ip-ma-info a:hover {
    color: #be912d;
}

body.page-id-109 .sm-img img {
    object-position: top center;
}

@media only screen and (min-width: 992px) {
    .ip-ma-ci {
        justify-content: flex-start;
    }

    .ip-ma-ci .ip-ma-info {
        /* font-size: 0.875vw; */
    }

    .custom-ip-tagline {
        padding: 5.7% 0 0;
    }

    .ip-ma-about-text .global-title .global-logo-icon:before {
        height: 27vw;
        top: calc(100% + 0.125vw);
        width: 0.063vw;
    }

    .page-template-meet-agent-waruka .ip-ma-about-text .global-title .global-logo-icon:before {
       height: max(45vw, 440px);
        width: 1px;
    }

    .page-template-meet-agent .ip-ma-about-text .global-title .global-logo-icon:before {
        height: max(40vw, 440px);
        width: 1px;
    }

    .ip-ma-about-content p {
        /* font-size: 0.875vw; */
        margin-bottom: 1.500vw;
    }

    .ip-ma-about-content-btn {
        margin-top: 2.688vw;
    }

    .ip-ip-ma-about-bg {
        width: 27.438vw;
    }

    .ip-ma-about-img img {
        width: 34.438vw;
    }

    .testi-agent-img img {
        height: auto;
        width: 85%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    .ip-ip-ma-about-bg {
        background-attachment: scroll;
    }

    .ip-ma-about-content p {
        font-size: 12px;
    }
    
    .page-template-meet-agent-waruka .ip-ma-about-text .global-title .global-logo-icon:before {
/*        height: 828px;*/
    }

    .page-template-meet-agent .ip-ma-about-text .global-title .global-logo-icon:before{
/*         height: 815px;*/
    }

    .ip-ma-ci {
        margin-right: -33px;
    }
}

@media only screen and (max-width: 991px) {
    .ip-ma-about {
        padding: 0 20px;
    }

    .ip-ma-about-img {
        width: 100%;
    }

    .ip-ma-about-text {
        width: 100%;
        margin-top: 50px;
        padding: 0 20px;
    }

    .custom-ip-tagline {
        font-size: 40px;
        padding: 40px 0 0;
    }

    .global-title h2 small {
        letter-spacing: 0.200em;
    }

    .ip-ma-about-content p, .ip-ma-ci .ip-ma-info {
        font-size: 14px;
    }
    
    .ip-ma-about-text .global-title .global-logo-icon:before {
        height: 388px;
    }

    .page-template-meet-agent .ip-ma-about-text .global-title .global-logo-icon:before, .page-template-meet-agent-waruka .ip-ma-about-text .global-title .global-logo-icon:before {
    height: 400px;
}

    .ip-ma-ci {
        margin-right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .ip-ma-ci {
        flex-flow: column wrap;
    }

    .ip-ma-ci .ip-ma-info {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 480px) {
}
