/*-- GENERAL --*/
html {
	scroll-behavior: smooth;
	background: url('../images/background-body.png') top left repeat #ffc210;
	background-size: 15px 15px;
}
:root {
	--space: 40px;
	--primary: #000000;
	--secondary: #fcdb03;
	--text: #000000;
	--red: #f94b4b;
	--blue: #4b78f9;
	--green: #4cc046;
	--gray: #f1f1f1;
	--max-width: 1280px;
	--fontxl: 64px;
	--fontl: 28px;
	--fontm: 20px;
	--fonts: 16px;
	--fontxs: 12px;
	--radius: 4px;
}
body {
	width: 100% - calc(var(--space) * 2);
	max-width: var(--max-width);
	display: block;
	margin: 0 auto;
	padding: 0;
	font-family: "Nunito", sans-serif;
}

	@media only screen and (max-width: 1360px) {
	body {
		margin: 0 var(--space);	
	}}

/*-- MAIN --*/
header {
	width: 100%;
	max-width: var(--max-width);
	height: 80px;
	display: block;
	float: left;
	margin: 0 auto;
	padding: 0;
}
article {
	width: calc(100% - 6px);
	max-width: var(--max-width);
	display: block;
	float: left;
	margin: 0 auto;
	padding: 0;
	border: 3px solid var(--primary);
	border-radius: var(--radius);
	background-color: #ffffff;
	min-height: 500px;
}
section {
	width: 100%;
	display: block;
	float: left;
	padding: 0;
}
footer {
	width: 100%;
	max-width: var(--max-width);
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
	gap: 40px;
	margin: 0 auto;
	padding: 40px 0;
}

	@media only screen and (max-width: 768px) {
	header {
		height: 60px;
	}
	footer {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		align-content: stretch;
		gap: 20px;
	}}

/*-- GLOBAL --*/
.padding-top {
	padding-top: var(--space);
}
.padding-bottom {
	padding-bottom: var(--space);
}
.padding-left {
	padding-left: var(--space);
	box-sizing: border-box;
}
.padding-right {
	padding-right: var(--space);
	box-sizing: border-box;
}

	@media only screen and (max-width: 768px) {
	.padding-top {
		padding-top: 20px;
	}
	.padding-bottom {
		padding-bottom: 20px;
	}
	.padding-left {
		padding-left: 20px;
	}
	.padding-right {
		padding-right: 20px;
	}}
.red-background {
	background-color: var(--red);
}
.blue-background {
	background-color: (--blue);
}
.green-background {
	background-color: var(--green);
}
.gray-background {
	background-color: var(--gray);
}
.clear {
	clear: both;
}

/*-- FOOTER --*/
.footer-title {
	font-family: "Nunito", sans-serif;
	font-weight: 1000;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: var(--fonts);
	line-height: var(--fonts);
	color: #bc8f04;
	margin: 0;
	padding: 0;
}
.footer-link {
	font-family: "Nunito", sans-serif;
	font-weight: 800;
	letter-spacing: 0.5px;
	font-size: var(--fonts);
	line-height: var(--fonts);
	color: #fff1cb;
	margin: 0 0 10px 0;
	padding: 0;
}
.footer-link a {
	color: #fff1cb;
}
.footer-link a:hover {
	color: #ffffff;
}
.footer-social {
	width: 20px;
	height: 20px;
	display: block;
	float: left;
	margin: 20px 5px 5px 0;
	background-color:  #bc8f04;
	border-radius: var(--radius);
}
.footer-social-icon {
	width: 12px;
	height: 12px;
	margin: 4px 0 0 4px;
}

	@media only screen and (max-width: 768px) {
	.footer-title,
	.footer-link {
		text-align: center;
	}}

