/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Author:       Batra.by
 Version:      1.0.0
 Description:  Дочерняя тема для Hello Elementor
*/

@import url("../hello-elementor/style.css");
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}
body {
	font-family: 'Urbanist'!important;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.masonry-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.masonry-pagination {
    text-align: center;
    margin-top: 30px;
}

/* body.no-scroll-body {
  overflow: hidden;
  height: 100%;
}

body.no-scroll-body #gallery-product,
body.no-scroll-body #scrollable-descr {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
} */

/* стили header  */

#menu-1-581ba07 > li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-40 {
	font-weight: 700;
	color: white;
	background-color: rgb(0, 43, 92);
	border-radius: .375rem;
}
/* поиск на главной  */
.remax-tabs    {display:flex;border-bottom:1px solid #e0e0e0;background:#fff}
.te-tab        {flex:1;padding:10px 18px;text-align:center;background:#f3f4f6}
.te-tab.active {background:#fff;color:#004ba8;font-weight:700}
.search-bar-form{display:flex;border:1px solid #e0e0e0;border-top:none}
.search-bar-form input{flex:1;padding:14px 20px;border:0}
.search-bar-form button{width:48px;background:#004ba8;border:0;display:flex;align-items:center;justify-content:center}
.search-bar-form svg{width:20px;height:20px;stroke:#fff}
/* 1. Сам контейнер: фон, скруг-углы, лёгкая тень */
.remax-search{
  max-width:960px;
  margin:0 auto 2rem;
  background:transparent;                /* ← белый фон под табами и формой */
  border-radius:6px;              /* скругление всего блока */
  box-shadow:0 2px 6px rgba(0,0,0,.05);
  overflow:hidden;                /* чтобы углы обрезали содержимое */
}


/* 3. Форма: убираем верхнюю границу, чтобы не было двойной линии */
.search-bar-form{
  display:flex;
  border:0;                /* убираем свою рамку */
  border-top:0;            /* верх совсем без линии */
}
/* 1. ВЕРХНЯЯ СТРОКА с табами
   ─────────────────────────────────────────────── */
#te-search-tabs{
  width:364px;
  display:flex;
  align-items:center;       /* ⬅ текст/иконка по вертикали */
  background:#f4f9ff;
  border-bottom:1px solid #e5e7eb;
  border-top-left-radius:8px;
  border-top-right-radius:8px;
  overflow:hidden;          /* углы обрежут вложенные элементы */
}

/* 2. ОДИН ТАБ
   ─────────────────────────────────────────────── */
.te-tab{
  flex:1 1 0;
  display:flex;
  align-items:center;       /* центр по Y */
  justify-content:center;   /* центр по X */
  height:44px;
  line-height:44px;         /* текст ровно посередине */
  font-size:15px;
  background:#f3f4f6;
  color:#191c1f;
  border-left:1px solid #e5e7eb;   /* межтабовая линия */
  text-decoration:none;
  transition:background .15s,color .15s;
}
.te-tab:first-child{ border-left:none; }      /* убираем слева */

.te-tab:hover{ background:#e9eaec; }

.te-tab.active{
  background:#fff;
  color:#004ba8;           /* фирменный синий */
  font-weight:700;
}

/* 3. САМА ФОРМА (убираем верхнюю рамку)
   ─────────────────────────────────────────────── */
.search-bar-form{
  display:flex;
  background:#fff;
  padding:12px;
  align-items:center;
  border:1px solid #e5e7eb;
  border-top:none;          /* ← чтобы не было двойной линии */
  border-bottom-left-radius:8px;
  border-bottom-right-radius:8px;
  border-top-right-radius:8px;
  overflow:hidden;
}
.search-bar-form  input[type=search] {
	border:none;
	padding:12px;
}
.search-bar-form button[type=submit] {
	background:#003aa8;
	width:36px;
	height:36px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Главное меню */
.join-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-40 > a {
	
	color:#fff;
}
.join-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-40 > a:hover {color:#d7e7ff;}
.energy-label{
    width: 70px;
    height: auto;
}
div.swiper-slide.elementor-lightbox-item.swiper-slide-active > div > img.elementor-lightbox-image {
    width:680px!important;
    height:450px!important;
}
.e-font-icon-svg.e-fas-circle {
	width:9px;
}
#obj-by > div > div > a > span {
	display:flex;
	align-items:center;
}
#gallery-1 > figure > div > a > img  {
    width: 341px;
    height: 227px;
    object-fit: cover;
}
.property-gallery {
    display: flex;
    flex-direction: column;
}
.property-gallery  a {
	width:33%;
}
.cap-icon {width:16px;height:16px;}

.property-gallery-grid > a:nth-child(1) > img {border-radius:12px;}
.gallery-caption {
	font-family:Urbanist, -apple-system, BlinkMa;
    gap: .75rem!important;
    display: flex!important;
	align-items:center!important;
    justify-content: center!important;
	font-size:16px!important;
	color:#a4a9b0!important;
}
#listing-top-info .elementor-widget-shortcode > div > div {
    font-size: 15px;
    font-weight: 700;
}

/* шаблон карточки товара  */

.elementor-element-5900db8 .elementor-button-content-wrapper {
	align-items: center !important;
}

#property-map-modal .pm-close {
	right: 160px;
}

.prop-price {
	font-size: 36px;
	font-weight: 700;
}
/* Каталог недвижимости */
.properties-wrapper {
  padding: 40px 20px;
  max-width: 1536px;
  margin: auto;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
.property-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: white;
}
.property-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.property-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.property-info {
  padding: 15px;
}
.property-price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.property-meta span {
  margin-right: 10px;
  display: inline-block;
}
.property-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.property-filters label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.property-filters input {
  padding: 5px;
  width: 120px;
}
.property-filters button {
  padding: 8px 20px;
  background: #1e73be;
  color: #fff;
  border: none;
  cursor: pointer;
}
.property-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  align-items: center;
}

.toolbar-btn {
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid #003aa8;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.toolbar-btn.primary {
  background: #0046be;
  color: #fff;
  border-color: #0046be;
  font-weight: 600;
}
.property-toolbar button {
    align-items: center;
    display: flex;
    justify-content: start;
}
.property-toolbar button:hover {
	background:#003aa8;
}
.circle-blue {
background-color: #003aa8;
border-radius: 9999px;
width: 9px;
height:9px;
margin-right: .25rem;
}
.circle-red {
background-color: #df202b;
border-radius: 9999px;
width: 9px;
height:9px;
margin-right: .25rem;
}
#Residential button {
    padding: 8px 14px;
    font-size: 14px;
    border: 1px solid #003aa8;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
#Residential button:hover {
	color:#003aa8;
}
.tab-button.active {
	color:#003aa8;
}
.dropdown-wrapper {
  position: relative;
}
.dropdown-toggle {
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid #0046be;
  border-radius: 6px;
  background: #fff;
  color: #0046be;
  cursor: pointer;
}
.dropdown-panel {
  position: absolute;
  top: 110%;
  left: 0;
  background: white;
  padding: 10px;
  border: none;
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  min-width: 300px;
}
.dropdown-panel .tabs {
  display: flex;
  margin-bottom: 10px;
	gap: 10px;
}
.tab-button {
  flex: 1;
  padding: 8px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
}
.tab-button.active {
  background: #fff;
  border-bottom: 2px solid #0046be;
  font-weight: bold;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.dropdown-panel label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}
.clear-filter {
  display: inline-block;
  margin-top: 10px;
  color: #0046be;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}
.property-location {
    white-space: nowrap;
}

.toolbar-btn.primary {
    border-radius: 4px !important;
    padding: 6px 25px !important;
}

#deal_type_button {
  border: 1px solid #0046be !important;
  border-radius: 6px !important;
}

#DealType > div {
	min-width: 150px;
}
input[name="city"] {
  border: 1px solid #0046be !important;
  border-radius: 6px !important;
	width: auto !important;
}

#City .dropdown-toggle {
  color: black;
  border-radius: 6px;
  border: 1px solid #d7e7ff;
  background-color: #fff;
  font-weight: 500;
}

