:root {
	--text-color: #212529;
	--primary-color: #091e49;
	--teal-color: #36dcbf;
	--orange-color: #ebb056;
	--bg-color: #f5eee3;
	--red-color: #ef4122;

	--heading-font: "Poppins", sans-serif;
	--text-font: "Arial", sans-serif;
	--secondary-font: "Helvetica", sans-serif;

	--body-font-size: 15px;
}

.button-block {
	color: var(--text-color) !important;
	border: 2px solid var(--orange-color) !important;
	background-color: var(--orange-color) !important;
	border-radius: 0px;
	font-size: 16px;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 16px 18px;
	line-height: 1;
	transition: 0.12s;
	outline: 0;
	display: inline-block;
	margin-bottom: 16px;
	cursor: pointer;
	font-weight: 500;
	font-family: Poppins !important;
}

.crm-submit-buttons .crm-form-submit {
	outline: none;
	border: none;
	font-family: "Poppins", Sans-serif;
	font-size: 15px;
	font-weight: bold;
	text-transform: none;
	letter-spacing: 0.36px;
	color: var(--e-global-color-text);
	background: none;
	background-color: var(--e-global-color-ec4c15d);
	border-radius: 0px 20px 0px 20px;
	padding: 16px 44px;
	display: inline-block;
	float: none;
	text-shadow: none;

	&:hover {
		background: #04d3af;
	}
}

.crm-submit-buttons {
	margin-bottom: 40px !important;
}

.calc-value {
	display: block !important;
}

#amount_sum_label {
	margin-right: 5%;
}

.contribution_amount-content .button-block {
	width: 80px !important;
}

.crm-contribution-main-form-block {
	font-family: Poppins !important;
}

.crm-container .crm-section .content {
	margin-left: 0 !important;
}

.crm-container .custom_pre_profile-group .crm-section .content {
	margin-left: 19% !important;
}

.crm-container #onBehalfOfOrg .is_for_organization-section .content {
	margin-left: 17% !important;
}

.other_amount-content {
	padding-left: 18% !important;
}

.crm-price-amount-label-separator {
	display: none;
}

p.amount-class {
	float: right;
	display: contents;
}

.crm-price-amount-label {
	display: inline-flex;
}

.crm-price-amount-amount {
	display: none !important;
}

.membership_amount-content,
.contribution_amount-content {
	display: flex;
	column-gap: 15px;
	row-gap: 15px;
}

@media screen and (max-width: 901px) {
	.membership_amount-content,
	.contribution_amount-content {
		flex-direction: row !important;
	}
}

@media screen and (max-width: 645px) {
	.membership_amount-content,
	.contribution_amount-content {
		flex-direction: column !important;
	}

	.membership_amount-content .price-set-option-content label,
	.contribution_amount-content .price-set-option-content label {
		display: block !important;
	}

	.membership_amount-content .button-block,
	.contribution_amount-content .button-block {
		width: 100%;
		display: flex !important;
		justify-content: center;
		text-align: center;
	}
}

.crm-container fieldset {
	margin-top: 10px !important;
}

.other-section {
	float: right;
	position: relative;
	margin-top: -60px;
	margin-right: 22px;
}

#price_1899,
#price_1901,
#price_1901:focus,
#price_1900:focus,
#price_1907,
#price_1907:focus {
	border: 2px solid #ffa02f !important;
	border-radius: 0px;
	font-size: 16px;
	text-transform: uppercase;
	text-decoration: none !important;
	position: relative;
	height: 40px !important;
	margin-left: 15px !important;
	font-weight: bold;
	font-size: 18px;
}

#price_1461: ([type= "radio"]) {
	color: #ffffff !important;
}

/* .button-block:hover {
	color: #ca974a !important;
	border: 2px solid #ca974a !important;
	position: relative;
} */

#gift_type,
#donation_type {
	text-align: center !important;
	padding-bottom: 35px;
	padding-top: 30px;
}

#donation_type,
#pricesetTotal {
	padding-top: 35px;
}

#priceset-div {
	padding-top: 5%;
	width: 665px;
}

.contribution_amount-section .crm-marker {
	display: none;
}

input[type="radio"]:checked + label {
	font-weight: bold !important;
}

input[type="radio"]:checked + label span.button-block:before,
input[type="radio"]:checked + label.button-block:before,
input[type="radio"]:checked + div.price-set-rows label:after {
	content: "\f00c";
	font-family: FontAwesome;
}

.is_recur-section,
.is_for_organization-section {
	display: none;
}

#iats-recurring-start-date .content {
	display: block;
	margin-left: 18% !important;
}

.soft_credit_type_id-section {
	padding-bottom: 18px;
	padding-top: 18px;
}

.one_time-section > div.label > label:first-child,
.monthly-section > div.label > label:first-child {
	display: none;
}

#s2id_custom_13 {
	width: 234px !important;
}

.price-set-rows {
	padding: 5px 0;
}

.one_time-content,
.monthly-content {
	margin-left: 0 !important;
}

