.cd-donations-container {
  display: flex;
  justify-content: center;
}

.cd-donations-container .cd-donations-wrapper {
  font-family: "Karla", Sans-serif;
  font-weight: 600;
}

.cd-donations-container .cd-donations-wrapper .form-content .header-wrapper {
  background-color: #628093;
  border-radius: 10px;
  display: inline-block;
  margin: 0 0 20px 20px;
  max-width: 310px;
  padding-right: 10px;
  transform: skew(-15deg);
  -webkit-transform: skew(-15deg);
  -moz-transform: skew(-15deg);
  -o-transform: skew(-15deg);
}

.cd-donations-container .cd-donations-wrapper .form-content .header-wrapper .title-bg {
  background-color: #fff;
  border-radius: 5px;
}

.cd-donations-container .cd-donations-wrapper .form-content .header-wrapper .title-bg .title {
  color: #628093;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  margin: 0;
  padding: 16px;
  text-transform: uppercase;
  transform: skew(15deg);
  -webkit-transform: skew(15deg);
  -moz-transform: skew(15deg);
  -o-transform: skew(15deg);
}

.cd-donations-container .cd-donations-wrapper .form-content .header-wrapper .sub-title {
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  padding: 14px 20px;
  transform: skew(15deg);
  -webkit-transform: skew(15deg);
  -moz-transform: skew(15deg);
  -o-transform: skew(15deg);
}

#cd-donations-form .hide {
  display: none !important;
}

#cd-donations-form .tab {
  display: none;
}

#cd-donations-form .tab .donation-options {
  display: flex;
  gap: 20px;
}

#cd-donations-form .tab .donation-options .btn.btn-secondary.active {
  background-color: #fff;
  color: #628093;
}

#cd-donations-form .donation-options .btn.btn-secondary,
#cd-donations-form .unique-donation-value .btn.btn-secondary,
#cd-donations-form .monthly-donation-value .btn.btn-secondary {
  background-color: transparent;
  border: 2px solid #628093;
  font-weight: 600;
}

#cd-donations-form .donation-options .btn.btn-secondary {
  border-radius: 10px;
  font-size: 14px;
  transform: skew(-15deg);
  -webkit-transform: skew(-15deg);
  -moz-transform: skew(-15deg);
  -o-transform: skew(-15deg);
}

#cd-donations-form .text-field-group {
  margin-bottom: 0;
}

#cd-donations-form .text-field-group label {
  color: #fff;
  margin: 0;
}

#cd-donations-form .text-field-group input {
  margin: 0;
}

#cd-donations-form .anon-donation {
  color: #fff;
  margin-bottom: 5px;
}

#cd-donations-form .anon-donation .form-check {
  margin-top: 5px;
}

#cd-donations-form .anon-donation .form-check input,
#cd-donations-form .next-step .form-check input {
  cursor: pointer;
  display: none !important;
  height: initial;
  margin-bottom: 0;
  padding: 0;
  width: initial;
}

#cd-donations-form .anon-donation .form-check label,
#cd-donations-form .next-step .form-check label {
  color: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}

#cd-donations-form .anon-donation .form-check label:before,
#cd-donations-form .next-step .form-check label:before {
  appearance: none;
  background-color: transparent;
  border: 2px solid #628093;
  border-radius: 5px;
  content: '';
  cursor: pointer;
  display: inline-block;
  margin-right: 15px;
  padding: 10px;
  position: relative;
  transform: skew(-15deg);
  vertical-align: middle;
  -webkit-appearance: none;
  -webkit-transform: skew(-15deg);
  -moz-transform: skew(-15deg);
  -o-transform: skew(-15deg);
}

#cd-donations-form .anon-donation .form-check input:checked+label:after,
#cd-donations-form .next-step .form-check input:checked+label:after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: '';
  display: block;
  height: 18px;
  left: 9px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  width: 6px;
}

#cd-donations-form .opt-two-choices {
  margin-top: 15px;
}

#cd-donations-form .opt-two-choices .subtext {
  color: #fff;
  font-size: 25px;
  margin-bottom: 13px;
  text-transform: none;
}

#cd-donations-form .text-donations {
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  padding-bottom: 20px;
}

#cd-donations-form .text-donations span {
  color: #628093;
}

#cd-donations-form .text-donations .text-donation {
  display: none;
}

#cd-donations-form .unique-donation-value,
#cd-donations-form .monthly-donation-value {
  display: flex;
  flex-direction: row;
}

#cd-donations-form .direct-debit-payment label {
  color: #fff;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary,
#cd-donations-form .monthly-donation-value .btn.btn-secondary {
  align-items: center;
  border-radius: 50%;
  color: #628093;
  display: flex;
  height: 55px;
  justify-content: center;
  margin: 0 5px;
  max-width: 55px;
  min-width: 55px;
  vertical-align: middle;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary:first-child,
#cd-donations-form .monthly-donation-value .btn.btn-secondary:first-child {
  margin-left: 0;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary span,
#cd-donations-form .monthly-donation-value .btn.btn-secondary span {
  font-size: 12px;
  line-height: 16px;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary .other_value_donation,
