/* Donation Pages */

/* For donate button, see the following?: 
https://codepen.io/Volorf/pen/qopzaQ 
https://codepen.io/leandrosimoes/embed/VqZxaG 
https://simplestepscode.com/css-glass-button-tutorial/
https://devdevout.com/css/css-gradient-buttons
https://blog.bitsrc.io/pure-css-to-make-a-button-shine-and-gently-change-colors-over-time-5b685d9c6a7e
https://gist.github.com/arbalest/8521973d9ac06e287125
https://css-tricks.com/snippets/css/shake-css-keyframe-animation/
https://www.sitepoint.com/button-micro-interactions/ this ƒeatured a cool light/dark setting toggle and a nice button down effect?
https://codepen.io/SitePoint/pen/YzRjmzP light dark toggle
https://codepen.io/SitePoint/pen/NWEBZVp button down on press
*/



/* Donate button */

#weborder input[type="submit"],
#weborder button[type="submit"] {
  position: relative;
  background: #542a18;
  background: radial-gradient(circle, #542a18 5%, #6e4432 35%, #542a18 90%);
  color: white;
  border: medium none;
  border-radius: 8px;
  padding: 8px 10px;
/*  font-size: 4.5em; */
  font-family: "League Spartan";
  margin-left: 0px;
  margin-top: 10px;
  margin-bottom: 5px;
  width: 100%;
  height: 100px;
/*  min-width: 320px; OLD VALUE PRE-2024-12-Dec-14 */
  min-width: 210px
  transition: background-color 0.4s ease;
}

#weborder input[type="submit"]:hover,
#weborder button[type="submit"]:hover {
  background-color: #0087e0;
  cursor: pointer;
}

/* #weborder .editor-country,{
	width:340px;
} */

#donate_button {
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	max-width: 340px;

		border-radius: var(--v30pix);
		padding-left: var(--fluidPaddingSize-mainstage3-ofLargestPadding);
		padding-right: var(--fluidPaddingSize-mainstage3-ofLargestPadding);
		padding-bottom: var(--fluidPaddingSize-mainstage3-ofLargestPadding);
		padding-top: var(--fluidPaddingSize-mainstage2-ofLargestPadding);
	/*	overflow: hidden; */
		position: relative;
		transition-duration: 300ms;
		z-index: 0;
	}
	
	#donate_button:hover {
	/*	animation: donateButtonScaleHover 4s linear infinite; */
		scale: 1.1;
	}
	
	#donate_button a p {
		position: relative;
		z-index: 8;
	}

	#donate_button_main_background {
		/*	background-color: #542a18; */
		/* 	background: linear-gradient(to bottom right, #0087e0, #2fa9fa); */ /* 0r 135g 224b #0087e0 was 'Contact Us' Page link color */
		/* background: linear-gradient(-45deg, #FFA63D, #FF3D77, #338AFF, #3CF0C5); ORIGINAL COLORS from CodePen of https://devdevout.com/css/css-gradient-buttons */
			background: linear-gradient(-45deg, #cc1808, #FF3D77, #338AFF, #3CF0C5);
		background-size: 600%;
		animation: donateButtonBackgroundAnm 16s linear infinite;
		border-radius: var(--v30pix);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 2;
	}

	/* For Anm, see https://devdevout.com/css/css-gradient-buttons */
	@keyframes donateButtonBackgroundAnm { 
	   0% {
	     background-position: 0% 50%;
	 }
	   50% {
	     background-position: 100% 50%;
	 }
	   100% {
	     background-position: 0% 50%;
	 }
	}


#donate_button::after {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: donateButtonGlowingBorder 20s linear infinite;
/*    opacity: 0; */
    transition: opacity .3s ease-in-out;
/*    border-radius: 10px; */
		border-radius: var(--v30pix);
	}

	@keyframes donateButtonGlowingBorder {
	    0% { background-position: 0 0; }
	    50% { background-position: 400% 0; }
	    100% { background-position: 0 0; }
	}
	
