/*********

<div id="information_container">
	<div class="information_box1">
		<a><img alt="" src="/sites/default/files/service.jpg" style="width: 110px; height: 110px; margin-right: 20px; margin-left: 20px; float: left;" /></a></div>
	<div class="information_box2">
		<p>Per richiedere informazioni, compila il modulo in basso.</p>
		<p>I campi (*) sono obbligatori</p>
	</div>
	<div class="information_clear">
		&nbsp;</div>
</div>
<div style="clear:both;margin-bottom:30px">
	&nbsp;</div>
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]--><script id="hspz8" charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script><script>
  hbspt.forms.create({
        portalId: "6762242",
        formId: "0d7f5168-e80e-4aab-857b-7bbf93500221"
});

  function waitForEl(selector, callback){
    var poller1 = setInterval(function(){
      if(typeof jQuery != "undefined"){

        $jObject = jQuery(selector);
        if($jObject.length < 1){
          return;
        }
        clearInterval(poller1);
        callback($jObject)
      }
    },250);
  }

  waitForEl(".legal-consent-container a", function(){
   jQuery(".legal-consent-container a").click(function(event) {
   event.preventDefault();
   jQuery("a[data-popup='#privacy-policy-hp']").trigger("click");
  });

  waitForEl("div.hbspt-form div.submitted-message p", function(){
   jQuery("#information_container").hide();
  });
}

)
</script>

 ***********/

.hs-form-field{margin-bottom:15px}

.hs-form .hs-input{
  width: 100% !important;
  border-radius: 4px !important;
}

select.hs-input{
  background: #f5f7f8;
  height: 40px;
  padding: 9px 10px;
  color: #696e6e;
  border: 2px solid #e4e4e2;
  outline: none;
  resize: none;
  width: 100%;
}
textarea.hs-input{
  height: 160px;
}
.hs-form-field label {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: bold;
}
.hs-form-required{color:#f00;margin-left:4px}

.hs-button.primary{
  box-shadow: 0 2px 0 #bdc3c7;
  transition: all 0.4s ease 0s;
  padding: 8px 15px;
  background: #e2e6e7 none repeat scroll 0 0;
  color: #292f38;
  border-radius: 4px;
}


input.hs-input[type="checkbox"] + span{
  cursor: pointer;
  display: inline-block;
  position: relative;
  margin-bottom: 8px;
}
input.hs-input[type="checkbox"] + span:before
{
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
  width: 22px;
  height: 22px;
  background: url(/sites/all/themes/flatastic/images/checkbox.png) no-repeat;
}


input.hs-input[type="checkbox"]:checked + span:after {
  display: block;
}
input.hs-input[type="checkbox"] + span:after {
  content: "\f00c";
  font-family: FontAwesome;
  line-height: 32px;
  top: 0;
  font-size: .85em;
  position: absolute;
  left: 3px;
  color: #292f38;
  display: none;
}


.legal-consent-container ul.inputs-list{
  margin-left:0px!important;
}

.legal-consent-container ul.inputs-list{
  margin-left:0px!important;
}

.legal-consent-container ul.inputs-list label>span{
  margin-left:0px!important;
}

.legal-consent-container li.hs-form-booleancheckbox{
  list-style-type: none;
}

ul.no-list.hs-error-msgs, .hs-form-field label.hs-error-msg{color:red!important;margin-left:0px!important;list-style: none!important;
  font-size: 15px!important;font-weight: bold!important;
}


div.hbspt-form div.submitted-message p{
  font-size:20px;
  font-weight: 700;
}
