.payment-purpose-image {
    display: inline-block;
    width: 17%;
}
.payment-purpose-image {
    cursor: pointer; position:relative;
}
.purpose-options-selected {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    color: #868686;
    font-size: 54px;
    height: 96%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
}
.purpose-options-selected > span {
    color: #fff;
    left: 30%;
    position: absolute;
    top: 32%;
}

/*@KN: Prevent oversized buttons */
.gf-button { width: 150px; }

/*@KN: Prevent oversized buttons */
span.popup-fundname { text-trasform: uppercase !important; }


.amount-donated {
    padding: 10px 20px !important;
    border: 2px #eee solid !important;
    font-size: 30px;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    text-align: center;
    color: #008000 !important;
    font-weight: bold;
    width: 200px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
    -moz-appearance:textfield;
}

/**Pop Up Form CSS*/
.wrapper-form {
	float: left;
	width: 100%;
	border-radius: 5px;
	background-color:#f5f5f7;
}
.wrapper-form form {
	float: left;
	width: 100%;
}
.wrapper-top-block {
	background-color: #eeeef0;
	border-bottom: 1px solid #d5d5d7;
	float: left;
	width: 100%;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}
.modal-logo {
  float: left;
  margin-top: -50px;
  text-align: center;
  width: 100%;
}
.text-block {
	float: none;
	margin: 0 auto;
	text-align: center;
	width: 58%;
}
.text-block h3 {
  color: #202020;
  font-size: 19px;
  font-weight: bold;
  margin: 0;
}
.wrapper-form-group {
	float: left;
	text-align: center;
	width: 100%;
}
.wrapper-form .wrapper-form-group .input-block input {
	border: 1px solid #b5b5b7;
	border-radius: 2px;
	font-size: 13px;
	height: 30px;
	padding-left: 7px;
	width: 97%;
}
.wrapper-form .submit-btn {
	float: left;
	margin-top: 9px;
	position: relative;
	text-align: center;
	width: 100%;
}
.wrapper-form .submit-btn > input {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background: #3fb0ea none repeat scroll 0 0;
  border-color: -moz-use-text-color -moz-use-text-color #4a77a0;
  border-image: none;
  border-radius: 2px;
  border-style: none none solid;
  border-width: medium medium 1px;
  color: #ffffff;
  cursor: pointer;
  float: left;
  font-size: 15px;
  font-weight: bold;
  padding: 7px 46px;
  width: 100%;
}
.wrapper-block {
	display: inline-block;
	margin-bottom: 28px;
	margin-top: 25px;
	padding-left: 35px;
	padding-right: 35px;
}
.wrapper-form .wrapper-top-block .popup-modal-dismiss.fa.fa-times {
    background: #c1c1c3 none repeat scroll 0 0;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: normal !important;
    height: 21px;
    padding: 2px 3px 4px 5px;
    position: absolute;
    right: 8px;
    text-decoration: none;
    top: 9px;
    width: 21px;
}
.wrapper-form .submit-btn .fa.fa-arrow-circle-right {
	background: #2e9ae2 none repeat scroll 0 0;
	color: #fff;
	font-size: 17px;
	padding: 9px 13px;
	position: absolute;
	right: 1px;
}
.wrapper-form .text-block span {
	color: #202020;
	font-size: 15px;
	line-height: 0;
}
.wrapper-form .text-block p {
  color: #202020;
  font-size: 17px;
  font-weight: bold;
  line-height: 21px;
  margin-bottom: 0;
  margin-top: 0;
}
.wrapper-form .modal-logo img {
	background: #fff none repeat scroll 0 0;
	border: 1px solid #9d9998;
	border-radius: 50%;
	max-width: 23%;
	padding: 3px;
}
.white-popup-block {
	margin: 40px auto;
	max-width: 317px;
	position: relative;
	text-align: left;
}
.share-buttons a:hover {
	opacity:.7
}
.mfp-bg {
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1042;
	overflow:hidden;
	position:fixed;
	background:#0b0b0b;
	opacity:.8;
	filter:alpha(opacity=80)
}
.mfp-container {
	text-align:center;
	position:absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
    overflow: scroll;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box
}
.mfp-container:before {
	content:'';
	display:inline-block;

	vertical-align:middle
}
.mfp-align-top .mfp-container:before {
	display:none
}
.mfp-content {
  display: inline-block;
  margin: 118px auto;
  position: relative;
  text-align: left;
  vertical-align: middle;
  z-index: 1045;
}
.mfp-loading.mfp-figure {
	display:none
}
.mfp-hide {
	display:none!important
}

