/* BASE RESET */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*:focus {
	outline: 2px solid blue;
	outline-offset: 5px;
}

body {
	font-family: "Lexend", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

/* UTILITY CLASSES */

.desktop {
	display: none;
}

.sr-only {
	font-size: 0;
	position: absolute;
	opacity: 0;
}

.sr-only.display-none {
	display: none;
}

.validation-message {
	display: none !important;
}

/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 700;
}

h1,
h2.h1 {
	font-size: 36px;
	line-height: 44px;
	margin-bottom: 24px;
}

h2 {
	font-size: 30px;
	line-height: 38px;
	margin-bottom: 16px;
}

h3 {
	font-size: 20px;
	line-height: 32px;
	margin-bottom: 16px;
}

p,
li {
	font-size: 14px;
	line-height: 24px;
	font-weight: 300;
	color: #06334A;
}

p {
	margin-bottom: 24px;
}

p:last-child {
	margin-bottom: 0;
}

p.large {
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
}

p.small {
	font-size: 12px;
	line-height: 16px;
}

.red {
	color: #B33636;
}

/* BUTTONS */

.button-wrapper nav ul {
	display: flex;
	flex-direction: column;
	row-gap: 24px;
}

.btn {
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	padding: 7px 30px;
	text-align: center;
	border-radius: 30px;
	border-width: 1px;
	border-style: solid;
	text-decoration: none;
	display: block;
	cursor: pointer;
	box-sizing: border-box;
}

.btn-solid-red {
	background-color: #D63232;
	color: #FFFFFF;
	border: 1px solid #D63232;
}

.btn-solid-red:hover {
	background-color: #FFFFFF;
	color: #D63232;
	border: 1px solid #D63232;
}

.btn-transparent-navy {
	background-color: #FFFFFF;
	color: #06334A;
	border: 1px solid #06334A;
}

.btn-transparent-navy:hover {
	background-color: #06334A;
	color: #FFFFFF;
	border: 1px solid #06334A;
}

/* HEADER AND LOGO */

.skip-link {
	position: fixed;
	top: -100px;
	left: 20px;
}

.skip-link:focus-visible {
	top: 20px;
}

header {
	position: fixed;
	top: 16px;
	left: 16px;
	right: 16px;
	padding: 5px 40px;
	border-radius: 30px;
	border: 1px solid #F4F4F4;
	box-shadow: 0px 4px 4px 0px rgba(0,0,0, 0.25);
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	z-index: 1000;
}

header a,
footer a {
	color: #1B1D20;
	text-decoration: none;
	cursor: pointer;
	display: inline-block;
}

header > a {
	max-width: calc( 100% - 50px );
}

.logo-wrapper {
	display: flex;
	align-items: center;
	flex-flow: row wrap;
}

.logo-wrapper img {
	width: 37px;
	display: block;
	height: 100%;
}

.logo-wrapper .logo-text-wrapper {
	width: calc( 80% - 37px );
	display: flex;
	flex-direction: column;
	padding-left: 8px;
	padding-right: 20px;
	row-gap: 1px;
}

.logo-top-line {
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
}

.logo-bottom-line {
	font-size: 12px;
	line-height: 19px;
	color: #06334A;
}

header details {
	display: block;
}

header details > summary::marker,
header details > summary::-webkit-details-marker {
	content: '';
}

header details summary {
	background-image: url('../images/hamburger.png');
	cursor: pointer;
	background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 0;
	right: 0;
}

header details[open] {
	padding-top: 35px;
	margin-bottom: 20px;
}

header details[open] summary {
	background-image: url('../images/hamburger-close.png');
}

header details {
	margin-top: -25px;
	margin-bottom: 25px;
	position: relative;
}

nav ul {
	list-style: none;
}

header nav ul {
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}

header nav a {
	position: relative;
}

header nav a:hover,
header nav a[aria-current="page"] {
	text-decoration: underline;
}

header nav a[aria-current="page"] {
	margin-left: 20px;
}

header nav a[aria-current="page"]:before {
	content: '';
	height: 16px;
	width: 16px;
	position: absolute;
	display: block;
	left: -24px;
	top: 2px;
	background-color: #35AFA3;
	border-radius: 16px;
}

/* MAIN */

body {
	background-color: #F2F1EB;
}

main {
	margin-top: 90px;
	position: relative;
	z-index: 1;
}

.wrap {
	width: calc( 100% - 32px );
	margin: 0 16px;
}

.landing-page-hero {
	margin-bottom: 16px;
}

.build-page-hero img,
.landing-page-hero img {
	max-width: 100%;
	margin-bottom: 24px;
}

.landing-page-hero img {
	display: block;
}

.landing-page-hero .large,
.landing-page-hero h1 {
	margin-bottom: 24px;
}

.landing-page-cards-section {
	background-color: #FFFFFF;
}

