@charset "UTF-8";

body {
	font-family: WorkSans, sans-serif;
	color: #666;
	font-size: 16px;
	line-height: 1.6;
}

.main-container {
	overflow-x: hidden;
}

main {
	max-width: 1200px;
	margin: 50px auto 0 auto;
	padding: 1rem;
}

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

h1 {
	font-size: 3.4em;
	line-height: 1;
	color: #000;
}

h1 em {
	font-style: normal;
	color: #02be83;
}

h2,
h3,
h4,
h5 {
	margin-top: 0;
	line-height: 1.1;
}

h4,
h5 {
	font-weight: 400;
	margin-bottom: 10px;
}

h2 {
	font-size: 2.5em;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.2em;
}

.logo-images {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
}

.logo-images img {
	max-width: 100%;
	height: auto;
	width: 100px;
}

.wp-block-image img {
	border-radius: 20px;
}

.wp-block-gallery.lender-logos {
	margin-left: 20px;
	margin-right: 20px;
	visibility: hidden;
	min-height: 50px;
}

.wp-block-gallery.lender-logos .wp-block-image {
	height: 50px !important;
	padding: 0 10px;
}

.wp-block-gallery.lender-logos .wp-block-image img {
	border-radius: 0;
	max-height: 100% !important;
	object-fit: contain;
}

.slick-prev::before,
.slick-next::before {
	color: #0e7f8e !important;
}

.comparison-hero-boxes-item-button,
.wp-block-button__link {
	background-color: #02be83;
	border-radius: 50px;
	color: #fff;
	transition: box-shadow 0.5s;
	padding: 12px 30px;
	text-decoration: none;
}

.comparison-hero-boxes-item-button:focus,
.comparison-hero-boxes-item-button:active,
.comparison-hero-boxes-item-button:hover,
.comparison-hero-boxes-item-button:visited,
.wp-block-button__link:focus,
.wp-block-button__link:active,
.wp-block-button__link:hover,
.wp-block-button__link:visited {
	color: #fff;
	box-shadow: 0 4px 0.4em rgba(114, 187, 83, 0.3);
}

.wp-block-columns.narrow-content {
	max-width: 600px;
	margin: auto;
}

.columns-home {
	gap: 0;
}

.columns-home .wp-block-column {
	padding: 50px;
	position: relative;
}

.columns-home .column-left *,
.columns-home .column-right * {
	color: #fff;
}

.columns-home .column-left :is(h1, h2, h3, h4, h5, h6) {
	color: #0a083a;
}

.columns-home .column-left::before,
.columns-home .column-right::before {
	content: "";
	position: absolute;
	top: 0;
	width: 50vw;
	height: 100%;
	display: block;
	z-index: -1;
}

.columns-home .column-left::before {
	right: 0;
	background-color: #02be83;
}

.columns-home .column-right::before {
	left: 0;
	background-color: #0a083a;
}

.columns-shadow > div {
	padding: 40px 20px 20px 20px;
	box-shadow: 0 2px 12px #00000026;
	border-radius: 20px;
	background: #fff;
	align-self: stretch !important;
}

.columns-shadow img {
	border-radius: 0 !important;
	position: relative;
}

/* About page */
body.page-id-17 {
	background-color: #02be83;
	position: relative;
}

body.page-id-17 p,
body.page-id-17 p a {
	color: #fff;
}

body.page-id-17::before,
body.page-id-17::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	display: block;
	z-index: -1;
	background: linear-gradient(270deg, #02be83 0%, #b3f6dc 100%);
	width: 100px;
	height: 100px;
}

body.page-id-17::before {
	top: 130px;
	right: 50px;
}

body.page-id-17::after {
	bottom: 30%;
	left: 20px;
}

/* Responsive */
@media (min-width: 782px) {

	.hide-desktop {
		display: none !important;
	}
}

@media (max-width: 781px) {

	body {
		font-size: 14px;
	}

	.hide-mobile {
		display: none !important;
	}

	.columns-home {
		text-align: center;
	}

	.columns-home .wp-block-buttons {
		justify-content: center;
	}

	.columns-home .wp-block-column {
		padding: 20px 10px;
	}

	.columns-home .column-left::before,
	.columns-home .column-right::before {
		left: -1rem;
		right: unset;
		width: 100vw;
	}

	/* About page */
	body.page-id-17 h2,
	body.page-id-17 h5 {
		text-align: center;
	}

	body.page-id-17 .wp-block-buttons {
		justify-content: center;
	}
}

.header-container {
	background-color: #fff;
}

#masthead {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem;
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

