/*******************************************************
 *
 * Template Ivan Estrada
 *
 *******************************************************/

#inner-page-wrapper {
    margin-bottom: 0;
}

.ip-banner canvas{
    background-image: url(../../images/ivan-estrada/ivan-estrada-banner.jpg)!important;
}

.ip-banner:after {
    position: absolute;
    content: '';
    top: 0;
    left: 39.9%;
    width: 0.063vw;
    height: 100%;
    background: rgba(255,255,255,0.24);
    z-index: 1;
}

.ip-comm-det-bg-inner {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
}

.ip-comm-det-bg-inner canvas {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../images/communities/comm-bg.jpg);
    display: block;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.15;
}


.custom-container {
    width: 100%;
    padding: 0 5.625vw 0;
    margin: 0 auto;
}

.ip-about-content-container .global-title h2 {
    font-size: 7.5vw;
    font-weight: 400;
}

.ip-about-content-container {
    display: block;
    position: relative;
}

.ip-about-col {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    width: 50%;
}

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

.ip-about-row {
    display: block;
    position: relative;
    margin-top: -12.5vw;
}

.ip-about-cta-lines {
    position: absolute;
    content: '';
    top: 0;
    right: 18.8%;
    width: 0.063vw;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: rgba(8,48,93,.08);
}

.ip-about-cta-btns {
    display: block;
    position: relative;
    z-index: 2;
}

.ip-about-wrapper {
    display: block;
    position: relative;
    z-index: 5;
}

.ip-about-lines {
    position: absolute;
    content: '';
    top: 0;
    left: 17%;
    width: 100%;
    height: 100%;
    max-width: 22.932%;
    margin: 0 auto;
    z-index: 1;
    pointer-events: none;
}

.ip-about-lines:before, .ip-about-lines:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0.063vw;
    height: 100%;
    background: rgba(8,48,93,.08);
}

.ip-about-lines:after {
    height: 23%;
    right: 0;
    left: auto;
}


.ip-about-elines {
    position: absolute;
    content: '';
    bottom: 0;
    left: 35.3%;
    width: 0.063vw;
    height: 73%;
    z-index: 1;
    pointer-events: none;
    background: rgba(8,48,93,.08);
}

.ip-about-container {
    display: block;
    position: relative;
    padding: 0;
}

#ip-about {
    font-size: 0;
    line-height: 1;
    letter-spacing: normal;
    /* overflow: hidden; */
}

.ip-about-content {
    display: block;
    position: relative;
    margin-top: 4.938vw;
}

.ip-about-content p {
    font-family: var(--roboto);
    font-size: 1vw;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.020em;
    color: #000000;
}

#ip-about .parallax-title-accent.is-left .parallax-text-holder:last-of-type {
    left: -3.2%;
    top: 0;
    bottom: auto;
}

#ip-about .parallax-text-holder:last-of-type .parallax-text h2 {
    -webkit-text-stroke-color: #dde1e5;
}



.ip-about-content p:not(:last-child) {
    margin-bottom: 1.563vw;
}


.ip-about-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5.625vw;
    height: 53.245%;
    pointer-events: none;
    z-index: 5;
}

.ip-about-col:first-child {
    padding: 0 5.438vw 3.125vw 3.125vw;
    width: 57.3%;
}

.ip-about-agent-container {
    display: block;
    position: relative;
    margin-right: calc((100vw - 88.625vw)/ -2);
    margin-bottom: 4.938vw;
    z-index: 1;
}

.ip-about-agent-container img {
    display: block;
    width: 100%;
    height: 100%;
}

.ip-about-col:last-child {
    width: 42.7%;
}

.ip-about-agent-container:before {
    position: absolute;
    content: '';
    top: 100%;
    right: 0;
    width: calc(100% - 5.875vw);
    height: 4.938vw;
    background: #06274b;
    z-index: -1;
}

.ip-about-agent-container:after {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 37.147%;
    width: 5.875vw;
    background: rgba(255,255,255,0.85);
    z-index: 4;
    content: '';
}

