/*
Theme Name: Salient + ImmoSync
Theme URI: https://hellomoon.lu
Description: Thème enfant pour Salient
Author: Arnaud Keyen
Author URI: https://hellomoon.lu
Template: salient
Version: 1.0
*/

/* Hellomoon styles custom */


/******************
	GRID BUILDER
*******************/

/* Facets */

body .wpgb-facet > fieldset:last-child {
	margin-bottom: 10px;
}
body .wpgb-select-dropdown {
	margin-top: 0;
}
body .wpgb-facet .wpgb-hierarchical-list {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 12px;
}

body .wpgb-facet .wpgb-hierarchical-list li {
    margin: 0;
}
body .wpgb-facet h4.wpgb-facet-title {
	font-size: 14px;
}
body .wp-grid-builder .wpgb-area-top-2 .wpgb-facet-11 {
    flex: 0 0 75%;
    max-width: 75%;
}

/**************************
	Short Columns System (Inspired by Bootstrap)
***************************/

/* Conteneur principal */
.row-hm {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

/* Gère l'espacement des colonnes */
.col-4, .col-6, .col-8, .col-12 {
    padding-left: 10px;
    padding-right: 10px;
}

/* Colonnes en desktop (≥ 768px) */
.col-12 {
    flex: 0 0 100%; /* 8/12 */
    max-width: 100%;
}
.col-8 {
    flex: 0 0 66.666%; /* 8/12 */
    max-width: 66.666%;
}
.col-6 {
    flex: 0 0 50%; /* 6/12 */
    max-width: 50%;
}
.col-4 {
    flex: 0 0 33.333%; /* 4/12 */
    max-width: 33.333%;
}

/* Mode mobile : Full width */
@media (max-width: 768px) {
    .col-4,
    .col-6,
    .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/**************************
	Single WPIS Estates
***************************/
/* Réinitialisation des styles de la page ciblée */
#immosync-template-single {
    font-family: sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}
#immosync-template-single img,
#immosync-template-single video {
    max-width: 100%;
    height: auto;
    display: block;
}
#immosync-template-single a {
    text-decoration: none;
    color: inherit;
}
#immosync-template-single button,
#immosync-template-single input,
#immosync-template-single textarea,
#immosync-template-single select {
    font: inherit;
    border: none;
    background: none;
    outline: none;
}
#immosync-template-single ul,
#immosync-template-single ol {
    list-style: none;
}
#immosync-template-single table {
    border-collapse: collapse;
    width: 100%;
}


/* Global CSS */
.svg-icon {
    display: inline;
    vertical-align: text-bottom;
    width: 1.2em !important;
}
.fl-right {
	float: right;
}
#immosync-template-single .wp-grid-builder .wpgb-page-dots .wpgb-dot {
    width: 20px;
    height: 20px;
    padding: 6px;
}


/* Structure de la page */
#immosync-template-single p,
#immosync-template-single span {
    line-height: 1em;
}
#immosync-template-single .section {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* HEADER PROPERTY */
#immosync-template-single .property-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: end;
	margin: 20px auto 0;
}
#immosync-template-single .property-header-details {
	margin-bottom: 60px;
}
#immosync-template-single .property-header-content {
    max-width: 60%;
}

#immosync-template-single .property-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 5px 0;
}

#immosync-template-single .property-prupose {
    font-size: 16px;
    font-weight: bold;
    padding: 4px 8px;
    color: white;
    background: var(--nectar-extra-color-1);
    border-radius: 3px;
}

#immosync-template-single .property-price {
	font-size: 26px;
    text-transform: lowercase;
    margin: 0;
	padding: 0;
}
#immosync-template-single .property-header-primary-details {
    display: flex;
    flex-direction: row;
    margin: 0;
    gap: 30px;
    font-size: 14px;
    color: #555;
}
#immosync-template-single .property-header-primary-details li {
	position: relative;
	list-style: none;
}
/*
#immosync-template-single .property-header-primary-details li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 3%;
    height: 85%;
    width: 0;
    border-left: 1px dashed #e2e2e2;
}
*/
#immosync-template-single .property-header-primary-details li svg {
	color: black;
	fill: black;
}

/* WPGB Slider */