#masthead .site-branding {
	max-width: 200px;
}

#masthead .site-branding img {
	width: 100%;
	height: auto;
	max-width: 100%;
}

#masthead #primary-menu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 25px;
	margin: auto;
}

#masthead #primary-menu a {
	color: #0a083a;
}

#masthead #primary-menu .current_page_item a {
	color: #02be83;
}

@media (max-width: 599px) {

	#masthead {
		gap: 10px;
	}

	#masthead #site-navigation {
		position: relative;
	}

	#masthead #site-navigation .menu-toggle {
		width: 30px;
		height: 30px;
		background-image: url(../images/menu.svg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		cursor: pointer;
		margin-left: auto;
		margin-right: 0;
	}

	#masthead #site-navigation #primary-menu {
		display: none;
		position: absolute;
		top: 40px;
		right: 0;
		background-color: #f8f8f8;
		box-shadow: 0 4px 0.4em #ddd;
		width: 300px;
		padding: 10px 0;
		z-index: 100;
	}

	#masthead #site-navigation #primary-menu li a {
		padding: 10px 20px;
	}

	#masthead #site-navigation #primary-menu li a:hover {
		background-color: #ddd;
	}

	#masthead #site-navigation.toggled #primary-menu {
		display: block;
	}
}

footer {
	padding: 1rem;
	background-color: #fff;
}

footer .footer-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 50px 0;
	display: flex;
	justify-content: space-between;
	gap: 40px;
	border-bottom: 1px solid #ddd;
}

footer .footer-branding {
	max-width: 180px;
}

footer .footer-branding img {
	width: 100%;
	height: auto;
	max-width: 100%;
}

footer .footer-menu .menu-heading {
	color: #0a083a;
	margin-bottom: 10px;
}

footer .footer-menu .menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

footer .footer-menu .menu a {
	padding: 5px 0;
	display: block;
	color: inherit;
	text-decoration: none;
}

footer .copyright {
	text-align: center;
	font-size: 12px;
	padding-top: 40px;
}

@media (max-width: 781px) {

	footer {
		text-align: center;
	}

	footer .footer-content {
		flex-direction: column;
		align-items: center;
	}
}

@font-face {
	font-family: WorkSans;
	src: url(../fonts/WorkSans.ttf) format("truetype");
}

.application-container {
	position: relative;
	gap: 100px;
}

.application-container::before,
.application-container::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	display: block;
	z-index: -1;
	background: linear-gradient(270deg, #02be83 0%, #b3f6dc 100%);
}

.application-container::before {
	top: -50px;
	left: 50%;
	width: 700px;
	height: 700px;
}

.application-container::after {
	top: 400px;
	left: 45%;
	width: 200px;
	height: 200px;
}

.application-container .application-form-holder {
	min-height: 350px;
}

.application-container h1 {
	margin-top: 0;
}

.gform_wrapper,
.narrow-width {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

body .gform_wrapper.gravity-theme {
	box-shadow: 0 0 5px 0 #0000001a;
	padding: 2rem;
	border-radius: 30px;
	position: relative;
	background: #fff;

	/* Add '+358' before phone number field */
}

body .gform_wrapper.gravity-theme .ginput_container:not(.ginput_container_consent) {
	margin-top: -12px;
}

body .gform_wrapper.gravity-theme .ginput_container--name {
	margin-top: -6px !important;
}

body .gform_wrapper.gravity-theme .gform_required_legend,
body .gform_wrapper.gravity-theme .gform_validation_errors,
body .gform_wrapper.gravity-theme span.gfield_required,
body .gform_wrapper.gravity-theme .ginput_container_consent input[type="checkbox"] {
	display: none;
}

body .gform_wrapper.gravity-theme .gform_description {
	font-weight: 700;
	text-align: center;
}

body .gform_wrapper.gravity-theme .ginput_container input,
body .gform_wrapper.gravity-theme .ginput_container select {
	font-family: inherit;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	background-color: #fff;
	outline: none;
	padding: 13px 14px 10px 14px;
	min-height: 45px;
}

body .gform_wrapper.gravity-theme .ginput_container select {
	background-image: url(../images/down.svg);
	background-size: 12px 11px;
	background-position: right 15px center;
	background-repeat: no-repeat;
	-moz-appearance: none;
	-webkit-appearance: none;
	color: #ccc;
}

body .gform_wrapper.gravity-theme .ginput_container select option {
	color: #666;
}

body .gform_wrapper.gravity-theme .ginput_container input::-webkit-input-placeholder {
	color: #ccc;
}

body .gform_wrapper.gravity-theme .ginput_container input::-moz-placeholder {
	color: #ccc;
}

body .gform_wrapper.gravity-theme .ginput_container input::placeholder {
	color: #ccc;
}

body .gform_wrapper.gravity-theme .gfield_validation_message {
	padding: 0;
	font-size: 12px;
	background-color: transparent;
	border: none;
	margin-top: 5px;
}

body .gform_wrapper.gravity-theme .gfield_error label,
body .gform_wrapper.gravity-theme .gfield_label,
body .gform_wrapper.gravity-theme label {
	font-weight: 400;
	font-size: 12px;
	line-height: 1.1;
	margin: 0;
	margin-left: 12px;
	background-color: #fff;
	padding: 0 2px !important;
	position: relative;
}

body .gform_wrapper.gravity-theme .gfield_error .gfield_consent_label {
	color: #666;
}

body .gform_wrapper.gravity-theme .gform-theme-button,
body .gform_wrapper.gravity-theme .gform_button,
body .gform_wrapper.gravity-theme #next-btn {
	cursor: pointer;
	border: none;
	background-color: #0e7f8e;
	font-weight: 400;
	color: #fff;
	border-radius: 50px;
	font-size: 20px;
	line-height: 1 !important;
	padding: 15px 50px;
	margin: 0 auto;
	text-align: center;
}

