
/* bug fix navigator */
img {
  vertical-align: middle;
}

/* FORM HOMEPAGE */
span.wpgb-range-values {
  position: absolute !important;
  top: 0;
  right: 0;
}

.elementor-tabs-wrapper {
  display: flex !important;
}

.elementor-tab-title.elementor-tab-mobile-title {
  display: none !important;
}

.elementor-tab-content {
  border-top: none !important;
}

/* FORM CRAFT - Candidature location */
.form-element-field40 .sub-label-false,
.form-element-field31 .sub-label-false,
.form-element-field26 .sub-label-false {
  display: none !important;
}

.form-element-field40 label, .form-element-field31 label, .form-element-field26 label {
  background: #EEE;
  padding: 10px 10px !important;
}

.form-element-type-customText .form-element-html {
  padding-bottom: 0 !important;
}

html .formcraft-css .fc-form .form-element .fileupload-cover.field-cover .files-list li div {
  background-color: #958664 !important;
  border: 1px solid #958664 !important;
  font-size: 16px !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 20px !important;
}

html .formcraft-css .fc-form .form-element .fileupload-cover.field-cover .files-list li .delete-file, html .formcraft-css .fc-form .form-element .fileupload-cover.field-cover .files-list li .icon-ok {
  background: none !important;
}

.formcraft-css .powered-by {
  display: none !important;
}

/* WPIS DETAILS LIST */
.wpis-detail-list {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.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;
  align-items: center;
}

.wpis-detail-list .label {
  width: 210px;
  font-weight: 500;
  vertical-align: middle;
}

.wpis-detail-list .value {
  font-size: 0.96rem;
  padding: 0 10px;
}

.wpis-detail-list .value::first-letter {
  text-transform: uppercase;
}

/* GRID Status label */
.label-status {
  padding: 3px 10px !important;
  border-radius: 3px;
  color: white !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #333;
}

.label-status.vendre {
  background: #30b54d;
}

.label-status.vendu {
  background: #ed1c24;
}

.label-status.nouveau {
  background: #f78f27;
}

.label-status.option {
  background: #fbc111;
}

.label-status.nouvelles.conditions {
  background: #ff6214;
}

/*
    Add Your Custom Style
*/
.heading .elementor-heading-title {
  display: inline-block;
  border-bottom: 1px solid var(--e-global-color-accent);
  padding: 0 10px 5px 0;
}

.elementor-widget-theme-post-content h1,
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-theme-post-content h5,
.elementor-widget-theme-post-content h6 {
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: var(--e-global-color-accent);
}

.elementor-widget-theme-post-content * + h1,
.elementor-widget-theme-post-content * + h2,
.elementor-widget-theme-post-content * + h3,
.elementor-widget-theme-post-content * + h4,
.elementor-widget-theme-post-content * + h5,
.elementor-widget-theme-post-content * + h6 {
  margin-top: 0.8em;
}

.elementor-widget-theme-post-content h2 {
  font-size: 1.6em;
}

.elementor-widget-theme-post-content h3 {
  font-size: 1.4em;
}

/* ACF */
.realestate_card h2 {
  font-size: 1.2em;
}

.realestate_card ul {
  list-style: none;
  line-height: 2;
  padding: 0;
}

.realestate_card .list-label {
  display: inline-block;
  width: 210px;
  font-weight: 500;
}

.realestate_card .list-value {
  padding: 0 5px;
  font-size: 0.96rem;
}

/* Single Post Estate */
/* SLIDER IMMO */
#swiper-estate .swiper-slide-image {
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 6/4;
}

#swiper-estate .elementor-swiper-button {
  padding: 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.3);
}

/*
	TEMPLATE Estate Singe 1
	> boite icon
*/
#single-estate-infos .elementor-icon-box-title {
  margin-bottom: 1.75rem;
}

/*
	Template Estate Single 2
*/
/* > Icon List bug mobile */
.elementor-icon-list-items {
  column-gap: 10px;
  row-gap: 10px;
}

/* > Accordeon desktop + tablet */
[data-elementor-device-mode=desktop] #single-estate-infos .elementor-accordion-item .elementor-tab-title,
[data-elementor-device-mode=tablet] #single-estate-infos .elementor-accordion-item .elementor-tab-title {
  padding: 4rem 0 0;
}

[data-elementor-device-mode=desktop] #single-estate-infos .elementor-accordion-item .elementor-tab-title a,
[data-elementor-device-mode=tablet] #single-estate-infos .elementor-accordion-item .elementor-tab-title a {
  color: currentColor;
  cursor: inherit;
}

[data-elementor-device-mode=desktop] #single-estate-infos .elementor-accordion-item .elementor-tab-content,
[data-elementor-device-mode=tablet] #single-estate-infos .elementor-accordion-item .elementor-tab-content {
  display: block !important;
  padding: 1.75rem 0 0;
}

