/*******************************************************
 *
 * Agent Details V2
 *
 *******************************************************/
 .ip-banner{
    display: none;
}

#inner-page-wrapper {
    margin-bottom: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}

.custom-banner, .custom-banner-img, .custom-banner-img canvas {
    display: block;
    position: relative;
}

.custom-banner-img canvas {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .65;
    min-height: 250px;
}

.custom-banner-img,.custom-banner-img canvas {
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.custom-banner:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #fff;
    z-index: -1;
    pointer-events: none;
}

.custom-banner-img {
    background-color: #000;
}

.custom-breadcrumbs {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 5;
}

.custom-breadcrumbs p#breadcrumbs {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.200em;
}

.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: var(--primary);
}

.custom-breadcrumbs span.breadcrumb_last {
    color: var(--primary);
}

.ss-smi {
    position: fixed;
    top: 0;
    bottom: 0;
    text-align: center;
    color: #fff;
    right: 50px;
    z-index: 1000;
}

.ss-smi-inner {
    position: relative;
}

.ss-smi a {
    display: block;
    font-size: 20px;
    color: inherit;
    margin-bottom: 26px;
    -webkit-transition: color var(--default-transition);
    -o-transition: color var(--default-transition);
    transition: color var(--default-transition);
    text-shadow: 0 2px 3px rgba(0,0,0,.50);
}

.ss-smi a:hover {
    color: var(--primary);
}

.ss-smi a i.ai-font-phone {
    font-size: 16px;
}

.ss-smi a i.ai-font-envelope-f {
    font-size: 10px;
}

.ss-smi a:last-child {
    margin-bottom: 0;
}

.ss-smi .-line {
    width: 1px;
    height: 50px;
    display: block;
    margin: 0 auto 30px;
    background: #fff;
    -webkit-box-shadow: 0 2px 3px rgba(0,0,0,.50);
    box-shadow: 0 2px 3px rgba(0,0,0,.50);
}

[class*="ai-icon-"] {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: all var(--default-transition);
    -o-transition: all var(--default-transition);
    transition: all var(--default-transition);
}

.attachment-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.attachment-scroll canvas {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.site-img {
    display: block;
    position: relative;
}

.site-img canvas {
    display: block;
    width: 100%;
    height: 100%;
    /*position: relative;*/
}

.site-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    z-index: 1;
    -webkit-transition: all var(--default-transition);
    -o-transition: all var(--default-transition);
    transition: all var(--default-transition);
}

#ip-agent-details {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
    background-color: #fff;
}

.ip-ad-section, .ip-ad-container {
    display: block;
    position: relative;
}

/* Section 1 */
.ip-ad-agent-container, .ip-ad-agent-row, .ip-ad-agent-content-container, .ip-ad-agent-title, .ip-ad-agent-content, .ip-ad-agent-btn, .ip-ad-agent-info-container, .ip-ad-agent-info, .ip-ad-agent-info-title, .ip-ad-agent-info-contacts, .ip-ad-agent-info-btn {
    display: block;
    position: relative;
}

.ip-ad-agent-col {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    position: relative;
}

.ip-ad-agent-container {
    padding: 104px 0 0;
}

.ip-ad-agent-row {
    width: 100%;
    max-width: 1325px;
    margin: 0 auto;
    padding: 0 15px;
}

.ip-ad-agent-col:first-child {
    width: 53.05%;
}

.ip-ad-agent-col:last-child {
    width: 46.95%;
}

.ip-ad-agent-title h2 {
    display: inline-block;
    position: relative;
}

.ip-ad-agent-title h2 small {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.500em;
    font-family: var(--font-family-default);
    text-transform: uppercase;
    color: #333333;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    margin-right: 15px;
}

.ip-ad-agent-title h2 span {
    font-size: 150px;
    line-height: 0.75;
    color: #333333;
    font-family: var(--font-family-title);
    display: block;
}

.ip-ad-agent-title h2 span em {
    color: var(--primary);
}

.ip-ad-agent-title h2 small:before {
    position: absolute;
    content: '';
    top: 50%;
    right: calc(100% + 30px);
    height: 1px;
    width: 300px;
    background-color: #333333;
    pointer-events: none;
}

