/*******************************************************
 *
 * Agent Results
 *
 *******************************************************/
#inner-page-wrapper {
    margin-bottom: 0;
    z-index: auto;
}

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

#ip-agent-results {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
}

.footer-container {
    overflow: hidden;
    padding: 165px 0 0;
}

.footer-container .global-accent-bg.top-right {
    top: 0;
    width: 954px;
}

.ip-banner canvas {
    height: 522px;
    min-height: 0;
}

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

/* Agent Results */
.ip-ar-agents-container {
    display: block;
    position: relative;
    padding: 125px 0 127px;
    overflow: hidden;
}

.ip-ar-agents-container .global-accent-bg.top-left {
    top: 8%;
    width: 43.1466%;
    height: 35.61%;
}

.ip-ar-agents-container .global-accent-bg.bottom-right {
    bottom: 5%;
    z-index: 3;
    width: 26.975%;
    height: 49.61%;
}

.ip-ar-agents-container .global-accent-bg.top-left canvas, .ip-ar-agents-container .global-accent-bg.bottom-right canvas {
    background-size: cover;
}

.ip-ar-agents-container .custom-container {
    max-width: 1380px;
    padding: 0 15px;
}

.ip-ar-agents-main {
    display: block;
    position: relative;
    z-index: 5;
}

.ip-ar-agents-row {
    display: block;
    position: relative;
    margin: 0 -40px;
}

.ip-ar-agents-col {
    display: inline-block;
    vertical-align: top;
    width: calc(100% / 3);
    position: relative;
    padding: 0 40px;
    margin-bottom: 96px;
}

.ip-ar-agents-item {
    display: block;
    position: relative;
    max-width: 100%;
}

.ip-ar-agents-item, .ip-ar-agents-item:before, .ip-ar-agents-inner, .ip-ar-agents-inner canvas, .ip-ar-agents-inner img, .ip-ar-agents-img a {
    border-top-left-radius: 220px;
    border-top-right-radius: 220px;
}

.ip-ar-agents-container .ip-ar-agents-top {
    margin-bottom: 113px;
}

.ip-ar-agents-container .global-accent-bg.bottom-left {
    width: 40.367%;
    height: 55.537%;
    bottom: 17%;
}

.ip-ar-agents-container .global-accent-bg.bottom-left canvas {
    background-size: cover;
}

.ip-ar-agents-img:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    pointer-events: none;
    z-index: 2;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),to(rgba(0,0,0,0.60)));
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.60) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.60) 100%);
}

.ip-ar-agents-info {
    pointer-events: none;
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 5;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-ar-agent-name {
    display: block;
    position: relative;
    text-align: center;
}

.ip-ar-agent-name h2 {
    font-size: 36px;
    line-height: 1;
    color: #fff;
    font-family: var(--title-font);
}

.ip-ar-agent-name h2 a {
    color: inherit;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-ar-agent-contacts {
    display: block;
    position: relative;
    text-align: center;
    margin-top: 25px;
}

.ip-ar-agent-contacts span {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.010em;
    color: #cfc9b4;
    font-weight: 600;
    display: block;
}

.ip-ar-agent-contacts span:not(:last-child) {
    margin-bottom: 7px;
}

.ip-ar-agent-contacts span a {
    color: inherit;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-ar-agent-contacts span a:hover {
    color: var(--secondary-color);
}

.ip-ar-agents-inner {
    display: block;
    position: relative;
    -webkit-box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.ip-ar-agents-img a {
    display: block;
    position: relative;
    overflow: hidden;
}

.ip-ar-agents-img a img {
    -webkit-transform: scale(1.01);
        -ms-transform: scale(1.01);
            transform: scale(1.01);
}

.ip-ar-agents-item:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--secondary-color);
    margin: -12px;
    z-index: 2;
    -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;
    pointer-events: none;
}

.ip-ar-agents-item:hover:before {
    opacity: 1;
    visibility: visible;
}

.ip-ar-bg-bot {
    top: auto;
    bottom: 0;
    height: 31.101%;
}

.ip-ar-bg-bot:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(244,243,239,1)),color-stop(20%, rgba(246,245,242,1)),to(rgba(255,255,255,0)));
    background: -o-linear-gradient(top, rgba(244,243,239,1) 0%,rgba(246,245,242,1) 20%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(244,243,239,1) 0%,rgba(246,245,242,1) 20%,rgba(255,255,255,0) 100%);
}

