/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1.1.1780227512
Updated: 2026-05-31 14:38:32

*/
.form-time-hidden .form-time {
	display:none;
}
.form-messengers-hidden .form-messengers {
	display:none;
}
.form-name-hidden .form-name {
	display:none;
}

/*********** FORMS *************************/

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


.btn, [type=submit] {
	height: var(--wd-form-height);
}
:root select, :root select option, :root textarea, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url] {
	font-size: inherit;
	background-color: white!important;
}
.submitting .custom-form-btn:before {
	content:'';
		display: block;
	position:absolute;
	top:0;
	left:0;
	width:100%; height:100%;
	z-index:999999;
	background:rgba(0,255,0,0.3);
}
::placeholder {
	color: var(--wd-form-color);
	opacity:0.5;
}
/* гибкие формы */
.ds-form {
	display: flex;
	gap:1rem;
}
.ds-form > * {
	flex:1;
}
.ds-form label {
	margin-bottom:0;
	width:100%;
}
.form-column .ds-form {
	flex-direction: column;
	gap:0.5rem;
	align-items: unset;
}
.form-column .ds-form .desktop-only {
	display:none;
}
.ds-form [type="submit"] {
	width:100%;
}
.form-submit {
	display:flex;
}
/*поле ошибки */
.wpcf7-not-valid-tip {
    font-size: small;
}

@media (max-width:767.5px) {
	.ds-form {
		flex-direction: column;
		gap:0.5rem;
		align-items: unset;
	}
	.form-submit {
	/* исправляем слишком маленький зазор */
	margin-top:5px;
	}	
}
.form-time-hidden .form-time {
	display:none;
}
.form-messengers-hidden .form-messengers {
	display:none;
}
.form-name-hidden .form-name {
	display:none;
}
/* new acceptance */
.cf7-consent .wpcf7-list-item-label { display: none; }
.cf7-consent .wpcf7-list-item { margin: 0; }

.cf7-consent { position: relative; display: inline-flex; align-items: center; gap: .5rem; 
margin-top:5px;}
.cf7-consent .wpcf7-form-control-wrap { position: relative; }
.cf7-consent .wpcf7-not-valid-tip {
  position: absolute;
  left: 0; top: 100%;
  margin-top: 3px;
  width: max-content;
}
.cf7-consent input[type="checkbox"] {
    transform: scale(1.5);
}
.cf7-consent-text {
	padding-top: 2px;
	font-size: smaller;
    line-height: 1;
}
.cf7-consent-text a {
	text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.wpcf7-response-output {
    font-size: smaller;
	padding-block: 8px!important;
	padding-inline: 8px!important;
}
div.wpcf7-response-output:before {
	display:none!important;
}
div.wpcf7 .custom-form-btn .wpcf7-spinner {
	position:absolute;
	top:50%;
	bottom:0;
	transform:translateY(-50%);
	left: auto;
	right:16px;
	width:16px;
	height:16px;
}
div.wpcf7 .custom-form-btn .wpcf7-spinner:before {
	top:0;left:0;
	border: 1px solid transparent;
    border-left-color: white;
	margin:0!important;
}
.label-file-upload {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;    
    background-color: #eee; /* Цвет фона кнопки */
    text-align: center; /* Центрирование текста */
    cursor: pointer; /* Указатель при наведении */
	--file-name: "Прикрепить файл 📎";
}

.label-file-upload input[type="file"] {
    display: none; /* Скрыть стандартное поле загрузки */
}

.label-file-upload::before {
	content: var(--file-name);
    display: flex;
	width:100%;
	height:100%;
	height: var(--wd-form-height);
	align-items:center;
	justify-content: center;
    border-radius: var(--btn-radius);
    cursor: pointer;
}

.label-file-upload:hover {
    background-color: #d9d9d9; /* Цвет фона кнопки при наведении */
}
/* Кнопка отправить
.custom-form-btn input {
	width:100%;
	height:100%;
	margin:0;
	background:none!important;
	color:white;
	margin-bottom:0!important;	
}*/
/****   END FORMS **********/