#contact-form input,
#contact-form textarea,
#contact-form select {
	width: 100%;
	height: 48px;
	padding-left: 1.6em;
	border-radius: 25px;
	border: solid 1px grey;
}

#contact-form input[type="file"] {
	width: unset;
	height: unset;
	padding-left: 0;
	border-radius: unset;
	border: none
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
	outline: none;
}

#contact-form input[type=submit] {
	border-color: var(--app-color-red);
}

#contact-form label.complement {
	display: none;
}
#contact-form select {
	padding-left: 2em;
	background-color: transparent;
}

#contact-form select {
	cursor: pointer;
}

.icon-chevron-down {
    top: calc(50% - .5em);
    left: calc(100% - 3em);
    pointer-events: none;
}

#contact-form label {
	position: relative;
	margin-bottom: 1em;
}

#contact-form label p {
	position: absolute;
	top: .7em;
	left: 1.5em;
	padding: 0 .6em;
	background-color: white;
	transition: top ease-out .2s;
}

#contact-form input:focus ~ p,
#contact-form textarea:focus ~ p  {
	top: -1em;
}

#contact-form textarea {
	padding-top: .5em;
	height: 144px;
}

#contact-form .file {
	border-left: 5px #3e3a3a solid;
	padding-left: 20px;
	background-color: #bbb;
	opacity: 0.8;
}
/*.text-area-enable {
	display: none;
}*/

.icon-upload2 {
	font-size: 1.5em;
	cursor: pointer;
}

.upload {
	position: relative;
	left: 15%;
	width: 60%;
}

.upload p {
	position: relative!important;
}

.upload:before {
	content: '';
	position: absolute;
	top: 0;
	left: -2em;
	width: 1em;
	height: 100%;
	background-color: var(--app-color-beige);
}

.upload:after {
	content: "";
	position: absolute;
	top: 0;
	left: -2em;
	width: 1em;
	height: 100%;
	background-color: unset;
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .3s linear;
}

#offForm {
	opacity: 0;
	pointer-events: none;
}

@media only screen and (max-width: 991px) {
	.contact-bg ~ article {
		padding-left: unset;
	}
		
	#offForm {
		height: 0;
	}

	#offForm.fadeIn {
		height: 100%;
	}
}

input[type="radio"] {
	width: 20px!important;
	cursor: pointer;
	appearance: checkbox;
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	-ms-appearance: checkbox;
	-o-appearance: checkbox;
}

input[type="submit"] {
	width: 50%;
	font-size: 16px;
}

.error-message {
	margin-left: 1em;
	color: var(--app-color-red);
	font-size: .8em;
}

.contact-bg {
	background-repeat: no-repeat;
	background-image: 
		linear-gradient(to right, white, transparent 20%, transparent 80%, white),
		linear-gradient(to bottom, white, transparent 20%, transparent 70%, white),
		url('../../assets/pics/photos/Securite-1920w.webp');
	background-size: auto 105%;
}