.ip-ad-agent-title {
    margin-bottom: 55px;
    text-align: right;
    margin-right: 85px;
    margin-top: 18px;
}

.ip-ad-agent-content p {
    font-size: 14px;
    line-height: 2.143;
    letter-spacing: 0.020em;
    color: #676767;
    margin: 10px 0;
    text-align: justify;
}

.ip-ad-agent-content {
    padding: 20px 34px 20px 80px;
    border-radius: 50px 0 0 50px;
    border: 2px solid #789192;
    border-right: none;
    min-height: 560px;
    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%;
    flex-direction: column;
}



.ip-ad-agent-btn {
    padding-left: 80px;
    padding-top: 68px;
}

.ip-ad-agent-info-title h2 {
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0.020em;
    font-style: italic;
    color: #383838;
    font-family: var(--font-family-title);
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.ip-ad-agent-info-title span {
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.020em;
    font-weight: 300;
    color: var(--primary);
}

.ip-ad-agent-info-title {
    margin-bottom: 20px;
}

.ip-ad-agent-info-contacts span {
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.020em;
    color: #666666;
    display: block;
}

.ip-ad-agent-info-contacts span em[class^=ai-font] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    color: var(--primary);
    font-size: 12px;
    width: 17px;
    text-align: center;
}

.ip-ad-agent-info-contacts span:not(:last-child) {
    margin-bottom: 12px;
}

.ip-ad-agent-info-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-ad-agent-info-contacts span a:hover {
    color: var(--primary);
}

.ip-ad-agent-info-contacts span em.ai-font-phone {
    font-size: 14px;
}

.ip-ad-agent-info-contacts span em.ai-icon-dre {
    background-image: url(../../../images/agent-details/ai-dre-icon.png);
    width: 16px;
    height: 12px;
    margin-right: 15px;
}

.ip-ad-agent-info-contacts {
    margin-bottom: 30px;
}

asd {
}

.ip-ad-agent-info-container {
    margin-left: 64px;
    padding: 80px 30px 60px 75px;
    margin-top: -220px;
    z-index: 5;
}

.ip-ad-agent-info-container, .ip-ad-agent-info-bg, .ip-ad-agent-info-bg:before, .ip-ad-agent-info-bg canvas {
    border-top-left-radius: 90px;
}

.ip-ad-agent-info-bg canvas {
    opacity: .09;
}

.ip-ad-agent-info-bg {
    background-color: #fff;
    right: calc((100vw - 1140px) / -2);
    width: calc(100vw / 2);
}

.ip-ad-agent-info-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)),to(rgba(255,255,255,0)));
    background: -o-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%);
    z-index: 1;
}

.ip-ad-agent-info {
    z-index: 5;
}

/* Section 3 */
.ip-ad-testi-container, .ip-ad-testi-title, .ip-ad-testi-slide, .ip-ad-testi-content, .ip-ad-testi-content-video, .ip-ad-testi-content-video a {
    display: block;
    position: relative;
}

.ip-ad-testi-main {
    width: 100%;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 5;
    position: relative;
}

.ip-ad-testi-title h2 {
    display: inline-block;
    position: relative;
    text-align: right;
}

.ip-ad-testi-title h2 small {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.500em;
    font-family: var(--font-family-default);
    text-transform: uppercase;
    color: #333333;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.ip-ad-testi-title h2 span {
    font-size: 120px;
    line-height: 1;
    color: #333333;
    font-family: var(--font-family-title);
    display: block;
}

.ip-ad-testi-title h2 span em {
    color: var(--primary);
}

.ip-ad-testi-title h2 small:before {
    position: absolute;
    content: '';
    top: 50%;
    right: calc(100% + 25px);
    height: 1px;
    width: 200px;
    background-color: #333333;
    pointer-events: none;
}

.ip-ad-testi-title {
    text-align: center;
    margin-bottom: 55px;
}

.ip-ad-testi-container {
    padding: 100px 0 74px;
}

