.admin-bar .job-application-form {
	top: 32px;
}

.job-application-form {
	background-color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	right: 0;
	width: 640px;
	height: 100%;
	overflow-y: auto;
	z-index: 8;
	transform: translateX(calc( 100% + 300px));
	transition: all 0.4s ease-in-out;
}

.job-application-form.open {
	transform: translateX(0);
}

.job-application-form.app-submitted {
	background: white;
	overflow-y: hidden;
	overflow-x: hidden;
	padding: 0;
	justify-content: space-evenly;
}

.job-application-form .form-wrap,
.job-application-form .application-form,
.job-application-form .wpcf7 {
	height: 100%;
	width: 100%;
}

.job-application-form .wpcf7 {
	width: 100%;
}

.job-application-form .application-form .wpcf7-form {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100dvh;
	padding: 24px 24px 0;
}

.job-application-form .application-form .form-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 16px;
	margin-top: 20px;
	border-radius: 5px;
	/*border: 1px solid #EBF3FF;*/
	background: linear-gradient(180deg, rgba(235, 243, 255, 0.00) 0%, #EBF3FF 58.85%);
	box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.6)
}

.job-application-form .application-form  .form-inner .form-title-wrap {
	padding: 7px 24px;
	margin-bottom: 24px;
	background-color: #374FFE;
	border-radius: 0 0 5px 5px;
}

.job-application-form  .form-inner .form-title-wrap .form-title {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
}

.job-application-form .form-inner .post-title {
	font-size: 20px;
	color: #231F20;
	font-weight: 600;
	line-height: 1;
	text-align: center;
}

.job-application-form .form-inner .name-email-wrap .fields {
	display: flex;
	gap: 16px;
}

.job-application-form .form-inner .uploads-wrap .fields {
	margin-top: 5px;
}

.job-application-form .form-inner .form-row {
	margin-bottom: 15px;
	width: 100%;
}

.job-application-form .wpcf7-form .wpcf7-not-valid {
	border-color: #FFDED7 !important;
}

/* this will hide some tags that cf7 insists on inserting between the fields. */
.job-application-form .form-inner .form-row .fields > br,
.job-application-form .form-inner .form-row > p {
	display: none;
}

.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap {
	width: 100%;
}

.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > input {
	width: 100%;
	height: 44px;
	border: 1px solid #D5D5D5;
	border-radius: 5px;
	font-size: 16px;
	padding: 3px 12px 0;
}

.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > textarea {
	width: 100%;
	border: 1px solid #D5D5D5;
	border-radius: 5px;
	font-size: 16px;
	padding: 8px 12px;
	resize: none;
}

