/* Minimal GiveWP new layout emulation for template override
   Place in your theme at: yourtheme/give/newlayout-override.css
*/

:root {
  --givewp-primary-color: #1e73be;
  --givewp-grey-25: #f2f2f2;
  --givewp-shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --givewp-spacing-1: .25rem;
  --givewp-spacing-2: .5rem;
  --givewp-spacing-4: 1rem;
  --givewp-spacing-6: 1.5rem;
  --givewp-spacing-8: 2rem;
  --givewp-spacing-10: 2.5rem;
  --givewp-spacing-20: 5rem;
  --givewp-rounded-full: 9999px;
}

.container.give-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

[id*=give-form] .give-form-header {
  align-items: center;
  background-color: var(--givewp-primary-color);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: var(--givewp-shadow-xs);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--givewp-spacing-6);
  text-align: center;
  width: 100%;
  border-bottom: none;
  padding: clamp(var(--givewp-spacing-6), 7vw, var(--givewp-spacing-10));
}

.give-form-header .give-form-title { 
  margin: 0; 
  font-size: clamp(1.5rem, 2.5vw, 2rem);
   line-height: 1.1; 
   color: white;
 }
.give-form-header .give-form-description { 
  max-width: 600px;
  margin-left: auto;
  margin-right: auto; 
  font-size: 20px;
}

.give-layout { display: grid; grid-template-columns: 1fr !important; gap: var(--givewp-spacing-6); }
@media (min-width: 900px) { .give-layout { grid-template-columns: 360px 1fr; align-items: start; } }

#give-sidebar-left .images img { width: 100%; height: auto; display: block; border-radius: .5rem; }

[id*=give-form] .summary.entry-summary {
  width: 100%;
  float: none;
  background-color: #fff;
  border: 1px solid var(--givewp-grey-25);
  border-radius: 0 0 .5rem .5rem;
  box-shadow: var(--givewp-shadow-xs);
  padding: var(--givewp-spacing-6);
}

.summary.entry-summary h1.give-form-title { font-size: 1.875rem; margin: 0 0 1rem; }

/* Inputs */
.summary.entry-summary input[type=email],
.summary.entry-summary input[type=password],
.summary.entry-summary input[type=text],
.summary.entry-summary textarea {
  background-color: #fff;
  border-radius: .25rem;
  border: 1px solid #666;
  color: #4d4d4d;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  width: 100%;
  line-height: 1.2;
}

.summary.entry-summary select:not(.givewp-fields-amount__currency-select) {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"), linear-gradient(180deg,#fff 0,#fff);
  background-position: right var(--givewp-spacing-4) top 50%, 0 0;
  background-repeat: no-repeat, repeat;
  background-size: .65em auto, 100%;
  border: 1px solid #666;
  border-radius: .25rem;
  color: #4d4d4d;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  padding: .9rem var(--givewp-spacing-8) .9rem 1.1875rem;
}

/* Submit button */
.summary.entry-summary button[type=submit],
.summary.entry-summary input[type=submit],
.summary.entry-summary .give-submit {
  align-items: center;
  background-color: var(--givewp-primary-color);
  border: .125rem solid var(--givewp-primary-color);
  border-radius: .5rem;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.125rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  margin: 1rem 0;
  padding: 1rem;
  text-align: center;
  width: 100%;
}

/* Secure badge (optional) */
.givewp-form-secure-badge {
  align-items: center;
  background-color: #fff;
  border-radius: var(--givewp-rounded-full);
  color: #222;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 500;
  gap: .5rem;
  line-height: 1.43;
  margin: 0 auto;
  padding: var(--givewp-spacing-1) var(--givewp-spacing-4);
}


/* Donation level buttons */
#give-donation-level-button-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: .5rem 0 1rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) {
  #give-donation-level-button-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  #give-donation-level-button-wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
#give-donation-level-button-wrap li { display: contents; }
#give-donation-level-button-wrap .give-donation-level-btn {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1.5px solid #cfd3d7;
  border-radius: .5rem;
  color: #333;
  cursor: pointer;
  font-weight: 600;
  inline-size: 100%;
  padding: .75rem 1rem;
  text-align: center;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  font-size: 20px;
}

 #give-donation-level-button-wrap:after, #give-donation-level-button-wrap:before {
     content: " ";
     display: none !important;
 }

#give-donation-level-button-wrap .give-donation-level-btn:hover {
  border-color: var(--givewp-primary-color);
  color: var(--givewp-primary-color);
}
#give-donation-level-button-wrap .give-donation-level-btn:focus-visible {
  outline: none;
  border-color: var(--givewp-primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--givewp-primary-color) 25%, transparent);
}
/* Active/selected states used by GiveWP */
#give-donation-level-button-wrap .give-donation-level-btn.give-level-active,
#give-donation-level-button-wrap .give-donation-level-btn.give-default-level,
#give-donation-level-button-wrap .give-donation-level-btn[aria-pressed="true"] {
  background-color: var(--givewp-primary-color);
  border-color: var(--givewp-primary-color);
  color: #fff;
}
/* Make the custom amount button visually consistent */
#give-donation-level-button-wrap .give-btn-level-custom { font-style: normal; }

