/* customization for front end donation forms, some */
.gift-type-select div {
  width: 45%;
  margin-right: 3px;
  float: left;
}
div.crm-container .gift-type-select label {
  display: block;
  font-weight: bold;
  text-align: center;
  padding: 16px 16px; 
  font-size: 20px;
  font-variant: small-caps;
  cursor: pointer;
  border: 1px solid #00ABB4;
}

.gift-type-select div:hover label,
.gift-type-select div.selected label {
  background-color: #00ABB4;
  color: #FFF;
}

.gift-type-select:after {
  content: "";
  display: table;
  clear: both;
}

/* Other amount input sits beside the "Other Amount" radio */
.donation-other-amount-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin-left: 0.5em;
  vertical-align: middle;
}
.donation-other-amount-currency {
  font-weight: bold;
}
body.donation-other-amount-inline .crm-container input.donation-other-amount-input,
.crm-container input.donation-other-amount-input {
  width: 6em !important;
  max-width: 6em !important;
  display: inline-block !important;
  margin: 0 !important;
  vertical-align: middle;
  color: #000;
  background: #fff;
  border: 1px solid #888;
  padding: 0.25em 0.4em;
}
body.donation-other-amount-inline .crm-container input.donation-other-amount-input:focus {
  outline: 2px solid #00ABB4;
  border-color: #00ABB4;
}
/* Hide the original stacked other-amount section once relocated */
.crm-section.donation-other-amount-relocated {
  display: none !important;
}

/* contribution page layout for widish screens */
@media all and (min-width: 960px) {
  #crm-main-content-wrapper.has-intro-text .crm-contribution-main-form-block {
    width: 35%;
    float: right;
    border: 1px solid #00abb4;
    padding: 10px 10px;
    background-color: #E6FEFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin: 10px 10px;
    font-size: 90%;
  }
  #crm-main-content-wrapper.has-intro-text .crm-contribution-main-form-block #priceset fieldset {
    border-top: none;
  }
  #crm-main-content-wrapper.has-intro-text #intro_text {
    width: 55%;
    float: left;
  }

  #civicrm-footer {
    clear: both;
  }
}