/*	
#donate_button:before {
	z-index: -1;
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: #111;
	left: 0;
	top: 0;
	border-radius: var(--v30pix);
}
*/

#donate_button_glass{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
	z-index: 5;
	border-radius: var(--v30pix);
}



#donate_button p {
	margin: 0;
	text-align: center;
	color: white;
}

/* From https://www.tutorialspoint.com/css/css_animation_winggle.htm */

@-webkit-keyframes donateWiggle01 { 
   0% { -webkit-transform: skewX(9deg); }
   10% { -webkit-transform: skewX(-8deg); }
   20% { -webkit-transform: skewX(7deg); }
   30% { -webkit-transform: skewX(-6deg); }
   40% { -webkit-transform: skewX(5deg); } 
   50% { -webkit-transform: skewX(-4deg); } 
   60% { -webkit-transform: skewX(3deg); }
   70% { -webkit-transform: skewX(-2deg); } 
   80% { -webkit-transform: skewX(1deg); } 
   90% { -webkit-transform: skewX(0deg); }
   100% { -webkit-transform: skewX(0deg); } 
}

@keyframes donateWiggle01 { 
   0% { transform: skewX(9deg); } 
   10% { transform: skewX(-8deg); } 
   20% { transform: skewX(7deg); } 
   30% { transform: skewX(-6deg); } 
   40% { transform: skewX(5deg); } 
   50% { transform: skewX(-4deg); } 
   60% { transform: skewX(3deg); } 
   70% { transform: skewX(-2deg); } 
   80% { transform: skewX(1deg); } 
   90% { transform: skewX(0deg); } 
   100% { transform: skewX(0deg); } 
}

.donate-wiggle-in-progress { 
   -webkit-animation-name: donateWiggle01;
   animation-name: donateWiggle01; 
   -webkit-animation-timing-function: ease-in;
   animation-timing-function: ease-in; 
}

.donate-wiggle-in-progress { 
   -webkit-animation-duration: 0.6s; 
   animation-duration: .6s;
}



/*
@keyframes donateButtonScaleHoverAnm { 
   0% {
     scale: 1;
 }
   50% {
     scale: 1.1;
 }
   100% {
     scale: 1;
 }
}
*/

#donate_button_text {
	color: white;
	position: relative;
	z-index: 6;
}

#donate_button_note {
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}

#donate_button_note p {
	font-color: #542a18;
	text-align: center;
}

#donate_button_note a {
	font-color: #0087e0;
}


#donate_button_1st_text {
	font-size: 20px;
	line-height: .7;
	font-family: "League Gothic";
}

#donate_button_2nd_text {
	font-size: var(--fluidFontSize-header1-ofLargestFont);
	line-height: .7;
	font-family: "League Gothic";
}

#donate_button_3rd_text {
	font-size: var(--fluidFontSize-header1-ofLargestFont);
	line-height: .7;
	font-family: "League Gothic";
}

#donate_button_4th_text {
	font-size: 18px;
	line-height: .7;
	font-family: "League Gothic";
	display: block;
	margin-top: 5px;
}

#donate_button_5th_text {
	font-size: 18px;
	line-height: .7;
	font-family: "League Gothic";
}

























/* CDG Commerce Page Version */
#tax_exempt_notification {
  box-sizing: border-box;
  padding: 15px;
  width: calc(100% - 20px);
  background: radial-gradient(circle, #542a18 5%, #6e4432 35%, #542a18 90%);
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 20px;
  position: relative;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #999;
  border: inset 1px solid #333;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}


.donate_form_field input[type="password"],
.donate_form_field input[type="tel"],
.donate_form_field input[type="select"],
.donate_form_field input[type="email"],
.donate_form_field input[type="text"] {
  box-sizing: border-box;
  margin-bottom: 25px;
  display: block;
  background-color: #cbb3ac;
  color: #542a18;
  font-family: "League Spartan";
  border: 1px solid #999;
  border: inset 1px solid #333;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  width: 100%;
  
}

#donate_form_accepted_payments {
/*	width: 100%; */
/*  position: absolute;
  left: 245px;
  top: 15px; */
  width: 185px;
  height: 24px;
}