body .gform_wrapper.gravity-theme #next-btn {
	margin-top: 20px;
}

body .gform_wrapper.gravity-theme .gform_previous_button {
	padding: 12px;
}

body .gform_wrapper.gravity-theme .gform_page_footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	margin-top: 30px;
}

body .gform_wrapper.gravity-theme label.gfield_consent_label {
	user-select: none;
	line-height: 1.5;
	position: relative;
	display: block;
	padding-left: 29px !important;
	font-weight: 400;
	cursor: pointer;
	margin: 10px auto;
	padding-top: 2px !important;
}

body .gform_wrapper.gravity-theme label.gfield_consent_label a {
	color: #0e7f8e;
	font-weight: 700;
	text-decoration: none;
	margin: 0 3px;
}

body .gform_wrapper.gravity-theme .gfield_consent_label::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	height: 23px;
	width: 23px;
	border-radius: 2px;
	border: 1px solid #999;
	background-color: #fff;
}

body .gform_wrapper.gravity-theme .gfield_error .gfield_consent_label::before {
	border-color: #b00020;
}

body .gform_wrapper.gravity-theme .ginput_container_consent input[type="checkbox"]:checked + label::before {
	background-image: url(../images/check.svg);
	background-size: 18px;
	background-repeat: no-repeat;
	background-position: center;
}

body .gform_wrapper.gravity-theme .gsection {
	border-bottom-color: #0e7f8e;
}

body .gform_wrapper.gravity-theme .gsection_title {
	margin-bottom: 0;
	margin-top: 30px;
	font-size: 14px;
	color: #0e7f8e;
}

body .gform_wrapper.gravity-theme .gsection_description {
	padding: 5px 0 0 0;
	font-size: 12px;
	margin-bottom: 0 !important;
	color: #0e7f8e;
}

body .gform_wrapper.gravity-theme .gfield--type-section.no-border {
	border: none !important;
}

body .gform_wrapper.gravity-theme input[type="range"] {
	-webkit-appearance: none;
	background: transparent;
	border: none;
	padding: 0;
	height: 1.5em;
	margin: 0;
	width: 100%;
}

body .gform_wrapper.gravity-theme input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
}

body .gform_wrapper.gravity-theme input[type="range"]::-webkit-slider-runnable-track {
	background: #e5ebf2;
	border: none;
	border-radius: 20px !important;
	box-sizing: border-box;
	height: 0.5em;
	width: 12.5em;
}

body .gform_wrapper.gravity-theme input[type="range"]::-webkit-slider-runnable-track {
	background: #e5ebf2;
	border-radius: 20px !important;
}

body .gform_wrapper.gravity-theme input[type="range"]::-moz-range-track {
	background: #e5ebf2;
	border: none;
	box-sizing: border-box;
	height: 0.5em;
}

body .gform_wrapper.gravity-theme input[type="range"]::-ms-track {
	background: #e5ebf2;
	border: none;
	box-sizing: border-box;
	height: 0.5em;
	width: 12.5em;
}

body .gform_wrapper.gravity-theme input[type="range"]::-moz-range-progress {
	background: #0e7f8e;
	height: 0.5em;
}