.title-space-wrapper {
	padding: 90px 0 24px;
}

.title-space-wrapper h2 {
	margin-bottom: 0;
}

ul.landing-page-cards {
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	row-gap: 24px;
	padding-bottom: 24px;
}

.landing-page-cards .card {
	border: 1px solid #35AFA3;
	border-radius: 8px;
	padding: 23px;
	width: 100%;
}

.landing-page-cards .card h3 {
	margin-bottom: 16px;
}

.quote-wrapper {
    display: flex;
    flex-direction: row;
    column-gap: 21px;
    align-items: center;
}

.quote-wrapper .quote-image-wrapper {
    width: 43px;
    height: 43px;
}

.quote-wrapper .quote-image-wrapper img {
    display: block;
    margin: 0;
}

.quote-wrapper .quote-text-wrapper {
    width: calc( 100% - 43px - 21px );
}

.quote-wrapper .quote-text-wrapper blockquote {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.quote-wrapper .quote-text-wrapper blockquote,
p {
    color: #2A5264;
}

.form-wrapper .title-space-wrapper {
    padding-top: 24px;
}

.form-wrapper .title-space-wrapper p {
    color: #06334A;
}

fieldset,
.fieldset-wrapper {
    border: 1px solid #CCCCCC;
    border-radius: 8px 8px 4px 4px;
    margin-bottom: 24px;
}

.field-section-intro {
    background-color: #F4F4F4;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #CCCCCC;
    padding: 15px 23px;
}

.field-section-intro p.large,
.field-section-intro h2 {
    margin-bottom: 16px;
}

.field-section-intro p.large {
    color: #555555;
}

.field-section-intro h2,
.field-section-intro legend {
    color: #06334A;
}

.field-section-intro legend {
    font-size: 14px;
}

.checkbox-options-wrapper,
.radio-buttons-options-wrapper {
    padding: 16px 23px 15px;
}

.checkbox-options-wrapper.in-error {
	border: 2px solid #d63232;
}

.checkbox-options-wrapper.in-error #checkbox-validation {
	color: #d63232;
	margin-bottom: 10px;
	display: block;
}

input[type="checkbox"],
input[type="radio"] {
    opacity: 0;
    position: absolute;
}

input[type="checkbox"]:focus-visible + label,
input[type="radio"]:focus-visible + label {
    outline: 2px solid rgb(0, 95, 204);
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    position: relative;
    display: block;
    padding-left: 52px;
    font-size: 16px;
    line-height: 44px;
    font-weight: 500;
    color: #06334A;
    cursor: pointer;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    border: 1px solid #06334A;
    height: 30px;
    width: 30px;
	box-sizing: border-box;
    background-color: #FFFFFF;
}

input[type="checkbox"] + label:before {
    border-radius: 4px;
}

input[type="radio"] + label:before,
input[type="radio"] + label:after {
    border-radius: 50%;
}

input[type="checkbox"]:checked + label:before,
input[type="checkbox"] + label:hover:before{
    background-color: #06334A;
}

input[type="checkbox"]:checked + label:after {
    content: '\2713';
    color: #FFFFFF;
    position: absolute;
    top: 0;
    left: 7px;
    font-size: 20px;
}

input[type="radio"] + label:hover:after,
input[type="radio"]:checked + label:after {
    content: '';
    background-color: #06334A;
    position: absolute;
    height: 20px;
    width: 20px;
    display: block;
    top: 12px;
    left: 5px;
}

label,
.form-field-row-wrapper legend {
	font-size: 19px;
	line-height: 23px;
	font-weight: 700;
	color: #06334A;
}

.form-field-row-wrapper legend {
	width: 100%;
}

.form-field-row-wrapper fieldset .construction-time-input-wrapper {
	width: calc( 50% - 8px );
}

.form-field-row-wrapper fieldset .construction-time-input-wrapper input {
	width: 100%;
}

.form-field-row-wrapper fieldset {
	border: none;
	margin: 0;
	display: flex;
	flex-flow: row wrap;
	column-gap: 16px;
}

label .required-label,
.form-field-row-wrapper legend .required-label {
	font-size: 12px;
	color: #767676;
	font-weight: 400;
}

input[type="text"],
input[type="number"],
select,
input[type="date"] {
	height: 50px;
	padding: 0 9px;
	line-height: 48px;
	border-radius: 5px;
	border: 1px solid #06334A;
	font-family: "Lexend", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	color: #06334A;
}