/* Amount field + total spacing */
.summary.entry-summary .give-total-wrap,
.summary.entry-summary .give-donation-amount { margin-bottom: 1rem; }
.summary.entry-summary .give-donation-amount .give-amount-top {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Field labels and spacing */
.summary.entry-summary .give-fl-wrap .give-label,
.summary.entry-summary label.give-label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #333;
}
.summary.entry-summary .form-row { margin-bottom: 1rem; }
.summary.entry-summary fieldset { border: 0; margin: 0 0 1rem; padding: 0; }
.summary.entry-summary fieldset legend { font-weight: 700; margin-bottom: .5rem; }

/* Inputs (augment existing rules) */
.summary.entry-summary .give-input,
.summary.entry-summary .give-fl-input,
.summary.entry-summary .give-fl-textarea {
  background-color: #fff;
  border-radius: .25rem;
  border: 1px solid #666;
  color: #4d4d4d;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  width: 100%;
  line-height: 1.2;
}
.summary.entry-summary .give-input:focus,
.summary.entry-summary .give-fl-input:focus,
.summary.entry-summary .give-fl-textarea:focus,
.summary.entry-summary select:focus {
  outline: none;
  border-color: var(--givewp-primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--givewp-primary-color) 20%, transparent);
}
/* Invalid/Error states */
.summary.entry-summary .give-input[aria-invalid="true"],
.summary.entry-summary .give-fl-input[aria-invalid="true"],
.summary.entry-summary .give-fl-textarea[aria-invalid="true"],
.summary.entry-summary select[aria-invalid="true"],
.summary.entry-summary .give-required-error {
  border-color: #e11d48;
  box-shadow: none;
}

/* Payment method radio pills */
#give-payment-mode-wrap #give-gateway-radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: .25rem 0 1rem;
  padding: 0;
}

@media (max-width: 680px){
    #give-payment-mode-wrap #give-gateway-radio-list {
      gap: 1.5rem;
      flex-direction: column;
    }

}

#give-gateway-radio-list input.give-gateway { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; opacity: 0; }
#give-gateway-radio-list label.give-gateway-option {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border: 1.5px solid #cfd3d7;
  border-radius: .5rem;
  cursor: pointer;
  color: #333;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
#give-gateway-radio-list label.give-gateway-option:hover { border-color: var(--givewp-primary-color); color: var(--givewp-primary-color); }
#give-gateway-radio-list li.give-gateway-option-selected label.give-gateway-option {
  background-color: var(--givewp-primary-color);
  border-color: var(--givewp-primary-color);
  color: #fff;
}

/* Checkboxes/radios in content */
.summary.entry-summary input[type="checkbox"],
.summary.entry-summary input[type="radio"] { accent-color: var(--givewp-primary-color); }

/* Final total styling */
.summary.entry-summary #give-final-total-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: .5rem;
}
.summary.entry-summary .give-final-total-amount { font-weight: 700; font-size: 1.25rem; }


#give-sidebar-left{
  display: none;
}

h1.give-form-title.entry-title.fusion-responsive-typography-calculated {
    display: none;
}

.container.give-wrap {
    padding: 0 !important;
    margin: 0 !important
}

.container.give-wrap {
    width: 100vw !important;
    max-width: none !important;
}

.single-give_forms .give_forms {
    margin: 0;
    max-width: none !important;
}
.give-layout {
    max-width: 1024px !important;
    margin: 20px auto;
    width: 80%;
}


#give-recurring-form .give-section-break, #give-recurring-form h3.give-section-break, #give-recurring-form h4.give-section-break, #give-recurring-form legend, form.give-form .give-section-break, form.give-form h3.give-section-break, form.give-form h4.give-section-break, form.give-form legend, form[id*=give-form] .give-section-break, form[id*=give-form] h3.give-section-break, form[id*=give-form] h4.give-section-break, form[id*=give-form] legend {
max-width: 80vw !important;
width: 80vw  !important;
}

form#give-login-form legend,
form#give-register-form legend{
  width: 100% !important;
}


[id*=give-form] .give-donation-amount.form-row-wide {
    text-align: center;
    display: flex;
    justify-content: center;
}

[id*=give-form] span.give-currency-symbol.give-currency-position-before {
    background: var(--givewp-primary-color);
    border-radius: .5rem 0 0 .5rem;
    color: white;
    border: 2px solid var(--givewp-primary-color);
    font-weight: 600;
    height: auto; 
    line-height: unset;
    padding: .75rem 1rem;
}