legend {
	background-color: #30616e !important;
	color: white !important;
	width: 100% !important;
	padding-top: 13px !important;
	padding-bottom: 12px !important;
	text-transform: uppercase;
	padding: 15px !important;
	font-family: Poppins !important;
}

.custom_post_profile-group input,
.custom_post_profile-group label {
	display: block !important;
}

i.fa-chevron-right,
.editrow_custom_404-section label {
	display: none;
}

#civicrm-footer {
	border-top: none;
}

.credit_card_info-section {
	display: grid;
}

.billing_mode-group,
.billing_name_address-group,
crm-contribution-page-id-18 .editrow_custom_405-section .content,
crm-contribution-page-id-3 .editrow_custom_405-section .content {
	padding-bottom: 30px !important;
}

#s2id_billing_country_id-5,
#s2id_billing_state_province_id-5 {
	width: 238px !important;
}

#enews .content:not(.description) {
	display: flex !important;
}

#enews .content {
	margin-left: 19% !important;
}

#honorType #editrow-prefix_id,
#honorType #editrow-last_name,
#honorType #editrow-email-1 {
	display: none;
}

.page-civicrm-contribute form[class*="CRM_Contribute_Form_"] h3 {
	background: none !important;
}

.soft_credit_type_id-section .content {
	margin-left: 0% !important;
}

.crm-contribution-page-id-18 .editrow_custom_405-section,
crm-contribution-page-id-3 .editrow_custom_405-section {
	padding-top: 2em !important;
}
.crm-contribution-page-id-17 .one_time-section {
	padding: 0 5% 5% 5% !important;
}

#editrow-custom_407 .label {
	display: none;
}

p.amount-class {
	color: #ffa02f !important;
}

/* Stack fields */
@media (min-width: 555px) {
	.crm-container .crm-profile-id-2 #editrow-first_name,
	.crm-container .crm-profile-id-2 #editrow-last_name,
	.crm-container .crm-profile-id-2 #editrow-street_address-Primary,
	.crm-container .crm-profile-id-2 #editrow-supplemental_address_1-Primary,
	.crm-container .crm-profile-id-2 #editrow-city-Primary,
	.crm-container .crm-profile-id-2 #editrow-country-Primary,
	.crm-container .crm-profile-id-2 #editrow-state_province-Primary,
	.crm-container .crm-profile-id-2 #editrow-postal_code-Primary,
	.crm-container .crm-profile-id-2 #editrow-phone-Primary-1,
	.crm-container .crm-profile-id-2 #editrow-custom_36,
	.crm-container .credit_card_info-section .credit_card_number-section,
	.crm-container .credit_card_info-section .cvv2-section,
	.crm-container .credit_card_info-section .credit_card_exp_date-section,
	.crm-container #onBehalfOfOrg #editrow-organization_name,
	.crm-container #onBehalfOfOrg #editrow-email-Primary,
	.crm-container #onBehalfOfOrg #editrow-street_address-Primary,
	.crm-container #onBehalfOfOrg #editrow-supplemental_address_1-Primary,
	.crm-container #onBehalfOfOrg #editrow-city-3,
	.crm-container #onBehalfOfOrg #editrow-country-3,
	.crm-container #onBehalfOfOrg #editrow-state_province-3,
	.crm-container #onBehalfOfOrg #editrow-postal_code-3,
	.crm-container #onBehalfOfOrg #editrow-phone-Primary-1 {
		margin-right: 10px;
		float: left;
	}
	.crm-container .crm-profile-id-2 #email-Primary,
	.crm-container .crm-profile-id-2 #street_address-Primary,
	.crm-container .crm-profile-id-2 #supplemental_address_1-Primary,
	.crm-container #onBehalfOfOrg #editrow-street_address-Primary,
	.crm-container #onBehalfOfOrg #supplemental_address_1-Primary {
		width: 572px;
	}

	.crm-container .crm-profile-id-2 #s2id_country-Primary,
	.crm-container #onBehalfOfOrg #s2id_country-Primary {
		width: 238px !important;
	}

	#crm-container .crm-profile-id-2 .label,
	.credit_card_info-section .label,
	#crm-container #onBehalfOfOrg .label {
		float: left !important;
		width: 100% !important;
		text-align: left !important;
	}

	#crm-container .crm-profile-id-2 .crm-section .content,
	.credit_card_info-section .content,
	.editrow_custom_405-section .content {
		margin-left: 0% !important;
	}

	.crm-container .crm-profile-id-139 #editrow-first_name,
	.crm-container .crm-profile-id-139 #editrow-last_name,
	.crm-container .crm-profile-id-139 #editrow-street_address-Primary,
	.crm-container .crm-profile-id-139 #editrow-supplemental_address_1-Primary,
	.crm-container .crm-profile-id-139 #editrow-city-Primary,
	.crm-container .crm-profile-id-139 #editrow-country-Primary,
	.crm-container .crm-profile-id-139 #editrow-state_province-Primary,
	.crm-container .crm-profile-id-139 #editrow-postal_code-Primary,
	.crm-container .crm-profile-id-139 #editrow-custom_36,
	.crm-container .credit_card_info-section .credit_card_number-section,
	.crm-container .credit_card_info-section .cvv2-section,
	.crm-container .credit_card_info-section .credit_card_exp_date-section {
		margin-right: 10px;
		float: left;
	}

	.crm-container .crm-profile-id-139 #email-Primary,
	.crm-container .crm-profile-id-139 #street_address-Primary,
	.crm-container .crm-profile-id-139 #supplemental_address_1-Primary {
		width: 572px;
	}

	.crm-container .crm-profile-id-139 #s2id_country-Primary {
		width: 238px !important;
	}

	#crm-container .crm-profile-id-139 .label,
	.credit_card_info-section .label {
		float: left !important;
		width: 100% !important;
		text-align: left !important;
	}

	#crm-container .crm-profile-id-139 .crm-section .content,
	.credit_card_info-section .content {
		margin-left: 0% !important;
	}
}

