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

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

.ip-container #scroll-down {
    display: block;
}

.ip-container #scroll-down.nav-active-section-ip-banner {
   top: 30vh;
}

.ip-container .fn-container {
    margin-top: -98px;
    padding-top: 225px;
}

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

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

/* Section 1 */
.ip-cf-form-container, .ip-cf-main, .ip-cf-row, .ip-cf-img, .ip-cf-form-main, .ip-cf-form-caption, .ip-cf-form-widget, .ip-cf-form-widget form {
    display: block;
    position: relative;
}

.ip-cf-bg:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    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%);
}

.ip-cf-bg:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    pointer-events: none;
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)),to(rgba(255,255,255,1)));
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    opacity: 0;
}

.ip-cf-bg canvas {
    background-position: bottom center;
}

.ip-cf-main {
    z-index: 5;
}

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

.ip-cf-col:first-child {
    width: 37.903%;
}

.ip-cf-col:last-child {
    width: 62.097%;
}

.ip-cf-img img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.ip-cf-monogram-logo {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    right: -77px;
    z-index: 5;
    width: 154px;
    height: 154px;
    border-radius: 50%;
    background-color: var( --secondary-color);
}

.ip-cf-monogram-logo :before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8px solid #fff;
    border-radius: 50%;
    margin: -8px;
}

.ip-cf-monogram-logo a {
    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;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ip-cf-monogram-logo a img {
    max-width: 100%;
    height: auto;
}

.ip-cf-form-caption p {
    font-size: 18px;
    line-height: 1.778;
    letter-spacing: 0.050em;
    color: #222222;
    font-weight: 700;
}

.ip-cf-form-main {
    padding: 0 218px 50px 150px;
}

.ip-cf-form-container {
    padding: 113px 0 109px;
}

.ip-cf-form-caption {
    margin: 40px 0 25px;
}

.ip-cf-form-field {
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - 7px);
    position: relative;
    margin-bottom: 13px;
}

.ip-cf-form-field.form-submit {
    margin-bottom: 0;
}

.ip-cf-form-field.disclaimer, .ip-cf-form-field.form-submit, .ip-cf-form-field.full {
    display: block;
    width: 100%;
}

.ip-cf-form-field input:not([type=submit]), .ip-cf-form-field textarea {
    width: 100%;
    height: 57px;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 0 20px;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0.025em;
    color: #8e8e8e;
}

.ip-cf-form-field textarea {
    height: 107px;
    resize: none;
    padding: 20px;
}

.ip-cf-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    position: relative;
}

.ip-cf-form-field.form-submit button {
    width: 140px;
    color: #fff;
}

.ip-cf-form-field.disclaimer {
    margin: 18px 0 25px;
}

.ip-cf-form-field.disclaimer p {
    font-size: 12px;
    line-height: 1.667;
    letter-spacing: 0.050em;
    color: #222222;
}

.ip-cf-form-widget .wpcf7-spinner {
    left: 0;
    right: auto;
}

/* Call to Action */
.ip-cf-cta-container, .ip-cf-cta-main, .ip-cf-cta-item a {
    display: block;
    position: relative;
}

.ip-cf-cta-container {
    padding: 113px 0 0;
    z-index: 8;
}

.ip-cf-cta-container > .custom-container {
    max-width: 1325px;
}

.ip-cf-cta-main {
    margin: 0 -8px;
}

.ip-cf-cta-item {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% / 2);
    position: relative;
    padding: 0 8px;
}

.ip-cf-cta-logo img {
    max-width: 100%;
    height: auto;
    opacity: 0.30;
}

.ip-cf-cta-logo {
    position: absolute;
    bottom: 0;
    right: 10px;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.ip-cf-cta-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 20px 25px;
    z-index: 5;
}

.ip-cf-cta-title h2 {
    padding-left: 20px;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    position: relative;
}

.ip-cf-cta-title h2 span {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.050em;
    color: #fff;
    font-weight: 300;
    text-transform: uppercase;
    display: block;
    margin-top: 0;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    height: 0;
    visibility: hidden;
    opacity: 0;
}