.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > input::placeholder,
.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > textarea::placeholder {
	color: var(--color-grey-40, #8e8e8e);
	font-size: 16px;
	margin-top: 5px;
}

.job-application-form .form-inner .uploads-wrap p {
	display: none;
}

.job-application-form .form-inner .uploads-wrap .chosen-file-title.show {
	display: block;
}

.job-application-form .form-inner .uploads-wrap .file-upload-box {
	display: none;
	background-color: #ffffff;
	padding: 0;
	margin-top: 3px;
	border-radius: 5px;
}

.job-application-form .form-inner .uploads-wrap .file-upload-box .codedropz-upload-inner h3 {
	font-size: 16px;
	font-weight: 400;
	margin: 0 0 -4px;
}

.job-application-form .form-footer {
	margin-left: -24px;
	width: calc(100% + 48px);
	background: linear-gradient(360deg, #F5F5F5 75%, rgba(245, 245, 245, 0.00) 100%);
	flex: 1 0 auto;
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	justify-content: flex-end;
}

.job-application-form .form-footer .footer-top {
	min-height: 32px;
	background: linear-gradient(360deg, #F5F5F5 0%, rgba(245, 245, 245, 0.00) 100%);
	border-bottom: 1px solid #d5d5d56e;
	padding: 0 24px;
	width: 100%;
}

.job-application-form .form-footer .footer-top .quiz-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0;
	border-bottom: none;
}

.job-application-form .form-footer .footer-top .quiz-wrapper .captcha-label {
	font-weight: 400;
	font-size: 12px;
}

/*.job-application-form .form-footer .footer-top .quiz-wrapper .wpcf7-quiz-label {*/
/*	font-size: 12px;*/
/*}*/

.job-application-form .form-footer .footer-top .quiz-wrapper input.wpcf7-quiz {
	border: 1px solid #D5D5D5;
	border-radius: 5px;
	margin-left: 5px;
}

.job-application-form .form-footer .footer-bottom {
	padding: 24px;
	border-top: 1px solid #d5d5d56e;
	background: #fff;
	width: 100%;
}

.job-application-form .form-footer .footer-bottom br {
	display: none;
}

.job-application-form .form-footer .footer-bottom p {
	margin: 0;
}

.job-application-form .form-footer .footer-bottom .cf-acceptance-wrapper {
	gap: 8px;
	align-items: flex-start;
	line-height: 1.5;
	font-size: 14px;
	margin-bottom: 12px;
	color: #231F20;
}

.job-application-form .form-footer .footer-bottom .cf-acceptance-wrapper .wpcf7-form-control-wrap {
	margin: 0;
}

.job-application-form .form-footer .footer-bottom .cf-acceptance-wrapper input[type="checkbox"] {
	width: 20px;
	height: 20px;
}

.job-application-form .form-footer .footer-bottom .wpcf7-response-output {
	border: none;
	padding: 9px 12px 5px;
	margin: 10px 0;
	border-radius: 5px;
	color: white;
	font-size: 12px;
	font-weight: 400;
	background: rgb(182 157 5);
	background: linear-gradient(0deg, rgb(182 157 5) 0%, rgb(251 215 0) 100%);
}

.job-application-form .wpcf7-form.invalid .form-footer .footer-bottom .wpcf7-response-output {
	background: #FFDED7;
	/*background: linear-gradient(0deg, #ffa092 0%, #FFDED7 100%);*/
	color: #C53A1F;
}

.job-application-form .wpcf7-form.sent .form-footer .footer-bottom .wpcf7-response-output {
	background: rgb(3 158 31);
	background: linear-gradient(0deg, rgb(3 158 31) 0%, rgb(0 207 38) 100%);
}

.job-application-form .form-footer .wpcf7-submit {
	width: 100%;
	border: none;
	background-image: url('../../../images/icon-paper-plane.svg');
	background-position: calc(50% - 100px) center;
	background-repeat: no-repeat;
}

/* Validation & errors */
.job-application-form .wpcf7-not-valid input[type="checkbox"]:not(:checked) {
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	outline: none;
	content: none;
}

.job-application-form .wpcf7-not-valid input[type="checkbox"]:not(:checked)::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	background: #FFDED7;
	border: 1px solid #C53A1F;
	border-radius: 5px;
	/*margin-right: 7px;*/
}

.job-application-form .wpcf7-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: -7px;
	font-size: 12px;
	/*position: absolute;*/
	background-color: #FFDED7;
	color: #C53A1F;
	padding: 11px 10px 2px;
	top: unset;
	text-align: center;
	border-radius: 0 0 5px 5px;
	opacity: 1;
	transition: opacity 0.4s ease-in-out;
	z-index: 3;
}

/* error message - checkboxes */

.job-application-form .wpcf7-form .wpcf7-checkbox + .wpcf7-not-valid-tip {
	display: none; /* this is causing too much trouble, i'm going to just hide it. The checkbox goes red, it's enough of a visual clue */
}