.ip-ar-bg-top {
    border-bottom-right-radius: 750px;
    border-bottom-left-radius: 750px;
    overflow: hidden;
    width: 68%;
    left: auto;
    right: -19%;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
    background-color: var(--primary-color);
    z-index: 5;
    top: 0;
    height: 47%;
}

.ip-ar-bg-top canvas {
    opacity: .90;
}

html .ip-ar-bg-top.attachment-fixed canvas {
    background-attachment: scroll!important;
    background-position: right -122% center!important;
    background-size: cover!important;
}

.ip-ar-agent-btn {
    display: inline-block;
    position: relative;
    text-align: center;
    margin-top: 32px;
    pointer-events: none;
}

.ip-ar-agent-btn a {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.100em;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    pointer-events: auto;
}

.ip-ar-agent-title span {
    font-size: 22px;
    letter-spacing: 0.010em;
    line-height: 1;
    color: #fff;
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

.ip-ar-agent-title {
    display: block;
    position: relative;
    text-align: center;
}

.ip-ar-hover {
    display: block;
    position: relative;
    height: 0;
    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;
    text-align: center;
}

.ip-ar-agents-item:hover .ip-ar-hover {
    height: 140px;
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
}

.ip-ar-agents-main .page-nation {
    font-size: initial;
    text-align: center;
}

.ip-ar-agents-main .page-nation .page-numbers {
    padding: 0 10px;
}

.ip-ar-agents-main .page-nation .page-numbers.current {
    font-weight: 600;
    text-decoration: underline;
}

/*Filters*/

.ip-ar-agents-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ip-ar-agents-filter-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 45px;
    background: #8d7631;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
}

.ip-ar-agents-filter-button {
    width: calc(100% / 7);
}

