/* 
 * Newsletter Form Styling plus others as HS Evolves
 * Martech Forms are in separate WP Coder
 * This code includes the pop up form on home page. 
 * This code includes the gated content form hidden behind the "Download our Vendor Scorecard' button the Ultimate Guide pages. 
 * This also includes the new HS HCA pop Up form. 
 * */

#popup-form-wrapper,
#gated-form-wrapper {
	width: 275px; 
}
#subscribe-form-wrapper .hbspt-form,
#popup-form-wrapper .hbspt-form,
#gated-form-wrapper .hbspot-form {
	display: flex;
	justify-content: center;	
}

#subscribe-form-wrapper h2 {
	color: #003d31;
	max-width: 895px; 
	margin: auto; 
	margin-bottom: 32px; 
}

#popup-form-wrapper h2 {
	color: #003d31;
	max-width: 895px; 
	margin: auto; 
	margin-bottom: 16px; 
	font-size: 1.75rem;
}

#popup-form-wrapper h5 {
	font-size: 1.1rem; 
}

#subscribe-form-wrapper fieldset,
#popup-form-wrapper fieldset,
#gated-form-wrapper fieldset {
	margin: 20px; 
	width: 295px; 
}

#subscribe-form-wrapper .form-columns-2 .hs-lastname,
#popup-form-wrapper .form-columns-2 .hs-lastname, 
#gated-form-wrapper .form-columns-2 .hs-lastname {
	margin-top: 20px; 
}

#subscribe-form-wrapper fieldset .hs_firstname input,
#subscribe-form-wrapper fieldset .hs_lastname input,
#subscribe-form-wrapper fieldset .hs_email input {
	padding: 10px; 
	border-radius: 20px; 
	color: #071e16; 
	width: 100%; 
}

#popup-form-wrapper fieldset .hs_firstname input,
#popup-form-wrapper fieldset .hs_lastname input,
#popup-form-wrapper fieldset .hs_email input {
	padding: 10px; 
	border-radius: 20px; 
	color: #071e16; 
	width: 100%; 
}

#gated-form-wrapper fieldset .hs_firstname input,
#gated-form-wrapper fieldset .hs_lastname input,
#gated-form-wrapper fieldset .hs_email input,
#gated-form-wrapper fieldset .hs_company input,
#gated-form-wrapper fieldset .hs_how_can_we_help_hca__c textarea {
	padding: 10px; 
	border-radius: 20px; 
	color: #071e16; 
	width: 100%; 
}

#subscribe-form-wrapper .form-columns-2 .hs-form-field {
	float: none !important;
	width: 100% !important;
}

#popup-form-wrapper .form-columns-2 .hs-form-field {
	float: none !important;
	width: 100% !important;
}

#gated-form-wrapper .form-columns-2 .hs-form-field {
	float: none !important;
	width: 100% !important;
}

#subscribe-form-wrapper .form-columns-1 .input,
#subscribe-form-wrapper .form-columns-2 .input {
	margin-right: 0px !important; 
}

#popup-form-wrapper .form-columns-1 .input,
#popup-form-wrapper .form-columns-2 .input {
	margin-right: 0px !important; 
}

#gated-form-wrapper .form-columns-1 .input,
#gated-form-wrapper .form-columns-2 .input {
	margin-right: 0px !important; 
}

#subscribe-form-wrapper input.hs-button.primary.large,
#popup-form-wrapper input.hs-button.primary.large {	
	background-color: #003d31;
	border-radius: 30px;
  padding: 10px 30px;
	margin-bottom: 24px;
  color: #fed448;
	font-weight: 600; 
	justify-content: center; 
}

#gated-form-wrapper input.hs-button.primary.large {	
	background-color: #003d31;
	border-radius: 30px;
  padding: 10px 30px;
	margin-bottom: 24px;
  color: #fff;
	font-weight: 600; 
	justify-content: center; 
}

#subscribe-form-wrapper .hbspt-form .submitted-message,
#popup-form-wrapper .hbspt-form .submitted-message {
	padding-top: 20px; 
}

#gated-form-wrapper .hbspt-form .submitted-message {
	padding-top: 20px; 
	padding-bottom: 20px; 
}

#subscribe-form-wrapper .legal-consent-container ul.inputs-list,
#popup-form-wrapper .legal-consent-container ul.inputs-list,
#gated-form-wrapper .legal-consent-container ul.inputs-list{
	list-style: none !important;
	padding: 0 !important;
}

#subscribe-form-wrapper .legal-consent-container ul.inputs-list .hs-form-booleancheckbox .hs-input {
	margin-top: 3px; 
}

#popup-form-wrapper .legal-consent-container ul.inputs-list .hs-form-booleancheckbox .hs-input {
	margin-top: 3px; 
}

