.pd-alert {
	padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.pd-alert.success {
	color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.pd-alert.danger {
	color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.pdp-donation-for {
	margin-bottom: 5px;
    display: inline-block;
}
.pdp-bt-pad{
	margin-top: 10px;
}

.mpg-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.mpg-modal-content {
    /*position: fixed;*/
    /*bottom: 0;*/
    background-color: #fefefe;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s
}

/* The Close Button */
.mpg-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.mpg-close:hover,
.mpg-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.mpg-modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.mpg-modal-body {padding: 2px 16px;}

.mpg-modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

.cp-payment-form-area .cp-payment-form {
  padding-bottom: 30px;
  font-size: 14px;
}
.cp-payment-form-area .cp-payment-form .input-section h6 {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 18px;
}
.cp-payment-form-area .cp-payment-form .input-section h6 span {
  font-size: 12px;
  margin-top: 10px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group {
  margin-bottom: 20px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group:after {
  display: table;
  content: '';
  clear: both;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-label {
  float: left;
  width: 200px;
  text-align: right;
  padding-right: 20px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-label p {
  margin-top: 0;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-label span {
  color: red;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-field {
  width: calc(100% - 220px);
  float: left;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-field input {
  width: 100%;
  max-width: 400px;
  height: 30px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-field select {
  width: 100%;
  max-width: 400px;
  height: 34px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .input-field p {
  margin-top: 0;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .card-type:after {
  display: table;
  content: '';
  clear: both;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .card-type .radio {
  float: left;
  width: 70px;
  margin-right: 20px;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 20px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .card-type .radio input {
  margin-left: 0;
  height: 20px;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .card-type .radio img {
  width: 70px;
  margin: 0 auto;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .expiration-date:after {
  display: table;
  content: '';
  clear: both;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .expiration-date .card-expire-info {
  float: left;
  width: 60px;
  text-align: center;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .expiration-date .card-expire-info input {
  padding: 0;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .expiration-date .card-expire-info + .card-expire-info {
  margin-left: 20px;
  position: relative;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .expiration-date .card-expire-info + .card-expire-info:before {
  content: '/';
  position: absolute;
  left: -12px;
  top: 0;
}
.cp-payment-form-area .cp-payment-form .input-section .form-group .cvv input {
  width: 60px;
}
.cp-payment-form-area .cp-payment-form .input-section + .input-section {
  margin-top: 60px;
}
.cp-payment-form-area .cp-payment-form .button-area {
  margin-left: 220px;
}
.cp-payment-form-area .cp-payment-form .button-area button {
  height: 34px;
  padding: 0 20px;
}

.mpg-modal .mpg-modal-content {
  position: relative;
  top: 50px;
  bottom: 50px;
  padding: 20px 0;
  margin: 0 auto;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 700px;
}
.mpg-modal .mpg-modal-content .mpg-modal-header {
  padding: 0;
  background: transparent;
  position: relative;
}
.mpg-modal .mpg-modal-content .mpg-modal-header .mpg-close {
  font-size: 18px;
  line-height: 1;
  position: absolute;
  top: -20px;
  right: 0;
  background: #000;
  color: #fff;
  padding: 5px 8px;
}

@media all and (max-width: 539px) {
  .cp-payment-form-area .cp-payment-form .input-section h6 span {
    float: none !important;
    display: block;
    margin-top: 5px;
  }
  .cp-payment-form-area .cp-payment-form .input-section .form-group .input-label {
    float: none;
    width: 100%;
    text-align: left;
    padding-right: 0;
  }
  .cp-payment-form-area .cp-payment-form .input-section .form-group .input-field {
    float: none;
    width: 100%;
  }
  .cp-payment-form-area .cp-payment-form .input-section + .input-section {
    margin-top: 40px;
  }
  .cp-payment-form-area .cp-payment-form .button-area {
    margin-left: 0;
  }
}