#donate_form_accepted_payments img {
  height: 100%;
  width: 100%;
}

.donate_form_input_container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2px;
}

::-webkit-input-placeholder {
	font-size: 1.2em;
	color: #3e779d;
	text-transform: uppercase;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
}
:-moz-placeholder {
	/* older Firefox*/
	font-size: 1.2em;
	color: #3e779d;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
}
::-moz-placeholder {
	/* Firefox 19+ */
	font-size: 1.2em;
	color: #3e779d;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
}
:-ms-input-placeholder {
	font-size: 1.2em;
	color: #3e779d;
	text-transform: uppercase;
	text-align: center;
	font-weight: bold;
}



#tax_exempt_notification p {
	color: #ffffff;
	/*    font-family: "League Spartan"; */
	/*    font-size: 30px; */
    line-height: 1.1em;
    text-align: center;
}

#donation_by_mail_notification p,
#article_writings #tax_exempt_notification p {
	color: #ffffff;
    font-family: "League Spartan";
	/*    font-size: 2.6em; */
    line-height: 1.1em;
    text-align: center;
}

.donate_form_field {
	width: 100%;
/*    display: inline-block;  */
}


  /*
  #donate_form_donation_amount::before {
    content: "$";
    position: absolute;
    left: -30px;
    top: -3px;
    font-size: 2em;
    font-family: "League Spartan";
    height: 30px;
    width: 30px;
  }
 */
  
.donate_form_label {
	display: block;
    box-sizing: border-box;
    padding: 0px;
	width: 100%;
	/*    padding: 10px; */
	/*    width: 280px; */
}

  #donate_form_donation_amount {
	  width: 100%;
  }

  #donation_amount .donate_form_label p,
  #weborder .donate_form_input_container .donate_form_label,
  #weborder .donate_form_input_container .donate_form_field {
	  margin-bottom: 5px;
	  margin-top: 5px;
  }

  .donate_form_radio span,
  .donate_form_label p {
    font-family: "League Spartan";
    font-weight: bold;
    font-size: 2em;
    color: #542a18;
  }

.donate_form_field_select {
	width: 100%;
	/*    display: inline-block;  */
}

#donation_amount input {
	font-weight: bold;
    text-align: center;
	width: 100%;
}

.input-validation {
    position: absolute;
    top: -2px;
    left: -12px;
}

  #credit_card_number {
    width: 100%;
  }

#entries_header_wrap_donate p {
    color: #fff;
/*    font-size: 6em; */
    line-height: 0.8;
    font-family: "League Gothic";
    letter-spacing: 2px;
}

  #phone_number_label p {
    font-size: 1.9em;
  }
 


#weborder {
  width: calc(100% - 20px);
  background: linear-gradient(bottom, #cccccc, #eeeeee 175px);
  margin-right: 10px;
  margin-left: 10px;
  position: relative;
  /*	height: 1000px; */
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #999;
  border: inset 1px solid #333;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

#donation_by_mail_notification {
/*  margin-left: 10px; */
  margin-top: 10px;
  margin-bottom: 5px;
  border-radius: 15px;
  box-sizing: border-box;
  padding: 7px;
/*   width: calc(100% - 180px); */
  width: 100%;
  background: radial-gradient(circle, #542a18 5%, #6e4432 35%, #542a18 90%);
}

#payment_information_header,
#billing_information_header,
#donation_information_header {
  background: radial-gradient(circle, #542a18 5%, #6e4432 35%, #542a18 90%);
  box-sizing: border-box;
  width: 100%;
  padding: 5px;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 10px;
  border-radius: 15px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#payment_information_header p,
#billing_information_header p,
#donation_information_header p {
  text-align: center;
/*  font-size: 3em; */
  color: #ffffff;
  font-family: "League Spartan";
  line-height: 1.2em;
}

#donationdollarsymbol {
  /*	display: inline; */
  float: left;
  width: 10px;
  font-weight: bold;
  font-family: Georgia, Palatine, serif;
  margin-right: 5px;
  margin-top: 7px;
}