/*-- FONTS --*/
H1 {
	font-family: "Nunito", sans-serif;
	font-size: var(--fontl);
	font-weight: 1000;
	line-height: 120%;
	letter-spacing: 0.5px;
	color: var(--text);
	margin: 0 0 calc(var(--space) / 2) 0;
	padding: 0;
}
H2 {
	font-family: "Nunito", sans-serif;
	font-size: var(--fontm);
	line-height: 120%;
	color: var(--text);
	margin: 0 0 var(--space) 0;
	padding: 0;
}
H3 {
	font-family: "Nunito", sans-serif;
	font-size: var(--fontm);
	line-height: 120%;
	color: var(--text);
	margin: 0 0 var(--space) 0;
	padding: 0;
}
p {
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	line-height: 150%;
	color: var(--text);
	margin: 0 0 calc(var(--space) / 2) 0;
}
p:last-of-type {
	margin: 0;
}
b {
	font-weight: 1000;
}

	@media only screen and (max-width: 768px) {
	}

/*-- LINKS --*/
p a,
ul li a {
	text-decoration: none;
}
p a:hover,
ul li a:hover {
	color: var(--primary);
}
a {
	text-decoration: none;
}

/*-- IMAGES --*/
img {
	border: 0;
}
.logo {
	width: 300px;
	height: auto;
	display: block;
	position: absolute;
	top: 35px;
	left: calc(50% - 150px);
}

	@media only screen and (max-width: 768px) {
	.logo {
		width: 240px;
		height: auto;
		display: block;
		position: absolute;
		top: 25px;
		left: 60px;
	}}

	@media only screen and (max-width: 768px) {
	body#keypad .logo,
	body#minifig .logo,
	body#contract .logo {
		left: calc(50% - 120px);
	}}

/*-- EXHIBITS --*/
.exhibits-grid {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 20px;
}
.exhibit-category-card {
	width: 100%;
	aspect-ratio: 2 / 1;
	box-sizing: border-box;
	display: block;
	padding: 20px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--gray);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--text);
}
.exhibit-category-name {
	max-width: 72%;
	font-size: 20px;
	font-weight: 1000;
	line-height: 110%;
	margin: 0 0 4px 0;
}
.exhibit-category-count {
	color: #909090;
	font-weight: 900;
	margin: 0;
}
.exhibit-detail-hero {
	width: 100%;
	box-sizing: border-box;
	display: block;
	min-height: 0;
	padding: 20px;
	border-radius: var(--radius);
	background-color: transparent;
	background-position: right bottom;
	background-repeat: no-repeat;
	background-size: 70% auto;
}
.exhibit-detail-hero h1 {
	max-width: 100%;
	font-size: var(--fontl);
	margin: 0 0 4px 0;
}
.exhibit-detail-description {
	max-width: 100%;
	margin-top: 0;
	padding-top: 20px;
}
.exhibit-minifigs-grid {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
}
.exhibit-minifig-card {
	width: calc((100% - 20px) / 2);
	box-sizing: border-box;
	display: block;
	padding: 0;
}
.exhibit-minifig-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: block;
	object-fit: contain;
	margin: 0;
}

/*-- PRIVACY POLICY --*/
.policy-page {
	width: 100%;
	max-width: none;
	display: block;
	margin: 0 auto;
}
.policy-hero {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}
.policy-section {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 28px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
}
.policy-section:last-child {
	margin-bottom: 0;
}
.policy-section h2 {
	margin-bottom: 12px;
	font-weight: 1000;
}
.policy-section p {
	margin-bottom: 12px;
}
.policy-section p:last-child {
	margin-bottom: 0;
}

	@media only screen and (max-width: 768px) {
	.policy-hero h1 {
		margin-top: 20px;
		text-align: center;
	}
	.policy-section {
		margin-bottom: 24px;
	}}

/*-- FAQ --*/
.faq-page {
	width: 100%;
	display: block;
	margin: 0 auto;
}
.faq-section {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 28px;
	padding: 0;
	background-color: transparent;
}
.faq-section:last-child {
	margin-bottom: 0;
}
.faq-section h2 {
	margin-bottom: 12px;
	font-weight: 1000;
}
.faq-section p {
	margin-bottom: 0;
}

	@media only screen and (max-width: 768px) {
	.faq-section {
		margin-bottom: 24px;
	}}