.ip-about-container .parallax-title-accent {
    padding-top: 6.25vw;
}

.ip-about-content-container .global-title span {
    font-family: var(--jost);
    font-size: 1.5vw;
    line-height: 1;
    letter-spacing: 0.020em;
    color: #06274b;
    text-transform: uppercase;
    display: block;
    margin-top: 0.5vw;
}


.ip-about-cta-bg canvas {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../images/communities/comm-bg.jpg);
    display: block;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.08;
}

.ip-about-cta-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ip-about-cta-container {
    display: block;
    position: relative;
    padding-bottom: 3.75vw;
}

.ip-about-cta-wrapper {
    display: block;
    position: relative;
}

.ip-about-cta-wrapper .custom-container {
    padding: 0;
}

.ip-about-cta-main {
    display: block;
    position: relative;
}

.ip-about-cta-row {
    display: block;
    position: relative;
}

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

.ip-about-cta-content {
    display: block;
    position: relative;
}

.ip-about-cta-content p {
    font-family: var(--roboto);
    font-size: 1vw;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.020em;
    color: #000000;
}

.ip-about-cta-content p:not(:last-child) {
    margin-bottom: 1.25vw;
}


.ip-about-cta-col:first-child {
    padding: 3.125vw 3.375vw 5vw 8.875vw;
    margin-bottom: 5.125vw;
    width: 52.559%;
}

.global-btn {
    margin-left: auto;
    max-width: 100%;
}

.ip-about-cta-btn {
    display: block;
    width: 100%;
    max-width: 21.875vw;
    z-index: 5;
}

.ip-about-cta-btn:not(:last-child) {
    margin-bottom: 0.438vw;
}

.ip-about-cta-col:last-child {
    padding: 6.438vw 4.063vw 3.188vw;
    width: 47.441%;
}

.ip-about-cta-main-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16.25vw;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.ip-about-cta-main-bg canvas {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../images/communities/comm-bg.jpg);
    display: block;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.15;
}

.ip-about-cta-col:first-child:before {
        position: absolute;
        content: '';
        top: 100%;
        left: 0;
        width: calc(100% - 5vw);
        height: 5.125vw;
        background: #06274b;
        z-index: -1;
}



.ip-about-cta-main-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: calc(100% - 5.875vw);
    height: calc(100% - 5.25vw);
    background: #fff;
    z-index: 2;
}

.global-btn.is-blue {
    background: #fff;
    border-color: #06274b;
    color: #06274b;
    text-align: center;
}

.global-btn:hover {
    background: #092244!important;
    color: #fff!important;
    border-color: #092244!important;
}

em.ai-icon-logo-sm {
    background-image: url(../../images/logo-sm-b.png);
    margin-right: 1.4375vw;
}

.global-btn:hover em.ai-icon-logo-sm {
    background-image: url(../../images/logo-sm.png)!important;
}

.ip-fon-bg canvas {
    display: block;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    background-image: url(../../images/ivan-estrada/fon-bg.png);
    opacity: 0.06;
}

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

.ip-fon-container {
    display: block;
    position: relative;
    padding-bottom: 7.313vw;
    margin-top: 6.938vw;
    /*margin-bottom: 9.375vw;*/
}

.ip-fon-wrapper {
    display: block;
    position: relative;
    z-index: 2;
}

.ip-fon-main {
    display: block;
    position: relative;
    padding: 0 1.875vw 3.75vw;
    width: 100%;
    max-width: 71.375vw;
    margin: 0 auto;
    background: #fff;
}

.ip-fon-logos {
    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;
}

.ip-fon-logo {
    display: inline-block;
    vertical-align: middle;
    margin-right: 2.25vw;
}

.ip-fon-logo img {
    width: auto;
    max-width: 100%;
}

.ip-fon-logo:last-child {
    margin-right: 0;
}

.ip-fon-main .global-title {
    text-align: center;
    margin-bottom: 3.75vw;
}

