/* ================== COLOR ==========================*/
:root {
	--main-txt-clr: rgba(38, 40, 42, 1);
	--grey-txt-clr: rgb(133, 133, 133);
	--main-green: #7EBD0B;
	--footer-background: #5A6B6C;
	--grey-background: rgb(238, 238, 238);
}

/* ================== GENERAL ==========================*/
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

p,
button,
a,
label {
	color: var(--main-txt-clr);
	font-size: 1rem;
	line-height: 1.25rem;
	font-weight: 500;
	font-family: 'Erply Ladna', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

input:disabled {
	pointer-events: none;
	cursor: not-allowed;
}

h2 {
	font-size: 1.5rem;
	margin-bottom: .5rem;
}

h1 {
	font-size: 1.8rem;
}

img {
	max-width: 100%;
}

.font-color-grey {
	color: var(--grey-txt-clr);
}

.hidden {
	display: none !important;
}

/* ================== LAYOUT ==========================*/

.booking-wizard {
  display: flex;
  width: 100%;
  flex: 1;
  background-color: #F2EFE6;
}

.background-leaf {
  background-image: url("https://cdn-sb.erply.com/images/108665/graafika-valge.png?width=2000&height=1000");
  background-repeat: no-repeat;
  background-position: left center;
  width: 50%;
  min-height: 100vh;
}

.booking-wizard__container--sm {
  max-width: 500px;
  min-width: 280px;
  width: 30%;
}

.booking-wizard__container--md {
  max-width: 100%;
  min-width: 400px;
}

.booking-wizard__title {
  color: #0f1311;
  font-size: 24px;
  font-family: Erply Ladna;
  font-weight: 600;
  line-height: 36px;
  word-wrap: break-word
}

.wizard-form-container {
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem
}

.info-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.wizard-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%
}

.left-side,
.right-side {
	background-color: white;
}

.right-side {
	padding: 9rem 3rem 3rem 3rem;
	border-left: 1px solid var(--grey-background);
	width: 30%;
}

.left-side {
	padding: 9rem 3rem 15rem 7rem;
	height: auto;
	width: 50%;
	min-width: 700px;
}

/* ================== HEADER ==========================*/
.header,
.footer {
	display: flex;
	position: fixed;
	width: 100%;
	align-items: center;
	padding: 1rem 4rem;
	z-index: 10;
}

.header {
	height: 7rem;
	background-color: white;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
	justify-content: space-between;
	align-items: center;
	padding: 1rem 4rem;
}

.header__right-side,
.header__left-side {
	height: 100%;
	display: flex;
	align-items: center;
}

.header__logo-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	box-sizing: border-box;
}

.header__logo-container img {
	max-height: 100%;
	height: 80px;
	width: auto;
	display: block;
}

.stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 300px;
	margin: 1rem 4rem;
	position: relative;
}

.step {
	display: flex;
	flex-direction: column;
	position: relative;
	text-align: center;
	z-index: 1;
	margin-bottom: 0;
	align-items: center;
}

.step label {
	display: block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 6px solid var(--grey-background);
	background-color: white;
	text-decoration: none;
	z-index: 1;
}

.step.current label {
	border-color: var(--main-green);
}

.step:not(:last-of-type)::after {
	content: "";
	position: absolute;
	top: 25%;
	left: 75%;
	width: 70px;
	height: 0;
	border-top: 1px dashed rgb(201, 201, 201);
	z-index: 0;
}

.step a, .step div {
	text-decoration: none;
	color: var(--grey-txt-clr);
	font-size: 0.65rem;
	font-weight: 100;
	line-height: 1.25rem;
}

.language-toggle-container {
	padding: .5rem;
	background-color: white;
	z-index: 5;
}

