/**
 * Styling of the WPForms LEI application form (form 407) and the dynamic
 * company/officer pickers the leiservice plugin JS injects into it. Loaded on
 * the two pages that embed the form (home + lei-registration); the widths
 * that differ between those pages live in their page stylesheets.
 *
 * These selectors are load-bearing for the application flow — carried over
 * verbatim from the old Elementor custom CSS. Change with care.
 */

.lei-form-next-first {
	display: inline-block;
}

.lei-form-next-first.wpforms-page-button {
	width: 102px !important;
}

#wpforms-407-field_36-container > div {
	margin-left: 27px !important;
	margin-top: 0px !important;
}

div.wpforms-container-full .wpforms-form .wpforms-page-indicator {
	margin-bottom: 0 !important;
	font-size: 15px !important;
}

/* only the UK site shows the "Step 1 of 4" label above the progress bar */
body:not(.country--gb) .wpforms-page-indicator-steps {
	display: none;
}

div.wpforms-page-indicator-page-progress {
	background-color: var(--lei-accent-2) !important;
}

.wpforms-form .wpforms-field-label {
	font-weight: 400 !important;
}

.wpforms-field-medium {
	border-radius: 4px !important;
	max-width: 100% !important;
}

.wpforms-page-button {
	display: inline-block !important;
	background-color: var(--lei-accent) !important;
	color: white !important;
	border-radius: 4px !important;
	margin-left: -2px !important;
}

[data-page="1"] {
	background-color: var(--lei-accent) !important;
	color: white !important;
	height: 61px !important;
	border-radius: 4px !important;
	margin-left: -2px !important;
}

@media only screen and (max-width: 600px) {
	[data-page="1"] {
		min-width: 40px !important;
	}
}

.lei-company-officer-selection {
	max-width: 450px;
	position: absolute !important;
	cursor: pointer;
	background-color: white !important;
	z-index: 9;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2) !important;
	border-radius: 3px !important;
}

#wpforms-407-field_7 {
	margin-top: 1px !important;
	height: 59px;
	border-radius: 4px 0px 0px 4px;
	border: none;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.lei-company-select,
.lei-officer-select {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

.lei-company-select:nth-of-type(odd),
.lei-officer-select:nth-of-type(odd) {
	background: #f5f5f5 !important;
}

div.wpforms-container-full .wpforms-datepicker-wrap .wpforms-field-medium + .wpforms-datepicker-clear {
	right: 10px !important;
}

#wpforms-407-field_11-container {
	float: left;
	display: inline-block !important;
}

.wpforms-submit-container {
	clear: none !important;
	width: 200px !important;
	margin-left: 100px !important;
}

#wpforms-submit-407 {
	hyphens: manual;
	font-family: inherit;
	line-height: 1.5;
	white-space: nowrap;
	user-select: none;
	transition: all 0.3s;
	background-color: #39b54a !important;
	color: white !important;
	border-radius: 4px !important;
	margin-left: -2px !important;
	height: auto;
	box-sizing: border-box;
	border: 1px solid #ddd;
	padding: 10px 15px;
	font-size: 0.9em;
	font-weight: 400;
	min-width: 90px;
	text-align: center;
	margin: 0 10px 0 0;
}

div.wpforms-container-full .wpforms-form label.wpforms-error {
	font-size: 14px !important;
	margin-top: 6px;
}
