/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-widget-container p{
	color: var(--e-global-color-secondary) !important;
}

.post-10027,
.post-10027 a {
	font-family: 'PT Sans Caption', Sans-serif;
}
[data-elementor-type='wp-page'] {
	margin-top: -145px;
}

.elementor-location-header {
	position: relative;
	z-index: 25;
}

.slide-home-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

a.slide-btn {
	background: #fff;
	padding: 10px 25px;
	border-radius: 50px;
	font-size: 20px;
	border: 1px solid #fff;
	transition: 0.3s ease-in;
}

.home .swiper-pagination {
	text-align: left;
}

a.slide-btn:hover {
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-accent);
}

/* .slider-scheda-vendita {
    height: 530px !important;
} */

.slider-scheda-vendita {
	padding: 50px 25px;
}

.slider-scheda-vendita img {
	height: 620px;
	object-fit: cover;
}

.slider-dettaglio-vendita {
	height: 600px !important;
}

.slider-dettaglio-vendita img {
	height: 600px;
	object-fit: cover;
}

.gallery-dettaglio-vendita figure:nth-child(3) {
	flex: 100% !important;
}

.gallery-dettaglio-vendita img {
	height: 340px !important;
	object-fit: cover;
}

.gallery-dettaglio-vendita figure:nth-child(3) img {
	height: 500px !important;
}

.elementor-field-group-field_bb621c7 label {
	position: relative;
	top: -3px;
	left: 10px;
}

/* .gradient-separator {
    background: linear-gradient(360deg, rgba(193,177,158,1) 0%, rgba(193,177,158,0.15) 100%);
    height: 100px;
    margin-top: -100px;
} */

body.home .elementor-location-header {
	background: rgba(0, 0, 0, 0.3);
}

.elementor-accordion-item {
	border-bottom: 1px solid #000 !important;
}

div#tab-condizioni .elementor-accordion-item {
	border: 0 !important;
}

.prezzo-scheda-vendita,
.prezzo-dettaglio-vendita {
	display: inline-block;
	font-size: 32px;
	font-weight: 700;
}

div#vendite-home .dce-posts-container,
#affitti-home .dce-posts-container {
	padding: 10px;
}

/***** LISTA VENDITE E AFFITTI / ANTEPRIME IMMOBILI HOME *****/

a.home-highlight-item {
	margin-bottom: 50px;
	min-height: 525px;
	/* box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1) !important; */
	/* 	border: 1px solid var(--e-global-color-secondary); */
}

.filters-wrapper .filter-wrapper {
	margin-bottom: 20px;
}

.filters-wrapper label {
	margin-bottom: 18px;
	font-weight: bold;
	font-size: 20px;
  color: var( --e-global-color-secondary );
}

.filters-top {
	padding-bottom: 10px;
	border-bottom: 1px solid var( --e-global-color-secondary );
	margin-bottom: 20px;
}

.filters-wrapper {
	max-width: 325px;
}

.checkboxes-group label {
	font-weight: normal;
	margin-left: 15px;
	margin-bottom: 0;
}

.checkbox-item {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.filters-wrapper select {
	appearance: none;
	border-radius: 0;
    border-color: var(--e-global-color-secondary);
	background-image: url('/wp-content/uploads/2024/03/select-down.png');
	background-repeat: no-repeat;
	background-position: 95%;
	outline: none !important;
	color: var(--e-global-color-accent);
}

.filters-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.filters-top span {
	font-weight: bold;
    color: var(--e-global-color-secondary);
}

.filters-top #reset-filters {
	font-weight: normal;
	opacity: 0.5;
	cursor: pointer;
	color: var( --e-global-color-accent );
}

.filters-wrapper input[type='checkbox'] {
	appearance: none;
	border: 1px solid #000;
	height: 15px;
	width: 15px;
	outline: none;
}

.filters-wrapper input[type='checkbox']:checked {
	background: var(--e-global-color-secondary);
}

.properties-list-wrapper > ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 50px;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.property-grid-item,
.home-highlight-item {
	/* padding: 25px; */
	/* box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1); */
	border-radius: 0;
    color: var(--e-global-color-secondary);
}

.property-image img,
.home-highlight-item-image img {
	height: 305px;
	width: 100%;
	object-fit: cover;
	border-radius: 0;
}

.property-title,
.home-highlight-item-title {
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 20px 0;
}

.home-highlight-item-title {
	font-size: 25px;
	margin: 10px 0;
}

.property-price {
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 700;
}

.property-description,
.home-highlight-item-descrizione {
	font-size: 16px;
}

.property-description {
	color: var( --e-global-color-accent );
}

a.property-link,
.home-highlight-item button {
	display: inline-block;
	margin-top: 30px;
	background: var(--e-global-color-secondary);
	color: var( --e-global-color-447b15f );
	border-radius: 0;
	padding: 15px 30px;
	text-transform: uppercase;
	border: 1px solid var(--e-global-color-secondary);
	transition: 0.3s all;
}

a.property-link:hover,
.home-highlight-item:hover button {
	background: transparent;
	color: var(--e-global-color-secondary);
}

.filters-flag {
	display: none;
}

.filter-text {
	font-size: 16px;
	/* opacity: 0.5; */
	color: var(--e-global-color-secondary);
}

.filter-text ul {
	margin: 0;
	padding-left: 35px;
	margin-top: 15px;
}

/***** RICERCA VENDITE E AFFITTI *****/

.sales-search,
.rents-search {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 25px;
	align-items: center;
}