/* DETAILS */
.property-description,
.property-details-list {
	margin-top: 30px;
}
#immosync-template-single .content,
#immosync-template-single .content p {
	line-height: 1.618em;
}
.content p {
	padding-bottom: 10px;
}
.content br {
    display: block;
    content: " ";
    padding-bottom: 10px;
}

.property-description * + h3 {
	margin-top: 30px;
}

.property-location small {
	display: inline-block;
	font-size: .8em;
}


/* ASIDE PROPERTY */
#immosync-template-single .property-sidebar {
    display: flex;
    flex-direction: column;
}
#immosync-template-single .property-sidebar .box {
    padding: 20px;
    margin-bottom: 30px !important;
    background: #EEE;
}
#immosync-template-single .property-sidebar .agent-details {
    background: var(--nectar-extra-color-1);
    color: white;
}
#immosync-template-single .property-sidebar .agent-details img {
	margin-bottom: 20px;
}

#immosync-template-single .property-sidebar .box a,
#immosync-template-single .property-sidebar .box h3 {
    color: currentColor;
}

#immosync-template-single .property-sidebar .box a:hover,
#immosync-template-single .property-sidebar .box a:focus {
	color: var(--nectar-extra-color-1);
	text-decoration: underline;
}

#immosync-template-single .property-sidebar .agent-details a:hover,
#immosync-template-single .property-sidebar .agent-details a:focus {
	color: white;
}

#immosync-template-single .box p {
    padding: 0;
    line-height: 1.618em;
}

#immosync-template-single .box h3 {
    margin-bottom: 20px;
}


/* WPIS DETAILS */
.wpis-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}
.wpis-detail-list.column-2 {
    column-count: 2
}
body[data-elementor-device-mode=mobile] .wpis-detail-list.column-2 {
    column-count: 1
}
.wpis-detail-list li {
    display: flex
}
#immosync-template-single .wpis-detail-list span {
	line-height: 1.618em;
}
.wpis-detail-list .label {
    width: 210px;
}
.wpis-detail-list .attr {
    display: inline-block;
    min-width: 180px;
    font-weight: 700
}
.wpis-detail-list .value {
    font-weight: 700
}
.wpis-detail-list .value:first-letter {
    text-transform: uppercase
}


/* WPIS FORM */
#wpis-form-estate {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: end;
	justify-content: space-between;
	align-items: stretch;
	
	margin-top: 20px;
	margin-left: -10px;
	margin-right: -10px;
}
#wpis-form-estate .form-group {
	padding: 0 10px;
}
#wpis-form-estate select,
#wpis-form-estate input,
#wpis-form-estate textarea {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #EEE;
	font-size: 16px;
	transition: all 0.3s ease-in-out;
	
	border-radius: 0;
	background: white;
}
#wpis-form-estate label {
    display: block;
    font-weight: bold;
    padding-bottom: 2px;
}

#wpis-form-estate .form-group.form-group__gender {
	width: 20%;
}

#wpis-form-estate .form-group.form-group__firstname,
#wpis-form-estate .form-group.form-group__lastname {
	width: 40%;
}

#wpis-form-estate .form-group.form-group__email,
#wpis-form-estate .form-group.form-group__phone {
	width: 50%;
}
#wpis-form-estate .form-group.form-group__message {
	width: 100%;
}

#wpis-form-estate #wpis-form-policy-concent {
	float: left;
	width: initial;
	margin-right: 10px;
	margin-top: 4px;
}
#wpis-form-estate button {
	border: none;
	width: 100%;
	padding: 12px;
	font-size: 18px;
	background-color: var(--nectar-extra-color-1);
	color: #fff;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
}
#wpis-form-estate button:hover {
	background-color: #444;
}


.contact-form {
    padding: 20px;
    margin-bottom: 30px !important;
    background: #F9F9F9;
}

@media (max-width: 768px) {
	
	.property-header,
	.property-header-details {
		flex-direction: column !important;
	}
	
	.property-header > div,
	.property-header-details > div {
		width: 100% !important;
		max-width: 100% !important;
	}
	.property-header-details > div {
		padding-top: 10px;
	}
	.property-header-details ul {
		float: none !important;
	}
	
	
	.property-details-list .box {
		padding: 20px;
	    margin-bottom: 30px !important;
	    background: #EEE;
	}
	
}