/*-- FIND TICKETS --*/
.find-tickets-page {
	width: 100%;
	display: block;
}
.find-tickets-copy {
	width: 100%;
	display: block;
	margin: 0 0 24px 0;
}
.find-tickets-copy p {
	margin-bottom: 12px;
}
.find-tickets-copy p:last-child {
	margin-bottom: 0;
}
.find-tickets-form-wrap {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 20px;
	border-radius: var(--radius);
	background-color: var(--gray);
}
.find-tickets-form {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 16px;
}
.find-tickets-form input {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 13px 14px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background-color: #ffffff;
	color: var(--text);
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	font-weight: 800;
	line-height: 140%;
}
.find-tickets-form input:focus {
	border-color: var(--primary);
	outline: 0;
}
.find-tickets-form input::placeholder {
	color: #909090;
	opacity: 1;
}
.find-tickets-form button {
	width: auto;
	min-width: 220px;
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--primary);
	color: #ffffff;
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	font-weight: 1000;
	line-height: 120%;
	text-align: center;
	cursor: pointer;
	flex: 0 0 auto;
}

	@media only screen and (max-width: 768px) {
	.find-tickets-copy {
		margin-bottom: 20px;
	}
	.find-tickets-form {
		flex-direction: column;
		gap: 14px;
	}
	.find-tickets-form button {
		width: 100%;
		min-width: 0;
	}}