#City .dropdown-panel {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 15px;
  background-color: white;
  min-width: 300px;
  z-index: 10;
}

#City input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #eaeaea;
  border-radius: 6px 0 0 6px;
  outline: none;
  font-size: 14px;
}

#city_search_btn {
  background-color: #003d9e;
  color: white;
  border: none;
  border-radius: 0 6px 6px 0;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#City .clear-filter {
  display: inline-block;
  margin-top: 10px;
  color: #003d9e;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

#City .dropdown-panel button:hover,
#City .dropdown-panel .deal-option:hover {
  background-color: transparent !important;
}

#City button {
	padding: 8px 20px;
}
#DealType > div {
	padding: 0;
}

.results-sort-map {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

.results-count {
  font-size: 16px;
  font-weight: 500;
}

.map-sort-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.view-map-toggle {
  font-size: 14px;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}

.view-map-toggle input {
  position: absolute;
  left: 0;
  top: 2px;
}

#SortDropdown .dropdown-toggle {
  color: #003d9e;
  font-weight: 600;
  border: none;
  background: transparent;
  padding: 0;
}

#SortDropdown .dropdown-panel {
  min-width: 200px;
  padding: 10px 0;
}

#SortDropdown > div {
	left: -100px;
}

.switch-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.switch-toggle input {
  display: none;
}