.ip-ar-agents-filter-button button {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    border-radius: 45px;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0;
    outline: none;
    position: relative;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

.ip-ar-agents-container .ip-ar-agents-top .global-title {
    margin: 0;
}

.ip-ar-agents-filter {
    padding: 15px;
    width: 100%;
    max-width: 600px;
    border: 2px solid #8d7631;
    border-radius: 45px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
}


.ip-ar-agents-filter-button button.active {
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.ip-ar-agents-filter-button button:hover {
    opacity: 0.5;
}

.ip-ar-agents-filter-button button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 45px;
    background: #224536;
    transition: all 0.4s ease-in-out;
}

.ip-ar-agents-filter-button button span {
    position: relative;
}

.ip-ar-agents-filter-button button.active::before {
    opacity: 1;
}

/*Filters*/

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
    .footer-container {
        padding: 10.313vw 0 0;
    }

    .footer-container .global-accent-bg.top-right {
        width: 59.625vw;
    }

    .ip-banner canvas {
        height: 32.625vw;
    }


    /* Agent Results */
    .ip-ar-agents-container {
        padding: 7.813vw 0 7.938vw;
    }

    .ip-ar-agents-container .custom-container {
        max-width: 86.25vw;
        padding: 0 0.938vw;
    }

    .ip-ar-agents-row {
        margin: 0 -2.5vw;
    }

    .ip-ar-agents-col {
        padding: 0 2.5vw;
        margin-bottom: 6vw;
    }

    .ip-ar-agents-item {
        display: block;
        position: relative;
        max-width: 100%;
    }


    .ip-ar-agents-item, .ip-ar-agents-item:before, .ip-ar-agents-inner, .ip-ar-agents-inner canvas, .ip-ar-agents-inner img, .ip-ar-agents-img a {
        border-top-left-radius: 13.750vw;
        border-top-right-radius: 13.750vw;
    }

    .ip-ar-agents-container .ip-ar-agents-top {
        margin-bottom: 7.063vw;
    }

    .ip-ar-agents-info {
        bottom: 2.5vw;
    }


    .ip-ar-agent-name h2 {
        font-size: 2.25vw;
    }


    .ip-ar-agent-contacts {
        margin-top: 1.563vw;
    }

    .ip-ar-agent-contacts span {
        font-size: 1.125vw;
    }

    .ip-ar-agent-contacts span:not(:last-child) {
        margin-bottom: 0.438vw;
    }

    .ip-ar-agents-item:before {
        border: 1px solid var(--secondary-color);
        margin: -0.75vw;
    }

    .ip-ar-bg-top {
        border-bottom-right-radius: 46.875vw;
        border-bottom-left-radius: 46.875vw;
    }

    .ip-ar-agent-btn {
        margin-top: 2vw;
    }

    .ip-ar-agent-btn a {
        font-size: 1.125vw;
    }

    .ip-ar-agent-title span {
        font-size: 1.375vw;
        margin-top: 0.625vw;
    }

    .ip-ar-agents-item:hover .ip-ar-hover {
        height: 8.75vw;
        margin-top: 0.938vw;
    }

    /*Filter*/

    .ip-ar-agents-filter{
        border-radius: 3vw;
        width: 54.2vw;
        padding: 0.5vw;
        max-width: unset;
    }

    .ip-ar-agents-filter-inner{
        border-radius: 2vw;
    }

    .ip-ar-agents-filter-button button{
        font-size: 0.7vw;
        height: 3.75vw;
        border-radius: 2vw;
    }

    .ip-ar-agents-filter-button button::before{
        border-radius: 2vw;
    }

    /*Filter*/

}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-banner canvas {
        height: auto;
        min-height: 350px;
    }

    .ip-ar-bg-top {
        top: 0;
        width: calc(100% - 30px);
        height: 50%;
        right: 0;
        margin: 0 auto;
        left: 0;
        display: none;
    }

    html .ip-ar-bg-top.attachment-fixed canvas {
        background-position: center!important;
    }

    .ip-ar-agents-col {
        width: 100%;
        display: block;
        max-width: 400px;
        margin: 0 auto;
        padding: 0;
    }

    .ip-ar-agents-col:not(:last-child) {
        margin: 0 auto 79px;
    }

    .ip-ar-hover {
        height: auto!important;
        opacity: 1!important;
        visibility: visible!important;
        margin-top: 15px!important;
    }

    .ip-ar-agents-item:before {
        opacity: 1!important;
        visibility: visible!important;
    }

    .ip-ar-agents-container .global-title {
        text-align: center;
        margin-bottom: 70px;
    }

    .ip-ar-agents-container {
        padding: 80px 0;
    }

    .ip-ar-bg-bot {
        height: 20%;
    }

    .footer-container {
        padding: 77px 0 0;
    }

    .ip-ar-agents-container .ip-ar-agents-top{
        flex-direction: column;
        gap: 45px;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-ar-agents-col {
        max-width: 320px;
    }

    .ip-ar-agent-name h2 {
        font-size: 30px;
    }

    .ip-ar-agent-title span {
        font-size: 20px;
    }

    .ip-ar-agent-contacts {
        margin-top: 20px;
    }

    .ip-ar-agent-contacts span {
        /* font-size: 16px; */
    }

    .ip-ar-agent-btn {
        margin-top: 25px;
    }

    .ip-ar-agents-info {
        bottom: 30px;
    }

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ip-ar-agents-col {
        width: calc(100% - 80px);
    }

    .ip-ar-agents-container {
        padding: 70px 0 80px;
    }

    .ip-ar-agents-container .global-title {
        margin-bottom: 50px;
    }

    .ip-ar-agents-filter-button {
        width: 50%;
    }

    .ip-ar-agents-filter-inner {
        flex-wrap: wrap;
    }

    .ip-ar-agents-filter-button:last-child {
        width: 100%;
    }
}