@media only screen and (max-width: 959px) {
    /* Add border-box so padding does not cause overflow */
    .iphorm-outer, .iphorm-outer *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }
    /* Groups columns become stacked */
    .iphorm-group-row > .iphorm-element-wrap, .iphorm-group-row > .iphorm-group-wrap {
        float: none;
        width: 100% !important;
        display: block;
    }
    /* Elements become full width */
    .iphorm-elements .iphorm-element-wrap-text input, .iphorm-elements .iphorm-element-wrap-captcha input, .iphorm-elements .iphorm-element-wrap-password input, .iphorm-elements .iphorm-element-wrap select, .iphorm-elements .iphorm-element-wrap textarea {
        width: 100%;
        min-width: 100px;
    }
    .iphorm-errors > .iphorm-error {
        float: none;
        display: block;
    }
    /* There is no elements to the right so no need for this padding */
    .iphorm-element-spacer {
        padding-right: 0 !important;
    }
}
 
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (max-width: 767px) {
    /* Button is larger for easy clicking on small devices. */
    .iphorm-submit-input-wrap {
        width: 100%;
    }
    .iphorm-submit-wrap button {
        margin: 0; 
        width: 100%;
    }
    .iphorm-submit-wrap button span, .iphorm-submit-wrap button em {
        height: 35px; 
        line-height: 35px;
    }
    /* There is not enough room for left labels - so move them above */
    .iphorm-labels-left > .iphorm-element-spacer > label {
        float: none;
        width: auto;
    }
    .iphorm-labels-left.iphorm-element-wrap .iphorm-input-outer-wrap, .iphorm-labels-left.iphorm-element-wrap .iphorm-input-wrap, .iphorm-labels-left.iphorm-element-wrap .iphorm-captcha-image-wrap {
        margin-left: 0;
        padding-left: 0;
    }
}