.switch-toggle .slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #a3a6ac;
  border-radius: 999px;
  transition: background-color 0.3s;
}

.switch-toggle .slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 2px;
  top: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.switch-toggle input:checked + .slider {
  background-color: #003d9e;
}

.switch-toggle input:checked + .slider::before {
  transform: translateX(20px);
}

.map-list-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.map-block {
  width: 50%;
  min-height: 600px;
}

.list-block {
  width: 100%;
  transition: width 0.3s ease;
}

.map-visible .list-block {
  width: 50%;
}
.property-meta {
	background:#d7e7ff;
	justify-content: space-between;
	font-size:12px;
	font-weight:700;
	padding: .5rem;
}
#listing-meta {
	display:flex;
}
#listing-meta span {
	display:flex;
    gap: 0 .25rem;
}

/* Отключает смену фона у dropdown-toggle при hover и focus */
.toolbar-btn.dropdown-toggle,
.toolbar-btn.dropdown-toggle:focus,
.toolbar-btn.dropdown-toggle:active,
.toolbar-btn.dropdown-toggle:hover {
    background: #fff !important;
    color: #a81e49; /* Можешь вернуть нужный цвет текста */
    outline: none !important;
    box-shadow: none !important;
    border-color: #e7e7e7;
}

/* Снимает подсветку у выпадающих панелей */
.dropdown-panel,
.dropdown-panel:focus,
.dropdown-panel:active,
.dropdown-panel:hover {
    background: #fff !important;
    box-shadow: 0 0 24px 0 rgba(30,32,37,.08); /* или убери если не нужен */
    outline: none !important;
    border-radius: 16px;
}

/* Убрать подсветку на кнопках внутри dropdown */
.deal-option,
.deal-option:focus,
.deal-option:active,
.deal-option:hover {
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    color: #111 !important;
}

/* Не подсвечивать item */
.tab-button:focus,
.tab-button:active,
.tab-button:hover {
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-panel .deal-option,
.dropdown-panel .deal-option:focus,
.dropdown-panel .deal-option:active,
.dropdown-panel .deal-option:hover {
  border: none !important;
  box-shadow: none !important;
  background: #fff !important;
}

#DealType button,
#Residential button {
	color: #003AA8;
}
.property-price .prop-price {
  font-size: 24px !important;
  font-weight: 700;
}

#elementor-popup-modal-3191 > div > span > label {
	font-size: 14px;
    line-height: 1;
    color: #191c1f;
}

#limited {
  height: calc(100vh - 200px);  
  display: flex;
  overflow: hidden;
}

#limited .scrollable-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

#menu-1-581ba07 > li.join-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-40 > a {
	color: #fff;
	font-weight: 700;
}

.elementor-8 .elementor-element.elementor-element-581ba07 .elementor-nav-menu--dropdown {
	margin-left: -96px !important;
}

.menu-item-has-children:hover > a,
.menu-item-has-children.focus > a {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  z-index: 10;
  position: relative;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children.focus .sub-menu {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background-color: #fff;
  z-index: 999;
}

.elementor-8 .elementor-element.elementor-element-2835cb5 .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-nav-menu--dropdown {
	margin-left: 0 !important;
	margin-top: 8px !important;
}
#menu-1-581ba07 {align-items:center;}

.shadow-button a {height:70px;}

/* шаблон карточки объекта */
body.elementor-510 .elementor-location-footer {
  display: none !important;
}

#tabs-wrapper {
  pointer-events: auto !important;
}
.elementor-button {
  pointer-events: auto !important;
}

.page-header {
	background-color: #d7e7ff;
    padding: 50px 0;
}

#menu-1-27cea964 > li.join-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-40 {
	margin-top: 10px;
    margin-bottom: 10px;
}

#menu-1-27cea964 > li.join-button.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-40 > a {
	background-color: #002b5c;
    border-radius: 10px;
}

@media (max-width: 900px) {
	#limited {
  height: auto;  
  display: flex;
  overflow: auto;
}
	#limited > div.elementor-element.elementor-element-d777921.e-con-full.e-flex.e-con.e-child > div.elementor-element.elementor-element-f7d20df.e-con-full.scrollable-content.e-flex.e-con.e-child {
		padding-bottom:80px;
	}
	
	.elementor-8 .elementor-element.elementor-element-3e555b1 .elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-nav-menu--dropdown {
		margin-left: 0px !important;
	}
}

@media (max-width:760px) {
	.page-header {padding: 25px 0;}
}

@media (max-width:500px) {
	#te-search-tabs {
		width: 300px;}
}