input[type="text"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder {
	font-family: "Lexend", sans-serif;
	font-size: 16px;
	color: #767676;
}

select,
input[type="date"] {
	color: #06334A;
}

input[type="text"]:-moz-placeholder,
input[type="number"]:-moz-placeholder {
	font-family: "Lexend", sans-serif;
	font-size: 16px;
	color: #06334A;
}

input[type="text"]::-moz-placeholder,
input[type="number"]::-moz-placeholder {
	font-family: "Lexend", sans-serif;
	font-size: 16px;
	color: #06334A;
}

input[type="text"]:-ms-placeholder,
input[type="number"]:-ms-placeholder {
	font-family: "Lexend", sans-serif;
	font-size: 16px;
	color: #06334A;
}

.form-fields-wrapper {
    padding: 16px 23px 15px;
}

.form-field-row-wrapper {
    display: flex;
	flex-direction: column;
	row-gap: 16px;
	margin-bottom: 24px;
}

.form-field-row-wrapper .construction-time-input-wrapper label {
	margin-bottom: 16px;
	display: block;
}

.form-field-row-wrapper:last-child {
	margin-bottom: 0;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
	background-image: url("../images/select-arrow.png");
	background-repeat: no-repeat;
	background-position: calc( 100% - 15px ) center;
}

#save-wrapper .fieldset-wrapper {
	padding: 23px;
	display: flex;
	flex-direction: column;
}

#save-wrapper .fieldset-wrapper h2 {
	margin-bottom: 24px;
	color: #06334A;
}

#save-wrapper .fieldset-wrapper input[type="submit"] {
	align-self: end;
}

.carousel-slide {
	padding: 23px;
	border: 1px solid #CCCCCC;
	border-radius: 16px;
	/* display: flex; */
	flex-direction: column;
	align-items: start;
}

.carousel-slide img {
	margin: 0 auto 32px;
}

.carousel-slide h3 {
	margin-bottom: 24px;
}

#type-carousel {
	margin-bottom: 88px;
}

.slick-track {
    display: flex !important;
}

.slick-list {
	margin: 0 -10px !important;
}

.slick-slide {
    height: auto !important;
	margin: 0 10px;
}

.slick-slide > div {
	height: 100% !important;
    display: flex;
}

.slick-dots {
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	top: calc( 100% + 39px );
	display: flex;
	flex-direction: row;
	list-style: none;
}

.slick-dots li {
	line-height: 10px;
	height: 10px;
}

.slick-dots button {
	font-size: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin: 0 7px;
	border: 1px solid #767676;
	background-color: #CCCCCC;
	cursor: pointer;
	display: block;
}

.slick-dots button:hover,
.slick-dots button[aria-current="true"] {
	background-color: #35AFA3;
	border-color: #35AFA3;
}

.slick-arrow {
	position: absolute;
	top: calc( 100% + 24px );
	width: 40px;
	height: 40px;
	cursor: pointer;
	font-size: 0;
	border-radius: 8px;
	background-color: #06334A;
	border: 0px solid transparent;
	background-size: 9px 15px;
	background-repeat: no-repeat;
}

.slick-arrow[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

.slick-arrow:hover {
	background-color: #35AFA3;
}

.slick-arrow.slick-prev {
	right: calc( 50% + 77px );
	background-position: 45% center;
	background-image: url('../images/slick-prev-arrow.png');
}

.slick-arrow.slick-next {
	left: calc( 50% + 77px );
	background-position: 55% center;
	background-image: url('../images/slick-next-arrow.png');
}

/* FOOTER */

footer {
	border-top: 2px solid #35AFA3;
	padding: 38px 30px 24px;
	background-color: #FFFFFF;
}

footer li {
	font-size: 16px;
}

footer .logo-wrapper img {
	width: 65px;
}

footer .logo-top-line {
	margin-bottom: 16px;
}

footer .logo-bottom-line {
	font-size: 14px;
	line-height: 26px;
}

footer.right-footer {
	background-color: rgba(53, 175, 163, 0.8);
}

dialog {
	top: 50%;
    left: 50%;
    width: 90%;
	max-width: 850px;
    transform: translate(-50%, -50%);
	padding: 24px;
	border: 2px solid #35AFA3;
	border-radius: 8px;
	flex-flow: row wrap;
}

dialog h2,
dialog .button-wrapper,
dialog p {
	width: 100%;
}

dialog[open] {
	display: flex;
}

dialog .btn {
	display: inline-block;
	width: auto;
	margin: 0 0 24px auto;
}

dialog:-internal-dialog-in-top-layer::backdrop {
	background-color: rgba(0,0,0,0.7);
}

dialog .button-wrapper {
	display: flex;
	flex-flow: row wrap;
	row-gap: 24px;
	column-gap: 24px;
	margin-top: 24px;
}

dialog .button-wrapper .btn {
	display: block;
	width: 100%;
	margin-bottom: 0;
}

dialog li {
	margin-left: 20px;
}

dialog dl {
	display: flex;
	flex-flow: row wrap;
	row-gap: 5px;
	column-gap: 10px;
}

dialog .break {
	flex-basis: 100%;
}

dialog dt,
dialog dd {
	color: #2A5264;
}

/* REMOVING STICKY ELEMENTS ON SMALLEST SCREENS */
@media only screen and (max-width: 767px) and (max-height: 400px) {
	header {
		position: relative;
		top: 20px;
		max-width: calc( 100% - 32px );
	}
}

/* MOBILE-ONLY BREAKPOINT */
@media only screen and (max-width: 767px) {

}

/* TABLET BREAKPOINT */
@media only screen and (min-width: 768px) {

	/* UTILITY CLASSES */

	.mobile {
		display: none;
	}

	.mobile.tablet {
		display: block;
	}

	/* TYPOGRAPHY */

	h1,
	h2.h1 {
		font-size: 36px;
		line-height: 44px;
	}

	h2 {
		font-size: 24px;
		line-height: 36px;
	}

	h3 {
		font-size: 22px;
		line-height: 36px;
	}

	p {
		font-size: 14px;
		line-height: 26px;
	}

	p.large {
		font-size: 18px;
		line-height: 26px;
	}

	p.small {
		font-size: 14px;
		line-height: 16px;
	}

	ul.landing-page-cards {
		row-gap: 32px;
		column-gap: 32px;
	}

	.landing-page-cards .card {
		width:  calc( 50% - 16px );
	}

	header nav li a {
		font-size: 16px;
	}

}

/* TABLET-ONLY BREAKPOINT */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

}