form[id*=give-form] .give-donation-amount #give-amount, form[id*=give-form] .give-donation-amount #give-amount-text{
    border-radius: 0 .5rem .5rem 0;
    border: 2px solid var(--givewp-primary-color);
    font-size: 20px;
    font-weight: 600;
    padding: .75rem 1rem;
    height: auto; 
    line-height: unset;
}

form[id*=give-form]  #give-final-total-wrap{
    border-radius: 0 .5rem .5rem 0;
    font-size: 20px;
    font-weight: 600;
    padding: .75rem 1rem;
    height: auto; 
    line-height: unset;
    display: flex;
    justify-content: center;
}

form[id*=give-form]  #give-final-total-wrap .give-donation-total-label{
    border-radius: .5rem 0 0 .5rem;
    background: var(--givewp-primary-color);
    border: 2px solid var(--givewp-primary-color);
    font-size: 20px;
    font-weight: 600;
    padding: .75rem 1rem;
    height: auto; 
    line-height: unset;
    color: white;
}
form[id*=give-form]  #give-final-total-wrap .give-final-total-amount{
    border: 2px solid var(--givewp-primary-color);
    border-radius: 0 .5rem .5rem 0;
    font-size: 20px;
    font-weight: 600;
    padding: .75rem 1.25rem .75rem  1rem ;
    height: auto; 
    line-height: unset;
    display: flex;
    justify-content: center;
}
form[id*=give-form]  #give-final-total-wrap #give-recurring-modal-period-wrap{
    border-radius: 0 .5rem .5rem 0;
    background: var(--givewp-primary-color);
    font-size: 20px;
    font-weight: 400;
    padding: .75rem 1rem;
    height: auto; 
    color: white;
    margin-left: -0.5rem;
    line-height: unset;
}

.give-recurring-donors-choice {
    text-align: center;
    border-radius: .5rem;
    border: 1.5px solid #F9F9F9;
    padding: .75rem 1rem;
    background: #F9F9F9;
    display: flex !important;
    gap: 20px;
    justify-content: center;
    max-width: 400px;
    margin: 10px auto 30px !important;
    line-height: unset;
}

fieldset#give_checkout_user_info {
 background: #F9F9F9;
 margin-bottom: 20px;
}

select.give-recurring-donors-choice-period {
    padding: 10px 25px 10px 10px !important;
    height: auto !important;
    border-radius: .5rem;
    
}

img.additional-banner-image {
    max-width: 300px;
    border-radius: .5rem;
    box-shadow: 5px 0 20px 5px #222;
    margin-bottom: 20px;
}

form[id*=give-form] input#give-purchase-button {
    align-items: center;
    background-color: var(--givewp-primary-color);
    border: .125rem solid var(--givewp-primary-color);
    border-radius: .5rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 1.375rem;
    font-weight: 600;
    inline-size: 100%;
    justify-content: center;
    line-height: 1.2;
    margin: 1rem 0;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    transition: all .4s ease;
}

form[id*=give-form] input#give-purchase-button:hover {
    background-color: #222;
    border: .125rem solid #222;
}


[id*=give-form] fieldset {
  border-radius: 4px;
  padding: 50px 30px 30px;
  position: relative;
}

[id*=give-form] fieldset#give_cc_fields {
  background: #F9F9F9;
}

[id*=give-form] [id^="give-checkout-login-register-"] {
    background: #F9F9F9;
    margin-bottom: 20px;
}

[id*=give-form] fieldset legend {
    position: absolute;
    top: 0;
    left: 30px;
    padding: 0 0.5em;
    font-weight: bold;
    font-size: 1em;
    color: #333;
    width: calc(100% - 60px) !important;
    border: none;
}

.form-row.form-row-wide.ffm-field-container.guest_only fieldset {
    padding: 0;
}




.form-row.ffm-field-container.pg_number::before {
  content: "If you are already a Planned Giver, please enter your Planned Giving number below.";
  display: block;
  color: #222;
  margin-bottom: 0.5em;
  margin-top: 1.5em;
  margin-left: 0.5em;
}

fieldset#give-register-account-fields-9685 {
    margin-top: 0 !important;
    padding: 0 30px;
}


.form-row.form-row-wide.ffm-field-container.js-phone-unformatted,
.form-row.form-row-wide.ffm-field-container {
    max-width: 80%;
    margin: auto;
}

.form-row.form-row-wide.ffm-field-container {
    margin-bottom: 30px
}

fieldset#give-payment-mode-select {
    text-align: center;
}

ul#give-gateway-radio-list {
    justify-content: center;
}
ul#give-gateway-radio-list li{
cursor: pointer;
font-size: 1.375rem;
font-weight: 600;
line-height: 1.2;
margin: 1rem 0;
padding: 1rem 0;
transition: all .4s ease;
}

[id*=give-form] fieldset > fieldset{
    padding: 0;
    margin: 0;
    position: relative;
}