.form-wrapper>.form-row p {
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--12) 0 0 !important;
	margin-bottom: 0;
}

.wpcf7-form-control-wrap {
	position: relative;
	display: block
}

textarea {
	overflow: auto;
	padding-top: var(--wp--preset--spacing--24);
	min-height: 113px
}

.elementFixed .wpcf7-form-control-wrap {
	height: 54px;
	display: flex;
	align-items: center;
	padding: 16px 20px;
	margin-top: 8px
}

.form-top-bar {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0 var(--wp--preset--spacing--40)
}

.form-top-bar h3 {
	font-size: var(--wp--preset--font-size--h-3);
	text-align: center;
	margin-bottom: 1rem
}

.form-normal {
	width: 100%;
	min-width: fit-content;
	display: flex;
	flex-direction: column;
	margin-top: 0;
	background-color: transparent;
	color: var(--wp--preset--color--black);
	padding: var(--wp--preset--spacing--24);
	gap: 0
}

:root {
	--form-row-height: 100px
}

.inputBox,
.inputBoxNew {
	position: relative;
	width: 100%;
}

.required {
	color: inherit !important;
}

.inputBoxNew p {
	/* height: fit-content; */
}

div.inputBoxNew.inputBox-textarea {
	height: auto;
}

.inputBox-textarea .wpcf7-not-valid-tip {
	display: none;
}

.wpcf7-not-valid-tip {
	display: none !important;
}

.inputBox input,
.inputBoxNew input {
	width: 100%;
	padding: 16px 20px;
	border-radius: var(--wp--custom--radius--form);
	border-style: hidden;
	font-size: 1.125rem;
	border: 1px solid var(--wp--preset--color--dark-blue);
	background-color: transparent
}

.inputBox select,
.inputBoxNew select{
	width: 100%;
	padding: 16px 20px;
	border-radius: var(--wp--custom--radius--form);
	border-style: hidden;
	font-size: 1.125rem;
	background-color: transparent;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='13' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23282D2B' d='M2.28 1.32a1.43 1.43 0 0 0-1.9.03c-.52.49-.5 1.27.03 1.74l10.7 9.53.93-.88-.93.89a1.43 1.43 0 0 0 1.94-.07L23.6 3.09c.53-.47.55-1.25.03-1.74a1.43 1.43 0 0 0-1.9-.03l-9.68 8.7-9.76-8.7Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 .97h24v12H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: 1em auto, 100%;
	border: 1px solid var(--wp--preset--color--dark-blue);
}

input.custom-arrow {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--wp--custom--radius--form);
  border-style: hidden;
  font-size: 1.125rem;
  background-color: transparent;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--wp--preset--color--dark-blue);

  background-repeat: no-repeat, repeat;
  background-position: right 0.7em center, 0 0;
  background-size: 1em auto, 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='13' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23282D2B' d='M2.28 1.32a1.43 1.43 0 0 0-1.9.03c-.52.49-.5 1.27.03 1.74l10.7 9.53.93-.88-.93.89a1.43 1.43 0 0 0 1.94-.07L23.6 3.09c.53-.47.55-1.25.03-1.74a1.43 1.43 0 0 0-1.9-.03l-9.68 8.7-9.76-8.7Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 .97h24v12H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

input.custom-arrow.rotated {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='13' fill='none'%3E%3Cg transform='rotate(180 12 6.5)' clip-path='url(%23a)'%3E%3Cpath fill='%23282D2B' d='M2.28 1.32a1.43 1.43 0 0 0-1.9.03c-.52.49-.5 1.27.03 1.74l10.7 9.53.93-.88-.93.89a1.43 1.43 0 0 0 1.94-.07L23.6 3.09c.53-.47.55-1.25.03-1.74a1.43 1.43 0 0 0-1.9-.03l-9.68 8.7-9.76-8.7Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 .97h24v12H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
 
}

.wpcf7-spinner{
	display: none;
}


div.inputBoxNew.elementInFocus select:focus {
	background-color: transparent;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: 1em auto, 100%
}

.inputBoxNew.elementFilled input,
.inputBoxNew.elementFilled select,
.inputBoxNew.elementFilled textarea {
	outline: 0
}

.inputBoxNew select {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden
}

.wpcf7-form .form-row label {
	top: calc(var(--wp--preset--spacing--24) + 6px);
	left: var(--wp--preset--spacing--8);
}

.wpcf7-form .inputBoxNew p.has-value label,
.wpcf7-form .inputBoxNew.elementInFocus label,
.wpcf7-form .inputBoxNew.elementFilled label {
	color: var(--wp--preset--color--black);
	background-color: var(--wp--preset--color--light-blue);
	font-size: 12px;
	padding: .25em .5em;
	border-radius: var(--wp--custom--radius--form);
	z-index: 3;
	top: 0;
	left: 0;
}

.form-wrapper>.form-row .country-select p {
	padding-top: 4px !important;
} 
.wpcf7-form .form-row p:not(.has-value) label.phone-label {
	left: 100px
}
.wpcf7-form .form-row .phone-wrapper.has-value label.phone-label {
	top: 0;
}

.salutation-box {
	width: calc(30% - 8px);
	box-sizing: border-box
}

.fullname-box {
	width: calc(70% - 8px);
	box-sizing: border-box
}

.inputBoxNew input.wpcf7-not-valid:focus,
.inputBoxNew select.wpcf7-not-valid:focus,
.inputBoxNew textarea.wpcf7-not-valid:focus {
	outline: 0
}