.ip-cf-cta-title h2 em.ai-line {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 1px;
    height: 100vh;
    background-color: #fff;
}

.ip-cf-cta-item a {
    overflow: hidden;
}

.ip-cf-cta-title h2 em.ai-line:before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 3px;
    height: 19px;
    background-color: var(--secondary-color);
    -webkit-transition: all var(--default-transition);
    -o-transition: all var(--default-transition);
    transition: all var(--default-transition);
}

.ip-cf-cta-img img {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    /* -webkit-transform: translateY(15px) scale(1.15);
    -ms-transform: translateY(15px) scale(1.15);
    transform: translateY(15px) scale(1.15); */
    -o-object-position: top center;
    object-position: top center;
}

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

.ip-cf-cta-item a:hover .ip-cf-cta-logo {
    opacity: 1;
    visibility: visible;
}

.ip-cf-cta-item a:hover .ip-cf-cta-img img {
    -webkit-filter: none;
    filter: none;
    /* -webkit-transform: translateY(0) scale(1.15);
    -ms-transform: translateY(0) scale(1.15);
    transform: translateY(0) scale(1.15); */
}

.ip-cf-cta-item a:hover .ip-cf-cta-title h2 em.ai-line:before {
    /* height: 40px; */
}

.ip-cf-cta-item a:hover .ip-cf-cta-title h2 span {
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    height: 14px;
}

.ip-cf-cta-item a:hover .ip-cf-cta-logo {
    bottom: 20px;
}

.ip-cf-form-widget .wpcf7 form .wpcf7-response-output {
   color: #fff!important;
}

.ip-cf-form-widget .wpcf7 form .wpcf7-response-output {
    bottom: -39px;
}


