/*
Theme Name:  TheGem (Elementor) - TVF Child
Template: thegem-elementor
*/

.tvf-collins-form {
	position: relative;
}

.tvf-collins-form--form {
	transition: opacity 150ms;
}

@media screen and (min-width: 480px) {

	.tvf-collins-form--form__horizontal .tvf-collins-form--single-line-fields {
		display: flex;
		flex-direction: row;
		margin-left: -3px;
		margin-right: -3px;
		width: calc(100% + 6px);
	}

	.tvf-collins-form--form__horizontal .tvf-collins-form--single-line-fields > * {
		margin-left: 3px;
		margin-right: 3px;
	}

}

.tvf-collins-form .tvf-collins-form--field,
.tvf-collins-form .tvf-collins-form--textarea {
	display: block;
	width: 100%;
	border-radius: 3px;
	font-size: 15px;
	min-height: 40px;
	line-height: 1.4;
	box-sizing: border-box;
	padding: 0px 10px;
	border: 1px solid #818a91;
	vertical-align: middle;
	color: #3c3535;
	color: var(--e-global-color-text);
	background-color: #ffffff;
	resize: none;
	margin-bottom: 10px;
}

.tvf-collins-form .tvf-collins-form--textarea {
	padding-top: 8px;
	padding-bottom: 8px;
	min-height: 100px;
}

.tvf-collins-form .tvf-collins-form--required {
	border-color: #b52444;
	border-color: var(--e-global-color-primary);
}

.tvf-collins-form .tvf-collins-form--submit {
	line-height: 1;
	font-size: 15px;
	padding: 12px 24px;
	border-radius: 3px;
	text-align: center;
	color: #ffffff;
	background-color: #96a2ff;
	border: 0;
	transition: background-color 0.3s;
}

.tvf-collins-form .tvf-collins-form--submit:hover {
	background-color: #96d4ff;
}

.tvf-collins-form--loader-wrap {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: opacity 300ms;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tvf-collins-form--loader {
	display: block;
	transform: translateY(-100%);
}

.tvf-collins-form__loading .tvf-collins-form--form {
	opacity: 0.1;
	pointer-events: none;
}

.tvf-collins-form__loading .tvf-collins-form--loader-wrap {
	opacity: 1;
}

.tvf-collins-form--message__hidden {
	display: none;
}

.tvf-collins-form--compulsory {
	margin-top: 6px;
	font-weight: bold;
}
