/* LAYOUT */
/* LAYOUT */
#custom-registration-module>div:nth-child(2)>div {
  display: none;
}
#custom-registration-module>div>div.active-step {
  display: block;
}
#custom-registration-module h2 {
  text-align: center;
}


/* MEMBERSHIP SELECTION CSS */
.membership-selection-inside>div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
  align-items: stretch;
  justify-content: center;
  gap: 50px;
}
.membership-selection-block {
  padding: 25px;
  background: #efefef;
  border-radius: 25px;
  width: calc(50% - 25px);
}
.membership-selection-block-info h3 {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
  text-align: center;
}
.membership-selection-block-info {
  text-align: center;
  padding-bottom: 25px;
}
.membership-selection-block-cta a {
  text-align: center;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #2F7751;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 15px;
  max-width: 250px;
  margin: 0 auto;
}
.membership-selection-block-cta {
  padding-top: 25px;
}
.membership-selection-block-price {
  background: #1D3447;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  margin-left: -25px;
  margin-right: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}
.membership-selection-block-price span.dollar-value {
  font-size: 50px;
  font-weight: bold;
}
.membership-selection-block-price>div>div {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}
.skip-step {
  padding-top: 50px;
}

.agreement-checkbox {
  height: 20px;
    width: 20px;
}

.skip-step a {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
/*   background: #aaaaaa; */
/*   color: #ffffff; */
  padding: 20px 25px;
  border-radius: 15px;
  min-width: 250px;
  display: inline-block;
  text-align: center;
}
.next-step a {
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  min-width: 250px;
  background: #2f7751;
  color: #ffffff;
  padding: 20px 25px;
  border-radius: 15px;
}
.next-step {
  text-align: center;
  padding-top: 50px;
}
.membership-selection-block-cta a {
  position: relative;
  transition: 0.2s;
}
.membership-selection-block-cta a:before {
  opacity: 0;
  z-index: -1;
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 25px;
  height: 15px;
  border-bottom: 6px solid #ffffff;
  border-left: 6px solid #ffffff;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: 0.2s;
}
.membership-selection-block-cta a.active:before {
  opacity: 1;
  z-index: 1;
}
.membership-selection-block-cta a.active {
  color: #2f7751;
}


/*  FORM CSS  */
.membership-form-inside h4 {
  margin-top: 25px;
  margin-bottom: 0;
}
.membership-form-inside label {
  padding-top: 15px;
}
.membership-form-inside form {
  background: #efefef;
  padding: 25px;
  border: none;
  border-radius: 25px;
}
.membership-form-inside fieldset {
  border: none;
  padding: 25px;
}
.field-group-3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}
.field-group-3>div {
  width: calc(33.33% - 15px);
}
.custom-multi-display, .membership-form-inside form input[type=date], .membership-form-inside form input[type=email], .membership-form-inside form input[type=file], .membership-form-inside form input[type=number], .membership-form-inside form input[type=password], .membership-form-inside form input[type=search], .membership-form-inside form input[type=tel], .membership-form-inside form input[type=text], .membership-form-inside form select, form textarea {
  min-height: 50px;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  display: flex;
  background: #ffffff;
  border: 1px solid #aaaaaa;
  font-size: 18px;
  color: #000000;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.custom-multi-display>div {
  padding: 5px 10px;
  background: #1d3447;
  color: #fff;
  border-radius: 10px;
  margin: -5px 5px;
}
.membership-form-inside label {
  font-weight: bold;
  margin: 5px 0;
}

.add-child {
height:55px;
width:55px;  
}

.add-child a {
  background: #1d3447;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 15px;
  border-radius: 15px;
  display: inline-block;
  max-height: 55px;
}
.field-group-2 {
  align-content: flex-start;
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
}

.field-group-2>div {
  width: calc(50% - 15px);
}

.checkbox-container{
display: flex
}

.checkbox{
  padding-top: 15px;
  margin-top: 5px;
  margin-bottom: 5px:
}