.monthly-payment-block > span {
  border: 2px solid rgba(204, 204, 204, 0.46);
	border-radius: 7px;
	padding: 28px 5%; /* @KN: Original 10px 2% */
  background-color: rgba(0,0,0,0.2);
}
span.monthly-curreny-symbol {
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.5);
}
input#donation_amount {
    min-width: 40%;
    padding: 10px 20px;
    border-radius: 3px;
    border: 2px #eee solid;
    font-size: 20px;
}
.header-content .control {
  text-shadow: 1px 1px rgba(0,0,0,0.5);
  font-weight: 600;
}
.charity-donation-data {
  padding-top: 30px;
}

.charity-donation-data .payment-period-box {
  display: inline-block;
  float: none;
  padding-top: 30px;
  /*width: 40%;*/
}

.payment-period-box .payment-period.payment-monthly {
  float: left;
  width: auto;
  margin-left: 20px;
}


.charity-donation-data .payment-purpose {
  margin-bottom: 20px;
  margin-top: 20px;
}

.charity_donation_submit_button {
  background-color: #009dd7;
  border: medium none;
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  float: none;
  font-size: 14px;
  padding: 8px 10px;
  text-align: center;
  width: auto;
}

.payment-methods .popup-modal, .payment-methods .pay-card {
  background-color: #009dd7;
  border-color: #009dd7;
  border-radius: 3px;
  color: #ffffff;
  display: inline-block;
  float: none;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 20px;
  text-align: center;
  width: 100%;
}

.payment-methods .card-payment.payment-button {
    text-align: center;
    width: 100%;
}
.default-active .card-payment.payment-button {
    float: left;
    width: 100% !important;
}
.charity-donation-data .monthly-text {
  margin: 0 0 0 0px;
}
.payment-methods {
    margin: 0 auto;
    text-align: center;
}


.donation-msgs {
    /*background-color: rgba(210, 58, 88, 0.8); /* @KN: Switch to selected color */*/
    margin-top: 10px;
    *min-height: 32px;

}
.donation-msgs span {padding:10px 20px;}
.donation-msgs p { padding-bottom: 20px !important; } /* @KN: Paragraph spacing */
.donation-msgs p:first-child { padding-top: 20px !important; } /* @KN: Paragraph spacing */
/* @KN: Personalized msg background */
.donation-msgs span.donation-msg-gf { background-color: rgba(210, 58, 88, 0.8); border-radius: 8px; }
.donation-msgs span.donation-msg-df { background-color: rgba(132, 72, 149, 0.8); border-radius: 8px; }
.charity-donation-data .payment-methods {
  display: inline-block;
  float: none;
  text-align: center;
  width: 35%;
}
/*---check out button css add  start----*/
.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 18px;
    text-align: left;
}
.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}
.control--radio .control__indicator::after {
    left: 7px;
    top: 7px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #898484;
}
.control--radio .control__indicator {
    border-radius: 50%;
}
.control__indicator {
	position: absolute;
	top: 2px;
	left: 0;
	height: 20px;
	width: 20px;
	background: #e6e6e666;
	background-color: rgba(230, 230, 230, 0.02);
	background-image: none;
	background-repeat: repeat;
	background-attachment: scroll;
	background-clip: border-box;
	background-origin: padding-box;
	background-position-x: 0%;
	background-position-y: 0%;
	background-size: auto auto;
	border: 1px solid #fff;
}
.control input:checked ~ .control__indicator::after {
    display: block;
}
.control--radio .control__indicator::after {
    left: 5px;
    top: 5px;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: #FFF;
}
.control__indicator::after {
    content: '';
    position: absolute;
    display: none;
}
.payment-period.payment-yearly {
    width: auto;
    float: left;
    margin-left: 20px;
}

.payment-period.payment-onetime{
    width: auto;
    float: left;
    margin-left: 0;
}

.et_pb_section .cd-output-block.result-image {
  display: inline-block;
  padding: 10px 0 20px;
  text-align: center;
}
.et_pb_section .size-thumbnail.wp-image-3344.aligncenter {
  display: inline-block !important;
  float: left !important;
  height: 116px !important;
  width: 116px !important;
}

.cd-output-block .img-to-arrow {
  color: #32a934 !important;
  float: left;
  margin: 40px 15px 0;
}