/* error message - captcha */
.job-application-form .wpcf7-form .short-question {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.job-application-form .wpcf7-form .short-question .wpcf7-not-valid-tip {
	position: static;
	margin: 10px 0;
	border-radius: 5px;
	padding: 5px 13px 3px;
}

.job-application-form .wpcf7-form .short-question .wpcf7-not-valid-tip::after {
	bottom: -4px;
	right: calc(50% - 7px);
	z-index: -1;
}

/* error message - files */
.job-application-form .wpcf7-form .user_files .wpcf7-not-valid-tip {
	border: none;
	background: #FFDED7;
	padding: 9px 12px 5px;
	margin: 10px 0;
	border-radius: 5px;
	color: #C53A1F;
	font-weight: 500;
	/*background: linear-gradient(0deg, #ffa092 0%, #FFDED7 100%);*/
	width: 100%;
	position: relative;
	font-size: 12px;
	text-align: left;
}

.job-application-form .wpcf7-form .user_files .wpcf7-not-valid-tip::after {
	display: none;
}

/* error message - files - non-logged in form */
.job-application-form .wpcf7-form .uploads-wrap .fields .wpcf7-not-valid-tip {
	width: 100%;
	margin-top: -5px;
	z-index: 4;
}

.job-application-form .wpcf7-form .uploads-wrap .fields .wpcf7-not-valid-tip::after {
	left: calc(50% - 7px);
	top: -3px;
	z-index: -1;
}

/* error message - uploads */
.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-handler {
	border-radius: 5px;
	margin-bottom: 0;
	border-width: 1px;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-handler:hover {
	border-color: #3C4EF5;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .wpcf7-not-valid + .codedropz-upload-handler {
	border-color: #f03b3b;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-container {
	background-color: white;
	border-radius: 5px;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner > span {
	font-size: 16px;
	color: #231F20;
	font-weight: 400;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner .codedropz-btn-wrap {
	font-size: 16px;
	font-weight: 400;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner::after {
	display: block;
	content: 'Allowed formats: jpg, jpeg, png, pdf, doc, docx, ppt, pptx';
	font-size: 12px;
	flex-shrink: 0;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz--results {
	/*padding: 5px 10px;*/
	/*background-color: white;*/
	border-radius: 5px;
	overflow: hidden;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz--results .dnd-upload-status:first-child {
	margin-top: 13px;
	border-radius: 4px 4px 0 0;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz--results .dnd-upload-status {
	background-color: white;
	padding: 10px;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz--results .dnd-upload-status .remove-file {
	right: 10px;
}

.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz--results .dnd-upload-status .dnd-upload-details .name span {
	color: #231F20;
}

.job-application-form .wpcf7-form .dnd-upload-status .dnd-upload-details .dnd-progress-bar span.complete {
	line-height: 1.6;
}

.application-form .wpcf7 .ajax-loader {
	display: none;
}

/* copy/pasted from custom.css */
/* -- User application form */
.devbg-offcanvas-form .user-application-form label.small {
	font-size: 10px;
	font-weight: 500;
}
.user-names-wrapper {
	display: flex;
	justify-content: space-between;
}

.user-files-upload {
	margin-top: 13px;
	margin-bottom: 5px;
}

.user-files-upload .button {
	background-color: var( --color-white, #fff );
	color: var( --color-primary );
	font-size: 14px;
	padding-right: 32px;
}

.user-files-upload .button.disabled {
	color: var( --color-gray-40, #8e8e8e );
	opacity: 0.7;
}

.user-files-upload .button::after {
	content: ">";
	display: block;
	position: absolute;
	right: 15px;
	transform: rotate(90deg) scale(1,1.5);
	transition: all 0.2s ease-in-out;
}

.user-files-upload .button.icon-collapse::after {
	content: ">";
	display: block;
	position: absolute;
	right: 15px;
	transform: rotate(-90deg) scale(1,1.5);
	transition: all 0.2s ease-in-out;
}

.wpcf7-form-control-wrap.user_files {
	border-top: 1px solid whitesmoke;
	border-radius: 5px;
}

.wpcf7-form-control-wrap.user_files .show-user-files {
	margin-top: 10px;
}
/* -- End User application form */

@keyframes moveUp {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-145px);
	}
}

.job-application-form.app-submitted.open .thank-you-content-wrapper {
	transform: translateY(0);
	transition: 0.5s transform ease;
	animation: 0.5s moveUp 3s ease forwards;
	max-width: 100%;
}


@keyframes appear {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.job-application-form.app-submitted::after {
	content: '';
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: linear-gradient(180deg, #fff 70%, #8FC4FF5E);
	animation: appear 0.5s ease 3s forwards;
	z-index: -1;
}

/* Thank you wrap */
.job-application-form .thank-you-wrap {
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	align-self: center;
	margin: 0 auto;
	padding-top: 80px;
	height: 100%;
}

.job-application-form .thank-you-wrap:not(.d-none) {
	display: flex;
}

.job-application-form .thank-you-wrap > img {
	width: 165px;
	margin-bottom: 20px;
}

.job-application-form .thank-you-wrap .thank-you-messaging {
	padding: 0 24px;
	position: relative;
	z-index: 1;
}

.job-application-form .thank-you-wrap .thank-you-title {
	font-size: 24px;
	line-height: 30px;
}

.job-application-form .thank-you-wrap .thank-you-text {
	font-size: 16px;
	line-height: 1.5em;
}

.job-application-form .thank-you-wrap .btn {
	display: inline-block;
	margin: 0 10px;
	padding: 15px;
	font-size: 14px;
}

.job-application-form .thank-you-wrap .related-jobs {
	width: 100%;
	height: 100%;
	margin-top: 20px;
	padding: 0 54px;
	position: relative;
	z-index: 10;
}

.job-application-form .thank-you-wrap .related-jobs-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
  }
  
  .job-application-form .thank-you-wrap .related-jobs-list > * {
	flex: 1;
  }


.job-application-form .thank-you-wrap .related-jobs .job-list-item-mini {
	margin-bottom: 15px;
}

.job-application-form .thank-you-wrap .related-jobs .titles-wrap {
	margin-top: 40px;
	margin-bottom: 40px;
	text-align: center;
}

.job-application-form .thank-you-wrap .related-jobs .titles-wrap .related-jobs-title {
	font-size: 24px;
	line-height: 30px;
}

.job-application-form .thank-you-wrap .related-jobs .titles-wrap .related-jobs-title.current-job-title {
	color: var(--color-primary);
}

.job-application-form .thank-you-wrap .related-jobs .job-title,
.job-application-form .thank-you-wrap .related-jobs {
	text-align: left;
}


.job-application-form .thank-you-wrap .related-jobs {
	width: calc(100% + 48px);
}

@keyframes bounceUp {
	0% {
		opacity: 0;
		transform: translateY(-50%, 50px);
	}
	60% {
		opacity: 1;
		transform: translate(-50%, -10px);
	}
	80% {
		transform: translate(-50%, 5px);
	}
	100% {
		transform: translate(-50%, 0);
		opacity: 1;
	}
}
.job-application-form .thank-you-wrap .component-reklama {
	position: absolute;
	text-align: left;
	bottom: -360px;
	padding-top: 55px;
	opacity: 0;
	background: none;
	animation: appear 0.5s ease 3s forwards;
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 380px;
}

.job-application-form .thank-you-wrap .component-reklama .sc-rec {
	position: absolute;
	opacity: 0;
	animation: bounceUp 0.8s ease 3.5s forwards;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;	
	margin-bottom: 2em;
}

.job-application-form .thank-you-wrap .reklama-info-label {
	display: none;
}

/* Small */
@media screen and (max-width: 950px) {
	.job-application-form.app-submitted::after {
		display: none;
	}

	.job-application-form {
		max-width: 100%;
		height: 100svh;
		min-height: 100%;
		padding-bottom: 0;
	}

	.job-application-form .form-inner .form-title-wrap .form-title {
		font-size: 13px;
	}

	.job-application-form .form-inner .post-title .underlined::after {
		display: none;
	}

	.job-application-form .form-footer .footer-bottom {
		overflow-y: scroll;
	}

	.job-application-form .wpcf7-form .wpcf7-not-valid-tip {
		display: block;
		opacity: 1;
	}

	/* Name/email fields */
	.job-application-form .wpcf7-form .form-inner .name-email-wrap .fields {
		flex-wrap: wrap;
	}

	.job-application-form .wpcf7-form .name-email-wrap .fields .wpcf7-not-valid-tip {
		bottom: 8px;
		left: 0;
	}

	.job-application-form .wpcf7-form .name-email-wrap .fields .wpcf7-not-valid-tip::after {
		bottom: 16px;
	}

	/* captcha */
	.job-application-form .wpcf7-form .short-question .wpcf7-not-valid-tip {
		left: 0;
		bottom: 8px;
	}

	.job-application-form .wpcf7-form .short-question .wpcf7-not-valid-tip::after {
		bottom: 16px;
		right: calc(50% + 7px);
	}

	/* checkbox */
	.job-application-form .wpcf7-form .wpcf7-checkbox + .wpcf7-not-valid-tip {
		bottom: -7px;
		left: 0px;
		width: 115px;
		margin-right: 0;
	}

	.job-application-form .wpcf7-form .wpcf7-checkbox + .wpcf7-not-valid-tip::after {
		bottom: 35px;
		left: 17px;
		z-index: -1;
	}

	.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner::after {
		max-width: 100%;
		white-space: normal;
		text-align: left;
	}

	.job-application-form .wpcf7-form .footer-top .short-question > label {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}

	.job-application-form .wpcf7-form .footer-top .short-question input.wpcf7-quiz {
		max-width: 60px;
	}

	.job-application-form .thank-you-wrap {
		padding-top: 40px;
	}

	.job-application-form .thank-you-wrap .related-jobs {
		padding: 0 15px;
		width: calc(100% - 48px);
	}

	.job-application-form .thank-you-wrap .related-jobs-list {
		grid-template-columns: 1fr;
	  }

	.job-application-form .thank-you-wrap .component-job-card {
		min-width: auto;
	}

	.job-application-form.app-submitted {
		overflow-y: scroll;
		justify-content: space-between;
		padding-bottom: 40px;
	}

	.job-application-form.app-submitted.open .thank-you-content-wrapper {
		animation: none;
	}

	/* .job-application-form .thank-you-wrap .component-reklama {
		background: linear-gradient(to bottom, #fff, #8FC4FF);
	} */
}

@media screen and (max-width: 370px) {
	.job-application-form .thank-you-wrap .thank-you-text {
		max-width: 92vw;
		display: block;
		margin: auto;
	}
}

/* Small HEIGHT */
@media screen and (max-height: 900px) {
	.job-application-form .form-inner .form-row {
		margin-bottom: 8px;
	}

	.job-application-form  .form-inner .form-title-wrap .form-title {
		font-size: 13px;
	}

	.job-application-form .form-inner .post-title {
		font-size: 16px;
	}

	.job-application-form .form-footer .footer-bottom {
		overflow-y: scroll;
	}

	.job-application-form .application-form-label {
		font-size: 12px;
	}

	.job-application-form .form-inner .uploads-wrap .chosen-file-title.show {
		font-size: 12px;
	}

	.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > input,
	.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > input::placeholder,
	.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > textarea,
	.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > textarea::placeholder {
		font-size: 12px;
	}

	.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > input {
		height: 32px;
	}

	.job-application-form .form-inner .form-row .fields > .wpcf7-form-control-wrap > textarea {
		line-height: 1.1;
	}

	.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-container {
		padding: 10px 20px;
	}

	.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner > span,
	.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner .cd-upload-btn {
		font-size: 14px;
	}

	.job-application-form .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner::after {
		display: none;
	}

	.job-application-form .form-footer .footer-bottom .cf-acceptance-wrapper {
		font-size: 12px;
	}
}