.ip-ad-testi-item {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% / 3);
    position: relative;
    padding: 0 15px;
}

.ip-ad-testi-slide:not(.slick-initialized) .ip-ad-testi-item:nth-child(n+3) ~ div {
    display: none;
}

.ip-ad-testi-content p {
    font-size: 14px;
    line-height: 2.143;
    letter-spacing: 0.020em;
    color: #666666;
}

.ip-ad-testi-content span.ip-ad-testi-author {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.010em;
    font-style: italic;
    font-family: var(--font-family-title);
    display: block;
    margin-top: 25px;
    color: var(--secondary);
}

.ip-ad-testi-slide {
    margin: 0 -15px;
}

.ip-ad-testi-content {
    padding: 36px 32px 55px;
    text-align: center;
    border: 1px solid var(--secondary);
    border-radius: 30px;
    min-height: 440px;
}

.ip-ad-testi-stars {
    margin: 10px auto 0;
    max-width: 100%;
    height: auto;
    display: block;
}

.ip-ad-testi-video-img, .ip-ad-testi-content-video a {
    width: 100%;
    height: 100%;
}

.ip-ad-testi-content-video, .ip-ad-testi-content-video a, .ip-ad-testi-video-img, .ip-ad-testi-video-img canvas, .ip-ad-testi-video-img img {
    border-radius: 20px;
}

.ip-ad-testi-content-video {
    background-color: #000;
    border: 3px solid var(--primary);
}

.ip-ad-testi-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 60px auto 0;
}

.ip-ad-testi-control, .ip-ad-testi-control button {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.ip-ad-testi-control button {
    border: none;
    padding: 0;
    background-color: transparent;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.ip-ad-testi-control button:hover {
    opacity: .75;
}

.ip-ad-testi-control button em.ai-icon-arrow {
    background-image: url(../../../images/agent-details/ai-arrow-icon.png);
    width: 30px;
    height: 13px;
}

.ip-ad-testi-control button:not(:last-child) {
    margin-right: 40px;
}

.ip-ad-testi-control button.prev {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.ip-ad-testi-control button.prev em.ai-icon-arrow {
    -webkit-filter: invert(1) brightness(0);
    filter: invert(1) brightness(0);
}

.ip-ad-testi-video-img span.ai-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 107px;
    height: 107px;
    z-index: 5;
    background-color: rgba(193,154,61,.80);
    border-radius: 50%;
}

.ip-ad-testi-video-img span.ai-play-btn:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 54%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 25px solid #fff;
}

.ip-ad-testi-video-img span.ai-play-btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: -10px;
    border: 1px solid rgba(255,255,255,.90);
    border-radius: 50%;
}

.ip-ad-testi-video-img {
    background-color: #000;
    overflow: hidden;
}

.ip-ad-testi-content-video a:hover .ip-ad-testi-video-img img {
    opacity: .75;
}

.ip-ad-testi-bg {
    background-color: #fff;
}

.ip-ad-testi-bg: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(255,255,255,1)),color-stop(20%, rgba(255,255,255,1)),to(rgba(255,255,255,0)));
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,0) 100%);
}

.ip-ad-testi-bg canvas {
    opacity: .20;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.ip-ad-testi-slide:before {
    position: absolute;
    content: '';
    top: 100%;
    right: 39%;
    width: 2px;
    height: 150px;
    background-color: rgba(0,0,0,.10);
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.60);
    box-shadow: 0 5px 15px rgba(0,0,0,.60);
}

/* Form */
.aiosp-container[class*="agent-details-popup"] {
    padding: 0;
}

.aiosp-container[class*="agent-details-popup"] .aios-popup-body {
    padding: 0 15px;
    background-color: transparent;
    min-height: 0;
}

.aiosp-container[class*="agent-details-popup"] .aios-popup-body .aiosp-close {
    color: #fff;
    font-size: 0;
    top: 75px;
    right: 50px;
    width: auto;
    height: auto;
    line-height: 1;
}

.aiosp-container[class*="agent-details-popup"] .aios-popup-body .aiosp-close:before {
    content: "\b0241";
    font-family: agentimage !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    font-size: 15px;
}