.et_pb_section .circle-block-count > span {
  background-color: #ffffff !important;
  border: 3px solid #32a934 !important;
  border-radius: 50%;
  color: #32a934 !important;
  display: inline-block !important;
  /*font-size: 50px !important;*/
  font-size: 40px;
  height: 116px !important;
  line-height: 116px !important;
  width: 116px !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.white-popup {
  background-color: #f5f5f7;
  border-radius: 5px;
  display: inline-block;
  float: none;
  margin: 150px auto 0;
  padding: 15px;
  text-align: center;
  width: 40%;
}
.white-popup-content > h4 {
  float: none;
  margin: 0 auto;
  text-align: center;
}

.white-popup button {
  background-color: #3fb0ea;
  border: medium none;
  border-radius: 2px;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  padding: 5px 10px;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
  display: inline-block;
  float: left;
  text-align: center;
  width: 100%;
}
.mfp-content { float: none; }


body .mfp-wrap .mfp-container button:hover {
  background-color: #2e9ae2 !important;
}
.donating-offline {
  background-color: #d0cece;
  border: 3px solid #5b9bd5;
  margin: 0 auto;
  padding: 12px 10px 12px 22px;
  text-align: left;
  width: 58%;
}

.popup-modal-dismiss.fa.fa-times {
  float: right;
}

.donating-offline strong {
  color: #000000;
  display: inline-block;
  float: left;
  text-align: left;
  width: 98%;
}

.donating-offline-content li {
  color: #3a3939;
  margin: 10px;
}
.offline-info-btn {
  display: inline-block;
  float: left;
  text-align: center;
}

.et_pb_section.et_pb_section_2.et_section_regular .payment-methods {
  display: inline-block;
  float: none;
  text-align: center;
  /*width: 38%;*/
  width: 100%;
  max-width: 580px;
  margin-top: 10px;
}

.et_pb_section.et_pb_section .default-active .card-payment.payment-button {
  float: left;
  width: 51%;
}

.et_pb_section.et_pb_section .offline-info-btn {
  display: inline-block;
  float: left;
  margin-top: 10px;
  text-align: center;
  width: 100%;
}


/*---check out button css end ----*/
@media all and (min-width: 320px) and (max-width: 480px) {

.mfp-content {
  margin: 20px auto;

}

.white-popup-block {

  max-width: 303px;

}
.header-content > h1 {
  font-size: 23px;
}

.header-content .control {
  font-size: 13px;
  margin-bottom: 0;
  padding-left: 23px;
  text-shadow: 1px 1px rgba(0,0,0,0.5); /* @KN: For visibility */
  font-weight: 600;
}

input#donation_amount {
  padding: 5px 5px !important;
  font-size: 18px !important;
  width: 50% !important;
}

.header-content .charity-donation-data .payment-period-box {

  display: inline-block;
  float: none;
  padding-top: 40px;
  /*width: 66%; /*@KN: Changed from default 56% width */*/
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
  width: 100% !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
  width: 100% !important;
}

.et_pb_section.et_pb_section_2.et_section_regular .payment-methods {
  width: 100% !important;
}

.charity-donation-data .monthly-text {
  margin: 0 0 0 10px;
}
.payment-purpose-image {
  display: inline-block;

  width: auto;
}

.purpose-options-selected {
  height: 97%;
}

.header-content .charity-donation-data .payment-methods {
  width: 100%;
}


}





@media all and (min-width: 481px) and (max-width: 767px) {

.charity-donation-data .payment-period-box {
  /*width: 39%;*/
}

.payment-purpose-image {
  display: inline-block;
  width: auto;
}

.purpose-options-selected {
  height: 97%;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
  width: 100% !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
  width: 100% !important;
}







}

@media all and (min-width: 768px) and (max-width: 1024px) {

.charity-donation-data .payment-period-box {
  /*width: 36%;*/
}

.payment-purpose-image {
  display: inline-block;
  width: auto;
}



.et_pb_fullwidth_header .et_pb_fullwidth_header_container {
  width: 100% !important;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
  width: 100% !important;
}

.charity-donation-data .payment-methods {
  width: 52%;
}




}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
.charity-donation-data .payment-methods {
    /*width: 53%;*/
}
}

.payment-methods {
    /*width: 28%;*/ /* @KN: Not necessary */
}
#post-2480 .et_pb_section_2 {
    padding-bottom: 0 !important;
}
#post-2480 .et_pb_section_3 {
    padding-top: 0 !important;
}

h3.cd-output-block span{color:#333333;}
h1.cd-output-block span{color:#008000;}