/* DESKTOP BREAKPOINT */
@media only screen and (min-width: 1024px) {

	.mobile.tablet,
	.tablet {
		display: none;
	}

	.desktop {
		display: block;
	}

	.desktop.desktop-flex {
		display: flex;
	}

	header {
		flex-direction: row;
		justify-content: space-between;
		padding: 13px 40px;
		box-shadow: 0px 4px 4px 0px #00000040;
		left: 40px;
		right: 40px;
		top: 63px;
	}

	header > a {
		max-width: 491px;
	}

	.logo-wrapper img {
		width: 65px;
	}

	.logo-wrapper .logo-text-wrapper {
		width: calc( 100% - 65px );
	}

	.logo-top-line {
		font-size: 24px;
	}

	header .logo-top-line {
		line-height: 36px;
	}

	.logo-bottom-line {
		font-size: 14px;
		line-height: 26px;
	}

	header nav ul {
		flex-direction: row;
		column-gap: 24px;
	}

	header .desktop.desktop-flex {
		align-items: center;
	}

	main {
		margin-top: 200px;
	}

	.wrap {
		width: calc( 100% - 96px );
		margin: 0 48px;
		max-width: 1415px;
	}

	.title-space-wrapper {
		padding: 50px 0;
	}

	.landing-page-cards .card h3 {
		margin-bottom: 24px;
	}

	.landing-page-hero {
		margin-bottom: 24px;
	}

	.landing-page-hero .wrap {
		display: flex;
		flex-direction: row-reverse;
	}

	.landing-page-hero .image-wrapper {
		width: 40%;
	}

	.landing-page-hero .text-wrapper {
		width: 60%;
		padding-right: 40px;
	}

	.landing-page-hero .button-wrapper ul {
		flex-direction: row;
		column-gap: 24px;
		margin-top: 36px;
	}

	dialog .button-wrapper .btn {
		width: auto;
		margin: 0;
	}

	.build-page-hero {
		padding-bottom: 32px;
	}

	.form-wrapper {
		background-color: #FFFFFF;
		padding-bottom: 24px;
	}

	.form-wrapper .title-space-wrapper {
		padding-top: 50px;
	}

	#type-carousel.slick-slider:before {
		content: '';
		position: absolute;
		bottom: 0;
		top: 0;
		left: -10px;
		width: 10px;
		background-image: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
		z-index: 1;
	}

	#type-carousel.slick-slider:after {
		content: '';
		position: absolute;
		bottom: 0;
		top: 0;
		right: -10px;
		width: 10px;
		background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%);
	}

	#save-wrapper .fieldset-wrapper {
		margin-bottom: 0;
	}

	footer.right-footer {
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 56px;
	}

	footer .wrap .footer-inner-wrapper {
		display: flex;
		flex-direction: row;
	}

}

/* FULL DESKTOP BREAKPOINT */
@media only screen and (min-width: 1240px) {

	ul.landing-page-cards .card {
		width: calc( 25% - 24px );
	}

}

/* WIDE DESKTOP BREAKPOINT */
@media only screen and (min-width: 1527px) {

	header,
	.footer-inner-wrapper {
		width: 1447px;
		transform: translate( -50%, 0 );
		left: 50%;
	}

	footer .wrap .footer-inner-wrapper {
		width: 1415px;
	}

	.footer-inner-wrapper {
		position: relative;
	}

	.wrap {
		margin: 0 auto;
	}

}