/*******************************************************
 *
 * Agent Finder
 *
 *******************************************************/
#inner-page-wrapper {
    margin-bottom: 0;
}

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

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

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

.custom-breadcrumbs {
    display: block;
    position: relative;
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: 0.024em;
    line-height: 1;
    color: #231f20;
}

.custom-breadcrumbs p#breadcrumbs span.breadcrumb_last strong {
    font-weight: 400;
}

.custom-breadcrumbs p#breadcrumbs 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;
}

.custom-breadcrumbs p#breadcrumbs a:hover {
    color: #00a9df;
}

.ip-banner {
    display: none;
}

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

.ip-af-hero-img {
    display: block;
    position: relative;
    background-color: #000;
    overflow: hidden;
    pointer-events: none;
}

.ip-af-hero-img canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .77;
    min-height: 250px;
}

.ip-af-hero-img iframe,
.ip-af-hero-img video {
    position: absolute;
    z-index: 1;
    width: 150%;
    height: 150%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
}

.ip-af-hero-title {
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    display: block;
    text-align: left;
    font-size: 54px;
    font-weight: 500;
    letter-spacing: 0.050em;
    color: #fff;
    z-index: 5;
    text-transform: uppercase;
}

.ip-af-hero-img:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0+100;Neutral+Density */
    /* FF3.6-15 */
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0)));
    background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000',GradientType=0 );
    /* IE6-9 */
    pointer-events: none;
    z-index: 1;
}

/* Section 2 */
.ip-af-qs-container {
    display: block;
    position: relative;
    width: 100%;
    max-width: 642px;
    margin: 0 auto;
    padding: 66px 0 42px;
    z-index: 5;
}

.ip-af-qs-container form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: relative;
}

.ip-af-qs-field {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.ip-af-qs-field input, .ip-af-qs-field select {
    width: 100%;
    height: 60px;
    background-color: #fff;
    border: none;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0.024em;
    padding: 0 15px 0 15px;
    outline: none;
    color: #3d3d3d;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
}

.ip-af-qs-field select {
    font-size: 13px;
    letter-spacing: 0.024em;
}

.ip-af-qs-field input {
    padding: 0 48px 0 15px;
}

.ip-af-qs-field.short {
    width: 110px;
}

.ip-af-qs-field.long {
    width: calc(100% - 110px);
}

.ip-af-al-container {
    display: block;
    position: relative;
    padding-bottom: 50px;
}

.ip-af-al-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-color: #231f20;
    pointer-events: none;
    z-index: 1;
}

.ip-af-submit {
    position: absolute;
    top: 50%;
    right: 14px;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    background-color: transparent;
}

