body.page-template-template-solutions .header .logo, 
body.page-template-template-redflagsolutions .header .logo,
body.page-template-template-products .header .logo, 
body.page-template-template-products-sub .header .logo,
body.page-template-template-redflag .header .logo {margin:20px 0 0;}
body.page-template-template-solutions .header .navbar-default, 
body.page-template-template-redflagsolutions .header .navbar-default, 
body.page-template-template-products .header .navbar-default, 
body.page-template-template-products-sub .header .navbar-default,
body.page-template-template-redflag .header .navbar-default {margin-top:20px;}

/* Hero Form */
body .custom_hub_hero_header {background-color: #ffffff; padding: 25px 40px; margin: 70px auto 0; box-shadow: 0px 0px 17px rgba(215,215,215,0.5); max-width: 950px;}
body.page-template-template-redflag .custom_hub_hero_header {background: none; padding: 0; box-shadow: none; margin: 20px 0 0;}
body .custom_hub_hero_header .custom_hub_form {max-width: 750px; margin: 0 auto; min-height: 262px;}
body.page-template-template-redflag .custom_hub_hero_header .custom_hub_form {min-height: initial !important;}
body .custom_hub_hero_header fieldset.form-columns-2 + .form-columns-2 + .form-columns-2 + .form-columns-2 + .form-columns-2 {display: none;}
body .custom_hub_hero_header h3 {text-align:center; margin-top: 0; margin-bottom: 30px; color: #58595b;}

@media (max-width: 767px) {
  body .custom_hub_hero_header {margin-top: 0;}
  body .custom_hub_hero_header .custom_hub_form {min-height: 412px;}
}

/* Fieldsets */
body .custom_hubspot_container fieldset {margin-bottom: 10px !important; position:relative;}
body .custom_hubspot_container fieldset .hs-form-field .input{margin-right: 0;}
body .custom_hubspot_container fieldset .hs-form-field {width: calc(50% - 10px); margin: 0 5px;}
body .custom_hubspot_container fieldset {max-width: 100%;}
body .custom_hubspot_container fieldset .field label span.hs-form-required {color: red;}

/* Inputs */
body .custom_hubspot_container .hs-form input {width: 100%; height: 40px !important; border: 1px solid #007bff; border-radius: 5px; box-shadow: none; background-color: #ffffff; color: #58585B; font-size: 16px !important; max-width: 100% !important; padding: 0 10px !important;}
body.page-template-template-redflag body .custom_hubspot_container .hs-form input {border-color: #c0c0c0;}
body .custom_hubspot_container .hs-form input::-webkit-input-placeholder {color: #58585B;}
body .custom_hubspot_container .hs-form input::-moz-placeholder {color: #58585B;}
body .custom_hubspot_container .hs-form input:-ms-input-placeholder {color: #58585B;}
body .custom_hubspot_container .hs-form input:-moz-placeholder {color: #58585B;}

body .site-container .custom_hubspot_container ul.inputs-list {list-style: none; position: absolute; font-size: 12px; color: #f7f7f7;width: 47%;}
body .site-container .custom_hubspot_container ul.inputs-list.hs-error-msgs {position: static; width: 100%;}
body .site-container .custom_hubspot_container ul.inputs-list.hs-error-msgs label.hs-error-msg {color: red;}

/* Submit */
body .custom_hubspot_container .hs-form .hs_submit {margin-top: -30px;}
body .custom_hubspot_container .hs-form .hs_submit .actions{text-align:center; margin-top: 62px;}
body.page-template-template-redflag .custom_hubspot_container .hs-form .hs_submit .actions {margin-top: 30px;}
body .custom_hubspot_container .hs-form .hs_submit input {width: 100% !important; background-color: #e51937 !important; border-radius: 50px; text-align: center; color: #ffffff; display: block; font-size: 18px; text-transform: none; margin: 25px auto 0; max-width: 220px !important; border: none; padding: 10px; font-weight: bold; box-shadow: none !important; border: none !important; background-image: none !important; text-shadow: none !important; line-height: 22px !important; height: 40px !important;} 
body.page-template-template-redflag .custom_hubspot_container .hs-form .hs_submit input {margin: 0;}
body .custom_hubspot_container .hs-form .hs_submit input:hover {background-color: #004691 !important;}

/* HubSpot */
body .custom_hubspot_container .hs_error_rollup .hs-error-msgs ul.inputs-list{bottom:42px;}
body .custom_hubspot_container .hs-form .hs-form-field > label {font-size:13px; display:none;}
body.custom_hubspot_container:last-child .hs_error_rollup{bottom: 70px; position: absolute; 
  width: 100%; text-align: center;}
body .custom_hubspot_container:last-child .hs_error_rollup ul{width: 91%;}
body .custom_hubspot_container .hs-form select.hs-input {width: 100%; height: 40px !important; border: 1px solid #007bff; border-radius: 5px; box-shadow: none; background-color: #ffffff; color: #58585B; font-size: 16px !important; max-width: 100% !important;}
body.page-template-template-solutions .site-container .custom_hubspot_container fieldset .hs-form-field, 
body.page-template-template-redflagsolutions .site-container .custom_hubspot_container fieldset .hs-form-field, 
body.page-template-template-products .site-container .custom_hubspot_container fieldset .hs-form-field, 
body.page-template-template-products-sub .site-container .custom_hubspot_container fieldset .hs-form-field,
body.page-template-template-redflag .site-container .custom_hubspot_container fieldset .hs-form-field {width:46.3%;}

/* Responsive */
@media only screen and (max-width:1200px) {
  body .custom_hubspot_container .hs-form input,
  body .custom_hubspot_container .hs-form select{width:100%; height:30px !important;}
  body .custom_hubspot_container .hs-form .hs-form-field > label{font-size: 12px; font-weight: 500;}
  body.page-template-template-solutions .site-container .custom_hubspot_container fieldset .hs-form-field, 
  body.page-template-template-redflagsolutions .site-container .custom_hubspot_container fieldset .hs-form-field, 
  body.page-template-template-products .site-container .custom_hubspot_container fieldset .hs-form-field, 
  body.page-template-template-products-sub .site-container .custom_hubspot_container fieldset .hs-form-field.
  body.page-template-template-redflag .site-container .custom_hubspot_container fieldset .hs-form-field {width:46.3%;}
}
 
@media only screen and (max-width:992px) {
  body .page-heading .text-box{width: 100%; text-align:center;}
  body .hub_form_parent h3{text-align:center;padding:8px 0px; /*border-bottom:1px solid #ddd; padding-bottom:10px;*/ }
  body .custom_hubspot_container fieldset {max-width: 100%;}
  body .custom_hubspot_container ul.inputs-list{color:#7c7c7c;}
  body.custom_hubspot_container fieldset .hs-form-field{width:47.8%;}
  body .custom_hubspot_container .hs-form input[type="submit"]{padding: 9px 22px 13px;    width: fit-content;}
}

@media only screen and (max-width:767px) {
  body.page-template-template-solutions .site-container .custom_hubspot_container fieldset .hs-form-field, 
  body.page-template-template-redflagsolutions .site-container .custom_hubspot_container fieldset .hs-form-field, 
  body.page-template-template-products .site-container .custom_hubspot_container fieldset .hs-form-field, 
  body.page-template-template-products-sub .site-container .custom_hubspot_container fieldset .hs-form-field,
  body.page-template-template-redflag .site-container .custom_hubspot_container fieldset .hs-form-field {width:100%; border-radius:5px;}
  body .custom_hubspot_container fieldset {margin-bottom: 0 !important;}
  body .custom_hubspot_container fieldset .hs-form-field {margin-bottom: 10px !important;}
  body .custom_hubspot_container fieldset .hs-form-field .input {margin-right: 0;}
  body .custom_hubspot_container fieldset .hs-form-field .input input {width:100%;}
  body .custom_hubspot_container fieldset .hs-form-field .input select {width:100%;}
  body .custom_hubspot_container .hs-form .hs-form-field > label {font-size: 15px; font-weight: 500;}
  body .site-container .custom_hubspot_container ul.inputs-list {width: 100%;}
  body .custom_hubspot_container:last-child .hs_error_rollup ul {width: 94%;}
  body .custom_hubspot_container .hs-form input[type="submit"] {padding: 9px 22px 13px; width: fit-content;}
}

.custom_hub_form .hs_error_rollup {display:none;}
.custom_hub_form .hs-field-desc {display:none !important;}
.hero_right_img {display:none !important;}
.page-heading .text-box .button {display:none !important;}