body .gform_wrapper.gravity-theme input[type="range"]::-ms-fill-lower {
	height: 0.5em;
	background: #0e7f8e;
}

body .gform_wrapper.gravity-theme input[type="range"]::-webkit-slider-thumb {
	background: #0e7f8e;
	border: none;
	border-radius: 50%;
	box-sizing: border-box;
	height: 2.6rem;
	margin-top: -1.15rem;
	width: 2.6rem;
}

body .gform_wrapper.gravity-theme input[type="range"]::-moz-range-thumb {
	background: #0e7f8e;
	border: none;
	border-radius: 50%;
	box-sizing: border-box;
	height: 2.6rem;
	width: 2.6rem;
}

body .gform_wrapper.gravity-theme input[type="range"]::-ms-thumb {
	background: #0e7f8e;
	box-sizing: border-box;
	border: none;
	border-radius: 50%;
	height: 2.6rem;
	margin-top: 0;
	width: 2.6rem;
}

body .gform_wrapper.gravity-theme input[type="range"]::-ms-tooltip {
	display: none;
}

body .gform_wrapper.gravity-theme .choice-buttons:not(.inline) .gfield_label {
	text-align: center;
	display: block;
	font-size: 1rem;
	margin: 0 auto 16px auto;
}

body .gform_wrapper.gravity-theme .choice-buttons.inline .gfield_label {
	margin: 5px 0 10px;
}

body .gform_wrapper.gravity-theme .choice-buttons .ginput_container {
	margin-top: 0;
}

body .gform_wrapper.gravity-theme .choice-buttons .ginput_container .gfield_radio {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

body .gform_wrapper.gravity-theme .choice-buttons .ginput_container .gfield_radio .gchoice label {
	font-size: 1rem;
	cursor: pointer;
	width: 100%;
	border: 2px solid #0e7f8e;
	color: #0e7f8e;
	border-radius: 20px;
	text-align: center;
	display: block;
	padding: 10px 20px !important;
	margin: auto;
	max-width: unset;
}

body .gform_wrapper.gravity-theme .choice-buttons .ginput_container .gfield_radio .gchoice input:checked + label {
	background-color: #0e7f8e;
	color: #fff;
}

body .gform_wrapper.gravity-theme .choice-buttons .ginput_container .gfield_radio .gchoice input:checked + label::before {
	content: "✓ ";
}

body .gform_wrapper.gravity-theme .choice-buttons input {
	display: none !important;
}

body .gform_wrapper.gravity-theme #field_4_7 {
	position: relative;
}

body .gform_wrapper.gravity-theme #field_4_7 label {
	margin-left: 48px;
}

body .gform_wrapper.gravity-theme #field_4_7 input {
	margin-left: 43px;
	width: calc(100% - 43px);
}

body .gform_wrapper.gravity-theme #field_4_7::before {
	display: block;
	position: absolute;
	left: 0;
	top: 28px;
	content: "+358";
	font-size: 15px;
}

body .gform_wrapper.gravity-theme .gform_page_footer,
body .gform_wrapper.gravity-theme .gform_footer {
	position: relative;
}

body .gform_wrapper.gravity-theme .gform_page_footer.submit-loader::before,
body .gform_wrapper.gravity-theme .gform_page_footer.submit-loader::after,
body .gform_wrapper.gravity-theme .gform_footer.submit-loader::before,
body .gform_wrapper.gravity-theme .gform_footer.submit-loader::after {
	position: absolute;
	display: block;
}

body .gform_wrapper.gravity-theme .gform_page_footer.submit-loader::before,
body .gform_wrapper.gravity-theme .gform_footer.submit-loader::before {
	content: "Etsitään parasta lainanantajaa...ole hyvä ja odota";
	font-size: 12px;
	text-align: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 20px 0;
	background-color: rgba(255, 255, 255, 0.8);
}

body .gform_wrapper.gravity-theme .gform_page_footer.submit-loader::after,
body .gform_wrapper.gravity-theme .gform_footer.submit-loader::after {
	content: "";
	border-radius: 5px;
	height: 10px;
	width: 300px;
	animation: load8 7s infinite ease-out alternate;
	top: 50%;
	left: calc(50% - 150px);
	border-right: 1px solid rgba(14, 127, 142, 0.2);
	border-left: 299px solid #0e7f8e;
}

@keyframes load8 {

	0% {
		border-right-width: 299px;
		border-left-width: 1px;
	}

	100% {
		border-right-width: 1px;
		border-left-width: 299px;
	}
}

