#form-wrap {
	margin-top: 40px;
}

.section {
	display: flex;
	flex-wrap: wrap;
	gap: 0 50px;
	margin-bottom: 40px;
	background-color: var(--white);
	padding: 40px 30px 0;
	border-radius: 10px;
}

.section > div {
	margin-bottom: 45px;
	flex: 0 0 calc(50% - 25px);
}

.section > div.extra-margin {
	padding-top: 40px;
	margin-bottom: 100px;
}

.section > div.full {
	flex: 100%;
}

#submit-success {
	text-align: center;
	position: relative;
	padding-top: 34px;
}

#submit-success a {
	font-family: raleway-bold;
	text-transform: uppercase;
}

#submit-success::after {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 1px;
	background-color: var(--header-color);
	content: '';
}

.input-wrap {
	position: relative;
}

.input-wrap input[type="text"],
.input-wrap input[type="email"],
.input-wrap select {
	background-color: transparent;
	outline: none;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid var(--main-color);
	width: 100%;
	padding: 0 0 8px;
	font-family: raleway-semibold;
	-webkit-appearance: none;
	appearance: none;
}

.input-wrap.textarea textarea {
	border: 1px solid var(--main-color);
	padding: 10px;
}

.input-wrap label {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	width: 100%;
	transition: all .2s ease-out;
	font-size: .9em;
}

.input-wrap.textarea label {
	left: 10px;
	top: 8px;
	width: calc(100% - 20px);
	line-height: 1.3em;
}

.input-wrap label span {
	padding-left: 6px;
	color: var(--header-color);
	font-family: raleway-bold;
}

.input-wrap label.required::after {
	content: '*';
	display: inline-block;
	margin-left: 4px;
	font-size: 1.5em;
	line-height: .1;
}

.input-wrap:focus-within label,
.input-wrap input:not(:placeholder-shown) + label {
	top: -26px;
	font-size: .75em;
	color: var(--dark-gray);
}

.input-wrap.textarea:focus-within label,
.input-wrap.textarea textarea:not(:placeholder-shown) + label {
	/*top: -28px;*/
	bottom: calc(100% + 6px);
	top: auto;
	font-size: .75em;
	color: var(--dark-gray);
	left: 0;
}

.input-wrap.switch:focus-within > label:first-child,
.input-wrap.checkbox:focus-within label {
	top: 0;
	font-size: .9em;
	color: inherit;
}

.error-note,
.input-wrap:focus-within .error-note.show,
.input-wrap input:not(:placeholder-shown) ~ .error-note.show,
.input-wrap textarea:not(:placeholder-shown) ~ .error-note.show {
	font-size: .7em;
	color: var(--pink);
	font-family: raleway-bold;
	display: none;
	top: calc(100% - .3em);
	position: absolute;
	left: 0;
}

.error-note.show,
.error-note.error-show {
	display: block;
}

.input-wrap.no-entry .error-note.show {
	display: block !important;
}

#submit-wrap {
	text-align: center;
}

.flatpickr-calendar::after {
	border-width: 7px;
	margin: 0 -7px;
}

.flatpickr-calendar.arrowTop::after {
	border-bottom-color: var(--header-color);
}

.flatpickr-calendar::before {
	border-width: 8px;
	margin: 0 -8px;
}

.flatpickr-calendar.arrowTop::before {
	border-bottom-color: var(--white);
}

.input-wrap .flatpickr-input.flatpickr-mobile {
	background-color: transparent;
	outline: none;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid var(--main-color);
	width: 100%;
	padding: 0 0 8px;
	font-family: raleway-semibold;
	-webkit-appearance: none;
	appearance: none;
	color: var(--main-color);
	min-height: 18px;
	position: relative;
	z-index: 1;
}

input::-webkit-date-and-time-value {
	text-align: left;
}

.calender-done {
	content: 'done';
}

body.is-mobile .no-entry::before {
	position: absolute;
	content: 'mm dd, yyyy\00a0\00a0\00a0\00a0--:--';
	font-family: raleway-semibold;
	font-size: 16px;
	bottom: 0;
	left: 0;
	z-index: 0;
}

.check-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

@media screen and (max-width: 1023px) {
	.section > div {
		flex: 0 0 auto;
		width: 100%;
		margin-bottom: 55px;
	}
}

@media screen and (max-width: 610px) {
	.input-wrap.textarea:focus-within label,
	.input-wrap.textarea textarea:not(:placeholder-shown) + label {
		
	}
}

@media screen and (max-width: 400px) {
	.input-wrap.textarea:focus-within label,
	.input-wrap.textarea textarea:not(:placeholder-shown) + label {
		width: 100%;
	}
}