:root {
    --main-color: #ff0000;
    --white: #fff;
}

#donationForm .px-step {
    margin-bottom: 30px
}
#donationForm .px-step .px-step-header {
    position: relative;
    border-bottom: var(--main-color) 1px solid;
    padding: 13px 0;
}
#donationForm .px-step .px-step-header .px-step-header-title {
    color: var(--main-color);
    display: block;
    line-height: 24px;
    font-size: 24px;
    padding-left: 40px;
}
#donationForm .px-step .px-step-header .px-step-header-number {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 1;
    line-height: 27px;
    font-size: 17px;
    color: #fff;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--main-color);
}
#donationForm .px-step .px-step-header .px-step-header-number span {
    display: inline;
    border: 0;
    text-align: center;
}
#donationForm .px-step .px-step-content {
    padding: 30px 15px 30px 15px;
    /*background: #fff;*/
}
#donationForm .px-step .px-step-content .px-step-content-row {
    display: inline-block;
    width: 100%;
    position: relative;
    min-height: 0;
    line-height: 1.2;
    padding: 10px 0 10px 0;
}
#donationForm .px-step .px-step-content .px-step-content-row .px-step-content-amount-box {
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    /*width: 90px;*/
    min-width: 90px;
    height: 90px;
    background: #f6f6f6;
    border: #d9d9d9 1px solid;
    padding: 10px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: border-color ease 0.5s;
}
#donationForm .px-step .px-step-content .px-step-content-row .px-step-content-amount-box:hover {
    border: 1px solid #333;
}
#donationForm .px-step .px-step-content .px-step-content-row .px-step-content-amount-box.active {
    border: var(--main-color) 3px solid;
    padding: 8px;
}
#donationForm .px-step .px-step-content .px-step-content-row .px-step-content-amount-box-currency {
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}
#donationForm .px-step .px-step-content .px-step-content-row .px-step-content-amount-box-amount {
    display: block;
    font-size: 35px;
    text-align: center;
    height: 46px;
    position: relative;
}
#donationForm .px-step .px-step-content .px-step-content-row input.px-step-content-amount-box-amount-input[type=text] {
    display: inline-block;
    height: calc(100% - 5px)   ;
    vertical-align: middle;
    text-align: center;
    width: calc(100% - 12px);
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 2px 5px;
    font-size: 18px;
    border: #ccc 1px solid;
}
#donationForm .px-step .px-step-content .px-step-content-row input.px-step-content-amount-box-amount-input[type=text]:focus {
    border: #333 1px solid;
    border-radius: 0;
    outline: none;
}
#donationForm .px-step .px-step-content input[type=radio] {
    /*visibility: hidden;*/
    opacity: 0;
    position: absolute;
}
#donationForm .px-step .px-step-content select {
    box-sizing: border-box;
    background: #fff;
    border: #ccc 1px solid;
    padding: 0 20px;
    font-weight: normal;
    line-height: 1.2;
    font-size: 18px;
    color: #333;
    background-repeat: no-repeat;
    background-position: right;
    height: 46px;
    -webkit-appearance:  auto;
}


#donationForm .px-step .px-step-content input[type="radio"]:checked,
#donationForm .px-step .px-step-content input[type="radio"]:not(:checked) {
    position: absolute;
    /*left: -9999px;*/
    left: 0;
}
#donationForm .px-step .px-step-content input[type="radio"]:checked + label,
#donationForm .px-step .px-step-content input[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 18px;
    display: inline-block;
    font-size: 18px;
    padding-right: 10px;
    font-weight: normal;
}
#donationForm .px-step .px-step-content input[type="radio"]:checked + label:before,
#donationForm .px-step .px-step-content input[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#payment-type-recurring + label:before {
    top: 6px;
}
#donationForm .px-step .px-step-content input[type="radio"]:checked + label:after,
#donationForm .px-step .px-step-content input[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--main-color);
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#donationForm #payment-type-recurring + label:after {
    top: 11px;
}
#donationForm .px-step .px-step-content input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
#donationForm .px-step .px-step-content input[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
#donationForm .px-step.px-step-customer input[type=text],
#donationForm .px-step.px-step-customer input[type=email],
#donationForm .px-step.px-step-customer textarea,
#donationForm .px-step.px-step-customer select {
    box-sizing: border-box;
    background: #fff;
    width: 100%;
    height: 46px;
    border: #ccc 1px solid;
    padding: 0 20px;
    font-weight: normal;
    line-height: 1.2;
    font-size: 18px;
    color: #333;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: right;
    transition: all ease 0.5s;
}
#donationForm .px-step.px-step-customer input[type=text]:focus,
#donationForm .px-step.px-step-customer input[type=email]:focus,
#donationForm .px-step.px-step-customer textarea:focus,
#donationForm .px-step.px-step-customer select:focus,
#donationForm .px-step.px-step-customer input[type=text]:hover,
#donationForm .px-step.px-step-customer input[type=email]:hover,
#donationForm .px-step.px-step-customer textarea:hover,
#donationForm .px-step.px-step-customer select:hover{
    outline: none;
    border: 1px solid #333;
}
#donationForm .px-step.px-step-customer textarea {
    padding: 10px 20px;
    height: auto;
}
#donationForm .px-button {
    background-color: var(--main-color) !important;
    border-radius: 3px;
    border: 0;
    background-clip: padding-box;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    line-height: 1.2;
    font-size: 22px;
    text-align: center;
    padding: 10px 30px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
