/*donate*/
    #donationForm {
        display: flex;
        flex-direction: column;
        max-width: 450px;
        padding: 0px 0px 73px;
        gap: 15px;
        position: relative;
        background-color: #fff;
    } 
    #donationForm img.butterfly{
        position: absolute;
        right: -50px;
        bottom: 0px;
    }
    #donationForm div{
        text-align: center;
    }
    #donationForm .amounts,
    #donationForm .amounts li{
        list-style: none;
        margin: 0;
        padding: auto;
    }
    #donationForm .amounts {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        justify-content: center;
        margin: 0;
        padding: 0;
        max-width: 400px;
    }
    #donationForm .amounts li{
        display: inline-block;
        width: 55px;
        line-height: 34px;
        border-radius: 10px;
        border: 1px solid #3C97D3;
        cursor: pointer;
        text-align: center;
        font-size: 11px;
        font-family: Inter, sans-serif;
        font-weight: 700;
        box-sizing: border-box;
    }
    #donationForm .amounts li:last-child{
        width: 116px;
    }
    #donationForm input::placeholder,
    #donationForm textarea::placeholder,
    .amounts * {
        color: #3C97D3;
    }

    #donationForm .title{
        font-family: 'Avant Garde', sans-serif;
        color: #3C97D3;
        font-size: 48px;
        font-weight: 700;
        line-height: 24px;
        text-align: center;
    }
    #donationForm .title img{
        width: 126px;
        height: auto;
    }
    #donationForm .subtitle{
        font-family: Inter, sans-serif;
        font-size: 16px;
        line-height: 24px;
        color: #3C97D3;
    }
    #donationForm textarea{
        background-color: #d9d9d9;
        border-radius: 10px;
        width: 100%;
        max-width: 370px;
        -webkit-appearance: none;
        appearance: none;
        border: none;
        padding: 12px;
        height: 40px;
        margin: 0 auto;
        color: #000 !important;
    }
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    textarea::placeholder {
      color: #000 !important;
      opacity: 1;
    }

    /* Internet Explorer 10-11 */
    textarea:-ms-input-placeholder {
      color: #000 !important;
    }

    /* Microsoft Edge */
    textarea::-ms-input-placeholder {
      color: #000 !important;
    }

    #donationForm [name="special_message"]{
        height: 100px;
    }
    #donationForm [name="other-amount"] {
        font-size: 9px;
        border: none;
        -webkit-appearance: none;
        appearance: none;
        width: 116px;
        text-align: center;
        background-color: transparent;
        line-height: 31px;
    }
    #donationForm input[type="text"] {
      padding-left: 2px !important;
      padding-right: 5px !important;
      font-size: 10px !important;
      font-weight: 600 !important;
    }

    #donationForm [type="submit"] {
      background-color: #3C97D3;
      color: #fff;
      font-family: Inter,sans-serif;
      font-size: 16px;
      line-height: 40px;
      width: 163px;
      text-align: center;
      display: block;
      margin: 9px auto;
      border-radius: 20px;
      border: none;
    }

    #donationForm li:hover,
    #donationForm li.selected{
        background: RGB(60, 151, 211, 0.2);
    }
    
/* Hide the default checkbox */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Container aligns checkbox + text */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 14px;
  user-select: none;
  justify-content: center;
}

/* Custom square */
.custom-checkbox span {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #3C97D3;;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked state */
.custom-checkbox input[type="checkbox"]:checked + span {
  background-color: #333;
  border-color: #333;
}

/* Checkmark */
.custom-checkbox input[type="checkbox"]:checked + span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: all 0.2s ease;
}

/* Keyboard focus accessibility */
.custom-checkbox input[type="checkbox"]:focus + span {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

@media screen and (max-width:499px){
    #donationForm img.butterfly {
    	transform: scale(0.7);
    }
}

/*end donate*/

solomon-teen-leadership/* Solomon Teen Leadership Form Styles */
.gform_wrapper form#gform_1 {
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header and Subheader */
.stl-form-header {
	color: #3C97D3;
	margin: 10px 0;
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
	letter-spacing: -1px;
	text-align: center;
	vertical-align: middle;
  color: #3C97D3;
}

.stl-form-subheader {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  margin: 0 auto;
  max-width: 650px;
  color: #6B7280;
}
/* Field Labels */
.gform_wrapper .gfield_label {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6B7280 !important;
  margin-bottom: 6px !important;
  display: block;
}