.aiosp-bg {
    background-color: #333333;
    opacity: .70;
}

.cpf-inner {
    padding: 83px 50px 63px;
}

.cpf-title {
    display: block;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.cfp-field textarea {
    height: 90px;
}

.cpf-title span {
    font-size: 50px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.020em;
    color: var(--primary);
    font-family: var(--font-family-title);
    font-style: italic;
}

.cpf-logo {
    margin-bottom: 40px;
}

.custom-popup button.wpcf7-submit {
    margin-top: 35px;
}

.cpf-form div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

@supports (-moz-appearance:none) {
  .ip-ad-agent-content {
     display: table-caption;
  }
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1560px) {
    .custom-breadcrumbs {
        max-width: 1280px;
    }

    .ss-smi {
        right: 30px;
    }

    .ip-ad-agent-content {
        padding: 20px 30px 20px 60px;
    }

    .ip-ad-agent-btn {
        padding-left: 60px;
        padding-top: 60px;
    }

    .ip-ad-agent-info-container {
        margin-left: 50px;
        padding: 60px 30px 60px 60px;
        margin-top: -200px;
    }

    .ip-ad-testi-video-img canvas {
        min-height: 440px;
    }

    .ip-ad-testi-main {
        max-width: 100%;
        padding: 0 50px;
    }

    .ip-ad-testi-content p {
        font-size: 13px;
    }

    .ip-ad-testi-content {
        padding: 36px 20px 55px;
    }
}

@media only screen and (max-width: 1440px) {
    .ip-ad-agent-row {
        max-width: 1280px;
    }

    .ip-ad-agent-content {
        min-height: 515px;
    }

    .ip-ad-agent-title h2 span {
        font-size: 140px;
    }

    .ip-ad-agent-title h2 small:before {
        width: 250px;
    }
}

@media only screen and (max-width: 1366px) {
    .custom-breadcrumbs {
        max-width: 1200px;
    }

    .ip-ad-testi-main {
        padding: 0 40px;
    }

    .ip-ad-testi-content p {
        line-height: 2;
    }

    .ip-ad-testi-content {
        padding: 35px 20px 50px;
        min-height: 425px;
    }

    .ip-ad-testi-item {
        padding: 0 10px;
    }

    .ip-ad-testi-video-img canvas {
        height: 418px;
        min-height: 0;
    }

    .ip-ad-testi-slide {
        margin: 0 -10px;
    }

    .ip-ad-testi-title h2 span {
        font-size: 100px;
    }

    .ip-ad-agent-row {
        max-width: 100%;
        padding: 0 50px;
    }

    .ss-smi {
        right: 20px;
    }

    .ip-ad-agent-content {
        min-height: 490px;
        border-radius: 40px 0 0 40px;
    }

    .ip-ad-agent-info-container {
        margin-left: 40px;
        padding: 50px 30px 50px 50px;
        margin-top: -180px;
    }

    .ip-ad-agent-info-title h2 {
        font-size: 45px;
    }

    .ip-ad-agent-info-title span {
        font-size: 18px;
    }

    .ip-ad-agent-info-contacts span {
        font-size: 14px;
    }

    .ip-ad-agent-info-contacts {
        margin-bottom: 25px;
    }

    .ip-ad-agent-info-container, .ip-ad-agent-info-bg, .ip-ad-agent-info-bg:before, .ip-ad-agent-info-bg canvas {
        border-top-left-radius: 80px;
    }

    .ip-ad-testi-title h2 small {
        font-size: 20px;
    }

    .ip-ad-agent-title h2 small {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1280px) {
    .custom-breadcrumbs {
        max-width: 1140px;
    }

    .ss-smi {
        right: 20px;
    }

    .ip-ad-agent-container {
        padding: 90px 0 0;
    }

    .ip-ad-agent-title h2 span {
        font-size: 130px;
    }

    .ip-ad-agent-title h2 small:before {
        width: 230px;
    }

    .ip-ad-agent-content {
        min-height: 440px;
        padding: 20px 30px 20px 50px;
    }

    .ip-ad-agent-content p {
        font-size: 13px;
        line-height: 2;
    }

    .ip-ad-agent-btn {
        padding-left: 50px;
        padding-top: 50px;
    }

    .ip-ad-testi-title h2 span {
        font-size: 90px;
    }

    .ip-ad-testi-content {
        padding: 35px 15px;
        min-height: 375px;
    }

    .ip-ad-testi-content span.ip-ad-testi-author {
        font-size: 22px;
        margin-top: 20px;
    }

    .ip-ad-testi-content p {
        line-height: 1.8;
    }

    .ip-ad-testi-video-img canvas {
        height: 369px;
    }

    .ip-ad-testi-container {
        padding: 90px 0 60px;
    }

    .ip-ad-testi-controls {
        margin: 40px auto 0;
    }

    .ip-ad-testi-title {
        margin-bottom: 40px;
    }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .custom-breadcrumbs {
        max-width: 900px;
    }

    .ss-smi {
        right: 20px;
    }

    .ip-ad-agent-row {
        padding: 0 40px;
    }

    .ip-ad-agent-title h2 span {
        font-size: 100px;
    }

    .ip-ad-agent-title {
        margin-right: 60px;
        margin-top: 10px;
    }

    .ip-ad-agent-title h2 small:before {
        width: 150px;
    }

    .ip-ad-agent-content {
        min-height: 370px;
        padding: 20px 20px 20px 40px;
    }

    .ip-ad-agent-content p {
        line-height: 1.8;
    }

    .ip-ad-agent-info-container {
        margin-left: 30px;
        padding: 40px 30px 40px 40px;
        margin-top: -166px;
    }

    .ip-ad-agent-btn {
        padding-left: 40px;
        padding-top: 40px;
    }

    .ip-ad-agent-container {
        padding: 70px 0 0;
    }

    .ip-ad-agent-info-title h2 {
        font-size: 40px;
    }

    .ip-ad-testi-title h2 small, .ip-ad-agent-title h2 small {
        font-size: 18px;
        letter-spacing: 0.300em;
    }

    asd {
    }

    .ip-ad-testi-title h2 span {
        font-size: 80px;
    }

    .ip-ad-testi-title h2 small:before {
        width: 180px;
    }

    .ip-ad-testi-main {
    }

    .ip-ad-testi-content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .ip-ad-testi-item {
        padding: 0 5px;
    }

    .ip-ad-testi-slide {
        margin: 0 -5px;
    }

    .ip-ad-testi-content {
        padding: 30px 15px;
        min-height: 361px;
    }

    .ip-ad-testi-stars {
        margin: 5px auto 0;
    }

    .ip-ad-testi-video-img canvas {
        height: 355px;
    }

    .ip-ad-testi-video-img span.ai-play-btn {
        width: 100px;
        height: 100px;
    }

    .ip-ad-testi-video-img span.ai-play-btn:before {
        border-top: 17px solid transparent;
        border-bottom: 17px solid transparent;
        border-left: 22px solid #fff;
    }

    .ip-ad-testi-video-img span.ai-play-btn:after {
        margin: -8px;
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .custom-banner-img, .custom-banner-img canvas {
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .custom-breadcrumbs {
        max-width: 100%;
        padding: 0 30px;
    }

    .custom-breadcrumbs p#breadcrumbs {
        letter-spacing: 0.150em;
        font-size: 11px;
    }

    .ss-smi {
        display: none;
    }

    .ip-ad-agent-col {
        width: 100%!important;
        display: block;
    }

    .ip-ad-agent-row {
        padding: 0 15px;
    }

    .ip-ad-agent-title {
        margin: 0 auto 30px;
        text-align: center;
    }

    .ip-ad-agent-title h2 {
        text-align: right;
    }

    .ip-ad-agent-content {
        padding: 40px 20px;
        min-height: 0;
        border: 2px solid #789192!important;
        border-radius: 30px!important;
        text-align: center;
        width: 100%;
        /*max-width: 567px;*/
        margin: 0 auto;
    }

    .ip-ad-agent-content p {
        line-height: 1.8;
    }

    .ip-ad-agent-btn {
        padding: 0;
        margin: 30px auto 40px;
        text-align: center;
    }

    .ip-ad-agent-img {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .ip-ad-agent-info-container {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 40px 15px;
        text-align: center;
    }

    .ip-ad-agent-info-bg {
        width: 100%;
        right: 0;
    }

    .ip-ad-agent-info-contacts {
        margin-bottom: 20px;
    }

    .ip-ad-agent-info-contacts span em[class^=ai-font] {
        margin-right: 10px;
        font-size: 11px;
        width: 16px;
    }

    .ip-ad-agent-info-contacts span em.ai-icon-dre {
        width: 15px;
        height: 11px;
        margin-right: 10px;
    }

    .ip-ad-agent-info-title h2 {
        font-size: 35px;
    }

    .ip-ad-agent-info-title span {
        font-size: 18px;
    }

    .ip-ad-testi-container {
        padding: 70px 0;
    }

    .ip-ad-agent-title h2 span, .ip-ad-testi-title h2 span {
        font-size: 45px;
    }

    .ip-ad-testi-title h2 small, .ip-ad-agent-title h2 small {
        font-size: 16px;
    }

    .ip-ad-testi-title h2 small:before, .ip-ad-agent-title h2 small:before {
        width: 100px;
        right: calc(100% + 15px);
    }

    .ip-ad-agent-info-container, .ip-ad-agent-info-bg, .ip-ad-agent-info-bg:before, .ip-ad-agent-info-bg canvas {
        border-radius: 0 0 50px 50px;
    }

    .ip-ad-testi-content {
        min-height: 0;
    }

    .ip-ad-testi-slide {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .ip-ad-testi-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .ip-ad-testi-item {
        width: 100%;
    }

    .ip-ad-testi-slide:not(.slick-initialized) .ip-ad-testi-item:nth-child(n+2) {
        display: none;
    }

    .ip-ad-testi-main {
        padding: 0 15px;
    }

    .ip-ad-testi-controls {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        margin: 30px auto 0;
    }

    .ip-ad-testi-btn {
        display: block;
        margin-top: 20px;
    }

    .ip-ad-testi-container {
        padding: 60px 0 50px;
    }

    .ip-ad-testi-title {
        margin-bottom: 30px;
    }

    .ip-ad-testi-video-img canvas {
        height: auto;
        min-height: 300px;
    }

    .ip-ad-agent-title h2 small {
        margin-bottom: 10px;
        margin-right: 0;
    }

    .ip-ad-agent-container {
        padding: 50px 0 0;
    }

    .ip-ad-testi-video-img span.ai-play-btn {
        width: 90px;
        height: 90px;
    }

    .ip-ad-testi-video-img span.ai-play-btn:before {
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 20px solid #fff;
    }

    .cpf-inner {
        padding: 50px 15px 60px;
    }

    .cpf-title span {
        font-size: 38px;
    }

    .cpf-logo {
        margin-bottom: 25px;
    }

    .cpf-title {
        margin-bottom: 15px;
    }

    .cfp-field {
        padding: 0;
    }

    .custom-popup button.wpcf7-submit {
        margin-top: 15px;
    }

    .cpf-form .wpcf7 form .wpcf7-response-output {
        width: 100%;
        margin: 15px auto 0;
        font-size: 11px;
    }

    .aiosp-container[class*="agent-details-popup"] .aios-popup-body .aiosp-close {
        top: 60px;
        right: 40px;
    }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-ad-agent-title h2 span, .ip-ad-testi-title h2 span {
        font-size: 40px;
    }

    .ip-ad-testi-title h2 small:before, .ip-ad-agent-title h2 small:before {
        width: 50px;
        right: calc(100% + 10px);
    }

    .ip-ad-agent-info-contacts span:not(:last-child) {
        margin-bottom: 10px;
    }

    .ip-ad-agent-info-contacts span {
        font-size: 13px;
    }

    .ip-ad-agent-info-contacts span em[class^=ai-font], .ip-ad-agent-info-contacts span em.ai-icon-dre {
        margin-right: 5px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
}