.checkbox-container.invalid label {
  color: red; /* A clear red for error text */
  font-weight: bold;
}

.add-child {
  padding-top: 15px;
}
.child-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 10px;
}
.child-title h4 {
  margin: 0;
  padding: 0;
}
.child-title a {
  display: block;
  text-align: center;
  padding: 15px 15px;
  background: #1d3447;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 15px;
  font-weight: bold;
  font-size: 16px;
  height: 55px;
  width: 55px;
}
.child-form {
  padding: 15px;
}


/* DONATION CSS */
.membership-donation-recurring input {
  height: 25px;
  width: 25px;
}
.membership-donation-recurring {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  gap: 10px;
}
.donation-annually, .donation-onetime {
  display: none;
}
.donation-annually.active, .donation-onetime.active {
  display: block;
}
.membership-donation-block {
  padding: 25px 40px;
  background: #efefef;
  text-align: center;
  border-radius: 15px;
  min-width: 150px;
  cursor: pointer;
}
.membership-donation-inside {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 25px 0;
}
div#return-to-prev-step>div {
  border-radius: 10px;
  padding: 10px 15px;
  background: #1d3447;
  color: #ffffff;
  text-align: center;
  display: inline-block;
  font-weight: bold;
  cursor: pointer;
  padding-left: 50px;
  position: relative;
  text-transform: uppercase;
}
div#return-to-prev-step>div:before {
  border-left: 4px solid #ffffff;
  border-bottom: 4px solid #ffffff;
  width: 15px;
  height: 15px;
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
div#return-to-prev-step>div:after {
  content: '';
  width: 20px;
  height: 4px;
  background: #ffffff;
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
}
span.donation-amount {
  font-size: 40px;
  font-weight: bold;
}
.membership-donation-block>div {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  justify-content: center;
}
#donation-selection-module h2 {
  text-align: center;
}
.membership-donation-block.selected {
  background: #1d3447;
  color: #ffffff;
}
.custom-multi-wrapper {
  position: relative;
}
.custom-multi-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
.custom-multi-options label {
  display: block;
  padding: 8px 10px;
  cursor: pointer;
}
.custom-multi-wrapper.open .custom-multi-options {
  display: block;
}
#membership-form-module select[multiple] {
  display: none !important;
}

input:disabled {
  cursor: not-allowed;
  background: lightgray !important;
}

@media only screen and (max-width: 1200px) {
  .membership-selection-block {
      width: calc(50% - 25px);
  }
}
@media only screen and (max-width: 800px) {
  .membership-selection-block {
      width: 100%;
  }
}

/* Highlight invalid fields after submit */
form.was-validated input:required:invalid,
form.was-validated select:required:invalid,
form.was-validated textarea:required:invalid {
  border: 2px solid red !important;
  background-color: #ffecec !important;
}

/* Highlight fields dynamically failing custom validation */
.invalid-highlight {
  border: 2px solid red !important;
  background-color: #ffecec !important;
}

/* Override browser autofill for highlighted/invalid fields */
input.invalid-highlight:-webkit-autofill,
input:required:invalid:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #ffecec inset !important; /* sets background */
  -webkit-text-fill-color: #000 !important;            /* text color */
  border: 2px solid red !important;
}

/* Optional: for Firefox autofill (less common) */
input:-moz-autofill {
  box-shadow: 0 0 0px 1000px #ffecec inset !important;
  -moz-text-fill-color: #000 !important;
  border: 2px solid red !important;
}

.snackbar {
  visibility: hidden;             /* hidden by default */
  min-width: 300px;
  max-width: 500px;
  background-color: #f44336;      /* red background for errors */
  color: #fff;
  text-align: center;
  padding: 16px;
  border-radius: 4px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: visibility 0s, opacity 0.5s ease;
  opacity: 0;
}

/* Show animation */
.snackbar.show {
  visibility: visible;
  opacity: 1;
}