#gift_frequency_wrap {
  margin-top: 15px;
  border: 0 none;
  clear: left;
  margin-bottom: 10px;
  min-height: 2em;
}

#giftfrequency .donate_form_radio {
  float: left;
  margin-right: 10px;
  line-height: 24px;
}

#giftfrequency .donate_form_radio input {
  vertical-align: middle;
}

#gift_frequency_container {
  line-height: 2em;
/*  position: static; */
/*  position: absolute; 
  left: 235px;
  top: 15px; */
}

#credit_card_expiration_month {
	margin-bottom: 10px;
	box-sizing: border-box;
}

#credit_card_month_and_year_separator {
	display: none;
}

#weborder label {
  -webkit-transform: scale;
/*  height: 50px; */
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin-bottom: 10px;
  background: #542a18;
  color: #fff;
/*  font-size: 2em; */
  border-radius: 8px;
  padding: 25px;
  margin-right: 10px;
  cursor: pointer;
  -webkit-transform: scale(1, 1); /* Chrome, Safari, Opera */
  -ms-transform: scale(1, 1); /* IE 9 */
  transform: scale(1, 1);
  transition: all 0.5s cubic-bezier(0.35, 0.98, 0.59, 1.21);
}

@media screen and (max-width: 320px) {
	#single_gift_label span,
	#recurring_gift_label span {
		font-size: var(--v18pix);
	}		
}

@media screen and (min-width: 321px) and (max-width: 1189px) {
	#single_gift_label span,
	#recurring_gift_label span {
		font-size: calc(var(--v18pix) + calc(var(--v26) - var(--v18))*(calc(100vw - var(--screenWidth-v320pix)) / calc(var(--screenWidth-v1190) - var(--screenWidth-v320))));
	} 
 }

@media screen and (min-width: 1190px) {
	#single_gift_label span,
	#recurring_gift_label span {
		font-size: var(--v26pix: 26px);
	}		
}




/*
#recurring_gift_label {
	width: 390px;}
	
#single_gift_label {
	width: 200px;}
*/

hr {
  clear: both;
}

#cvvinput {
  width: 80px;
}

#credit_card_month_and_year_separator {
  color: #542a18;
  font-size: 2.5em;
}



.text_select_full {
  color: #542a18;
  width: 100%;
  background: #cbb3ac;
  line-height: 1.1em;
  border: medium none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.6em;
}

.text_select_date {
  color: #542a18;
  width: 100%;
  background: #cbb3ac;
  line-height: 1.1em;
  border: medium none;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.6em;
}

#weborder input[type="text"]:valid,
#weborder input[type="select"]:valid,
#weborder input[type="tel"]:valid,
#weborder input[type="email"]:valid,
#weborder input[type="password"]:valid {
  color: green;
}

#weborder input[type="text"]:valid ~ .input-validation:before,
#weborder input[type="select"]:valid ~ .input-validation:before,
#weborder input[type="tel"]:valid ~ .input-validation:before,
#weborder input[type="email"]:valid ~ .input-validation:before,
#weborder input[type="password"]:valid ~ .input-validation:before {
  content: "\2713";
  color: green;
  vertical-align: middle;
}

#weborder input[type="text"]:invalid,
#weborder input[type="select"]:invalid,
#weborder input[type="tel"]:invalid,
#weborder input[type="email"]:invalid,
#weborder input[type="password"]:invalid {
  color: red;
}

#article_writings .donate_form_label p,
#article_writings .donate_form_label span,
#article_writings .donate_form_label input,
#article_writings .donate_form_field_select p,
#article_writings .donate_form_field_select span,
#article_writings .donate_form_field_select input,
#article_writings .donate_form_field p,
#article_writings .donate_form_field input,
#article_writings .donate_form_field span {
	margin-top: 0;
	margin-bottom: 0;
}

