/*
Theme Name: Physic Solutions
Author: Physic Solutions
Version: 1.2.1
Text Domain: physic-solutions
*/

.block-banner-form form.wpcf7-form.form {
	position: relative;
	flex-wrap: nowrap;
	align-items: stretch;
}

/* Общая высота блока с полями */
.block-banner-form .form__inputs {
	height: 180px;
	min-height: 180px;
	max-height: 180px;
}

/* Левая колонка */
.block-banner-form .form__column {
	height: 180px;
}

/* Обёртка сообщения */
.block-banner-form .form__inputs > .form__input,
.block-banner-form .form__inputs > .form__input .wpcf7-form-control-wrap {
	height: 180px;
	min-height: 180px;
	max-height: 180px;
}

/* Само поле сообщения */
.block-banner-form .form__inputs textarea.input {
	display: block;
	width: 100%;
	height: 180px !important;
	min-height: 180px !important;
	max-height: 180px !important;
	resize: none;
}

/* Правая колонка */
.block-banner-form .form__bottom {
	height: 180px;
	min-height: 180px;
	max-height: 180px;
}

/* Сообщение CF7 снизу */
.block-banner-form form.wpcf7-form.form .wpcf7-response-output {
	display: block !important;
	position: absolute;
	z-index: 2;
	top: calc(100% + 10px);
	left: 0;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	color: #fff !important;
	font-family: var(--second-family);
	font-size: 14px;
	line-height: 1.4;
    margin-top: 40px !important;
}

.block-banner-form form.wpcf7-form.form .wpcf7-response-output:empty {
	display: none !important;
}

@media (max-width: 992px) {
	.block-banner-form form.wpcf7-form.form {
		flex-wrap: nowrap;
	}

	.block-banner-form .form__bottom {
		height: auto;
		min-height: 0;
		max-height: none;
	}
}

@media (max-width: 768px) {
	.block-banner-form .form__inputs,
	.block-banner-form .form__column {
		height: auto;
		min-height: 0;
		max-height: none;
	}
}

.popup-forms .wpcf7,
.popup-forms form.wpcf7-form.form {
	width: 100%;
}

.popup-forms .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.popup-forms .wpcf7-not-valid-tip {
	margin-top: 5px;
	color: #fff;
	font-size: 13px;
}

.popup-forms .wpcf7-response-output {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	border: none !important;
	color: #fff !important;
	font-size: 14px;
}
.popup-forms__top .js-price-product {
	margin-top: 10px;
	font-family: var(--second-family);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
	color: #fff;
	opacity: 0.85;
}

.popup-forms__top .popup-forms__title + .js-price-product {
	margin-bottom: 20px;
}