/*------------------------------------*\
    GIVE CUSTOM
\*------------------------------------*/

h2.give-form-title, 
#give_error_test_mode,
.single-give_forms .header {
	display: none;
}

.page-template-page-tabs .give-form-wrap {
	max-width: 270px; margin: 0 auto;
}

.page-template-page-tabs.donate-360 .give-form-wrap {
	max-width: none;
}

#give-recurring-form, form.give-form, form[id*="give-form"] {
	margin: 0; position: relative;
	padding: 0 0 72px;
}

.single-families #give-recurring-form, .single-families form.give-form, .single-families form[id*="give-form"] {
	padding: 0 0 60px;
}

form[id*="give-form"] #give-donation-level-radio-list {
	margin-bottom: 36px;
}

.single-families form[id*="give-form"] #give-donation-level-radio-list {
	margin-bottom: 0;
}

form[id*="give-form"] #give-donation-level-radio-list > li {
	display: block; position: relative;
}

.single-families form[id*="give-form"] #give-donation-level-radio-list > li {
	float: left; width: 50%;
	padding: 0 12px 86px;
}

form[id*="give-form"] #give-donation-level-radio-list > li#custom-btn-wrap {
	display: none;
}

form[id*="give-form"] #give-donation-level-radio-list > li input[type="radio"] {
    display: none;
}

form[id*="give-form"] #give-donation-level-radio-list > li label {
	display:block; text-align: center;
	background: #002855; color: #fff;
	padding: 30px 24px 42px; border-radius: 4px;
	max-width: 250px; margin: 0 auto 48px;
	-webkit-transition: background 0.25s linear;
	transition: background 0.25s linear;
}

.single-families form[id*="give-form"] #give-donation-level-radio-list > li label {
	background: #31b744; padding: 20px 0 16px;
	margin: 0;
}

#give-donation-level-radio-list label span.amount {
	font-family: 'jennasue'; font-weight: normal;
	display: block; font-size: 65px; line-height: 0.75;
	margin-bottom: 4px;
}

.single-families #give-donation-level-radio-list label span.amount {
	margin-bottom: 0;
}

#give-donation-level-radio-list label span.amount span.give-recurring-multilevel-label {
	display: none;
}

#give-donation-level-radio-list label span.amount-desc {
	display: block; line-height: 1.35;
}

.single-families #give-donation-level-radio-list label span.amount-desc {
	position: absolute; width: 100%;
	top: 92px; left: 0; padding: 0 12px;
	color: #000; font-size: 14px;
}

#give-donation-level-radio-list label span.amount-btn {
	display: block; position: absolute;
	border-radius: 24px; color: #fff;
    font-size: 12px; font-weight: 700;
    left: 50%; letter-spacing: 1px;
    line-height: 48px; width: 100px;
    z-index: 10; background: #31b744;
    bottom: -24px;
    -webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.single-families #give-donation-level-radio-list label span.amount-btn {
	display: none;
}

#give-recurring-form .give-total-wrap, 
form.give-form .give-total-wrap, 
form[id*="give-form"] .give-total-wrap {
	position: absolute; left: 0; bottom: 0;
	width: 100%; height: 48px; overflow: hidden;
	border: 1px solid #31b744; border-radius: 24px;
}

form[id*="give-form"] .give-donation-amount {
	margin-bottom: 0;
}

.donate-360 form[id*="give-form"] .give-donation-amount {
	margin-bottom: 20px;
}

form[id*="give-form"] .give-donation-amount .give-currency-symbol.give-currency-position-before {
	border: 0; height: 46px; line-height: 46px;
	background: none; padding: 0 0 0 20px;
	color: #000;
}

.donate-360 form[id*="give-form"] .give-donation-amount .give-currency-symbol.give-currency-position-before {
	height: 35px; line-height: 35px;
	padding: 0 4px 0 0;
}

form[id*="give-form"] .give-donation-amount #give-amount {
	border: 0; height: 46px; line-height: 46px;
	padding: 0;
}

.donate-360 span.give-recurring-admin-choice {
	font-size: 14px; line-height: 35px;
	margin: 0 0 0 8px;
}

.give-btn.give-btn-modal {
	position: absolute; right: 0;
	bottom: 0; z-index: 20;
	border-radius: 24px; color: #fff;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1px; line-height: 48px;
    background: #31b744; width: 100px;
    padding: 0; text-transform: uppercase;
    border: 0; height: 48px;
    -webkit-transition: background 0.25s linear;
	transition: background 0.25s linear;
}

