@charset "UTF-8";
/*
Theme Name: Leos Template 3
Theme URI: http://www.leos.co.il
Author: Maxim Folko @LEOS
Version: 3
*/

.mb50{margin-bottom: 50px !important;}

nav li.menu-item-has-children:hover ul.sub-menu {
      overflow: scroll;
}

.uni-toolbar-form-name-contact {
	display: flex;
	align-items: center;
	gap: 10px;
}

.uni-toolbar-form-name-contact label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.uni-toolbar-form-name-contact .wpcf7-form-control-wrap {
	position: relative;
	display: block;
}


/* Common field styles */
.uni-toolbar-form-name-contact input[type="text"],
.uni-toolbar-form-name-contact input[type="tel"],
.uni-toolbar-form-name-contact input[type="email"] {
	width: 100%;
	min-height: 48px;
	padding: 10px 54px 10px 14px;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	background-color: #fff;
	color: #222;
	font: inherit;
	box-sizing: border-box;
}

/* Placeholder restoration */
.uni-toolbar-form-name-contact input::placeholder {
	color: #777 !important;
	opacity: 1 !important;
}

/* Common icon container */
.uni-toolbar-form-name-contact .wpcf7-form-control-wrap::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 50%;
	right: 15px;
	width: 30px;
	height: 30px;
	transform: translateY(-50%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
}

/* Name icon */
.uni-toolbar-form-name-contact .wpcf7-form-control-wrap:has(input[type="text"])::before,
.uni-toolbar-form-name-contact .wpcf7-form-control-wrap:has(input.user)::before,
.uni-toolbar-form-name-contact [data-name*="name"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

/* Phone icon */
.uni-toolbar-form-name-contact .wpcf7-form-control-wrap:has(input[type="tel"])::before,
.uni-toolbar-form-name-contact .wpcf7-form-control-wrap:has(input.phone)::before,
.uni-toolbar-form-name-contact [data-name*="tel"]::before,
.uni-toolbar-form-name-contact [data-name*="phone"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.62a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.28-1.28a2 2 0 0 1 2.11-.45c.84.29 1.72.5 2.62.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* Email icon, in case another form contains email */
.uni-toolbar-form-name-contact .wpcf7-form-control-wrap:has(input[type="email"])::before,
.uni-toolbar-form-name-contact [data-name*="email"]::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.uni-toolbar-form-name-contact input[type="submit"] {
	min-height: 48px;
	padding: 10px 24px;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	box-sizing: border-box;
}

 form span.wpcf7-form-control-wrap:after, form span.wpcf7-form-control-wrap:after {
  z-index: 1 !important;
}

input:not([type="submit"]) {
    direction: rtl !important;
    text-align: start !important;
}

@media screen and (width < 768px) {
 .uni-toolbar-form-name-contact {
   flex-direction: column;
  }
}