/* .sales-form {
	display: flex;
} */

.corpolex-contact-form, .corpolex-download-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .corpolex-contact-form, .corpolex-download-form {
        grid-template-columns: 1fr; /* Makes everything stack on smaller screens */
    }
}

.custom-halfformfield {
    display: flex;
    flex-direction: column;
}

.custom-halfformfield > input, .custom-halfformfield > select, .custom-formfield > textarea {
	padding: 8px 12px;
}

.custom-halfformfield > input, .custom-halfformfield > select, .custom-formfield > textarea {
	background-color: #fcfcfc;
	border: 1px solid #e1e1e1;
}

.custom-formfield {
    grid-column: 1 / -1; /* This makes it span the full width */
	display: flex;
	flex-direction: column;
}

.sales-form .error,
.sales-form .error-mail,
.sales-form .error-captcha,
#custom-contact-form .error,
#custom-contact-form .error-mail,
#custom-contact-form .error-captcha {
	color: red;
	font-style: italic;
	display: none;
}

.sales-form input.submit {
	grid-column: 1 / -1;
	place-self: center;
	margin: 10px auto 30px;
	background-color:#508f40;
	border-radius: 25px;
	border: none;
	padding: 15px 45px;
    color: white;
	cursor: pointer;
	font-size: 16px;
}

.sales-form .custom-formfield label::after, .sales-form .custom-halfformfield label::after {
	content: ' *';
	color: red;
}

.sales-form .custom-formfield textarea {
	height: 150px;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sales-form-response {
	display: none;
	color: white;
	text-align: center;
	padding: 20px;
	background: #508f40;
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px; 
	border-radius: 10px;
	margin: 20px 0;
}

.sales-form-response .fa {
	font-size: 60px;
}

.sales-form-response p {
	font-size: 17px;
	text-align: center;
}

.sales-form .g-recaptcha, .sales-form .clearfix, .sales-form .error, .sales-form .error-mail, .sales-form .error-captcha {
	grid-column: 1 / -1;
	margin-block-start: 0;
	margin-block-end: 0;
}


/* .sales-form .custom-halfformfield {
	width: 50%;
	float: left;
	padding: 0px 10px;
}

.sales-form .custom-formfield {
	width: 100%;
	float: left;
	padding: 0;
}

.sales-form .custom-formfield textarea {
	height: 150px;
}

.sales-form .custom-formfield label::after, .sales-form .custom-halfformfield label::after {
	content: ' *';
	color: red;
}

.sales-form .custom-formfield label[for=description]::after {
	content: '';
}

.sales-form .submit {
	display: block;
	margin: 10px auto 30px;
}

.sales-form-response {
	display: none;
	color: white;
	text-align: center;
	padding: 20px;
	background: #508f40;
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px; 
	border-radius: 10px;
	margin: 20px 0;
}

.sales-form-response .fa {
	font-size: 60px;
}

.sales-form-response p {
	font-size: 17px;
	text-align: center;
}

.sales-form .error, .sales-form .error-mail, .sales-form .error-captcha {
	color: red;
	font-style: italic;
	display: none;
}

.sales-form .custom-halfformfield:nth-child(even) {
    padding: 0 0 0 20px;
}

.sales-form .custom-halfformfield:nth-child(odd) {
    padding: 0 20px 0 0;
}

#top .sales-form select {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.sales-form .custom-halfformfield, .custom-formfield {
		width: 100%;
		padding: 0px !important;
	}
}

form .g-recaptcha {
    float: left;
    padding: 0 10px;
} */