.wpforms-container {
	width: 100%!important;
}

body form {
	width: 100%;
}

body form label {
	margin-bottom: 10px;
	font-weight: 500!important;
	width: auto!important;
	font-size: var(--std-font-size)!important;
}

body input, body textarea, body select {
	border-radius: var(--rounded);
	border: none;
	padding: 12px;
	background-color: var(--white);
	font-size: var(--std-font-size);
	font-weight: var(--std-font-weight);
	color: var(--text);
	min-width: 0;
}

body textarea {
	border-radius: var(--big-radius);
	min-height: 80px;
}

body *::placeholder, select option.placeholder {
	color: var(--shd-mid);
}

body textarea, body select {
	-webkit-appearance: none!important;
	appearance: none!important;
}

body select {
	background-image: linear-gradient(45deg, transparent 50%, var(--shd-dark) 50%),linear-gradient(135deg, var(--shd-dark) 50%, transparent 50%);
	background-position: calc( 100% - 17px) 50%,calc( 100% - 12px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
	padding: 10px 30px 10px 10px;
}

/* WIDGET */

input[type="file" i]::-webkit-file-upload-button {
	-webkit-appearance: none!important;
	appearance: none!important;
	display: none;
}

input.personal-cv, input.personal-photo {
	position: relative;
}

input.personal-cv::after, input.personal-photo::after {
	position: absolute;
	display: inline-block;
	content: '';
	width: 50px;
	height: 100%;
	top: 0;
	right: 0;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M288 109.3L288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352l128 0c0 35.3 28.7 64 64 64s64-28.7 64-64l128 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64zM432 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z" fill="lightgrey"/></svg>');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.widget-form {
	padding: var(--widget-padding);
}

.widget-form .columns {
	grid-template-columns: 0.8fr 1.2fr;
	gap: 20px;
}

.widget-form .form {
	background-color: var(--act-alt);
	background-image: var(--back-orange);
	background-size: cover;
	padding: 30px;
	color: var(--text);
	border-radius: var(--big-radius);
}

.widget-form .form h5 {
	font-size: 22px;
	line-height: 32px;
	font-weight: 300;
	font-style: italic;
}

.widget-form .form form {
	display: grid;
	align-items: start;
}

.widget-form #apply_form form, .widget-form .wpforms-field-container {
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.widget-form .form form h3 {
	display: none;
}

.widget-form .form form > div {
	display: grid;
}

.widget-form .form form .cx2_motivationAndSource-motivation, .widget-form .wpforms-field-textarea {
	grid-column: span 2;
}

#apply_button, button.wpforms-submit {
	display: none;
}

.button.rw-custom-apply-cx, .button.rw-custom-submit-wpforms {
	justify-self: start;
	margin-top: 20px;
}

@media screen and (max-width: 1180px) and (orientation: portrait),
screen and (max-width: 1024px){ /* original breakpoint 1024px */
	.widget-form .columns {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 768px) {
	.widget-form #apply_form form, .widget-form .wpforms-field-container {
		grid-template-columns: 1fr;
	}
	
	.widget-form .form form .cx2_motivationAndSource-motivation, .widget-form .wpforms-field-textarea {
		grid-column: unset;
	}
}