.donate_form_field input[type="tel"]::placeholder,
.donate_form_field input[type="tel"]::-webkit-input-placeholder, 
.donate_form_field input[type="tel"]::-moz-placeholder,
.donate_form_field input[type="tel"]:-moz-placeholder,
.donate_form_field input[type="tel"]::-ms-placeholder {
    font-size: 20px;
    color: #3e779d;
    text-transform: uppercase;
    text-align: center;
	justify-content: center;
	justify-items:center;
    font-weight: bold;	
}


@media screen and (max-width: 359px) {
	#donation_by_mail_notification p,
	#tax_exempt_notification p,
	#payment_information_header p,
	#billing_information_header p,
	#donation_information_header p {
		font-size: var(--v15pix);
	}
	#article_writings .donate_form_label p,
	#article_writings .donate_form_label span,
	#article_writings .donate_form_label input,
	#article_writings .donate_form_label input,
	#article_writings .donate_form_field_select p,
	#article_writings .donate_form_field_select span,
	#article_writings .donate_form_field_select input,
	#article_writings .donate_form_field p,
	#article_writings .donate_form_field input,
	#article_writings .donate_form_field span,
    .donate_form_field input[type="password"],
    .donate_form_field input[type="tel"],
    .donate_form_field input[type="select"],
    .donate_form_field input[type="email"],
    .donate_form_field input[type="text"],
	.donate_form_field input[type="password"],
	#weborder input[type="submit"],
	#weborder button[type="submit"] {
		font-size: var(--v19pix);
	}
}

@media screen and (min-width: 360px) and (max-width: 1189px) {
	#donation_by_mail_notification p,
	#tax_exempt_notification p,
	#payment_information_header p,
	#billing_information_header p,
	#donation_information_header p {
		font-size: calc(var(--v15pix) + calc(var(--v18) - var(--v15))*(calc(100vw - var(--fluidVals-screenWidth1-ofSmallestVal)) / calc(var(--fluidVals-screenWidth1-ofLargestVal-numberOnly) - var(--fluidVals-screenWidth1-ofSmallestVal-numberOnly))));
	} 
	
	#article_writings .donate_form_label p,
	#article_writings .donate_form_label span,
	#article_writings .donate_form_label input,
	#article_writings .donate_form_field_select p,
	#article_writings .donate_form_field_select span,
	#article_writings .donate_form_field_select input,
	#article_writings .donate_form_field p,
	#article_writings .donate_form_field input,
	#article_writings .donate_form_field span,
    .donate_form_field input[type="password"],
    .donate_form_field input[type="tel"],
    .donate_form_field input[type="select"],
    .donate_form_field input[type="email"],
    .donate_form_field input[type="text"],
	.donate_form_field input[type="password"],
	#weborder input[type="submit"],
	#weborder button[type="submit"] {
				font-size: calc(var(--v19pix) + calc(var(--v27) - var(--v19))*(calc(100vw - var(--fluidVals-screenWidth1-ofSmallestVal)) / calc(var(--fluidVals-screenWidth1-ofLargestVal-numberOnly) - var(--fluidVals-screenWidth1-ofSmallestVal-numberOnly))));
	}

 }

@media screen and (min-width: 1190px) {
	#donation_by_mail_notification p,
	#tax_exempt_notification p,
	#payment_information_header p,
	#billing_information_header p,
	#donation_information_header p {
		font-size: var(--v18pix);
	}
	#article_writings .donate_form_label p,
	#article_writings .donate_form_label span,
	#article_writings .donate_form_label input,
	#article_writings .donate_form_field_select p,
	#article_writings .donate_form_field_select span,
	#article_writings .donate_form_field_select input,
	#article_writings .donate_form_field p,
	#article_writings .donate_form_field input,
	#article_writings .donate_form_field span,
    .donate_form_field input[type="password"],
    .donate_form_field input[type="tel"],
    .donate_form_field input[type="select"],
    .donate_form_field input[type="email"],
    .donate_form_field input[type="text"],
	.donate_form_field input[type="password"],
	#weborder input[type="submit"],
	#weborder button[type="submit"] {
		font-size: var(--v27pix);
	}

}

#article_writings #tax_exempt_notification p {
	margin-top: 0px;
	margin-bottom: 0px;
}