.give-btn.give-btn-modal:hover {
	background: #2ba03c;
}

.give-display-modal[id*="give-form"] .give-btn {
	margin: 0;
}

.custom-amt-intro {
	font-size: 19px;
	text-align: center;
}

.give-recurring-multi-level-message {
	display:none;
}

.give-form select {
	background: url(../img/down.png) no-repeat 96% center;
	background-size: 12px;
}

#donation_notes-wrap label {
	display: none;
}

.give-total-wrap input[type="text"]:focus, 
.give-total-wrap input[type="tel"]:focus, 
.give-total-wrap input[type="email"]:focus,
.give-total-wrap input[type="number"]:focus,
.give-total-wrap select:focus,
.give-total-wrap textarea:focus {
	box-shadow: none;
}

.donate-360 form.give-form .form-row select, form[id*="give-form"] .form-row select {
	padding: 0 0.5em;
}

.miracle-360 [id*="give-form"] .give-recurring-donors-choice {
    position: absolute; padding-left: 24px;
    bottom: -40px; left: 50%; transform: translateX(-50%);
    margin: 0;
}

.miracle-360 [id*="give-form"] .give-recurring-donors-choice label {
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
    min-width: 210px;
}

[id*="give-form"] .give-recurring-donors-choice input[type="checkbox"] {
    position: absolute; top: 2px; left: 0;
}

@media only screen and (min-width: 768px) {
	
	.page-template-page-tabs .give-form-wrap {
		max-width: 100%;
	}
	
	.page-template-page-tabs #give-recurring-form .give-total-wrap, 
	.page-template-page-tabs form.give-form .give-total-wrap, 
	.page-template-page-tabs form[id*="give-form"] .give-total-wrap,
	.miracle-360 form.give-form .give-total-wrap {
		left: 50%; width: 500px;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	
	.page-template-page-tabs .give-btn.give-btn-modal,
	.miracle-360 .give-btn.give-btn-modal {
		right: 150px;
	}
	
	form[id*="give-form"] #give-donation-level-radio-list {
		/*display: flex; flex-wrap: wrap;*/
		margin-bottom: 66px;
	}
	
	form[id*="give-form"] #give-donation-level-radio-list > li {
		float: left; width: 33.33333333333%;
		padding: 0 12px;
	}
	
	form[id*="give-form"] #give-donation-level-radio-list > li label {
		background: #79bde9; display: table; height: 100%; width: 100%;
		padding: 40px 24px 42px;
		max-width: 100%; margin: 0 auto;
	}
	
	form[id*="give-form"] #give-donation-level-radio-list > li label:hover,
	form[id*="give-form"] #give-donation-level-radio-list > li input[type="radio"]:checked + label {
		background: #002855;
	}
	
	.single-families form[id*="give-form"] #give-donation-level-radio-list > li label,
	.single-families form[id*="give-form"] #give-donation-level-radio-list > li label:hover,
	.single-families form[id*="give-form"] #give-donation-level-radio-list > li input[type="radio"]:checked + label {
		background: #31b744;
	}
	
	#give-donation-level-radio-list label span.amount-btn {
		opacity: 0;
	}
	
	#give-donation-level-radio-list label:hover span.amount-btn {
		opacity: 1;
	}
	
}

@media only screen and (min-width: 1025px) {
	
	.single-families #give-recurring-form, 
	.single-families form.give-form, 
	.single-families form[id*="give-form"] {
		padding: 0 0 72px;
	}
	
	.single-families form[id*="give-form"] #give-donation-level-radio-list {
		margin-bottom: 12px;
	}
	
	.single-families form[id*="give-form"] #give-donation-level-radio-list > li {
		float: left; width: 50%; padding: 0 12px;
		height: 130px; display: table;
		margin: 0 0 24px;
	}
	
	.single-families form[id*="give-form"] #give-donation-level-radio-list > li label {
		background: #79bde9; padding: 0 12px;
		display: table-cell; vertical-align: middle;
	}
	
	.single-families form[id*="give-form"] #give-donation-level-radio-list > li label:hover {
		background: #31b744;
	}
		
	.single-families #give-donation-level-radio-list label:hover span.amount {
		display: none;
	}
	
	.single-families #give-donation-level-radio-list label span.amount-desc {
		position: static; width: 100%;
		color: #fff; font-size: 16px;
		display: none;
	}
	
	.single-families #give-donation-level-radio-list label:hover span.amount-desc {
		display: block;
	}
	
}