#gated-form-wrapper .legal-consent-container ul.inputs-list .hs-form-booleancheckbox .hs-input {
	margin-top: 3px; 
}

#subscribe-form-wrapper .legal-consent-container ul.inputs-list span {
	text-align: left !important;
	font-size: 14px !important; 
}

#popup-form-wrapper .legal-consent-container ul.inputs-list span {
	text-align: left !important;
	font-size: 14px !important; 
}

#gated-form-wrapper .legal-consent-container ul.inputs-list span {
	text-align: left !important;
	font-size: 14px !important; 
}

#subscribe-form-wrapper .legal-consent-container ul.inputs-list span a {
	color: #003d31; 
	font-weight: 600; 
}
#popup-form-wrapper .legal-consent-container ul.inputs-list span a {
	color: #003d31; 
	font-weight: 600; 
}

#gated-form-wrapper .legal-consent-container ul.inputs-list span a {
	color: #003d31; 
	font-weight: 600; 
}

#subscribe-form-wrapper .hs_recaptcha {
	height: 0; 	
}

#popup-form-wrapper .hs_recaptcha {
	height: 0; 	
}

#gated-form-wrapper .hs_recaptcha {
	height: 0; 	
}

.recaptcha-text {
	color: #003d31 !important; 
	font-size: 0.75rem !important;
}

.recaptcha-text a {
	color: #003d31 !important; 
	font-size: 0.75rem !important;
	font-weight: 600; 
}
#subscribe-form-wrapper ul.no-list.hs-error-msgs.inputs-list {
	font-size: 14px !important;
	text-align: left !important; 
}

#popup-form-wrapper ul.no-list.hs-error-msgs.inputs-list {
	font-size: 14px !important;
	text-align: left !important; 
}

#gated-form-wrapper ul.no-list.hs-error-msgs.inputs-list {
	font-size: 14px !important;
	text-align: left !important; 
	color: red; 
	padding-bottom: 8px; 
}

#gated-form-wrapper .hs_error_rollup {
	margin-left: 20px; 
}

#gated-form-wrapper .hs_error_rollup ul {
	padding-top: 0; 
}

#gated-form-wrapper .hs-dependent-field ul.no-list.hs-error-msgs.inputs-list {
	display:none; 
}

#gated-form-wrapper .gated-form-fields .hbspt-form .submitted-message a {
	font-weight: 600px !important;
	font-size: 1.5rem !important;
}


@media screen and (min-width: 450px) {
	#subscribe-form-wrapper fieldset {
	width: 425px; 
	}
	#popup-form-wrapper,
	#gated-form-wrapper {
		width: 430px; 
	}
	#popup-form-wrapper fieldset {
	width: 425px; 
	}
	#gated-form-wrapper fieldset {
	width: 425px; 
	}
}
	
@media screen and (min-width: 768px) {
	#subscribe-form-wrapper fieldset {
	width: 650px; 
	}
	#popup-form-wrapper {
	width: 700px; 
	}
	#popup-form-wrapper h2 {
	font-size: 2rem; 
	}
	#popup-form-wrapper h5 {
	font-size: 1.5rem; 
	}
	#popup-form-wrapper fieldset {
	width: 650px; 
	}
 	#subscribe-form-wrapper .form-columns-2 .hs-form-field {
		float: left !important;
		width: 48% !important;
	}
	#popup-form-wrapper .form-columns-2 .hs-form-field {
		float: left !important;
		width: 48% !important;
	}
	#subscribe-form-wrapper .form-columns-2 .input {
		float: none !important; /* Remove float from input */
		width: 100% !important; /* Full width within the field container */
	}
	#popup-form-wrapper .form-columns-2 .input {
		float: none !important; /* Remove float from input */
		width: 100% !important; /* Full width within the field container */
	}
	#subscribe-form-wrapper .form-columns-2 .hs-lastname {
		margin-top: 0 !important; 
	}
	#popup-form-wrapper .form-columns-2 .hs-lastname {
		margin-top: 0 !important; 
	}
	#subscribe-form-wrapper .form-columns-2 .hs-lastname .input {
		margin-left: 8px !important; 
	}
	#popup-form-wrapper .form-columns-2 .hs-lastname .input {
		margin-left: 8px !important; 
	}
	#subscribe-form-wrapper .form-columns-2 .hs-error-msgs {
		clear: both;
		float: none;
		width: 100%;
		margin-top: 5px;
	}
	#popup-form-wrapper .form-columns-2 .hs-error-msgs {
		clear: both;
		float: none;
		width: 100%;
		margin-top: 5px;
	}
	
	/* Clear floats after the fieldset */
	#subscribe-form-wrapper .form-columns-2::after {
		content: "";
		display: table;
		clear: both;
	}
	#popup-form-wrapper .form-columns-2::after {
		content: "";
		display: table;
		clear: both;
	}
}