/*-- NEWS --*/
.news-page,
.news-post {
	width: 100%;
	display: block;
	margin: 0 auto;
}
.news-hero,
.news-post-hero {
	width: 100%;
	display: block;
	margin-bottom: 24px;
}
.news-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.news-card {
	width: 100%;
	box-sizing: border-box;
	display: block;
	border-radius: var(--radius);
	background-color: var(--gray);
	color: var(--text);
	overflow: hidden;
}
.news-card:hover {
	color: var(--text);
}
.news-card-image,
.news-card-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: cover;
	background-color: #dddddd;
}
.news-card-body {
	width: 100%;
	box-sizing: border-box;
	display: block;
	padding: 18px;
}
.news-card-body h2 {
	margin-bottom: 10px;
	font-weight: 1000;
}
.news-card-body p {
	margin-bottom: 0;
}
.news-date {
	color: #909090;
	font-weight: 1000;
	margin-bottom: 10px;
}
.news-back-link {
	display: inline-block;
	margin-bottom: 20px;
	color: #909090;
	font-weight: 1000;
}
.news-back-link:hover {
	color: var(--primary);
}
.news-post-image {
	width: 100%;
	max-height: 540px;
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	margin: 0 0 24px;
	border-radius: var(--radius);
}
.news-post-content {
	width: 100%;
	max-width: 900px;
	display: block;
	margin: 0;
}
.news-post-content p {
	margin-bottom: 18px;
}

	@media only screen and (min-width: 700px) {
	.news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}}

	@media only screen and (max-width: 699px) {
	.news-card {
		background-color: transparent;
		overflow: visible;
	}
	.news-card-body {
		padding: 16px 0 0;
	}
	.news-card-image,
	.news-card-placeholder {
		border-radius: var(--radius);
	}
	.news-card-body h2 {
		margin-bottom: 6px;
	}}

	@media only screen and (max-width: 979px) {
	.exhibit-detail-hero {
		background-image: none !important;
	}}

	@media only screen and (max-width: 768px) {
	.exhibit-detail-hero h1 {
		margin-top: 20px;
		text-align: center;
	}
	.exhibit-detail-hero .exhibit-category-count {
		text-align: center;
	}}

	@media only screen and (min-width: 620px) {
	.exhibits-grid {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.exhibit-category-card {
		width: calc((100% - 20px) / 2);
	}}

	@media only screen and (min-width: 980px) {
	.exhibit-category-card {
		width: calc((100% - 60px) / 4);
	}
	.exhibit-detail-hero {
		min-height: 260px;
		padding: 20px;
		background-size: 50% auto;
	}
	.exhibit-detail-hero h1,
	.exhibit-detail-hero .exhibit-category-count,
	.exhibit-detail-description {
		max-width: 50%;
	}
	.exhibit-minifig-card {
		width: calc((100% - 100px) / 6);
	}}

/*-- KEYPAD --*/
.keypad-shell {
	width: 100%;
	max-width: 430px;
	display: block;
	margin: 0 auto;
}
.keypad-form {
	width: 100%;
	display: block;
	margin: 0;
}
.keypad-display {
	width: 100%;
	height: 76px;
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	outline: 0;
	background-color: transparent;
	color: var(--text);
	font-family: "Nunito", sans-serif;
	font-size: 38px;
	font-weight: 1000;
	line-height: 76px;
	letter-spacing: 10px;
	text-align: center;
	text-indent: 10px;
}
.keypad-display::placeholder {
	color: #909090;
	opacity: 1;
}
.keypad-grid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 20px;
}
.keypad-button,
.keypad-spacer {
	width: 100%;
	min-height: 74px;
	box-sizing: border-box;
}
.keypad-spacer {
	border-radius: var(--radius);
	background-color: var(--gray);
}
.keypad-button {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--gray);
	color: var(--text);
	font-family: "Nunito", sans-serif;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.keypad-button:active {
	background-color: var(--secondary);
	transform: translateY(1px);
}
.keypad-button-number {
	display: block;
	font-size: 32px;
	font-weight: 1000;
	line-height: 100%;
}
/*-- MINIFIG DETAIL --*/
.minifig-detail,
.minifig-empty {
	width: 100%;
	max-width: 720px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 auto;
}
.minifig-empty {
	align-items: center;
	text-align: center;
}
.minifig-image-frame {
	width: 100%;
	box-sizing: border-box;
	display: block;
	padding: 0;
}
.minifig-detail-media {
	width: 100%;
	max-height: 420px;
	aspect-ratio: 1 / 1;
	display: block;
	object-fit: contain;
	margin: 0 auto;
}
.minifig-detail-info {
	width: 100%;
	display: block;
}
.minifig-id {
	color: #909090;
	font-weight: 1000;
	margin: 0 0 4px 0;
}
.minifig-facts {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 20px;
}
.minifig-fact {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	border-radius: var(--radius);
	background-color: var(--gray);
}
.minifig-fact span,
.minifig-fact strong {
	font-size: var(--fonts);
	line-height: 120%;
}
.minifig-fact span {
	color: #909090;
	font-weight: 900;
}
.minifig-fact strong {
	text-align: right;
	font-weight: 1000;
}
.minifig-action-link {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-top: 20px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background-color: var(--primary);
	color: #ffffff;
	font-weight: 1000;
	line-height: 120%;
	text-align: center;
}

	@media only screen and (max-width: 420px) {
	body#keypad article {
		margin-bottom: 40px;
		min-height: 0;
	}
	body#minifig article {
		margin-bottom: 40px;
	}
	.keypad-display {
		height: 70px;
		font-size: 34px;
		line-height: 70px;
	}
	.keypad-button,
	.keypad-spacer {
		min-height: 68px;
	}
	.keypad-grid {
		gap: 5px;
	}
	.minifig-fact {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
	.minifig-fact strong {
		text-align: left;
	}}

	@media only screen and (min-width: 860px) {
	.minifig-detail {
		max-width: 980px;
		flex-direction: row;
		align-items: center;
		gap: 40px;
	}
	.minifig-image-frame,
	.minifig-detail-info {
		width: calc((100% - 40px) / 2);
	}
	.minifig-action-link {
		width: auto;
		display: inline-block;
		min-width: 220px;
	}}

