/** hubspot styles **/

form.hs-form.stacked  {
	padding: 0 !important;
}

form.hs-form.stacked fieldset {
	border: 0 none;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: 100%;
	padding-bottom: 10px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

form.hs-form fieldset .input input {
  margin-bottom: 0;
}

form.hs-form select.hs-input {
  margin-bottom: 10px;
}

form.hs-form.stacked label {
  display: block;
  float: none;
  font-weight: bold;
  line-height: 17px;
  margin-bottom: 0px;
  padding-top: 0;
  text-align: left;
  width: auto;
}

form.hs-form fieldset .hs-input[type="email"],
form.hs-form fieldset .hs-input[type="tel"],
form.hs-form fieldset .hs-input[type="text"]  {
	height: 35px;
	margin-top: 0;
	box-sizing: border-box;
	max-width: 100% !important;
	width: 100% !important;
}


form.hs-form fieldset textarea.hs-input  {
	margin-top: 0;
	box-sizing: border-box;
	max-width: 100% !important;
	width: 100% !important;
	margin-bottom: 0;
}



form.hs-form fieldset select.hs-input {
  height: 35px;
  max-width: 100%;
  width: 100%;
}

form.hs-form fieldset.form-columns-1 .hs-input {
  width: 100%; 
  margin-right: 0;
}

form.hs-form fieldset.form-columns-2 .hs-input {
  width: 100%; 
  margin-right: 0;
}

form.hs-form fieldset.form-columns-2 .field:first-child input {
  margin-right: 10px;
}


.hs-form.stacked .inputs-list {
    margin-bottom: 0;
}
.hs-form .inputs-list:first-child {
    padding-top: 6px;
}
.hs-form .inputs-list {
    list-style: outside none none;
    padding-left: 5px;
}
.hs-form .inputs-list {
    margin: 0 0 5px;
    width: 100%;
}
.hs-form ul {
    list-style: outside none none;
}

form.hs-form.stacked .field {
  margin-bottom: 10px;
}

.hs-form fieldset.form-columns-1 input[type="checkbox"],
.hs-form fieldset.form-columns-1 input[type="radio"] {
  width: auto;
  margin-right: 10px !important;
}

form.hs-form.stacked .hs_submit {
  margin: 0px;
}

form.hs-form.stacked .actions {
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	border-radius: 0 0 3px 3px;
	border-top: medium none;
	margin-bottom: 18px;
	margin-top: 0 !important;
	padding: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

ul.hs-error-msgs {
padding: 0;
margin: 5px 0 0 0;
}

ul.hs-error-msgs.inputs-list label {
  color: red;
}

// padding for form elements

.form-pad {
  margin: 0 3px 0 15px;
}

.form-pad:last-child {
margin-bottom: 15px;
}


/* newsletter */

.newsletter form.hs-form {
  margin-bottom: 5px !important;
  margin-top: 10px !important;
}

.newsletter form.hs-form .hs_submit {
  margin: 0;
}

.newsletter form.hs-form input[type="email"],
.newsletter form.hs-form input[type="text"] {
  border: 1px solid #bbbbbb;
  border-radius: 0;
  display: inline-block;
  line-height: 1.2em;
  margin: 0px;
  padding: 5px 10px;
  width: 100%;
}

.newsletter .button {
  margin: 0;
}

/* modals */

.download form.hs-form fieldset .hs-input[type="email"],
.download form.hs-form fieldset .hs-input[type="tel"],
.download form.hs-form fieldset .hs-input[type="text"],
.download .hs-form textarea.hs-input {
  box-sizing: border-box !important;
  height: 35px !important;
  margin: 0 0 5px !important;
  max-width: 100% !important;
  padding: 6px !important;
  width: 100% !important;
}

.row-contact form.hs-form fieldset .hs-input[type="email"],
.row-contact form.hs-form fieldset .hs-input[type="tel"],
.row-contact form.hs-form fieldset .hs-input[type="text"],
.row-contact .hs-form textarea.hs-input {
  box-sizing: border-box !important;
  height: 35px !important;
  margin: 0 0 5px !important;
  max-width: 100% !important;
  padding: 6px !important;
  width: 100% !important;
}

.row-contact form.hs-form label {
  color: #ffffff;
}