.formSuccessMessage {
display:none;
}
.formContainer.mktoFormGoesHere {
display: flex;
justify-content: center;
}
.mktoFormGoesHere form {
width: 700px !important;
}
body .et_pb_bg_layout_light.et_pb_button:hover,body .et_pb_bg_layout_light .et_pb_button:hover,body .et_pb_button:hover {
color: #ffffff!important;
background-color: #E09900;
border-radius: 0px;
}
.mktoForm .mktoFormRow{ float:none !important;}
.mktoForm .mktoFieldWrap {
float: left;
}
.mktoForm h4 {
text-align:center; font-size:24px;font-weight:bold;line-height:24px;
}
.mktoForm {width:100% !important;}
.mktoForm .mktoButtonWrap .mktoButton {
color: #fff;
padding: 0.5em 1em !important;
box-shadow: none !important;
background-image: none !important;
background: #96c63e !important;
border: 2px solid #96c63e !important;
font-size: 20px !important;
text-shadow: none !important;
margin-top:20px !important;
font-weight:normal !important;
}
.mktoHtmlText p, .mktoLabel {
color: white;
}
label#LblIsPartner_user ~ div.mktoCheckboxList > input, label#LblIsPartner_user ~ div.mktoCheckboxList > label {
padding: 2px 8px;
margin: 2px 4px 0 0 !important;
line-height: 20px;
vertical-align: middle;
display: inline-block !important;
float: left;
}
.marketingConsent p {
line-height: 1.4em;
font-size:13px;
}
.mktoForm input[type=checkbox] {
display: inline-block !important;
height:18px;
width:18px;
margin-top: 5px;
}
.mktoForm * {
font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif !important;
}
.mktoForm .mktoAsterix {
float: left !important;
padding: 5px;
left: -5px;
position: relative;
}
.mktoHtmlText p, .mktoLabel {
color: white;
}
.mktoFormGoesHere input, .mktoFormGoesHere select {
width:300px !important;
padding:10px !important;
margin-bottom:10px !important;
border-radius:5px !important;
font-size:16px !important;
}
.mktoFormGoesHere label#Email_Opt_In__c, .mktoFormGoesHere label#IsPartner_user {
float: none !important;
margin-left: 10px;
}
label#LblEmail_Opt_In__c {
float: right;
}
.mktoCheckboxList input[name='Email_Opt_In__c'], .mktoRadioList input[name='IsPartner_user'] {
width: 20px !important;
height: 20px!important;
}
.mktoForm .mktoRadioList > label {
float: left;
margin: 0 10px;
}
@media only screen and (max-width: 480px) {
.mktoFormGoesHere form {
width: 340px !important;
}
.mktoForm input[type=url], .mktoForm input[type=text], .mktoForm input[type=date], .mktoForm input[type=tel], .mktoForm input[type=email], .mktoForm input[type=number] {
height: auto !important;
}
.mktoFieldWrap {min-width:300px;}
}
if (typeof (ENGHOUSE) == "undefined") {
ENGHOUSE = {}
}
E = ENGHOUSE;
// DESTYLE MARKETO FORMS
function destyleMktoForm(mktoForm, moreStyles) {
var formEl = mktoForm.getFormElem()[0],
arrayFrom = Function.prototype.call.bind(Array.prototype.slice);
// remove element styles from and children
var styledEls = arrayFrom(formEl.querySelectorAll("[style]")).concat(formEl);
styledEls.forEach(function (el) {
el.removeAttribute("style");
});
// disable remote stylesheets and local s
var styleSheets = arrayFrom(document.styleSheets);
styleSheets.forEach(function (ss) {
if ([mktoForms2BaseStyle, mktoForms2ThemeStyle].indexOf(ss.ownerNode) != -1 || formEl.contains(ss.ownerNode)) {
ss.disabled = true;
}
});
if (!moreStyles) {
formEl.setAttribute("data-styles-ready", "true");
};
};
jQuery(document).ready(function($){
if (MktoForms2) {
MktoForms2.whenReady(function handleReady(form) {
window.dataLayer.push({
"event": "mkto.form.ready",
"mkto.form.id": form.getId(),
"mkto.form.submittable": form.submittable(),
"mkto.form.allFieldsFilled": form.allFieldsFilled(),
"mkto.form.values": form.getValues()
});
})
}
MktoForms2.loadForm("//info.enghousevideo.com", "547-FBA-390", 10294,
function (form){
// destyle
//destyleMktoForm(form);
// update URL into Source URL
form.vals({ "sourceURL": window.location.origin + window.location.pathname })
form.getFormElem().find('button.mktoButton').addClass('et_pb_button et_pb_promo_button')
if (location.search.indexOf('demo=1') > -1) {
$('#General_Comments__c').val('I am interested in scheduling a demo.\n')
}
var options = {
onSuccess: function (a, b) {
return false,
b ? void 0 : !1
}
}
form.onSuccess(function (values, followUpUrl){
// push to GTM
window.dataLayer.push({
"event": "mkto.form.success",
"mkto.form.values": values,
"mkto.form.followUpUrl": followUpUrl
});
form.getFormElem().hide();
jQuery('.formSuccessMessage').
show()
.fadeIn(1000)
return false;
})
}
)
})