/*
 * Gravity Forms 3 renders the submit control as <button>, while the AMJ theme
 * styles input[type="submit"] only. These rules copy that button look.
 */

body .gform_wrapper button.gform_button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	box-sizing: border-box;
	background: transparent !important;
	background-image: none !important;
	color: #cd1613 !important;
	border: 2px solid #cd1613 !important;
	border-radius: 24px;
	padding: 11px 28px;
	font-family: Poppins, sans-serif;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none !important;
	min-height: 0;
	cursor: pointer;
	transition: color 350ms, background 350ms;
}

body .gform_wrapper button.gform_button:hover,
body .gform_wrapper button.gform_button:focus {
	background: #cd1613 !important;
	color: #fff !important;
	outline: none;
}

body .gform_wrapper button.gform_button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.quote-form .gform_wrapper .gform_footer button.gform_button {
	width: 394px;
	height: 68px;
	max-width: 90%;
	border-radius: 34px;
}

@media screen and (max-width: 63.9375em) {
	.quote-form .gform_wrapper .gform_footer button.gform_button {
		width: 354px;
		height: 60px;
		border-radius: 30px;
	}
}

.form-box--quote .form-box__form button.gform_button,
.form-box:not(.form-box--regular) .form-box__form button.gform_button {
	color: #fff !important;
	border-color: #fff !important;
	background: transparent !important;
}

.form-box--quote .form-box__form button.gform_button:hover,
.form-box--quote .form-box__form button.gform_button:focus,
.form-box:not(.form-box--regular) .form-box__form button.gform_button:hover,
.form-box:not(.form-box--regular) .form-box__form button.gform_button:focus {
	background: #fff !important;
	color: #0072bc !important;
}

.form-box--regular .form-box__form button.gform_button {
	display: block !important;
	width: 266px !important;
	margin: 0 auto !important;
}

@media screen and (max-width: 63.9375em) {
	.form-box--regular .form-box__form button.gform_button {
		width: 100% !important;
	}
}
