:root {
--ab-main1: rgba(43, 46, 128, 1);
--ab-main2: rgba(240, 135, 0, 1);
--ab-main6: #f6f6f6;
--ab-dark: rgba(71, 71, 71, 1);
--ab-font: 'M PLUS Rounded 1c', sans-serif; --ab-header: 80px;
} .ab-page {
display: flex;
align-items: flex-start;
gap: 2rem;
padding-left: 25px;
font-family: var(--ab-font);
font-weight: 500;
line-height: 1.35em;
color: var(--ab-dark);
} .ab-filtres {
flex: 0 0 260px;
display: flex;
flex-direction: column;
background: var(--ab-main6);
border-radius: 0 0 30px 0;
padding: 24px 22px 30px;
margin: 3rem 0 6rem;
position: sticky;
top: calc(var(--ab-header) + 20px);
}
.ab-filtres-corps {
display: flex;
flex-direction: column;
gap: 22px;
width: 100%;
}
.ab-filtre-champ {
display: flex;
flex-direction: column;
gap: 8px;
position: relative;
}
.ab-filtre-champ label {
font-size: 0.8em;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--ab-main1);
}
.ab-rayon-valeur {
color: var(--ab-main2);
}
.ab-filtre-champ input[type="text"],
.ab-filtre-champ input[type="number"],
.ab-filtre-champ select {
width: 100%;
border: none;
border-bottom: 2px solid var(--ab-main1);
border-radius: 0;
padding: 8px 10px;
font-family: var(--ab-font);
font-size: 0.9em;
font-weight: 500;
color: var(--ab-dark);
background: #fff;
transition: border-color 0.2s ease;
}
.ab-filtre-champ input[type="text"]:focus,
.ab-filtre-champ input[type="number"]:focus,
.ab-filtre-champ select:focus {
outline: none;
border-bottom-color: var(--ab-main2);
}
.ab-filtre-champ input[type="range"] {
accent-color: var(--ab-main2);
width: 100%;
}
.ab-range-double {
display: flex;
align-items: center;
gap: 8px;
color: var(--ab-main1);
}
.ab-range-double input[type="number"] {
width: 100%;
min-width: 0;
}
.ab-suggestions {
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 10;
background: #fff;
box-shadow: 0 8px 24px rgba(43, 46, 128, 0.15);
overflow: hidden;
display: none;
}
.ab-suggestions.is-open {
display: block;
}
.ab-suggestions button {
display: block;
width: 100%;
text-align: left;
padding: 8px 10px;
background: none;
border: none;
font-family: var(--ab-font);
color: var(--ab-dark);
cursor: pointer;
}
.ab-suggestions button:hover,
.ab-suggestions button:focus {
background: var(--ab-main2);
color: #fff;
} .ab-filtres-toggle {
display: none;
align-items: center;
gap: 8px;
width: 100%;
border: none;
background: transparent;
padding: 0;
font-family: var(--ab-font);
font-size: 0.9em;
font-weight: 800;
text-transform: uppercase;
color: var(--ab-main1);
cursor: pointer;
} .ab-resultats {
flex: 1 1 auto;
min-width: 0;
padding: 3rem 0 6rem;
}
.ab-liste {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
}
.ab-liste.is-loading {
opacity: 0.5;
pointer-events: none;
}
.ab-aucun-resultat {
grid-column: 1 / -1;
padding: 40px 20px;
text-align: center;
font-weight: 800;
color: var(--ab-main1);
} .ab-liste .terrain_post a {
display: block;
text-decoration: none;
}
.ab-liste .terrain_post figure {
position: relative;
overflow: hidden;
height: 200px;
margin: 0;
background: var(--ab-main6);
}
.ab-liste .terrain_post figure img {
transition: 0.2s;
}
.ab-liste .terrain_post .small_meta {
position: absolute;
top: 0;
left: 0;
background-color: var(--ab-main2);
color: #fff;
padding: 3px 8px;
font-weight: 800;
z-index: 1;
font-size: 0.8em;
}
.ab-liste .terrain_post .post_title {
color: var(--ab-main2);
padding: 4px 0;
display: block;
font-size: 0.9em;
font-weight: 800;
transition: 0.2s;
}
.ab-liste .terrain_post:hover figure img {
transform: scale(1.05);
}
.ab-liste .terrain_post:hover .post_title {
color: var(--ab-main1);
} .ab-liste .terrain_post svg,
.ab-liste .terrain_post i {
margin-right: 8px;
}
.ab-liste .terrain_post .bottom_meta {
display: flex;
justify-content: space-between;
background-color: var(--ab-main1);
color: #fff;
padding: 4px 10px;
font-size: 0.8em;
} .ab-pagination {
display: flex;
gap: 6px;
justify-content: center;
margin-top: 3rem;
}
.ab-pagination a {
display: flex;
align-items: center;
justify-content: center;
min-width: 34px;
height: 34px;
padding: 0 6px;
font-weight: 800;
color: var(--ab-main1);
text-decoration: none;
transition: 0.2s;
}
.ab-pagination a:hover {
color: var(--ab-main2);
}
.ab-pagination a.is-active {
background: var(--ab-main2);
color: #fff;
} .ab-carte-conteneur {
flex: 0 0 35%;
position: sticky;
top: var(--ab-header);
height: calc(100vh - var(--ab-header));
}
.ab-carte-map {
width: 100%;
height: 100%;
min-height: 400px;
}
.ab-carte-toggle {
display: none;
} .leaflet-marker-icon.ab-marqueur-prix { background: var(--ab-main1) !important;
color: #fff !important;
font-family: var(--ab-font);
font-size: 13px;
font-weight: 800;
line-height: 1;
padding: 5px 9px;
border: none;
white-space: nowrap;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
transform: translate(-50%, -100%);
cursor: pointer;
}
.leaflet-marker-icon.ab-marqueur-prix::after {
content: "";
position: absolute;
left: 50%;
bottom: -5px;
transform: translateX(-50%);
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid var(--ab-main1);
} .leaflet-marker-icon.ab-marqueur-prix:hover,
.leaflet-marker-icon.ab-marqueur-prix.is-survole {
background: var(--ab-main2) !important;
z-index: 10000 !important;
}
.leaflet-marker-icon.ab-marqueur-prix:hover::after,
.leaflet-marker-icon.ab-marqueur-prix.is-survole::after {
border-top-color: var(--ab-main2);
} .ab-page .leaflet-popup-content-wrapper {
border-radius: 0 0 20px 0;
}
.ab-page .leaflet-popup-content {
font-family: var(--ab-font);
font-weight: 800;
font-size: 0.85em;
line-height: 1.3em;
color: var(--ab-main2);
} .ab-fiche .terrain_content {
display: grid;
grid-template-columns: 3fr 2fr;
margin: 4rem auto 10rem auto;
}
.ab-fiche .dispo_terrain {
min-width: 0;
}
.ab-fiche .single_map_terrains {
min-height: 350px;
}
.ab-fiche .single_map_terrains .ab-carte-map {
height: 100%;
min-height: 350px;
}
.ab-fiche .single_infos {
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: var(--ab-main6);
}
.ab-fiche .terrain_description {
padding: 30px;
line-height: 1.5em;
}
.ab-fiche .terrain_description p {
font-weight: 500;
}
.ab-fiche .terrain_recap {
background-color: #ececec;
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.ab-fiche .terrain_recap svg,
.ab-fiche .terrain_recap i {
margin-right: 10px;
color: var(--ab-main2);
}
.ab-fiche .terrain_recap .recap_list {
padding: 5px;
}
.ab-fiche .terrain_recap .recap_list > div {
padding: 5px 20px;
font-weight: 800;
}
.ab-fiche .terrain_recap .terrain_prix {
background-color: var(--ab-main1);
color: #fff;
font-size: 1.7em;
display: flex;
padding: 15px;
text-align: center;
align-items: stretch;
flex-direction: column;
justify-content: center;
} .ab-fiche .single_form {
background-color: var(--ab-main2);
color: #fff;
padding: 20px 20px 40px 20px;
border-radius: 0 0 30px 0;
}
.ab-fiche .single_form .form_title {
display: block;
font-size: 1.4em;
font-weight: 800;
line-height: 1.4em;
margin: 10px auto;
width: 100%;
}
.ab-fiche .single_form .gform_wrapper {
margin: 0;
color: #fff;
} .ab-fiche .single_form .gform_required_legend {
display: none;
}
.ab-fiche .single_form .gform_wrapper .gform_fields {
display: flex !important;
flex-direction: column;
gap: 0;
margin: 0;
padding: 0;
list-style: none;
}
.ab-fiche .single_form .gform_wrapper .gfield {
margin: 10px 0;
padding: 0;
} .ab-fiche .single_form .gform_wrapper .hidden_label .gfield_label,
.ab-fiche .single_form .gform_wrapper .gfield_label.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.ab-fiche .single_form .gform_wrapper .gfield input[type="text"],
.ab-fiche .single_form .gform_wrapper .gfield input[type="tel"],
.ab-fiche .single_form .gform_wrapper .gfield input[type="email"],
.ab-fiche .single_form .gform_wrapper .gfield textarea {
width: 100%;
border: none;
border-bottom: 1px solid #fff;
border-radius: 0;
box-shadow: none;
color: #fff;
background: none;
padding: 3px 2px;
font-family: var(--ab-font);
font-size: 1em;
font-weight: 500;
}
.ab-fiche .single_form .gform_wrapper .gfield textarea {
height: auto;
min-height: 110px;
}
.ab-fiche .single_form .gform_wrapper .gfield input::placeholder,
.ab-fiche .single_form .gform_wrapper .gfield textarea::placeholder {
color: #fff;
opacity: 1;
}
.ab-fiche .single_form .gform_wrapper .gfield input:focus,
.ab-fiche .single_form .gform_wrapper .gfield textarea:focus {
outline: none;
} .ab-fiche .single_form .gform_wrapper .gfield_contains_required .ginput_container {
position: relative;
}
.ab-fiche .single_form .gform_wrapper .gfield_contains_required .ginput_container::after {
content: "*";
position: absolute;
right: 0;
bottom: 10px;
display: flex;
justify-content: center;
align-items: center;
width: 16px;
height: 10px;
padding-top: 6px;
font-size: 18px;
line-height: 10px;
color: rgb(144, 2, 2);
background-color: #fff;
border-radius: 6px 6px 0 0;
} .ab-fiche .single_form .gform_wrapper .gfield_validation_message,
.ab-fiche .single_form .gform_wrapper .validation_message,
.ab-fiche .single_form .gform_wrapper .gform_validation_errors,
.ab-fiche .single_form .gform_wrapper .validation_error {
font-size: 0.9em;
font-weight: 800;
margin: 8px 0 0;
padding: 6px 10px;
background: rgb(144, 2, 2);
color: #fff;
border: none;
border-radius: 0;
box-shadow: none;
}
.ab-fiche .single_form .gform_wrapper .gform_validation_errors > h2 {
font-size: 1em;
color: #fff;
margin: 0;
}
.ab-fiche .single_form .gform_wrapper .gfield_error input,
.ab-fiche .single_form .gform_wrapper .gfield_error textarea {
border-bottom-color: #fff;
}
.ab-fiche .single_form .gform_wrapper .gform_footer {
margin: 15px 0 0;
padding: 0;
justify-content: center;
text-align: center;
}
.ab-fiche .single_form .gform_wrapper .gform_footer input[type="submit"],
.ab-fiche .single_form .gform_wrapper .gform_footer .gform_button {
display: inline-block;
border: none;
border-radius: 0;
background-color: #fff;
color: var(--ab-main2);
transition: 0.3s;
text-transform: uppercase;
font-family: var(--ab-font);
font-size: 1.2em;
font-weight: 800;
line-height: 1.35em;
padding: 6px 20px 5px 20px;
margin: 0;
width: auto;
cursor: pointer;
}
.ab-fiche .single_form .gform_wrapper .gform_footer input[type="submit"]:hover,
.ab-fiche .single_form .gform_wrapper .gform_footer .gform_button:hover {
background-color: var(--ab-main1);
color: #fff;
} .ab-fiche .single_form .gform_confirmation_message {
color: #fff;
padding: 10px 0;
font-size: 1.1em;
font-weight: 800;
line-height: 1.4em;
margin-top: 30px;
} .ab-widget-recherche {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
gap: 12px;
font-family: var(--ab-font);
}  @media screen and (max-width: 1170px) {
.ab-page {
gap: 1.5rem;
}
.ab-filtres {
flex-basis: 230px;
}
.ab-liste {
grid-template-columns: 1fr;
}
} @media screen and (max-width: 880px) {
.ab-page {
flex-direction: column;
align-items: stretch;
gap: 0;
padding: 0 10px;
}
.ab-filtres {
flex: 0 0 auto;
margin: 20px 0 0;
padding: 14px 18px;
top: calc(var(--ab-header) + 10px);
z-index: 20;
box-shadow: 0 2px 10px rgba(43, 46, 128, 0.08);
}
.ab-filtres-toggle {
display: flex;
width: auto;
align-self: flex-start;
} .ab-filtres-corps {
max-height: 0;
opacity: 0;
visibility: hidden;
overflow: hidden;
transform: translateY(-6px);
margin-top: 0;
transition: max-height 0.25s ease, margin-top 0.25s ease, transform 0.2s ease, opacity 0.18s ease, visibility 0s linear 0.25s;
}
.ab-filtres.is-open .ab-filtres-corps {
max-height: 700px;
opacity: 1;
visibility: visible;
transform: translateY(0);
margin-top: 18px;
transition: max-height 0.25s ease, margin-top 0.25s ease, transform 0.22s ease 0.05s, opacity 0.22s ease 0.05s, visibility 0s linear 0s;
}
.ab-carte-conteneur {
order: -1;
position: relative;
top: 0;
flex: 0 0 auto;
width: calc(100% + 20px);
margin: 0 -10px;
height: 300px;
}
.ab-carte-map {
min-height: 0;
}
.ab-resultats {
padding: 2rem 0 4rem;
}
.ab-liste {
grid-template-columns: 1fr 1fr;
}
.ab-fiche .terrain_content {
grid-template-columns: 1fr;
}
} @media screen and (max-width: 650px) {
.ab-liste {
grid-template-columns: 1fr;
}
.ab-carte-toggle {
display: block;
width: 100%;
border: none;
background: var(--ab-main1);
color: #fff;
font-family: var(--ab-font);
font-weight: 800;
text-transform: uppercase;
padding: 10px;
cursor: pointer;
}
.ab-carte-conteneur {
height: auto;
}
.ab-carte-conteneur .ab-carte-map {
height: 0;
overflow: hidden;
transition: height 0.2s ease;
}
.ab-carte-conteneur.is-open .ab-carte-map {
height: 60vh;
}
}