.rents-search {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

div#sales-search-wrapper,
div#rents-search-wrapper {
	position: relative;
	top: -220px;
	background: linear-gradient(
		360deg,
		rgba(193, 177, 158, 1) 50%,
		rgba(193, 177, 158, 0.15) 100%
	);
	margin-bottom: -195px;
}

.sales-search label,
.rents-search label {
	color: var(--e-global-color-accent);
	font-weight: 400;
	font-size: 18px;
	margin-bottom: 20px;
}

.sales-search select,
.rents-search select {
	appearance: none;
	background: transparent;
	border: 0;
	color: #fff;
	padding: 0;
	outline: 0;
	font-size: 24px;
	font-weight: 700;
	background-image: url('/wp-content/uploads/2024/03/select-down_white.png');
	background-repeat: no-repeat;
	max-width: 220px;
	background-position: 95%;
}

.sales-search select option,
.rents-search select option {
	color: var(--e-global-color-text);
	font-size: 20px;
}

.trigger-image-wrapper {
	background: var(--e-global-color-accent);
	float: left;
	border-radius: 50px;
	height: 70px;
	width: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.trigger-image-wrapper img {
	width: 25px;
	height: 25px;
}

.filters-top.show-mobile,
.mobile-controls {
	display: none;
}

@media screen and (max-width: 1024px) {
	.elementor-menu-toggle {
		background: transparent !important;
	}

	div#toggle-mobile-main-menu
		.elementor-nav-menu--dropdown.elementor-nav-menu__container {
		margin-top: 15px;
	}

	div#toggle-mobile-main-menu ul {
		padding: 25px;
	}

	div#toggle-mobile-main-menu ul li:nth-child(4) {
		border-bottom: 1px solid #fff;
	}

	div#toggle-mobile-main-menu ul li a {
		padding: 8px 0;
	}

	div#toggle-mobile-main-menu ul li:nth-child(6) {
		border-bottom: 1px solid #ddd;
	}

	.gallery-dettaglio-vendita .acfgallery-item {
		width: calc(100% / 2) !important;
		flex: 0 1 calc(100% / 2) !important;
	}
}

@media screen and (max-width: 767px) {
	.filters-top.show-desktop {
		display: none;
	}

	.home-highlight-item-image img {
		height: 250px;
	}

	.filters-top.show-mobile,
	.mobile-controls {
		display: flex;
		border-color: rgba(0, 0, 0, 0.3);
	}

	.mobile-controls {
		margin: 30px 0;
		align-items: center;
		justify-content: space-between;
		border-top: 1px solid rgba(0, 0, 0, 0.3);
		padding-top: 30px;
	}

	button#mobile-reset-controls {
		border: 0;
		color: rgba(21, 21, 21, 0.5);
		padding: 0;
		font-size: 18px;
		background-color: transparent;
		outline: none;
	}

	button#mobile-show-proprities {
		background: var(--e-global-color-secondary);
		border: 1px solid var(--e-global-color-secondary);
		color: var(--e-global-color-accent);
		text-transform: uppercase;
		font-weight: 400;
		border-radius: 40px;
		font-size: 18px;
		outline: none;
	}

	span#close-filters {
		font-size: 25px;
		font-weight: 400;
	}

	.slider-dettaglio-vendita img,
	.slider-dettaglio-vendita {
		height: 320px !important;
	}

	.gallery-dettaglio-vendita img,
	.gallery-dettaglio-vendita figure:nth-child(3) img {
		height: 170px !important;
	}

	.properties-list-wrapper > ul {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.filters-mobile {
		text-align: center;
	}

	.filters-mobile img {
		border: 1px solid #ddd;
		padding: 10px;
		border-radius: 50px;
	}

	div#filters-column {
		display: none;
		position: fixed;
		width: 100%;
		z-index: 99;
		background: var(--e-global-color-accent);
		top: 155px;
		left: 0;
		border-radius: 20px 20px 0 0;
		height: 810px;
		overflow: auto;
	}

	.filter-overlay {
		position: fixed;
		background: rgba(0, 0, 0, 0.5);
		height: 100%;
		z-index: 9;
		width: 100%;
		top: 0;
	}

	.filters-wrapper {
		max-width: 100%;
		padding: 18px;
	}

	div#mobile-search {
		margin-top: 190px;
	}

	.mobile-search-title {
		font-family: 'PT Sans Caption', Sans-serif;
		color: var(--e-global-color-accent);
		font-size: 42px;
		line-height: 50px;
		margin-bottom: 21px;
	}

	.search-field {
		display: flex;
		gap: 20px;
		margin-bottom: 15px;
		align-items: center;
	}

	.search-field label {
		min-width: 75px;
		color: var(--e-global-color-accent);
		font-weight: 700;
		font-size: 18px;
	}

	.mobile-search-fields select {
		appearance: none;
		background: transparent;
		border: 0;
		outline: none;
		color: var(--e-global-color-accent);
		font-size: 24px;
		font-weight: 700;
		background-image: url(/wp-content/uploads/2024/03/select-down_white.png);
		background-repeat: no-repeat;
		max-width: 210px;
		background-position: 95%;
	}

	.mobile-search-fields select option {
		color: var(--e-global-color-text);
	}

	button#mobile-search-trigger {
		color: var(--e-global-color-accent);
		background: var(--e-global-color-text);
		border-color: var(--e-global-color-text);
		border-radius: 40px;
		text-transform: uppercase;
		padding: 10px 20px;
		margin-top: 20px;
	}
}