/*-- COMMUNITY --*/
.community-request-link,
.community-form button {
	box-sizing: border-box;
	display: block;
	padding: 14px 16px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--primary);
	color: #ffffff;
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	font-weight: 1000;
	line-height: 120%;
	text-align: center;
	cursor: pointer;
}
.community-sections {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.community-section {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	border-radius: var(--radius);
	background-color: transparent;
	overflow: visible;
	scroll-margin-top: 20px;
}
.community-copy {
	box-sizing: border-box;
	order: 2;
	padding: 20px 0 0 0;
}
.community-copy h2 {
	margin-bottom: 6px;
	font-weight: 1000;
}
.community-eyebrow {
	color: #909090;
	font-weight: 1000;
	margin-bottom: 12px;
}
.community-request-link {
	margin-top: 20px;
	display: inline-block;
	width: auto;
	min-width: 170px;
	max-width: 100%;
}
.community-image-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	box-sizing: border-box;
	order: 1;
	display: block;
	border-radius: 0;
	background:
		linear-gradient(135deg, transparent 0 46%, rgba(0, 0, 0, 0.07) 46% 54%, transparent 54% 100%),
		linear-gradient(45deg, transparent 0 46%, rgba(0, 0, 0, 0.07) 46% 54%, transparent 54% 100%),
		#dddddd;
}
	.community-form-wrap {
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		display: block;
		margin: 0;
		padding: 20px;
		border-radius: var(--radius);
		background-color: var(--gray);
	}
.community-form-wrap h2 {
	margin-bottom: 20px;
	font-weight: 1000;
}
.community-alert {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: var(--radius);
	font-weight: 900;
}
.community-alert p {
	margin-bottom: 6px;
}
.community-alert p:last-child {
	margin-bottom: 0;
}
.community-alert-success {
	background-color: #dff5dd;
	color: var(--text);
}
.community-alert-error {
	background-color: #ffe0e0;
	color: var(--text);
}
.community-form {
	width: 100%;
	display: block;
}
.community-form label {
	display: block;
	font-weight: 1000;
	line-height: 120%;
	margin: 0 0 8px 0;
}
.community-form input,
.community-form select,
.community-form textarea {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin: 0 0 16px 0;
	padding: 13px 14px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background-color: #ffffff;
	color: var(--text);
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	font-weight: 800;
	line-height: 140%;
}
.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus {
	border-color: var(--primary);
	outline: 0;
}
.community-form input::placeholder,
.community-form textarea::placeholder {
	color: #909090;
	opacity: 1;
}
.community-form textarea {
	min-height: 150px;
	resize: vertical;
}
.community-form button {
	width: 100%;
	margin-top: 4px;
}
.community-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

	@media only screen and (min-width: 700px) {
	.community-section {
		flex-direction: row;
		align-items: stretch;
		background-color: var(--gray);
		overflow: hidden;
	}
	.community-section .community-copy {
		order: 1;
		padding: 20px;
	}
	.community-section .community-image-placeholder {
		order: 2;
	}
	.community-section:nth-child(even) .community-copy {
		order: 2;
	}
	.community-section:nth-child(even) .community-image-placeholder {
		order: 1;
	}
	.community-copy,
	.community-image-placeholder {
		width: 50%;
	}
		.community-form button {
			width: auto;
			min-width: 220px;
		}}

		@media only screen and (min-width: 900px) {
		.community-form {
			display: grid;
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
			gap: 16px 20px;
			align-items: stretch;
		}
		.community-form input,
		.community-form select,
		.community-form textarea {
			margin-bottom: 0;
		}
		.community-form textarea {
			grid-column: 2;
			grid-row: 1 / 6;
			min-height: 100%;
		}
		.community-form button {
			grid-column: 1;
			justify-self: start;
			align-self: start;
			margin-top: 0;
		}}

	/*-- CONTRACT --*/
body#contract article {
	margin-bottom: 40px;
}
.contract-page {
	width: 100%;
	max-width: none;
	display: block;
	margin: 0 auto;
}
.contract-details,
.contract-legal,
.contract-signatures,
.contract-message {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: var(--radius);
	background-color: var(--gray);
}
.contract-hero {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 20px;
	padding: 0;
	border-radius: 0;
	background-color: transparent;
}
.contract-hero h1 {
	margin-bottom: 14px;
}

	@media only screen and (max-width: 768px) {
	.contract-hero h1 {
		margin-top: 20px;
		font-size: 28px;
		text-align: center;
	}}
