/* connect to unions training centres CSS */

#connect-local-unions-form label span {
  color: #fadf13;
}

/* Target the last #connect-local-unions-form label span to be bold and yellow color */
#connect-local-unions-form label span:last-child {
  font-weight: 600;
  color: #fff;
  font-size: 16px;
}

#connect-local-unions-form label {
  color: #fff;
  font-weight: 400;
  font-size: 15px;
}

#connect-local-unions-form input[type="email"],
#connect-local-unions-form input[type="text"],
#connect-local-unions-form input[type="checkbox"],
#connect-local-unions-form input[type="number"] {
  background-color: var(--e-global-color-primary);
  border-color: #fadf138a;
  color: #fff;
  max-width: 400px;
}

#connect-local-unions-form input::placeholder {
  color: #fff;
}

#connect-local-unions-form li input[type="checkbox"] {
  background-color: #353e47 !important;
}

#connect-local-unions-form button[type="submit"] {
  border-radius: 50px;
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-fae5bbd);;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease-out !important;
}

#connect-local-unions-form .evf-border-b {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px !important;
}

/* target the section containing class connect-local-unions-section */
/*  and target the first child with class elementor-container */
/*  and give the elementor-container a border-radius of 20px and overflow of hidden */
.connect-local-unions-section > .elementor-container:first-child {
  border-radius: 20px;
  overflow: hidden;
}
.connect-local-unions-section .everest-forms .evf-container {
  margin-bottom: 0px;
}

#connect-local-unions-form .evf-label,
#connect-local-unions-form .input-text,
#connect-local-unions-form .everest-forms-field-label-inline,
#connect-local-unions-form .everest-forms-submit-button {
  color: #fff; /* This sets the text color */
  font-size: 16px; /* This sets the size of the text */
  font-weight: 500; /* This sets the weight of the font */
}

#connect-local-unions-form .everest-forms .evf-field-container .evf-frontend-row .evf-frontend-grid .evf-field {
  margin-bottom: 0px !important;
}
#connect-local-unions-form .evf-submit-container {
  text-align: right;
}
#connect-local-unions-form .evf-field-label {
  margin-bottom: 0px !important;
}
#connect-local-unions-form .evf-submit-container {
  margin-top: -70px;
}

/* add a media query for anything below 1025px */
@media only screen and (max-width: 1025px) {
  #connect-local-unions-form .evf-submit-container {
    margin-top: 0px;
  }
}