em.ai-icon-magnifying {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url(../../images/agent-finder/ai-magnifying-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.ip-af-qs-field.short:before {
    position: absolute;
    content: '';
    top: 50%;
    right: 0;
    width: 1px;
    height: calc(100% - 10px);
    background-color: #c6c6c6;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    pointer-events: none;
}

.ip-af-qs-field.short:after {
    position: absolute;
    content: '';
    top: 50%;
    right: 7px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #b2b2b2;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

/*Agents*/
.ip-af-al-main-container {
    display: block;
    position: relative;
}

.ip-af-al-title {
    display: block;
    position: relative;
    margin-bottom: 5px;
}

.ip-af-al-item:hover .ip-af-al-details {
    background-color: #a7bbc9;
}

.ip-af-al-item:nth-child(3n+2):hover .ip-af-al-details {
    background-color: #48718c;
}

.ip-af-al-item:nth-child(3n+3):hover .ip-af-al-details {
    background-color: #005686;
}

.ip-af-al-img a {
    display: block;
    position: relative;
    background-color: #fff;
}

.ip-af-al-img canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.ip-af-al-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: top center;
       object-position: top center;
    z-index: 1;
}

.ip-af-al-img {
    display: block;
    position: relative;
}

.ip-af-al-item {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% / 3);
    padding: 17px;
}

.ip-af-al-main {
    display: block;
    position: relative;
    width: 100%;
    max-width: 944px;
    margin: 0 auto;
    z-index: 5;
}

.ip-af-al-main-container {
    display: block;
    position: relative;
}

.ip-af-al-details {
    display: block;
    position: relative;
    padding: 20px 10px;
    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;
    background-color: #fff;
}

.ip-af-al-title h2 {
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0.024em;
    color: #3d3d3d;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-af-al-title span, .ip-af-al-contacts span {
    color: #3d3d3d;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.024em;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-af-al-contacts span {
    display: block;
    position: relative;
}

.ip-af-al-contacts span em[class^=ai-font] {
    color: #00a9df;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    font-size: 11px;
}

.ip-af-al-inner {
    display: block;
    position: relative;
    background-color: #fff;
    -webkit-box-shadow: 0px 13px 13px 0px rgba(0, 1, 1, 0.1);
            box-shadow: 0px 13px 13px 0px rgba(0, 1, 1, 0.1);
}

.ip-af-al-contacts {
    display: block;
    position: relative;
    margin-top: 6px;
}

.ip-af-al-item:hover .ip-af-al-details {
    background-color: #a7bbc9;
}

.ip-af-al-item:nth-child(3n+2):hover .ip-af-al-details {
    background-color: #48718c;
}

.ip-af-al-item:nth-child(3n+3):hover .ip-af-al-details {
    background-color: #005686;
}

.ip-af-al-item:hover .ip-af-al-title span, .ip-af-al-item:hover .ip-af-al-contacts span, .ip-af-al-item:hover .ip-af-al-title h2 {
    color: #fff;
}

.ip-af-al-contacts span:not(:last-child) {
    margin-bottom: 3px;
}

.ip-af-al-title span {
    display: block;
    margin-top: 3px;
}

.ip-af-al-item:hover .ip-af-al-contacts span a {
    color: #fff;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-af-al-item:hover .ip-af-al-contacts span a:hover {
    color: #ddd;
}

.ip-af-al-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ip-af-al-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .10;
}

/* Pagination */
.ip-global-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 43px auto 50px;
}

.ip-global-pagination button {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 41px;
    height: 41px;
    background-color: #797979;
    color: #fff;
    font-size: 12px;
    padding: 0;
    line-height: 1;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-global-pagination ul {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin: 0 10px;
}

.ip-global-pagination ul li {
    display: inline-block;
    vertical-align: middle;
    width: 41px;
    height: 41px;
}

.ip-global-pagination ul li:not(:last-child) {
    margin-right: 10px;
}

.ip-global-pagination ul li a,
.ip-global-pagination ul li span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px solid #00a9df;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.040em;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    font-weight: 600;
}

.ip-global-pagination ul li a:hover,
.ip-global-pagination ul li span.current {
    background-color: #00a9df;
    color: #fff;
}

.ip-global-pagination button:hover {
    background-color: #00a9df;
}

.ip-global-pagination button em {
    font-weight: 600;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .ip-af-hero-title {
        font-size: 40px;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-af-al-item {
        width: calc(100% / 2);
        padding: 15px;
    }

    .ip-af-hero-title {
        text-align: center;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-af-al-item {
        display: block;
        width: 100%;
        max-width: 292px;
        margin: 0 auto;
    }

    .ip-af-hero-title {
        font-size: 35px;
    }

    .ip-af-al-container {
        padding-bottom: 20px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
    .ip-af-qs-field {
        display: block;
        width: 100%!important;
    }

    .ip-af-qs-container form {
        display: block;
    }

    .ip-af-qs-field.short:before {
        width: 100%;
        height: 1px;
        top: auto;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
        bottom: 0;
    }

    .ip-global-pagination ul li, .ip-global-pagination button {
        width: 35px;
        height: 35px;
    }

    .ip-global-pagination ul {
        margin: 0 5px;
    }

    .ip-global-pagination ul li:not(:last-child) {
        margin-right: 5px;
    }

    .ip-global-pagination {
        margin: 25px auto 30px;
    }

    .ip-af-hero-title {
        letter-spacing: normal;
        font-size: 30px;
    }
}