@charset "utf-8";
/**
 * Styling form elements sucks :(
 *
 */



/* Standardize inputs */
input,
textarea,
select {
	font: inherit;
	padding: var(--space_xxsmall) var(--space_xsmall);
	border: 1px solid var(--border_color);
	border-radius: var(--border_radius, 4px); /* NOTE: This matches select2 fields. */
	width: 100%;
	
	/* Not sure about these... Maybe should be tied to button styles? */
	font-size: 1rem;
	line-height: 1.5;
}
/* Special case field types */
input[type="submit"],
input[type="number"],
input[type="radio"],
input[type="checkbox"] {
	width: auto;	
}
input[type="radio"],
input[type="checkbox"] {
	padding: inherit;
}





/* Gravity forms specific */
/* Clear any floated images in the same wysiwyg section */
.gform_wrapper {
	clear: both;	
}

.gform_fields,
.gfield_radio,
.gfield_checkbox {
	list-style: none;
	margin: 0;
	padding: 0;	
}
.gform_fields > li {
	margin: 1em 0;	
}
.gform_fields > li.gform_hidden {
	margin: 0;
}

.gfield > label {
	display: block;
	font-weight: bold;
}

/* Mostly for name fields, but will need to be tested/expanded */
/*
.ginput_complex {
	display: flex;
	flex-wrap: wrap;
	margin: calc( -1 * var(--space_small) );	
}
.ginput_complex > span {
	display: block;
	flex-grow: 1;
	max-width: 50%;
	padding: var(--space_xsmall) var(--space_small);	
}
.ginput_complex label {
	font-size: 0.875em;	
}
*/


.gfield_radio input {
	margin-right: 0.25em;	
}

.gfield_description {
	font-size: 0.875em;	
}
.validation_message {
	color: #e2401c;	
}
.gform_footer {
	margin-top: 1em;	
}
.gform_button.button {
	border: 1px solid transparent;	
}

/* Honeypot fields */
.gform_validation_container {
	position: absolute;
	left: -9999em;
	top: -9999em;
}

/* Date Select Fields */
.ui-datepicker {
	padding: 0.5em;
	background-color: #fff;
	border: 1px solid var(--gray_light);
	border-radius: var(--border_radius);
	box-shadow: var(--box_shadow);	
}
.ui-datepicker-header {
	display: flex;
	align-items: center;
}	
.ui-datepicker-prev {
	order: 1;	
}
.ui-datepicker-next {
	order: 3;	
}
.ui-datepicker-title {
	order: 2;
	padding: 0 0.5em;	
}
.ui-datepicker-title select {
	max-width: 50%;	
}
.ui-datepicker-calendar {
	margin-bottom: 0;
	border-collapse: collapse;	
}
.ui-datepicker-calendar td {
	border: 1px solid var(--gray_light);
	text-align: center;
}
.ui-datepicker-calendar .ui-datepicker-today {
	background-color: var(--gray_xlight);
}
.ui-datepicker-calendar td a {
	display: block;
	text-decoration: none;
	width: 2em;
	line-height: 2;
}

/* Put the hide-labels class on the form to hide all labels */
.hide-labels label {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;	
}

/* TODO: Probably want a class to optionally show labels (checkbox, radio fields) */


/* NOTE: These validation styles require some custom js to mimick default WC form validation */

/* Required field has no value */
.invalid > input,
input[aria-invalid="true"],
.gfield_error input {
	box-shadow: inset 2px 0 0 #e2401c;	
}
/* Required field has value */
.valid > input {
	box-shadow: inset 2px 0 0 #0f834d;	
}




/* WC forms? */




/* Select2 Fields need lots of overrides */
.select2.select2-container {
	display: block;
	font-size: 1rem;
	line-height: 1.5;
}
.select2.select2-container .select2-selection--single {
	height: auto;
	margin: 0;
	border-color: var(--border_color);
	border-radius: var(--border_radius);
}

.select2.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: inherit;
	color: inherit;
	padding-top: var(--space_xxsmall);
	padding-bottom: var(--space_xxsmall);
}
.select2.select2-container--default .select2-selection--single .select2-selection__placeholder {
	display: block;
	min-height: 1.5em;
}
.select2.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: auto;
	bottom: 1px;
}

.select2-container .select2-results {
	font-size: 1rem;
	line-height: 1.5;	
}







