@media only screen and (max-width: 901px) {
	/* For mobile phones: */
	.one_time-section .content,
	.monthly-section .content,
	.soft_credit_type_id-section .content {
		margin-left: 20% !important;
	}

	#editrow-custom_363 + legend {
		font-size: var(--body-font-size);
	}
	.membership_amount-content,
	.contribution_amount-content {
		display: flex;
		flex-direction: column;
	}
}

@media only screen and (max-width: 420px) {
	/* For mobile phones: */
	#price_1461 {
		display: block !important;
		margin-top: 25px !important;
		margin-left: 0px !important;
	}

	#iats-recurring-start-date .content {
		margin-left: 0% !important;
	}

	.crm-container .form-item textarea {
		width: 355px !important;
	}

	.crm-container .crm-submit-buttons {
		text-align: center !important;
	}
	legend {
		font-size: var(--body-font-size) !important;
	}
	.crm-profile-id-140 legend {
		font-size: 10px !important;
	}
	.membership_amount-content,
	.contribution_amount-content {
		display: flex;
		flex-direction: column;
	}
	.crm-container #onBehalfOfOrg .is_for_organization-section .content {
		margin-left: 0 !important;
	}
	.contribution_amount-content .button-block {
		width: 120px !important;
	}

	.editrow_custom_405-section .label {
		float: left !important;
		width: 100% !important;
		text-align: left !important;
	}
}

fieldset {
	padding: 0;
	margin-left: 0;
	margin-right: 0;
	border: none !important;
}

fieldset legend {
	margin-bottom: 15px;
}

.crm-contribution-main-form-block {
	font-size: var(--body-font-size);
}

.crm-profile .crm-section .label {
	margin-bottom: 8px;
}

.crm-profile .crm-section.form-item {
	margin-bottom: 24px;
	display: block;
	float: none !important;
}

.crm-profile .crm-section input,
.crm-profile .crm-section select {
	background: var(--bg-color);
	border: none;
	font-family: var(--text-font);
	font-weight: 500;
	font-size: var(--body-font-size);
	color: var(--text-color);
	padding: 11px 16px;
	border-radius: 4px;
	width: 100% !important;
}

.crm-profile .crm-section .select2-container,
.crm-container .crm-profile-id-2 #s2id_country-Primary,
.crm-container #onBehalfOfOrg #s2id_country-Primary {
	width: 100% !important;
}

.crm-profile .crm-section .select2-container .select2-choice {
	background: var(--bg-color);
	height: 45px;
	display: flex;
	align-items: center;
	border: none;
	padding: 11px 16px;
	border-radius: 4px;
	color: var(--text-color) !important;
}

.crm-profile .crm-section .select2-container .select2-choice .select2-search-choice-close {
	display: none;
}

.crm-profile .crm-section .select2-container .select2-choice .select2-arrow {
	background: none;
	border: none;
	width: auto;
	height: auto;
	top: 50%;
	right: 15px;
	translate: 0 -50%;
	display: inline-block;
	position: absolute;
	border-radius: 0 4px 0 4px;
}

.crm-profile .crm-section .select2-container .select2-arrow b {
	font-family: FontAwesome;
	background: none;
	background-image: none !important;
}

.crm-profile .crm-section .select2-container .select2-arrow b:before {
	content: "\f107";
	font-size: 20px;
}

.messages.help {
	background-color: var(--bg-color);
	border: none;
	border-left: 3px solid var(--primary-color);
	padding: 15px;
	margin-bottom: 30px;
}

.messages.help p,
.messages.help p strong {
	font-size: var(--body-font-size) !important;
}

.crm-submit-buttons .crm-form-submit {
	max-width: 100% !important;
	white-space: normal !important;
}

.crm-container input.crm-error,
.crm-container input.crm-inline-error {
	border: 1px solid var(--red-color) !important;
}

.crm-container label.crm-error,
.crm-container label.crm-inline-error {
	background: transparent !important;
	color: var(--red-color) !important;
	font-size: 12px;
	border: none;
}

.form-item .crm-marker {
	color: var(--red-color) !important;
}