#cd-donations-form .monthly-donation-value .btn.btn-secondary .other_value_donation {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 16px;
  max-width: 50px;
  padding: 0;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary .other_value_donation:focus,
#cd-donations-form .monthly-donation-value .btn.btn-secondary .other_value_donation:focus {
  outline: none;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary .other_value_donation::-webkit-outer-spin-button,
#cd-donations-form .unique-donation-value .btn.btn-secondary .other_value_donation::-webkit-inner-spin-button,
#cd-donations-form .monthly-donation-value .btn.btn-secondary .other_value_donation::-webkit-outer-spin-button,
#cd-donations-form .monthly-donation-value .btn.btn-secondary .other_value_donation::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary .other_value_donation::placeholder,
#cd-donations-form .monthly-donation-value .btn.btn-secondary .other_value_donation::placeholder {
  color: #628093;
  font-weight: bold;
}

#cd-donations-form .unique-donation-value .btn.btn-secondary,
#cd-donations-form .monthly-donation-value .btn.btn-secondary,
#cd-donations-form .unique-donation-value .btn.btn-secondary.active,
#cd-donations-form .unique-donation-value .btn.btn-secondary.focus,
#cd-donations-form .monthly-donation-value .btn.btn-secondary.active,
#cd-donations-form .monthly-donation-value .btn.btn-secondary.focus {
  background-color: #fff;
}

#cd-donations-form .form-buttons {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  padding-top: 20px;
  text-align: right;
}

#cd-donations-form .terms-and-conditions label a {
  color: #628093;
  text-decoration: none;
}

.custom-btn-two input {
  color: #628093;
  font-weight: bold;
  text-align: center;
}

#nextBtn,
#prevBtn,
#submitBtn {
  appearance: none;
  background-color: #628093;
  border: 1px solid #628093;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 25px;
  transform: skew(-15deg);
  -webkit-appearance: none;
  -webkit-transform: skew(-15deg);
  -moz-transform: skew(-15deg);
  -o-transform: skew(-15deg);
}

#prevBtn {
  margin-right: 20px;
}

#submitBtn {
  display: none;
}

.invalid-feedback {
  margin-top: 0 !important;
  position: absolute;
  top: 25px;
  width: max-content !important;
}

.payment-methods .form-check .form-check-label:before {
  margin-right: 0 !important;
}

.success-message {
  color: #fff;
  font-size: 18px;
  line-height: 20px;
  margin-top: 35px;
}

@media (min-width: 768px) {
  .cd-donations-container {
    max-width: 450px;
  }

  #cd-donations-form {
    max-width: 480px;
  }

  .cd-donations-container .cd-donations-wrapper .form-content .header-wrapper {
    max-width: 100%;
  }

  .cd-donations-container .cd-donations-wrapper .form-content .header-wrapper .title-bg .title {
    font-size: 20px;
    line-height: 26px;
    padding: 20px;
  }

  .cd-donations-container .cd-donations-wrapper .form-content .header-wrapper .sub-title {
    font-size: 17px;
    line-height: 22px;
    padding: 10px 20px;
  }

  #cd-donations-form .unique-donation-value .btn.btn-secondary,
  #cd-donations-form .monthly-donation-value .btn.btn-secondary {
    height: 100px;
    max-width: 100px;
    min-width: 100px;
  }

  #cd-donations-form .unique-donation-value .btn.btn-secondary span,
  #cd-donations-form .monthly-donation-value .btn.btn-secondary span {
    font-size: 25px;
    line-height: 20px;
  }

  #cd-donations-form .unique-donation-value .btn.btn-secondary .other_value_donation,
  #cd-donations-form .monthly-donation-value .btn.btn-secondary .other_value_donation {
    font-size: 16px;
    line-height: 20px;
  }

  #cd-donations-form .donation-options .btn.btn-secondary {
    font-size: 20px;
  }

  #cd-donations-form .text-donations {
    font-size: 26px;
    line-height: 32px;
  }

  #nextBtn,
  #prevBtn,
  #submitBtn {
    font-size: 18px;
  }

  .payment-methods .form-check .form-check-label:before {
    margin-right: 5px !important;
  }

  .form-content .header-wrapper .title {
    font-size: 20px;
    line-height: 26px;
  }

  .form-content .header-wrapper .sub-title {
    font-size: 18px;
    line-height: 20px;
  }
}

@media (min-width: 1024px) {
  .cd-donations-container {
    max-width: 600px;
  }

  .cd-donations-container .cd-donations-wrapper .form-content .header-wrapper {
    max-width: 90%;
  }

  #cd-donations-form .text-donations {
    font-size: 24px;
    line-height: 32px;
  }

  #cd-donations-form .anon-donation {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  #cd-donations-form {
    max-width: 600px;
  }

  .cd-donations-container .cd-donations-wrapper .form-content .header-wrapper {
    max-width: 100%;
  }

  #cd-donations-form .text-donations {
    font-size: 32px;
    line-height: 40px;
  }

  #cd-donations-form .donation-options .btn.btn-secondary {
    font-size: 26px;
  }
}