.ip-fon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #00366a;
}



.ip-fon-bg-lines {
    position: absolute;
    content: '';
    top: 0;
    width: 100%;
    height: calc(100% + 9.375vw);
    max-width: 43.778%;
    border-left: 1px solid rgba(8,48,93,.08);
    border-right: 1px solid rgba(8,48,93,.08);
    z-index: 1;
    pointer-events: none;
    right: 11.3%;
    z-index: 1;
}

img.alignright {
    float: right;
    margin: 10px 0 2% 2%;
}

img.alignright2 {
    display: none;
}


/*******************************************************
 *
 * 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) {

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    
    .ip-about-row {
        margin: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }

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

    .ip-about-content-container .global-title h2 {
        font-size: 50px;
    }

    .ip-about-content-container {
        text-align: center;
    }

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

    .ip-about-content p {
        font-size: 14px;
    }

    .ip-about-content {
        margin-top: 40px;
        text-align: center;
        margin-bottom: 40px;
    }

    .ip-about-content-container .global-title span {
        font-size: 15px;
        margin-top: 5px;
    }

    .ip-about-agent-container {
        margin-right: 0;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 40px;
    }

    .ip-about-agent-container:after,
    .ip-about-agent-container:before {
        height: 30px;
        width: calc(100% - 30px);
        display: none;
    }

    .custom-container {
        padding: 0 50px 0;
    }

    .ip-about-elines {
        display: none;
    }

    .ip-about-lines {
        left: 0;
        right: 0;
        max-width: 80%;
        display: none;
    }

    .ip-about-lines:before, .ip-about-lines:after {
        width: 1px;
        height: 72%!important;
    }

    .ip-about-col:first-child {
        padding: 0;
    }

    .ip-about-container .parallax-title-accent {
        padding-top: 0;
    }

    .ip-about-cta-col {
        display: block;
        width: 100%!important;
    }
    
    .ip-about-cta-lines,
    .ip-about-cta-main-bg {
        display: none;
    }

    .ip-about-cta-container {
        padding-bottom: 0;
    }

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

    .ip-about-cta-content p {
        font-size: 14px;
    }

    .ip-about-cta-btn {
        max-width: 350px;
        margin: 0 auto;
    }

    .ip-about-cta-btn:not(:last-child) {
        margin-bottom: 8px;
    }

    .ip-about-cta-col:first-child {
        padding: 50px 50px;
        text-align: center;
        margin-bottom: 50px;
    }

    .ip-about-cta-col:first-child:before {
        width: 100%;
        height: 50px;
    }

    .ip-fon-main {
        max-width: 580px;
        width: calc(100% - 30px);
        padding: 0 15px 15px;
    }

    .ip-fon-logo {
        margin-right: 0;
        width: calc(100% / 2);
        padding: 15px;
    }

    .ip-fon-logos {
        display: block;
        text-align: center;
    }

    .ip-fon-bg-lines {
        display: none;
    }

    .ip-fon-container {
        margin: 0 0 50px;
    }

    .ip-about-cta-col:last-child {
        padding: 80px 15px;
    }

    .ip-banner:after {
        display: none;
    }

    .ip-fon-main .global-title {
        margin-bottom: 40px;
    }

    .ip-about-bg {
        width: 40px;
        height: 30%;
    }

    img.alignright {
        display: none;
    }

    img.alignright2 {
        display: block;
        margin: 20px auto 0;
    }
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    


}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
    .ip-fon-logo {
        display: block;
        padding: 0;
        margin: 0 auto;
        width: 100%;
    }

    .ip-fon-logo:not(:last-child) {
        margin-bottom: 20px;
    }

    .custom-container {
        padding: 0 30px 0;
    }

    .ip-about-content-container .global-title h2 {
        font-size: 45px;
    }

    .ip-about-cta-col:first-child {
        padding: 50px 30px;
    }

    .ip-about-bg {
        width: 20px;
        height: 30%;
    }
}
 