.contract-hero p,
.contract-legal p,
.contract-signatures p,
.contract-sign-note {
	margin-bottom: 12px;
	line-height: 150%;
}
.contract-details h2,
.contract-signatures h2 {
	margin-bottom: 14px;
}
.contract-details dl {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: 0;
}
.contract-details dl div {
	box-sizing: border-box;
	display: block;
	padding: 14px;
	border-radius: var(--radius);
	background-color: #ffffff;
}
.contract-details dt {
	margin-bottom: 4px;
	color: #909090;
	font-weight: 1000;
	line-height: 120%;
}
.contract-details dd {
	margin: 0;
	font-weight: 900;
	line-height: 130%;
}
.contract-legal {
	background-color: #ffffff;
	padding: 0;
}
.contract-legal-section {
	width: 100%;
	box-sizing: border-box;
	padding: 20px 0 0;
	border-bottom: 0;
}
.contract-legal-section:first-child {
	padding-top: 0;
}
.contract-legal-section:last-child {
	border-bottom: 0;
	padding-bottom: 20px;
}
.contract-legal-section h2 {
	margin-bottom: 12px;
}
.contract-signatures {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}
.contract-signatures > div {
	box-sizing: border-box;
	padding: 20px;
	border-radius: var(--radius);
	background-color: #ffffff;
}
.contract-sign-form input,
.contract-sign-form textarea {
	width: 100%;
	box-sizing: border-box;
	display: block;
	margin: 0 0 14px 0;
	padding: 14px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background-color: var(--gray);
	color: var(--text);
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	font-weight: 800;
	line-height: 140%;
}
.contract-sign-form input:focus,
.contract-sign-form textarea:focus {
	border-color: var(--primary);
	outline: 0;
}
.contract-sign-form input::placeholder,
.contract-sign-form textarea::placeholder {
	color: #909090;
	opacity: 1;
}
.contract-sign-form textarea {
	min-height: 100px;
	resize: vertical;
}
.contract-sign-form button {
	box-sizing: border-box;
	display: inline-block;
	min-width: 160px;
	padding: 15px 18px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--primary);
	color: #ffffff;
	font-family: "Nunito", sans-serif;
	font-size: var(--fonts);
	font-weight: 1000;
	line-height: 120%;
	text-align: center;
	cursor: pointer;
}
.contract-message {
	font-weight: 900;
}
.contract-message p {
	margin-bottom: 6px;
}
.contract-message p:last-child {
	margin-bottom: 0;
}
.contract-message-success {
	background-color: #dff5dd;
}
.contract-message-error {
	background-color: #ffe0e0;
}
.contract-thank-you {
	width: 100%;
	box-sizing: border-box;
	display: block;
	padding: 20px;
	border-radius: var(--radius);
	background-color: transparent;
}
.contract-thank-you p {
	margin-bottom: 12px;
	line-height: 150%;
}
.contract-form-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}
.contract-form-button {
	box-sizing: border-box;
	display: inline-block;
	width: auto;
	min-width: 160px;
	padding: 15px 18px;
	border-radius: var(--radius);
	background-color: var(--primary);
	color: #ffffff;
	font-weight: 1000;
	line-height: 120%;
	text-align: center;
}
.contract-form-button:hover {
	color: #ffffff;
}

	@media only screen and (max-width: 768px) {
	.contract-details,
	.contract-signatures {
		padding: 0;
		background-color: transparent;
	}
	.contract-details dl div,
	.contract-signatures > div {
		background-color: var(--gray);
	}
	.contract-sign-form input,
	.contract-sign-form textarea {
		background-color: #ffffff;
	}
	.contract-thank-you h1 {
		text-align: center;
	}}

	@media only screen and (min-width: 760px) {
	.contract-details dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.contract-signatures {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}}
