.wpcf7-form {
	position: relative;
}
.wpcf7-form div.two-fields {
	display: flex;
	justify-content: space-between;
}
.wpcf7-form div.field:not(.first) {
	margin-top: 1.5em;
}
.wpcf7-form div.two-fields > .field {
	width: 50%;
	margin-top: 0;
}
.wpcf7-form div.two-fields > .field:first-child {
	margin-right: 1.25em;
}
.wpcf7-form div.field input:not([type="submit"]),
.wpcf7-form div.field select,
.wpcf7-form div.field textarea {
	background-color: #F5F5F5;
	padding: 0.9em 1.2em;
	border-color: transparent;

	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}
section.career-contact .wpcf7-form div.field input:not([type="submit"]),
section.career-contact .wpcf7-form div.field select,
section.career-contact .wpcf7-form div.field textarea {
	background-color: #fff;
}
section.career-contact .wpcf7-form .grid.spaced-cols > .col > .text-content {
	max-width: 920px;
}
section.career-contact .wpcf7-form .grid > .col > .text-content > .field:first-child {
	margin-top: 0;
}
section.career-contact .wpcf7-form .grid > .col:nth-child(2) > .text-content {
	height: 100%;
}
section.career-contact .wpcf7-form .grid > .col:nth-child(2) > .text-content .cv-upload {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 700px;
	margin-bottom: 0;
	background-image: url('../media/file-cv.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;
	border: 2px dashed #5C9919;

	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}
html:lang(sr-RS) section.career-contact .wpcf7-form .grid > .col:nth-child(2) > .text-content .cv-upload {
	background-image: url('../media/file-cv-sr.svg');
}
section.career-contact .wpcf7-form div.file:not(.active) {
	opacity: 0;
	visibility: hidden;

	-o-transition: opacity 0.2s, visibility 0.2s;
	-moz-transition: opacity 0.2s, visibility 0.2s;
	-webkit-transition: opacity 0.2s, visibility 0.2s;
	transition: opacity 0.2s, visibility 0.2s;
}
section.career-contact .wpcf7-form div.file.active {
	opacity: 1;
	visibility: visible;
}
section.career-contact .wpcf7-form div.field input[type="file"] {
	background-color: transparent;
}

.wpcf7-form div.field input.wpcf7-not-valid:not([type="submit"]),
.wpcf7-form div.field select.wpcf7-not-valid,
.wpcf7-form div.field textarea.wpcf7-not-valid {
	border-color: #D5201E;
}
.wpcf7-form div.field select {
	padding: 10px 6px;
}
.wpcf7-form div.field textarea {
	min-height: 5em;
	max-height: 30em;
	resize: none;

	-webkit-border-radius: 1.5em;
	-moz-border-radius: 1.5em;
	border-radius: 1.5em;
}
.wpcf7-form div.field.submit {
	display: inline-block;
	position: relative;
	margin-top: 75px;
	overflow-x: hidden;
}
.wpcf7-form div.field.submit input[type="submit"] {
	display: block;
}
.wpcf7-form div.field.submit input[type="submit"]:hover {
	background-color: #D5201E !important;
	border-color: #D5201E !important;
}
.wpcf7-form.submitting div.field.submit input[type="submit"] {
	pointer-events: none;
	opacity: 0.5;
}
.wpcf7-form div.field .wpcf7-spinner {
	position: absolute;
	z-index: 1;
	display: block;
	top: 50%;
	left: 50%;
	margin: 0;

	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.wpcf7-form div.field .wpcf7-not-valid-tip {
    padding: 0;
    position: absolute;
    font-size: 0.8em;
    color: #D5201E;
    right: 1.5em;
    top: 0;
}
.wpcf7-form div.field .textarea .wpcf7-not-valid-tip {
	top: 1em
}

.wpcf7-form .wpcf7-response-output {
	position: absolute;
	bottom: 90px;
	font-size: 0.8em;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
	color: #5C9919;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors {
	color: #D5201E;
}

body .grecaptcha-badge { /* hide invisible recaptcha privacy policy */
	display: none !important;
}

.wpcf7-form *::-webkit-input-placeholder {
	color: #BEBEBE;
	/* opacity: 0.6; */
}
.wpcf7-form *::-moz-placeholder {
	color: #BEBEBE;
	/* opacity: 0.6; */
}
.wpcf7-form *:-ms-input-placeholder {
	color: #BEBEBE;
	/* opacity: 0.6; */
}
.wpcf7-form *:-moz-placeholder {
	color: #BEBEBE;
	/* opacity: 0.6; */
}
@media all and (max-width: 1600px) {
	section.career-contact .wpcf7-form .grid > .col:first-child {
		width: 60%;
	}
	section.career-contact .wpcf7-form .grid > .col:nth-child(2) {
		width: 40%;
	}
	section.career-contact .wpcf7-form .grid > .col:nth-child(2) > .text-content .cv-upload {
		min-width: auto;
		background-size: 130%;
	}
}
@media all and (max-width: 1200px) {
	section:not(.career-contact) .wpcf7-form {
		max-width: 800px;
	}
}
@media all and (max-width: 800px) {
	.wpcf7-form {
		max-width: 600px;
		/* text-align: center; */
	}
	.wpcf7-form div.two-fields {
		display: block;
	}
	.wpcf7-form div.two-fields > .field {
		width: auto;
	}
	.wpcf7-form div.two-fields > .field:not(.first) {
		margin-top: 1.5em;
	}
	.wpcf7-form div.two-fields > .field:first-child {
		margin-right: 0;
	}
	.page-template-contact .wpcf7-form div.field.submit {
		font-size: 20px;
	}
	.wpcf7-form div.field.submit input[type="submit"] {
		font-size: 0.8em;
	}
	form:not(section.career-contact) .wpcf7-form .wpcf7-response-output {
		bottom: 70px;
	}
	section.career-contact .wpcf7-form .grid > .col:first-child,
	section.career-contact .wpcf7-form .grid > .col:nth-child(2) {
		width: 100%;
	}
	section.career-contact .wpcf7-form div.file:not(.active) {
		position: absolute;
	}
	section.career-contact .wpcf7-form .grid > .col:nth-child(2) > .text-content .cv-upload {
		height: 150px;
	}
}
@media all and (max-width: 600px) {
	.wpcf7-form div.field.submit {
		display: block;
	}
}
