/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Gilroy Regular */
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Radomir Tinkov - Gilroy-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
/* Gilroy Medium */
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Radomir Tinkov - Gilroy-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
/* Gilroy SemiBold */
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Radomir Tinkov - Gilroy-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* Gilroy Bold */
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Radomir Tinkov - Gilroy-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
/* Gilroy ExtraBold */
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Radomir Tinkov - Gilroy-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
/* Gilroy Black */
@font-face {
	font-family: 'Gilroy';
	src: url('fonts/Radomir Tinkov - Gilroy-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
html {
	scroll-behavior: smooth;
}
/* header */
.top-menu .gb-menu > .menu-item:first-of-type {
	margin-left: 0;
}
.top-menu .gb-menu > .menu-item > .gb-menu-link {
	padding: 0 0 6px 0;
	position: relative;
} 
.langs-selector {
	font-weight: 600;
	color: #2B3F5A;
}
.top-menu .gb-menu-toggle {
	background: none;
	color: #F9EFE1;
}
.header-style-2 .top-menu .gb-menu-toggle {
	color: #2B3F5A;
}
.top-menu .gb-menu-toggle svg {
	height: 35px;
	width: 35px;
}
.langs-selector a {
	color: #2B3F5A;
}
.yoast-breadcrumbs {
	font-size: 14px;
	color: #697789;
}
.yoast-breadcrumbs a {
	color: #697789;
}
.mobile-menu .sub-menu {
	font-size: smaller;
}
.mobile-menu .sub-menu .menu-item {
	margin-bottom: 0;
}
.mobile-menu .sub-menu .menu-item .gb-menu-link {
	padding: 8px 16px;
}
.mobile-menu .sub-menu .menu-item:first-of-type .gb-menu-link {
	padding-top: 16px;	
}
.mobile-menu .sub-menu .menu-item:last-of-type .gb-menu-link {
	padding-bottom: 16px;
}
.expanded-logo {
	display: none;
}
.header-style-1 {
	transition: .5s;
}
.header-style-1.gb-is-sticky {
	background: #fff;
}
.header-style-1.gb-is-sticky .main-logo {
	display: none !important;
}
.header-style-1.gb-is-sticky .expanded-logo {
	display: block !important;
}
.header-style-1.gb-is-sticky .gb-menu > .menu-item > .gb-menu-link {
	color: #2B3F5A;
}
.header-style-1.gb-is-sticky .expanded-logo img,
.expanded-header .expanded-logo img {
	width: 100%;
}
.header-style-1.gb-is-sticky .top-menu .gb-menu-toggle {
	color: #2B3F5A;
}
.wp-block-image.expanded-logo a {
	display: block;
}
.menu-item-has-children > a.gb-menu-link {
	column-gap: 0;
}
/* header responsive */
@media (max-width: 1024.98px) {
	.header-style-1.expanded-header {
		background: #fff !important;
	}
	.header-style-1.expanded-header .top-menu .gb-menu-toggle {
		color: #2B3F5A;
	}
	.header-style-1.expanded-header .main-logo {
		display: none;
	}
	.header-style-1.expanded-header .expanded-logo {
		display: block;
	}
}
@media (min-width: 1025px) {
	.top-menu .gb-menu >  .menu-item {
		margin-left: 10px;
		font-weight: 500;
	}
	.top-menu .gb-menu > .menu-item > .gb-menu-link:after {
		content: '';
		height: 1px;
		position: absolute;
		bottom: 2px;
		left: 0;
		right: 0;
		background: #F9EFE1;
		transition: .5s;
		transform: scale(0);
	}
	.header-style-2 .top-menu .gb-menu > .menu-item > .gb-menu-link:after,
	.header-style-1.gb-is-sticky .top-menu .gb-menu > .menu-item > .gb-menu-link:after {
		background: #2B3F5A;
	}
	.top-menu .gb-menu > .menu-item:hover > .gb-menu-link:after {
		transform: scale(1);
	}
	.langs-selector,
	.langs-selector a {
		color: #F9EFE1;
	}
	.header-style-2 .langs-selector,
	.header-style-2 .langs-selector a,
	.header-style-1.gb-is-sticky .langs-selector,
	.header-style-1.gb-is-sticky .langs-selector a {
		color: #2B3F5A;
	}
	.langs-selector a:hover {
		color: #F9EFE1;
		text-decoration: none;
	}
	.header-style-2 .langs-selector a:hover {
		color: #2B3F5A;
	}
	.expanded-logo {
		display: none;
	}	
	.top-menu .header-socials,
	.top-menu .socials-mainstyle {
		margin-left: 9px;
	}
	.header-style-1.gb-is-sticky .header-socials {
		display: none;
	}
	.header-style-1.gb-is-sticky .socials-mainstyle {
		display: flex !important;
	}
	.container-width-limit {
		max-width: 500px;
	}
}
@media (min-width: 1280px) {
	.top-menu .header-socials,
	.top-menu .socials-mainstyle {
		margin-left: 40px;
	}

}
/* property */
.property-gallery {
	display: grid;
    grid-template-columns: 60% 40%;    
    height: 207px;
	padding-bottom: 31px;
}
.property-gallery .property-item {
	display: none;
	position: relative;
}
.property-item-image-wrapper {
	width: 100%;
    height: 100%;
	overflow: hidden;
}
.property-gallery img {	
	width: 100%;
    height: 100%;
    object-fit: cover;
	transition: .5s;	
}
.property-gallery img:hover {
	transform: scale(101%);
}
.property-gallery .property-item:nth-of-type(1) {
	display: block;
	grid-column: 1;
}
.property-gallery .property-item:nth-of-type(2) {
	display: block;
	grid-column: 2;
    grid-row: 1;
}
#lightboxOverlay,
#lightbox {
    max-width: 100%;
}
.single-propiedad .lb-container {
	position: relative;
}
.single-propiedad .lb-container:after {
	content: '';
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 51.5px;
	height: 58px;
	background: url(/wp-content/uploads/2026/02/logo-white.svg) no-repeat center;
	background-size: 100%;
}
.quantity-label {
	background: #253d5f;
	padding: 5px 10px;
	text-transform: uppercase;
	color: #bfbdbe;	
	box-sizing: border-box;
	font-size: 14px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -31px;
	text-decoration: none;
}
.price-symbol:after {
	content: "€";
}
.square-value:after {
	content: "m²";
	margin-left: 2px;
}
.property-description p {
	margin-bottom: 16px;
}
.acf-map {
    width: 100%;
    height: 100%;
}
.acf-map img {
   max-width: inherit !important;
}

/* property responsive */ 
@media (min-width: 480px) {
	.property-gallery {
		height: 280px;		
	}
}
@media (min-width: 768px) {
	.property-gallery {
		height: 419px;
		grid-template-columns: 32% 18% 50%;
		grid-template-rows: 50% 50%;
	}
	.property-gallery .property-item:nth-of-type(1) {
		grid-row: 1 / span 2;
	}
	.property-gallery .property-item:nth-of-type(3) {
		display: block;
		grid-column: 2;
		grid-row: 2;
	}
	.property-gallery .property-item:nth-of-type(4) {
		display: block;
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}
@media (min-width: 1025px) {
	.property-gallery {
		height: 619px;
		padding-bottom: 46px;
	}
	.quantity-label {
		font-size: 16px;
		padding: 11px 20px;
		bottom: -46px;
	}	
}
/* form */
.wpcf7 .form-row {
	border-bottom: 1px solid #fff;
	padding-bottom: 7px;
	margin-bottom: 12px;
	position: relative;
}
.wpcf7 .form-row .wpcf7-not-valid-tip {
	font-size: 10px;
	position: absolute;
	bottom: -16px;
	left: 0;
	right: 0;
	text-align: right;
}
.wpcf7 .form-row label {
	display: flex;
}
.wpcf7-form-control-wrap {
	display: block;
}
.wpcf7 .form-row .wpcf7-form-control-wrap {
	position: static;
}
.wpcf7 .wpcf7-form-control-wrap .wpcf7-form-control {
	width: 100%;
	background: none;
	padding: 0;
	border: none;
	color: #f9eee1;
}
.field-title {
	white-space: nowrap;
	margin-right: 2px;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 700;
}
.wpcf7 .wpcf7-form-control:focus {
	outline: none;
}
.wpcf7 .wpcf7-form-control.wpcf7-textarea {
	border: 1px solid #fff;
	padding: 8px;
	resize: none;
}
.wpcf7 .field-title+.wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
	margin-top: 2px;
}
.wpcf7 .wpcf7-form-control.wpcf7-submit {
	border: 1px solid #fff;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 700;
	text-align: center;
	padding: 4px 16px;
	display: block !important;
	background: none;
	color: #f9eee1;
	width: 100%;
	margin-top: 22px;
}
.submit-button-wrapper {
	text-align: center;
	padding-bottom: 30px;
	position: relative;
}
.submit-button-wrapper .wpcf7-spinner {
	position: absolute;
	bottom: 0;
	left: 50%;
	margin: 0 0 0 -12px;
}
.wpcf7 .wpcf7-response-output {
	margin: 0 0 30px 0 !important;
	font-size: 12px;
}
.wpcf7 .wpcf7-form-control.wpcf7-submit.btn-submit {
	width: auto;
	display: inline-block;
	color: #2B3F5A;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	color: #2B3F5A;
	background: #fff;
	text-transform: uppercase;
	padding: 10px 36px;
}
.message-field {
	margin-bottom: 22px;
}
.wpcf7-list-item {
	margin: 0;
}
.wpcf7-list-item input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	top: 3px;
	left: 0;
}
.wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
	position: relative;
	padding-left: 27px;
	display: block;
	margin-bottom: 12px;
}
.wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:before,
.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:before {
	content: '';
	background: none;
	border: 1px solid #F9EEE1;
	width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
}
.wpcf7-not-valid.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:before {
	border-color: #dc3232;
	background: #fff;
}
.wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:after,
.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
	display: block;
    position: absolute;
    left: 5px;
    top: 5px;
}
.wpcf7-acceptance .wpcf7-list-item input:checked+.wpcf7-list-item-label:before,
.wpcf7-checkbox .wpcf7-list-item input:checked+.wpcf7-list-item-label:before {
    background: #746045;
    border-color: #746045;
}
.wpcf7-acceptance .wpcf7-list-item input:checked+.wpcf7-list-item-label:after,
.wpcf7-checkbox .wpcf7-list-item input:checked+.wpcf7-list-item-label:after {
    opacity: 1;
}
.alternative-style .wpcf7-list-item input:checked+.wpcf7-list-item-label:before,
.alternative-style .wpcf7-list-item input:checked+.wpcf7-list-item-label:before {
    background: #746045;
    border-color: #fff;
}
.pum-content .wpcf7 .wpcf7-form-control-wrap .wpcf7-form-control:not(.wpcf7-acceptance) {
	background: #fff;
	padding: 8px;
	color: #000;
}
.pum-content .wpcf7 .wpcf7-form-control-wrap {
	margin-top: 8px;
	margin-bottom: 8px;
	display: block;
}
.pum-content .wpcf7-list-item-label {
	margin-top: 16px;
}
.pum-content .wpcf7-acceptance a {
	color: #fff;
}
.pum-content .wpcf7 .wpcf7-form-control.wpcf7-submit {
	margin-top: 0;
}
.pum-content .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:before, 
.pum-content .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:before {
	top: 1px;
}
.pum-content .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:after, 
.pum-content .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:after {
	top: 3px;
}
.pum-content .wpcf7-not-valid-tip {
	font-size: 14px;
	margin-top: 2px;
}
.alternative-style div.pum-container {
	background-color: #746045;
}
/* services */
.site-carousel .gb-carousel-control {
	background: none !important;
	color: #F9EFE1 !important;
	border: none;
	padding: 0;
	width: 20px;
	height: 20px;
}
.gb-carousel-control.is-disabled {
	display: none;
}
.site-carousel .gb-carousel-control-icon svg {
    width: 20px;
    height: 20px;
    fill: #F9EFE1;
}
.services-section .services-carousel a {
	color: #f9eee1;
}
.services-section .services-carousel a:hover {
	text-decoration: none;
}
.info-section h2 a {
	color: #f9eee1;
}
.info-section h2 a:hover {
	text-decoration: none;
}
/* services responsive */
@media (min-width: 768px) {
	.gb-element-4fb343db {
		display: none !important;
	}
}
@media (min-width: 1025px) {
	.gb-element-077f999a {
		display: none !important;
	}
}
/* alternative style */
.alternative-style .footer-section {
	background: #746045;
}
.alternative-style .faq-section {
	background: #746045;
}
.alternative-style .services-section {
	background: #746045;
}
.alternative-style .downloads-block {
	background: #746045;
}

/* catalog */
.propery-characteristics-row>div:not(:last-of-type):after {
	content: '•';
	margin: 0 5px;
}
.catalog-slides .gb-carousel-control {
	transition: .3s;
}
.catalog-slides .gb-carousel-control {
	opacity: 1;
}
.property-title {
	overflow: hidden;
	text-overflow: ellipsis;
	width: calc(100% - 150px);
}
.property-title:only-child {
	width: 100%;
}
.catalog-slides .gb-carousel-item {
    max-width: 100% !important;
    width: 100% !important;
}
/* catalog responsive */
@media (min-width: 1025px) {
	.catalog-slides .gb-carousel-control {
		opacity: 0;
	}
	.catalog-slides:hover .gb-carousel-control {
		opacity: 1;
	}
} 
/* 3. EL SELECTOR "MARTELLEJADOR" */
/* Posem body davant per donar-li més força que al Customizer */
body .subtitle-amiri, 
body .subtitle-amiri em, 
.editor-styles-wrapper .subtitle-amiri {
    font-family: 'Amiri', serif !important;
}