/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
    .ip-container .fn-container {
        margin-top: -6.125vw;
        padding-top: 14.063vw;
    }

    /* Section 1 */
    .ip-cf-img img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }

    .ip-cf-monogram-logo {
        right: -4.813vw;
        width: 9.625vw;
        height: 9.625vw;
    }

    .ip-cf-monogram-logo :before {
        border: 0.500vw solid #fff;
        margin: -0.500vw;
    }

    .ip-cf-monogram-logo a img {
        width: 5.375vw;
        height: 3.688vw;
    }

    .ip-cf-form-caption p {
        font-size: 1.125vw;
        width: 80%;
    }

    .ip-cf-form-main {
        padding: 0 13.625vw 3.125vw 9.375vw;
    }

    .ip-cf-form-container {
        padding: 7.062vw 0 6.813vw;
    }

    .ip-cf-form-caption {
        margin: 2.500vw 0 1.563vw;
    }

    .ip-cf-form-field {
        width: calc(50% - 0.438vw);
        margin-bottom: 0.813vw;
    }

    .ip-cf-form-field input:not([type=submit]), .ip-cf-form-field textarea {
        height: 3.562vw;
        padding: 0 1.250vw;
        font-size: 1vw;
    }

    .ip-cf-form-field textarea {
        height: 6.688vw;
        padding: 1.250vw;
    }

    .ip-cf-form-field.form-submit button {
        width: 8.750vw;
    }

    .ip-cf-form-field.disclaimer {
        margin: 1.125vw 0 1.563vw;
    }

    .ip-cf-form-field.disclaimer p {
        font-size: 0.750vw;
    }

    /* Call to Action */
    .ip-cf-cta-container {
        padding: 7.062vw 0 0;
    }

    .ip-cf-cta-container > .custom-container {
        max-width: 82.813vw;
    }

    .ip-cf-cta-main {
        margin: 0 -0.500vw;
    }

    .ip-cf-cta-item {
        padding: 0 0.500vw;
    }

    .ip-cf-cta-logo img {
        width: 8.125vw;
        height: 4.563vw;
    }

    .ip-cf-cta-logo {
        right: 0.625vw;
    }

    .ip-cf-cta-title {
        padding: 0 1.250vw 1.563vw;
    }

    .ip-cf-cta-title h2 {
        padding-left: 1.250vw;
        font-size: 1.875vw;
    }

    .ip-cf-cta-title h2 span {
        font-size: 0.875vw;
    }

    .ip-cf-cta-title h2 em.ai-line {
        bottom: 0.125vw;
    }

    .ip-cf-cta-item a {
        overflow: hidden;
    }

    .ip-cf-cta-title h2 em.ai-line:before {
        width: 0.188vw;
        height: 1.188vw;
    }

    .ip-cf-cta-item a:hover .ip-cf-cta-title h2 em.ai-line:before {
        /* height: 2.500vw; */
    }

    .ip-cf-cta-item a:hover .ip-cf-cta-title h2 span {
        margin-top: 0.500vw;
        height: 0.875vw;
    }

    .ip-cf-cta-item a:hover .ip-cf-cta-logo {
        bottom: 1.250vw;
    }

    .ip-cf-form-widget .wpcf7 form .wpcf7-response-output {
        bottom: -2.438vw;
    }
    
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
    .ip-cf-form-field.form-submit button {
        position: relative;
        /* top: 30px; */
    }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
    .ip-cf-form-field.form-submit button {        
        top: 0;
    }       
    .ip-cf-col {
        display: block;
        width: 100%!important;
    }

    .ip-cf-monogram-logo {
        display: none;
    }

    .ip-cf-form-main {
        padding: 30px 15px 0;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .ip-cf-img {
        padding: 15px;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .ip-container #scroll-down {
        display: none;
    }

    .ip-cf-form-caption p {
        font-size: 15px;
        line-height: 1.7;
    }

    .ip-cf-form-caption {
        margin: 20px 0;
    }

    .ip-cf-form-container {
        padding: 0 0 60px;
    }

    .ip-cf-bg canvas {
        opacity: .50;
    }

    .ip-cf-cta-container {
        padding: 50px 0;
    }

    .ip-container .fn-container {
        margin-top: 0;
        padding-top: 0;
    }

    .ip-cf-cta-main {
        margin: 0;
    }

    .ip-cf-cta-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: block;
        padding: 0;
    }

    .ip-cf-cta-item:not(:last-child) {
        margin-bottom: 10px;
    }

    .ip-cf-cta-title {
        padding: 0 15px 15px;
    }

    .ip-cf-cta-title h2 {
        padding-left: 15px;
        font-size: 24px;
    }

    .ip-cf-cta-title h2 span {
        font-size: 13px;
    }

    .ip-cf-cta-item a:hover .ip-cf-cta-title h2 span {
        height: 13px;
    }

    .ip-cf-cta-item a:hover .ip-cf-cta-logo {
        bottom: 15px;
    }

    .ip-cf-form-field input:not([type=submit]), .ip-cf-form-field textarea {
        height: 55px;
        padding: 0 10px;
        font-size: 14px;
    }

    .ip-cf-form-field textarea {
        height: 100px;
        padding: 15px;
    }

    .ip-cf-form-field {
        margin-bottom: 10px;
        width: calc(50% - 5px);
    }

    .ip-cf-img img {
        height: 300px;
        -o-object-fit: cover;
           object-fit: cover;
    }

    .ip-cf-cta-img img {
        -webkit-transform: translateY(10px) scale(1.15);
            -ms-transform: translateY(10px) scale(1.15);
                transform: translateY(10px) scale(1.15);
    }

    .ip-cf-form-field.form-submit button {
       color: var(--secondary-color);
   }
   
   .ip-cf-form-field.form-submit button:hover, .ip-cf-form-field.form-submit button:focus {
       color: #fff;
   }

/*    .ip-cf-form-widget .wpcf7 form .wpcf7-response-output {
       color: #000!important;
   }*/

   .ip-cf-form-main .wpcf7 form .wpcf7-response-output {
        bottom: -40px;
        background: #fff;
        color: #000 !important;
    }   
}

/* 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-cf-form-widget .wpcf7 form .wpcf7-response-output {
    font-size: 9px;
}
}