/****************************
 * Gravity Form
****************************/
.twc-gforms {
    margin-top:calc(var(--twc-spacing-45) - var(--twc-spacing-default));
}
.twc-gforms__wrapper {
    padding:0 var(--twc-gap-container);
}
.twc-gforms__inner {
    max-width:1280px; padding:var(--twc-spacing-75) 0;
    border-radius:10px; background:var(--twc-color-light-blue);
}
.twc-gforms__inner:before {
    content:""; display:block; z-index:2;
    width:90px; height:130px; background:var(--twc-color-primary);
    clip-path:polygon(0 0, 100% 33.33%, 100% 100%, 0 66.67%);
    position:absolute; right:-45px; bottom:60px;
}

/* Form */
body .twc-gforms .gform_wrapper {margin-bottom:0;}
.twc-gforms .gform_wrapper input[type="checkbox"] + label:before,
.twc-gforms .gform_wrapper input[type="radio"] + label:before {background:#fff;}

@media only screen and (min-width:769px) {
    /* Form */
    .twc-gforms__form {width:66.5%; padding:0 var(--twc-gap-container) 0 calc((1280px - var(--twc-container)) / 2);}
    body .twc-gforms .gform_wrapper {max-width:632px;}

    /* Image */
    .twc-gforms__image {width:33.5%;}
    .twc-gforms__image img {border-radius:0 10px 10px 0;}
}

/* Contact info */
#contact-page {position:relative;}
#contact-page:before {
    display:block;
    width:var(--twc-100vw); height:calc(100% - var(--twc-spacing-60) - var(--twc-spacing-130)); background:#fbfbfb;
    position:absolute; bottom:0; left:50%; transform:translateX(-50%);
}
#contact-info a:not([class*="btn_"]) {
    --twc-color-permalink:var(--twc-color-text);
    --twc-color-permalink-highlight:var(--twc-color-primary);
    font-weight:400; text-decoration:none;
}

/****************************
 * Gravity Form Responsive
****************************/
@media only screen and (max-width:1439px) {
    .twc-gforms__inner:before {width:70px; height:120px; right:-35px;}
}
@media only screen and (max-width:1360px) {
    .twc-gforms__inner {max-width:calc(var(--twc-container) + 2 * var(--twc-gap-container));}
    .twc-gforms__form {padding-left:var(--twc-gap-container);}
}
@media only screen and (max-width:1024px) {
    .twc-gforms__inner:before {
        width:60px; height:80px; right:-20px;
    }
}
@media only screen and (max-width:768px) {
    .twc-gforms__inner {padding-bottom:0;}
    .twc-gforms__image {position:static; aspect-ratio:16/9;}
    .twc-gforms__image img {border-radius:0 0 10px 10px;}
    .twc-gforms__form {padding-right:var(--twc-gap-container); margin-bottom:45px;}

}