/* homepage */

/* ------------------------------------------------------------------ hero */
.p-hero {
	background-image: linear-gradient(90deg, var(--lei-slate) 47%, var(--lei-bg-soft) 47%);
	padding: 25px;
}

/* single column below 768px: the navy half goes away with the left column */
@media (max-width: 767px) {
	.p-hero {
		background-image: none;
		background-color: var(--lei-bg-soft);
	}
}

.p-hero__row {
	max-width: 1200px;
	min-height: 261px;
	align-items: center;
}

.p-hero__left {
	padding: 10px 50px 10px 10px;
}

.p-hero__left > *:not(:last-child) {
	margin-bottom: 50px !important;
}

.c-steps {
	margin-right: 10px;
}

.p-hero__slogan {
	text-align: right;
	color: #fff;
	font-size: 29px;
	line-height: 1;
	padding-right: 15%;
}

.p-hero__banner {
	padding: 5px 0;
}

.p-hero__form {
	position: relative;
	padding: 21px 0 10px 30px;
}

@media (min-width: 768px) {
	.p-hero__left { width: 45%; }
	.p-hero__form { width: 54.665%; }
}

@media (max-width: 767px) {
	.p-hero__form {
		width: 100%;
		margin: 0;
		padding: 5px;
	}

	.p-hero__logos { font-size: 1px; }
}

.p-hero__form .p-hero__logos {
	margin-bottom: 60px !important;
}

.p-hero__form-header {
	font-size: 1px;
	font-weight: 200;
	font-family: var(--lei-font);
}

.p-hero__gleif {
	text-align: center;
}

.p-hero__gleif img {
	width: 60px;
	vertical-align: middle;
}

.p-hero__rapidlei img {
	max-width: 70%;
	vertical-align: middle;
}

/* form widths in the hero (narrower than on the lei-registration page) */
.wpforms-page-2,
.wpforms-page-3 {
	width: 100% !important;
	max-width: 400px;
}

.wpforms-page-indicator-page-progress-wrap {
	width: 100% !important;
	max-width: 400px;
	height: 10px !important;
	background-color: var(--lei-accent-2);
}

.lei-company-name-selection {
	width: 100% !important;
	max-width: 400px;
	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;
}

@media only screen and (max-width: 990px) {
	.lei-company-name-selection {
		width: 100% !important;
		max-width: 400px;
	}
}

#wpforms-407-field_7-container {
	width: calc(100% - 90px) !important;
	max-width: 400px;
}

#wpforms-407-field_7-container input {
	font-size: 20px;
}

#wpforms-407-field_7-container .wpforms-field-description {
	margin-top: 20px;
}

#wpforms-407-field_13-container button {
	width: 90px;
	font-size: 18px;
	margin: 0;
}

/* -------------------------------------------------------- counter band */
.p-counter {
	margin: 40px 0;
}

.p-counter__row {
	max-width: 900px;
}

/* The counter box and the "latest registrations" box sit side by side and must
   read as a pair, so both stretch to the taller of the two. The left column
   only passes the row's height down to the box inside it. */
.p-counter__left {
	padding: 5px;
	display: flex;
	flex-direction: column;
}

.p-counter__box {
	flex: 1 1 auto;
	min-height: 129px;
	margin: 20px;
	padding: 5px 40px;
	border: 1px solid var(--lei-link);
	border-radius: 4px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
	text-align: center;
	color: #0e2f3e;
	font-size: 40px;
	font-weight: 500;
	line-height: 0.1em;
	letter-spacing: 0.5px;
}

.p-counter__box .lei-total-count {
	margin-top: -31px;
}

.p-counter__box .blue-text {
	font-weight: 400;
	font-size: 15px;
	color: var(--lei-link);
	margin-top: 17px;
}

.p-counter__latest {
	/* 25px top AND bottom so this box is inset exactly like the left one
	   (5px column padding + 20px box margin) and the two end up the same size. */
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 0;
	border: 1px solid var(--lei-primary);
	border-radius: 4px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
	transition: border 0.3s;
	text-align: center;
}

.p-counter__latest:hover {
	border-color: var(--lei-success);
}

.p-counter__latest-header {
	color: var(--lei-link);
	font-size: 15px;
	padding-top: 10px;
	margin-bottom: -10px;
}

.p-counter__slides {
	padding: 0 40px;
}

.p-counter__slide {
	display: block;
	height: 56px;
	background-color: #fff;
}

.p-counter__slide-name {
	color: #54595f;
	font-size: 15px;
	font-weight: 500;
	font-family: var(--lei-font);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.p-counter__slide-lei {
	color: #54595f;
	font-size: 14px;
	font-family: var(--lei-font);
}

@media (max-width: 767px) {
	.p-counter__latest {
		width: 85%;
		margin-left: 9%;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.p-counter__latest { width: 47%; }
}

/* ------------------------------------------------------- pricing band */
.p-plans {
	background-image: linear-gradient(110deg, #394c77 68%, #3b507d 16%);
	padding: 100px 0;
}

.p-plans__heading {
	text-align: center;
	color: #fff;
	font-size: 38px;
	margin-bottom: 50px;
}

.p-plans__boxes {
	max-width: 887px;
	padding-top: 30px;
}

@media (max-width: 1024px) {
	.p-plans { padding: 100px 25px; }
	.p-plans__heading { font-size: 45px; }
}

@media (max-width: 767px) {
	.p-plans { padding: 50px 20px; }
}

/* ------------------------------------------------- two-card text section */
.p-duo {
	margin: 70px 0;
}

.p-duo__row {
	max-width: 999px;
}

.p-duo__card {
	padding: 5px;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
}

.p-duo__card--first {
	margin: 10px 30px 10px 10px;
}

.p-duo__card--second {
	margin: 10px 10px 10px 30px;
}

@media (min-width: 768px) {
	.p-duo__card--first { width: calc(50% - 40px); }
	.p-duo__card--second { width: calc(50% - 40px); }
}

@media (max-width: 767px) {
	.p-duo__card--first,
	.p-duo__card--second {
		margin: 10px;
	}
}

.p-duo__text {
	font-size: 13px;
	margin: -35px 0 0 0;
	padding: 0 40px 10px 21px;
}

.p-duo__card--second .p-duo__text {
	padding: 0 20px 10px 20px;
}

/* -------------------------------------------------- LEI explained band */
.p-explained {
	background-image: linear-gradient(120deg, #eaedf2 34%, var(--lei-bg-soft) 14%);
}

.p-explained__col {
	margin: 20px 0;
}

.p-explained__intro {
	text-align: center;
	color: var(--lei-primary);
	font-weight: 300;
	padding: 18px;
}

.p-explained__more {
	text-align: center;
	color: var(--lei-primary);
	font-weight: 300;
	padding: 20px;
}

/* ------------------------------------------------------------------ FAQ */
.p-faq-intro {
	margin: 30px 0;
}

.p-faq-intro__text {
	text-align: center;
	color: var(--lei-primary);
}

.p-faq-intro__text a,
.p-faq-intro__text a:visited {
	color: #01b8fd;
}

.p-faq {
	margin-bottom: 50px;
}
