/**
 * Styling of the own LEI application form (form id 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 the old page builder custom CSS. Change with care.
 */

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

.lei-form-next-first.c-lei-form__nav-btn {
	width: 102px !important;
}

#application-36-container > div {
	margin-left: 27px !important;
	margin-top: 0px !important;
}

div.c-lei-form .c-lei-form__form .c-lei-form__progress {
	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) .c-lei-form__progress-steps {
	display: none;
}

div.c-lei-form__progress-fill {
	background-color: var(--lei-accent-2) !important;
}

.c-lei-form__form .c-lei-form__label {
	font-weight: 400 !important;
}

.c-lei-form__input--medium {
	border-radius: 4px !important;
	max-width: 100% !important;
}

.c-lei-form__nav-btn {
	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;
}

#application-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.c-lei-form .c-lei-form__date .c-lei-form__input--medium + .c-lei-form__date-clear {
	right: 10px !important;
}

#application-11-container {
	float: left;
	display: inline-block !important;
}

.c-lei-form__submit-row {
	clear: none !important;
	width: 200px !important;
	margin-left: 100px !important;
}

#application-submit {
	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.c-lei-form .c-lei-form__form label.c-lei-form__error-msg {
	font-size: 14px !important;
	margin-top: 6px;
}