.required .cf7-placeholder-title::after  {
	content: '*';
	color: var(--wp--preset--color--black);
}


input[type="checkbox"]{
	padding-top: 2px;
	color: var(--wp--preset--color--dark-blue);
	border-width: 1px !important;
}

textarea.wpcf7-textarea {
	width: 100%;
	resize: none;
	border-style: hidden;
	border-radius: var(--wp--custom--radius--form);
	padding: 16px 20px;
	font-size: 1.125rem;
	background-color: transparent;
	border: 1px solid var(--wp--preset--color--dark-blue)
}

.inputBox textarea:focus~span {
	color: #fff;
	transform: translateY(-26px);
	font-size: 12px;
	background: var(--wp--preset--color--green);
	padding: .25em .5em;
	border-radius: var(--wp--custom--radius--form)
}

p.elementFilled label {
	color: var(--wp--preset--color--black);
	transform: translateY(-26px) !important;
	font-size: 12px !important;
	background: var(--wp--preset--color--light-grey);
	padding: .25em .5em !important;
	border-radius: var(--wp--custom--radius--form) !important
}

.form-row {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}

input:focus,
textarea:focus {
	outline: 0
}

.inputBox .wpcf7-submit {
	width: fit-content;
	background-color: var(--wp--preset--color--dark-blue) !important;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--h-5);
	font-weight: bold;
	border-radius: var(--wp--custom--radius--form-btn);
	background-repeat: no-repeat;
	margin: 0 auto;
	padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--40);
}

.inputBox .wpcf7-submit:hover {
	background-color: var(--wp--preset--color--light-blue) !important;
	color: var(--wp--preset--color--primary) !important
}

.consent {
	color: var(--wp--preset--color--black) !important;
	font-size: .875rem;
	text-align: center
}

.submit-wrapper {
	display: flex;
	flex-direction: column;
	gap: .875rem;
	margin-top: 1.5rem
}

.is-form-style input {
	padding: 1.5em !important;
	border-radius: 8px 0 0 8px !important
}

.error-message, .wpcf7-not-valid-tip {
	color: var(--wp--preset--color--red);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: -.14px;
	position: relative;
}

p:has(>span>:focus)>label>span.js-custom-error-message {
	display: none
}

span.js-custom-error-message {
	display: block !important;
	white-space: nowrap;
	top: 5em;
	left: -20px;
	position: absolute
}

.inputBox-textarea span.wpcf7-not-valid-tip {
	top: 1px
}

.inputBoxNew:has(.wpcf7-not-valid) span.cf7-placeholder-title {
	/* background-color: var(--wp--preset--color--light-blue);
	font-size: 12px;
	padding: .25em .5em;
	border-radius: var(--wp--custom--radius--form);
	z-index: 99;
	-ms-transform: translateY(-26px);
	-webkit-transform: translateY(-26px);
	-moz-transform: translateY(-26px);
	-o-transform: translateY(-26px);
	transform: translateY(-26px) */
}

.container-checkbox {
	display: flex;
	flex-direction: row;
	position: relative;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none
}

.container-checkbox::before {
	margin-top: -5px
}

.wpcf7-list-item label {
	display: flex
}

.wpcf7-form-control.wpcf7-checkbox {
	display: grid;
	grid-template-columns: auto auto;
  gap: 0.5rem;
}

.container-checkbox span.wpcf7-list-item-label {
	cursor: auto;
}

.wpcf7-list-item-label {
	position: relative;
	top: -2px;
	left: -4px;
	line-height: 1.75;
}

span.wpcf7-list-item.first.last {
	margin-left: 49px;
}

.container-checkbox span.wpcf7-form-control-wrap::before {
	top: -3px;
}

.container-checkbox br,
.form-wrapper br {
	display: none;
}

.container-checkbox p {
	font-size: .875rem;
	font-weight: 500;
}

.container-checkbox input {
	position: absolute;
	cursor: pointer;
	height: 28px;
	width: 28px;
	left: -4px;
	top: -6px;
	z-index: 999;
	accent-color: #008a50;
	color: #fff;
	background-color: transparent;
}

.wpcf7 form .wpcf7-response-output {
	display: none;
}

.wpcf7 form .form-normal .wpcf7-response-output {
	border-radius: 8px;
	padding: 1em 1.25em;
	font-size: 1.25rem;
	margin: 0 !important;
}

.show-response {
	display: flex !important;
}

.failed-submit {
	background-color: #e90047;
	color: #fff;
	border-color: #e90047 !important;
}

.wpcf7-list-item{
	margin: 0;
}

.checkboxGroupBox.required{
	margin: 1rem 0 0;
	gap: 1rem;
    display: grid;
}

.form-row.hidden-inputs > p {
	display: none;
}

@media screen and (max-width:1080px) {
	.form-wrapper {
		width: 100%;
	}
}

@media screen and (max-width:782px) {
	.form-wrapper {
    gap: 0;
		max-width: 100%;
		background-color: transparent;
		margin: 0;
		min-width: 100%;
		padding: 0 var(--wp--preset--spacing--40);
	}
  .form-row{
    flex-direction: column;
    gap: 0;
  }
  .inputBoxNew{
    width: 100%;
  }
  .wpcf7-form-control.wpcf7-checkbox{
    grid-template-columns: auto;
  }
  .wpcf7-list-item-label{
	font-size: var(--wp--preset--font-size--small);
	}
}
@media screen and (max-width:600px) {
	.year-picker-controls button{
		width: unset;
	}
	.form-wrapper {
		padding: 0 var(--wp--preset--spacing--16);
	}
}

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