/* Inputs and Selects */
.gform_wrapper .gfield input[type="text"],
.gform_wrapper .gfield input[type="email"],
.gform_wrapper .gfield input[type="tel"],
.gform_wrapper .gfield input[type="date"],
.gform_wrapper .gfield select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #B0BABF !important;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  color: #6B7280 !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important; 
}
.gform-theme--framework .gfield:where(.gfield--type-multiselect, .gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework .gfield:where(.gfield--type-select, .gfield--input-type-select) .chosen-search input[type="text"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework .gfield:where(.gfield--type-select, .gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type="hidden"])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn)) > button:not([id*="mceu_"]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper input:is([type="submit"], [type="button"], [type="reset"]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme--framework.gform-theme.gform_wrapper input[type="submit"].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
	--gf-local-bg-color: transparent !important;
	--gf-local-border-color: #B0BABF !important;
	--gf-local-color: #6B7280 !important;
}
.gform_wrapper .gfield input:focus,
.gform_wrapper .gfield select:focus {
  border-color: #2a6ecf;
  outline: none;
}

/* Two-column layout for paired fields */
.gform_wrapper .gform_grid .gfield[data-layout-column-span="6"] {
  width: 48%;
  display: inline-block;
  margin-right: 4%;
}

.gform_wrapper .gform_grid .gfield[data-layout-column-span="6"]:nth-child(2n) {
  margin-right: 0;
}

/* Full-width fields */
.gform_wrapper .gform_grid .gfield[data-layout-column-span="12"] {
  width: 100%;
  margin-bottom: 20px;
}

/* Submit Button */
.gform_wrapper .gform_footer input[type="submit"] {
  background-color: #2a6ecf;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
  background-color: #1f5bb5;
  outline: none !important;
  border: 0 !important;
  color: #fff !important;
}
.overlayer .close-btn {
	position: absolute;
	top: 10px;
	right: 20px;
	background: none;
	border: none;
	font-size: 37px;
	cursor: pointer;
	color: #2E90DA;
}
.overlayer{
  opacity: 0;
  pointer-events: none;
  transition: all 1s ease;
}
.before,
.overlayer{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  right: 0;
  z-index: 100;
}
.before{
  display: block;
  background-color: #000;
  opacity: 0.5;
  z-index: 0;
}
.solomon-form {
  background-color: #fff;
  width: 100%;
  max-height: 100%;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	padding: 70px;
	box-sizing: border-box;
  overflow: auto;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}
.gform_fields {
	column-gap: 25px !important;
	row-gap: 25px !important;
	display: flex !important;
  flex-wrap: wrap !important;
}
.gfield--width-full {
	width: 100% !important;
}
.gfield--width-half{
  width: calc(50% - 13px) !important;
}
.ginput_container > *{
  width: 100% !important;
  text-align: left;
}
.ui-datepicker-trigger{
  opacity: 0 !important;
  position: fixed !important;
  width: 0 !important;
  height: 0 !important;
}
.gform_wrapper .gfield input[type="text"], .gform_wrapper .gfield input[type="email"], .gform_wrapper .gfield input[type="tel"], .gform_wrapper .gfield input[type="date"], .gform_wrapper .gfield select {
	padding: 0px 12px;
  text-align: left;
}
.gform-footer  .gform_button.button{
  margin: 0 auto !important;
  background-color: #2E90DA !important;
  border-radius: 25px !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 0 35px !important
}
.gfield_required{
  display: none !important;
}
form[id*="gform"] {
	padding: 35px 35px 80px !important;
	margin: 60px auto 0 !important;
	border: 1px solid #E5E7EB !important;
	border-radius: 8px !important;
	box-sizing: border-box;
	max-width: 758px;
}
#donate{
  max-width: 500px;
  padding: 50px 50px 0 50px;
}
#join-mail,
#contact,
#donate,
#apply{
  opacity: 0;
  transform: translate(-50%,-200%);
  transition: all 0.5s ease;
  pointer-events: none;
}
.overlayer.active{
  opacity: 1;
  pointer-events: auto;
}
.overlayer.active.apply #apply{
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.overlayer.active.contact #contact{
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.overlayer.active.mail #join-mail{
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.overlayer.active.donate #donate{
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.gform_confirmation_message{
    padding: 30px !important;
    font-size: 24px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    line-height: 38px !important;
    color: #8EC63F !important;
}
@media screen and (max-width: 767px){
  .gfield--width-half{
    width: 100% !important;
  }  
  .solomon-form {
    padding: 70px 0 !important;
  }
  .overlayer .close-btn {
    top: 50px;
  }

  .stl-form-subheader,
  .stl-form-header{
    padding-left: 20px;
    padding-right: 20px;
  }

    #donationForm textarea {
	    max-width: 90% !important;
    }
    #donationForm img.butterfly {
	    right: -20px !important;
    }
    .overlayer .close-btn {
	    top: 10px;
    }

}