.language-toggle-box {
	padding: .5rem;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.language-toggle-container.active .language-toggle-box {
	border: 1px solid var(--grey-background);
	border-radius: 8px;
	border-bottom: none;
}

.language-options {
	position: absolute;
	top: 40px;
	left: 8px;
	padding: .3rem 0;
	border: 1px solid var(--grey-background);
	border-top: none;
	border-radius: 0 0 8px 8px;
	width: 52px;
	background-color: white;
	z-index: 5;
}

.language-option {
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-decoration: none;
	font-weight: 200;
	padding: .3rem .5rem;
}

.header__name-mobile, .footer__name-mobile {
	display: none;
}

/* ================== FOOTER ==========================*/

.footer {
	height: fit-content;
	background-color: var(--footer-background);
	bottom: 0;
	justify-content: space-between;
	flex-wrap: wrap;
}

.footer .info {
	flex-wrap: wrap;
}

.footer * {
	color: white;
}

.footer-border-right {
	border-right: 1px solid white;
	padding-right: .5rem;
}

.original-price {
	text-decoration: line-through;
	color: #dddcdc;
	font-size: 0.8rem;
}

.discounted-price {
	font-size: 1rem;
}

.btn_back {
	display: flex;
	align-items: center;
	color: white;
	text-decoration: none;
}

.btn_back i {
	font-weight: 100;
	color: white;
	font-size: 1.5rem;
}

.btn_next {
	display: flex;
  	align-items: center;
	flex-wrap: nowrap;
	background-color: white;
	padding: 0.5rem 0.4rem 0.5rem 1.75rem;
	border-radius: 999px;
	border: none;
	cursor: pointer;
}

.btn_next .button-text {
	font-weight: 500;
	margin-right: 0.5rem;
	color: var(--main-txt-clr) !important;
}

.btn_next .button-icon {
	background-color: var(--main-green);
	color: white;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.btn_next .button-icon i {
	font-weight: 100;
	color: var(--main-txt-clr);
	font-size: 1.5rem;
}

.btn_next:disabled {
	background-color: rgb(224, 225, 226);
	pointer-events: none;
}

.btn_next:disabled .button-icon {
	background-color: white;
}

.btn_next:disabled .button-icon i {
	font-weight: 500;
	color: var(--main-txt-clr);
}

/* ================== RADIO AND CHECKBOX ==========================*/

.radio_container,
.checkbox_container {
	display: block;
	position: relative;
	cursor: pointer;
}

.radio_design,
.checkbox_design {
	position: absolute;
	top: 50%;
	left: -.3rem;
	transform: translate(-50%, -50%);
	height: 18px;
	width: 18px;
	cursor: pointer;
	border: solid 1px var(--grey-txt-clr);
}

.radio_design {
	border-radius: 50%;
}

.checkbox_design {
	border-radius: 5px;
}

.radio_design::after,
.checkbox_design::after {
	content: '';
	position: absolute;
	display: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
}

.radio_design::after {
	border-radius: 50%;
}

.checkbox_design::after {
	border-radius: 3px;
}

.radio_container input[type="radio"],
.checkbox_container input[type="checkbox"] {
	opacity: 0;
	position: absolute;
	left: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	z-index: -1;
}

.radio_design--radio-front,
.checkbox_design--checkbox-front {
	left: 0;
}

.radio_container:has(.radio_design--radio-front) {
	padding-left: 1rem;
	margin-left: 0.5rem;
}

.checkbox_container:has(.checkbox_design--checkbox-front) {
	padding-left: 1rem;
	margin-left: 0.5rem;
}

.radio_container:has(input:disabled),
.checkbox_container:has(input:disabled) {
	cursor: not-allowed;
}

.radio_container input:checked+.radio_design,
.checkbox_container input:checked+.checkbox_design {
	background-color: white;
	border-color: black;
}

.radio_design::after,
.checkbox_design::after {
	background-color: black;
}

.radio_container input:checked+.radio_design::after,
.checkbox_container input:checked+.checkbox_design::after {
	display: block;
}

.rcw-widget-container.chat-widget.rcw-close-widget-container.rcw-widget-container-right {
	margin-bottom: 100px;
}

/* ================== MEDIA QUERIES ==========================*/

@media (max-width: 1350px) {
	.right-side {
		width: 35%;
	}

}

@media (max-width: 1150px) {
	.right-side {
		width: 40%;
	}
}

@media (max-width: 950px) {
	.right-side {
		flex: 1;
		width: 50%;
	}

}

@media (max-width: 870px) {

	.footer>div:first-child {
		max-width: 530px;
		flex-wrap: wrap;
	}
}

@media (max-width: 850px) {
	.booking-wizard {
		flex-direction: column;
		background: linear-gradient(
			to right,
			white 0%,
			white 60%,
			#F2EFE6 60%,
			#F2EFE6 100%
		);
	}

	.left-side {
		min-width: 100%;
		width: 100%;
		padding: 12rem 3rem 5rem 3rem;
		flex: 1;
	}

	.right-side {
		min-width: 100%;
		width: 100%;
		padding: .5rem 3rem 12rem 3rem;
	}

	.header {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: stretch;
		height: 10rem;
	}

	.header__left-side, .header__right-side {
		display: flex;
		justify-content: center;
		padding: 0.5rem;

	}
	.header__left-side {
		order: 2;
		flex-basis: 70%;
		flex-direction: column-reverse;
		align-items: start;
	}

	.header__right-side {
		order: 2;
		flex-basis: 30%;
		align-items: center;
	}

	.background-leaf {
		display: none;
	}
}

@media (max-width: 770px) {
	.header {
		padding: 1rem;
	}

	.background-leaf {
		display: none;
	}
}

@media (max-width: 710px) {
	.stepper {
		margin: 1rem 0;
	}

	.step:not(:last-of-type)::after {
		width: 6rem;
	}

	.background-leaf {
		display: none;
	}
}

@media (max-width: 700px) {

	.footer {
		position: fixed;
	}

	.footer-border-right {
		border: none;
	}

	.background-leaf {
		display: none;
	}
}

@media (max-width: 625px) {
	.left-side, .right-side {
		width: 100%;
		flex: 1;
	}

	.background-leaf {
		display: none;
	}
}

@media (max-width: 480px) {

	#services_container {
		margin-bottom: 5rem;
	}

	.background-leaf {
		display: none;
	}
	
	h1 {
		font-size: 1.5em;
	}

	.header, .footer {
		padding: 1rem;
	}

	.header {
		position: relative;
		flex-direction: column;
		height: auto;
		gap: .5rem;
	}

	.header__right-side {
		order: 1;
		justify-content: space-between;
		padding: 0;
	}

	.header__name {
		display: none;
	}

	.header__name-mobile {
		display: block;
	}

	.header__logo-container img {
		max-height: 50px;
	}

	.header__left-side {
		order: 2;
		padding: 0;
	}

	.stepper-container {
		padding: 0;
	}
	
	.stepper {
		width: calc(100vw - 2rem);
		margin: 0;
	}

	.step a, .step div {
		font-size: .5rem;
	}

	.step:not(:last-of-type)::after {
		width: 7.75rem;
	}


	
	.left-side {
		padding: 1rem 1rem 25rem 1rem;
	}

	.right-side {
		padding: 1rem 1rem 15rem 1rem;
	}

	.booking-wizard:has(.right-side:not(.hidden):not([style*="display: none"])) .left-side {
		padding: 1rem 1rem 1rem 1rem;
	}
	
	.booking-wizard__container--md {
		min-width: auto;
	}

	.final-content {
		padding-top: 16rem;
	}

	.footer {
		flex-direction: column;
		gap: 1rem;
	}

	.footer .buttons {
		order: 1;
		gap: 2rem;
	}
	
	.footer__name {
		display: none;
	}

	.footer__name-mobile {
		display: block;
		order: 2;
		border-top: 1px solid rgb(255, 255, 255, .2);
		padding-top: 1rem;
		width: 100%;
		font-size: 1.25em;
		margin: 0;
	}

	.footer .info {
		order: 3;
		display: grid;
		width: 100%;
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: .3rem;
	}

	.footer .info .flex-col {
		display: grid;
		grid-template-columns: 10rem 1fr;
	}

	.footer .info p {
		font-size: .9em;
	}

	.footer .info .font-bold {
		font-weight: 400;
	}
}



@media (max-width: 420px) {
	#services_container {
		margin-bottom: 5rem;
	}
	.step:not(:last-of-type)::after {
		width: 6.5rem;
	}
}

@media (max-width: 360px) {
	#services_container {
		margin-bottom: 5rem;
	}
	.step:not(:last-of-type)::after {
		width: 5.5rem;
	}
}