[data-elementor-device-mode=desktop] #single-estate-infos .elementor-accordion-icon,
[data-elementor-device-mode=tablet] #single-estate-infos .elementor-accordion-icon {
  display: none !important;
}

/* > Accordeon mobile */
[data-elementor-device-mode=mobile] #single-estate-infos .elementor-accordion-item .elementor-tab-title {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

[data-elementor-device-mode=mobile] #single-estate-infos .elementor-accordion-item .elementor-tab-title i {
  font-size: 0.8em;
}

/*
	GRIDBUILDER
*/
/* > wpgb-grid-12 */
.wpgb-grid-12 .wpgb-area.wpgb-area-left {
  left: -40px;
}

.wpgb-grid-12 .wpgb-area.wpgb-area-right {
  right: -40px;
}

.wpgb-grid-12 .wpgb-prev-button, .wpgb-grid-12 .wpgb-next-button {
  height: 30px !important;
  width: 30px;
  border-radius: 30px !important;
  background: #444 !important;
  color: white !important;
}


/*
	SWIPERJS
*/
.property-gallery {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Swiper Main Slider */
.main-slider {
    width: 100%;
    height: 400px;
}

.main-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Swiper Thumbnail Slider */
.thumbnail-slider {
    width: 100%;
    margin-top: 10px;
    height: 100px;
}

.thumbnail-slider .swiper-slide {
    width: 80px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.thumbnail-slider .swiper-slide-thumb-active {
    border: 2px solid #007bff;
}

/* Navigation */
.swiper-button-next, .swiper-button-prev {
    color: white;
}



/*
	SINGLE WPIS_ESTATES
*/
/* Conteneur principal */
.property-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* En-tête */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-left h1 {
    font-size: 28px;
    font-weight: bold;
}

.header-left p {
    font-size: 18px;
    color: gray;
}

.header-right .property-price {
    font-size: 24px;
    font-weight: bold;
    color: #E67E22;
}

/* Galerie d'images */
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.gallery-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
}

/* Contenu principal */
.property-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Détails du bien */
.property-details {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.property-icons {
    display: flex;
    gap: 15px;
    font-size: 18px;
    margin-top: 10px;
}

/* Agent immobilier */
.property-agent {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.agent-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.agent-name {
    font-weight: bold;
    margin-top: 10px;
}

.agent-email {
    color: #555;
    margin-top: 5px;
}


/*CHATGPT SINGLE CSS */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
}

.estate-detail {
  width: 80%;
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.estate-header {
  text-align: center;
  margin-bottom: 20px;
}

.estate-header h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.address, .price {
  font-size: 18px;
  color: #555;
  margin: 5px 0;
  font-weight: bold;
}

.estate-info {
  display: flex;
  justify-content: space-between;
  background: #eee;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.estate-info p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.estate-description {
  margin: 20px 0;
  line-height: 1.6;
}

.estate-description h2 {
  font-size: 24px;
  color: #444;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.estate-agent {
  background: #f3f3f3;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

.estate-agent h2 {
  font-size: 22px;
  color: #444;
}

.estate-agent p {
  font-size: 16px;
  margin: 8px 0;
}

.estate-agent a {
  display: inline-block;
  background: #0073e6;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.estate-agent a:hover {
  background: #005bb5;
}


/* wpis-detail-list */
.wpis-detail-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;

    list-style: none;
}

.wpis-detail-list li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}



/* WPIS FORMS */

#wpis-form-contact-default > .form-group:first-child label,
#wpis-form-estate > .form-group:first-child label {
	position: relative;
	text-indent: -9000px;
}
#wpis-form-contact-default > .form-group:first-child label:after,
#wpis-form-estate > .form-group:first-child label:after {
	position: absolute;
	left: 0;
	top: 0;
	content: "Titre";
	text-indent: 0;
}


.wpis-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

body .wpis-form.--default .form-group {
	margin-bottom: 20px;
}

.wpis-form label {
	padding-bottom: 8px;
}

.wpis-form .form-group {
    width: 100%;
}

.wpis-form .form-group__firstname,
.wpis-form .form-group__lastname, 
.wpis-form .form-group__email, 
.wpis-form .form-group__phone {
    width: calc(50% - 10px);
    
}

.wpis-form .form-group__policyConcent label {
	line-height: 1.5;
}
.wpis-form .form-group__policyConcent .form-group {
	display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    padding-left: 10px;
    max-width: 640px;
}


.wpis-form button[type="submit"]{
    height: 50px;
    min-width: 25%;
    color: #FFF;
    background: black;
    border: none;
    
    color: var(--e-global-color-primary);
    background: var(--e-global-color-accent);
}



