/* Form */

.modal {
	background: rgba(0, 0, 0, 0.7);
	position: fixed;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	z-index: -1;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: all 0.3s linear;
}

.modal.open {
	z-index: 1001;
	pointer-events: auto;
	opacity: 1;
}

.modal__wrapper {
	max-width: 1200px;
	width: max-content;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 0 20px #e8e8e8;
	margin: 0 auto;
	padding: 20px 15px;
	position: relative;
}

.modal__close {
	position: absolute;
	padding: 5px;
	right: 10px;
	top: 0px;
	font-size: 30px;
	font-weight: 100;
	transform: rotate(45deg);
	opacity: .5;
	transition: all 0.3s linear;
	cursor: pointer;
}

.modal__close:hover {
	opacity: 1;
}

.foxdev-form {
	display: flex;
	flex-direction: column;
	width: 400px;
	/* width: 100%; */
	margin: 0 auto;
}

.foxdev-form__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	text-align: center;
}

.foxdev-form__row {
	display: flex;
	flex-direction: column;
}

.foxdev-form .form-label {
	margin-bottom: 10px;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	/* justify-content: space-between; */
	/* align-items: center; */
}

.foxdev-form .form-label span {
	display: block;
	margin-bottom: 5px;
}

.foxdev-form .form-label span.error {
	padding: 5px;
	margin-bottom: 0;
	color: red;
	font-size: 12px;
	opacity: .8;
	display: none;
}

.foxdev-form .form-label span.error.show {
	display: block;
}

.foxdev-form .form-input {
	max-width: 100%;
	width: 100%;
	height: 40px;
	border: 1px solid #d3d3d3;
	background-color: #ffffff;
	color: #1d1d1d;
	font-size: 14px;
	font-weight: 400;
	padding: 0 17px;
	border-radius: 5px;
}

.foxdev-form .form-input.invalid {
	border-color: rgb(168, 9, 9);
}

.foxdev-form textarea.form-input {
	max-width: 100%;
	width: 100%;
	height: 100px;
	border: 1px solid #d3d3d3;
	background-color: #ffffff;
	color: #1d1d1d;
	font-size: 14px;
	font-weight: 400;
	padding: 10px 17px;
	border-radius: 5px;
	resize: none;
}

.foxdev-form .foxdev-form__button {
	height: 50px;
	margin: 10px auto;
}

.foxdev-form  .foxdev-form__link{
	text-decoration: underline;
	transition: all 0.3s linear;	
	font-size: 12px;
}

.foxdev-form  .foxdev-form__link:hover{
	opacity: .7;
}

.foxdev-form  .foxdev-form__captcha {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.foxdev-form  .foxdev-form__captcha.foxdev-form__captcha--column {
	flex-direction: column;
	align-items: flex-start;
}
.foxdev-form  .foxdev-form__captcha.foxdev-form__captcha--column .foxdev-form__captcha-input{
	max-width: 100%;
	width: 100%;
}

.foxdev-form  .foxdev-form__captcha.foxdev-form__captcha--column .foxdev-form__captcha-show{
	margin: 0 auto;
}
.foxdev-form p {
	font-size: 10px;
	line-height: 1.1;
	font-weight: 400;
	text-align: center;
	/* padding: 0 15px; */
}

.thank-you {
	width: 500px;
}

.thank-you__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	text-align: center;
}

.thank-you__text {
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

#foxdev-form-2.foxdev-form {
	width: 500px;
}


@media screen and (max-width: 1024px) {
	#foxdev-form-2.foxdev-form {
		max-width: 500px;
		width: 100%;
	}
}

@media screen and (max-width: 768px) {


	.map-form {
		flex-direction: column;
	}
	.map-form .map-form__col {
		max-width: 100%;
		width: 100%;
	}
	.map-form .map-form__col:first-child {
		margin-right: 0;
		margin-bottom: 30px;
	}
	.map-form .map-form__map iframe {
		min-height: 350px;
	}
	.thank-you {
		max-width: 500px;
		width: 100%;
	}
	
}

@media screen and (max-width: 480px) {

	.thank-you {
		max-width: 320px;
	}
	.foxdev-form {
		width: 300px;
	}
}