/*------------------------------------*\
    GIVE MODAL
\*------------------------------------*/

.give-modal .mfp-content {
	border-radius: 4px;
}

#give-purchase-button.give-btn {
	font-size: 12px; font-weight: 700;
	color: #fff; background: #79bde9;
	line-height: 48px; padding: 0 24px;
	border-radius: 24px;
	text-transform: uppercase;
}

form[id*="give-form"] #give-final-total-wrap .give-donation-total-label {
	background-color: #f2f2f2; border: 1px solid #ccc;
    color: #333; font-weight: 700; font-size: 12px;
    height: 48px; line-height: 46px;
    margin: 0; padding: 0 12px;
    border-radius: 4px 0 0 4px;
    text-transform: uppercase;
}

form[id*="give-form"] #give-final-total-wrap .give-final-total-amount {
	height: 48px; line-height: 46px;
	border-radius: 0 4px 4px 0;
}

form[id*="give-form"] legend {
	font-weight: 300;
}

@media only screen and (min-width: 1025px) {

	.give-modal .mfp-content {
		padding: 32px 40px; max-width: 840px;
		height: 690px; overflow: scroll;
	}
	
	.mfp-close {
		font-size: 40px;
	}
	
	form[id*="give-form"] legend {
		font-size: 24px;
	}
	
}

/*------------------------------------*\
    GIVE SUCCESS
\*------------------------------------*/

main.receipt-page {
	padding-top: 92px;
}

main.receipt-page .container {
	max-width: 1020px;
}

.give_success::before {
	display: none;
}

.give_error, .give_success {
    background: none; border-left: 0;
    box-shadow: none; margin: 0;
    padding: 0; text-align: center;
    font-size: 22px;
}

.give_success {
	color: #31b744; font-size: 24px;
	line-height: 1.25;
}

#give_donation_receipt.give-table,
#give-subscription-receipt.give-table,
#give_user_history.give-table {
	color: #000; background: none;
	text-shadow: none; border-collapse: collapse;
	border: 1px solid #e0e0e0; margin-bottom: 48px;
	border-radius: 4px;
}

#give_donation_receipt.give-table th,
#give-subscription-receipt.give-table th {
	border: 0; 
	border-bottom: 1px solid #e0e0e0;
}

#give_user_history.give-table th {
	border-bottom: 1px solid #e0e0e0;
}

table#give_donation_receipt .give-receipt-thead-text,
#give-subscription-receipt .give-receipt-thead-text,
#give_user_history.give-table tr.give-donation-row th {
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

#give_donation_receipt.give-table td strong,
#give-subscription-receipt.give-table td strong {
	font-weight: 600;
}

#give_purchase_form_wrap .give_error {
	background: #F6F6F6; border: 1px solid #e0e0e0;
	text-align: left; padding: 16px 16px 16px 32px;
}

#give_purchase_form_wrap .give_error::before {
	left: -15px;
}

.donation-history h1 {
	font-size: 27px; text-align: center;
	margin-bottom: 24px;
}

#historywrap {
	overflow: scroll;
	margin-bottom: 48px;
}

#historywrap #give_error_success {
	display: none;
}

#historywrap .give-table + a {
	font-weight: 700; font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
}

@media only screen and (min-width: 768px) {
	
	main.receipt-page {
		padding-top: 124px;
	}
	
	.give_success {
		font-size: 36px; margin: 0 auto 48px;
		width: 520px;
	}
	
	#give_donation_receipt.give-table,
	#give-subscription-receipt.give-table,
	#give_user_history.give-table {
		margin: 0 auto 48px;
	}
	
	table.give-table tbody tr td:first-child {
	    width: 220px;
	}
	
	.donation-history h1 {
		font-size: 42px;
		margin-bottom: 36px;
	}
	
	#historywrap {
		border: none;
		margin-bottom: 60px;
	}
	
	#give_user_history.give-table {
		border: 1px solid #e0e0e0;
	}
	
}

@media only screen and (min-width: 1025px) {
	
	main.receipt-page {
		padding-top: 148px;
	}
	
	table.give-table tbody tr td:first-child {
	    width: 248px;
	}
	
	table.give-table tbody tr td {
	    padding: 18px 30px;
	}
	
}