.hide-start_wrapper:not(.gform_validation_error) .gfield:not(#field_4_30):not(#field_4_29):not(#field_4_2),
.hide-start_wrapper:not(.gform_validation_error) .gform_footer {
	display: none !important;
}

.hide-start_wrapper.gform_validation_error #field_4_30 {
	display: none !important;
}

@media (max-width: 781px) {

	body .gform_wrapper.gravity-theme {
		padding: 1rem;
	}

	.application-container {
		gap: 0;
	}

	.application-container::before {
		top: 100px;
		left: 40%;
		height: 500px;
		width: 500px;
	}

	.application-container::after {
		top: 600px;
		left: -50px;
	}

	.application-container .application-form-holder {
		min-height: 315px;
	}
}

.calculator-slider-range .slider-range-title,
.calculator-slider-range .slider-range-values {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.calculator-slider-range .slider-range-title #amount-label,
.calculator-slider-range .slider-range-title h3,
.calculator-slider-range .slider-range-values #amount-label,
.calculator-slider-range .slider-range-values h3 {
	font-size: 1.5em;
	font-weight: 700;
	color: #0e7f8e;
	margin-bottom: 0;
}

.calculator-slider-range .slider-range-values {
	font-size: 0.9em;
}

.application-progress-header {
	text-align: center;
}

.application-progress {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	align-items: center;
	margin: 0 auto 20px;
	padding-bottom: 13px;
	width: 500px;
	max-width: 100%;
	position: relative;
}

.application-progress::after {
	content: "";
	position: absolute;
	background-color: #02be83;
	height: 2px;
	display: block;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 100px);
}

.application-progress div {
	position: relative;
	font-size: 13px;
	line-height: 1.3;
	text-align: center;
	padding-bottom: 7px;
	z-index: 2;
}

.application-progress div::before {
	position: absolute;
	height: 28px;
	width: 28px;
	border: 2px solid #02be83;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	display: inline-block;
	background-color: #fff;
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	line-height: 23px;
}

.application-progress div:nth-of-type(1)::before {
	content: "1";
	background-color: #02be83;
}

.application-progress div:nth-of-type(2)::before {
	content: "2";
	background-color: #fff;
	color: #02be83;
}

.application-progress .co-applicant-status-solid::before {
	color: #fff !important;
	background-color: #02be83 !important;
}

.application-progress .co-applicant-status {
	display: none;
}

.application-progress div:last-of-type::before {
	content: "";
	background-image: url(../images/check.svg);
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: 16px 16px;
}

.comparison-hero-boxes {
	max-width: 800px;
	margin: auto;
}

.comparison-hero-boxes-item {
	margin-bottom: 20px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #ddd;
}

.comparison-hero-boxes-item-wrap {
	display: flex;
	gap: 30px;
	padding: 30px 20px;
	align-items: center;
	justify-content: space-between;
}

.comparison-hero-boxes-item-amount {
	text-align: center;
	margin-top: 10px;
	font-weight: 700;
	color: #02be83;
}

.comparison-hero-boxes-item-logo {
	width: 180px;
}

.comparison-hero-boxes-item-button {
	display: block;
	white-space: nowrap;
	font-size: 1.05em;
	position: relative;
}

.comparison-hero-boxes-item-button.inactive::before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.5);
}

.comparison-hero-boxes-item-button.inactive::after {
	content: "";
	position: absolute;
	display: block;
	border-radius: 50%;
	height: 40px;
	width: 40px;
	animation: loading 1.1s infinite linear;
	top: calc(50% - 20px);
	left: calc(50% - 20px);
	border-top: 2px solid rgba(14, 127, 142, 0.2);
	border-right: 2px solid rgba(14, 127, 142, 0.2);
	border-bottom: 2px solid rgba(14, 127, 142, 0.2);
	border-left: 2px solid #0e7f8e;
}

@keyframes loading {

	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.comparison-hero-boxes-item-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.comparison-hero-boxes-item-list li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 5px;
}

.comparison-hero-boxes-item-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	display: block;
	background-image: url(../images/check.svg);
	width: 15px;
	height: 15px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.comparison-hero-boxes-item-footer {
	text-align: center;
	font-size: 12px;
	padding: 15px 20px;
	background: #f8f8f8;
}

@media (max-width: 781px) {

	.comparison-hero-boxes-item-wrap {
		flex-direction: column;
		gap: 20px;
	}
}

#axo-root {
	--primary-color: #0e7f8e;
	--primary-200: #02be83;
	--dark-200: #0a083a;
	--primary-500: #0e7f8e;
	--primary-rgb-500: 114, 187, 83;
}
