/*
 Theme Name: WMA Child Theme
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme created by Walker Media Agency
 Author: Walker Media Agency
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 2.0.0
*/
 
.nav-donate a { padding: 10px 20px !important; background: #c10230; color: #fff !important; border-radius: 4px;  }
.nav-donate a:hover { background: #c10230; }

.gfield_consent_label { font-size: 0.8rem; line-height: 1.1em; }

.gform-theme--foundation #field_submit input[type=submit][id*=gform_submit_button_].gform-button--width-full, .gform_button { background: #00538b !important; }
.gfield_consent_label { color: #ccc !important; }

.validation_message { color: #fff !important; }

.mfp-title { display: none; }

/* Error summary (top of form) */
.gform_wrapper .gform_validation_errors,
.gform_wrapper .gform_validation_errors * {
  color: #fff !important;
}

/* Per-field validation messages (legacy) */
.gform_wrapper .validation_message {
  color: #fff !important;
}

/* Per-field validation messages (Theme Framework ≥2.5) */
.gform_wrapper .gfield_validation_message,
.gform_wrapper .gform_validation_message {
  color: #fff !important;
}

/* Confirmation / success message */
.gform_wrapper .gform_confirmation_message,
.gform_wrapper .gform_confirmation_wrapper,
.gform_confirmation_message {
  color: #fff !important;
}

/* Anchor links inside messages (e.g., “jump to field” links) */
.gform_wrapper .gform_validation_errors a,
.gform_wrapper .validation_message a,
.gform_wrapper .gform_confirmation_message a {
  color: #fff !important;
  text-decoration: underline;
}


/* Display two gallery images */
@media only screen and (min-width: 981px) {
	
	/* Set images to 50% width */
	.gallery-two-at-a-time .et_pb_gallery_item {
		max-width: 50%;
	}
	
	/* Force display of the image after the currently displayed one */
	.gallery-two-at-a-time .et-pb-active-slide + .et_pb_gallery_item {
		display: block !important; 
		opacity: 1 !important; 
		z-index: 1 !important;
		left: 50%;
	}
	
	/* Display the first image at the end */
	.gallery-two-at-a-time .et_pb_gallery_item:first-child:not(.et-pb-active-slide) {
		display: block !important; 
		opacity: 1 !important; 
		z-index: 0 !important;
		left: 50%;
	}
}