#donationForm .px-button:hover {
    /*text-shadow: 0 0 1px #fff;*/
    opacity: 0.8;
}
#donationForm .px-step .px-step-content .px-step-content-row.payment-means img {
    height: 38px;
    width: 56px;
    border: 1px solid #DDD;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 5px;
    display: inline !important;
}
/* lightbox popup */
#fade{
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: #000 !important;
    z-index: 1001;
    -moz-opacity: 0.7;
    opacity: .70;
    filter: alpha(opacity=70);
}
#success_btn.donation-popup,
#cancel_btn.donation-popup,
#message_btn.donation-popup{
    background-color: #FFF !important;
	display: none;
    position: fixed;
    border-radius: 5px !important;
    padding: 20px 20px 15px 20px !important;
	margin:0 auto !important;
    z-index: 99999;
	width: 25%;
	top:30%;
	left:0;
	right:0;
}
#success_btn.donation-popup .donatione-close,
#cancel_btn.donation-popup .donatione-close,
#message_btn.donation-popup .donatione-close {
    text-align: right;
    position:   relative;
}
#success_btn.donation-popup .close,
#cancel_btn.donation-popup .close,
#message_btn.donation-popup .close {
    display: inline-block;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 20px;
    line-height: 24px;
    background-color: var(--white);
    color: var(--main-color);
    border-radius: 100%;
    border: 2px solid var(--main-color);
    position: absolute;
    top: -30px;
    right: -30px;
    font-weight: bold;
    text-align: center;
}
#success_btn.donation-popup .donation-popup-bottom .close,
#cancel_btn.donation-popup .donation-popup-bottom .close,
#message_btn.donation-popup .donation-popup-bottom .close {
    background-color: var(--main-color);
    color: var(--white);
    border: 1px solid var(--main-color);
    position: relative;
    top: unset;
    right: unset;
    height: auto;
    width: auto;
    margin-top: 20px;
    padding: 6px 15px;
    border-radius: 3px;
    line-height: 20px;
    font-weight: normal;

}

#success_btn.donation-popup .donation-popup-text,
#cancel_btn.donation-popup .donation-popup-text,
#message_btn.donation-popup .donation-popup-text{
    font-size: 30px;
    line-height: 34px;
}

.px-modal-backdrop.in {
    z-index:100001;
}
#payrexxseaio-modal.px-modal {
    z-index:100002 !important;
}

@media screen and (max-width: 980px) {
    #success_btn.donation-popup,
    #cancel_btn.donation-popup,
    #message_btn.donation-popup{
    	width: 50%;
    	top:30%;
    }
}
@media screen and (max-width: 640px) {
    #success_btn.donation-popup,
    #cancel_btn.donation-popup,
    #message_btn.donation-popup{
    	width: 80%;
    	top:30%;
    }
}
.submitDiv {
    position: relative;
    overflow: hidden;
}
#donationSubmitSpinner.loader {
  font-size: 10px;
  margin: 0 20px;
  text-indent: -9999em;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--main-color);
  background: -moz-linear-gradient(left, var(--main-color) 10%, rgba(255, 255, 255, 0) 42%);
  background: -webkit-linear-gradient(left, var(--main-color) 10%, rgba(255, 255, 255, 0) 42%);
  background: -o-linear-gradient(left, var(--main-color) 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(left, var(--main-color) 10%, rgba(255, 255, 255, 0) 42%);
  background: linear-gradient(to right, var(--main-color) 10%, rgba(255, 255, 255, 0) 42%);
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  display: inline-block;
}

#donationSubmitSpinner.loader:before {
  width: 50%;
  height: 50%;
  background: var(--main-color);
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
#donationSubmitSpinner.loader:after {
  background: white;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}



/*
#success_btn{
	background-color: lightgreen;
}
#cancel_btn{
	background-color: tomato;
}
#message_btn{
	background-color: orange;
}
*/
