/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

::selection {
  color: #ffffff;
  background-color: #f7c548;
}
input,
textarea {
  caret-color: #f7c548;
}

input:focus::placeholder {
  color: transparent;
}
/* ===== Scrollbar CSS ===== */
/* Firefox */
@supports (-moz-appearance: none) {
  * {
    scrollbar-width: auto;
    scrollbar-color: #f7c548 #ffffff;
  }
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #f7c548;
  border-radius: 10px;
  border: 1px solid #ffffff;
}

.dc-centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
}

/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width: 980px) {
  .dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
  margin-left: -30px;
  padding: 5%;
  width: calc(100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
}

/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
  max-width: 50px;
}

/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup,
sub {
  font-size: 70%;
}

.projets .swiper-button-next {
  transform: translateX(60px) !important;
}

.projets .swiper-button-prev {
  transform: translateX(-60px) !important;
}

@media all and (max-width: 980px) and (min-width: 767px) {
  .projets .swiper-button-next {
    transform: translateX(40px) !important;
  }

  .projets .swiper-button-prev {
    transform: translateX(-40px) !important;
  }
}

@media all and (max-width: 767px) {
  .projets .swiper-button-next {
    transform: translateX(32px) !important;
  }

  .projets .swiper-button-prev {
    transform: translateX(-32px) !important;
  }
}

header .contactmenu {
  display: none !important;
}

footer li.menu-item.dipi-cta-button-menu-item {
  display: none;
}

.upTitle {
  font-weight: 800;
  color: #98cdbb;
  margin-bottom: 2px !important;
}

.et_pb_toggle_open .et_pb_toggle_title::before {
  display: block !important;
  font-size: 30px;
  font-family: ETmodules !important;
  font-weight: 400 !important;
  content: "\32" !important;
  position: absolute;
  right: -7px;
  color: black;
  top: 50%;
  margin-top: -0.5em;
  left: auto;
}

.scaledUp .et_pb_image_wrap {
  height: 100%;
}
.gridColumn {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-gap: 25px;
}
.gridColumn .et_pb_blurb {
  height: 100%;
}
.swiper-wrapper {
  transition-timing-function: linear !important;
}

.difl_testimonialcarousel .swiper-container {
  margin: 0 !important;
  padding: 0 !important;
}

.avis .dsm_card_title {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}
.avis .dsm_card_carousel_child_description {
  margin-top: 15px;
}

.avis .dsm_card_wrapper::after {
  content: attr(data-note) " ⭐";
  position: absolute;
  top: 20px;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  right: 30px;
}

.avis .dsm_card_wrapper::before {
  right: 20px;
  content: "";
  position: absolute;
  top: 21px;
  width: 50px;
  height: 24px;
  border-radius: 12px;
  padding: 0px 12px;
  background: #f7c548;
}

.avis .dsm_card_wrapper {
  direction: ltr;
}

.projets .df-cpt-outer-wrap {
  display: flex;
}

.projets .df-cpt-outer-wrap .df-cpt-image-wrap {
  flex-basis: 45% !important;
  margin-right: 20px;
  border-radius: 30px;
}

.projets .df-cpt-outer-wrap .df-cpt-image-wrap {
  margin-bottom: 0px !important;
}
.projets .df-cpt-outer-wrap .df-cpt-image-wrap a {
  height: 100%;
  margin-bottom: 0px !important;
}

.projets .df-cpt-outer-wrap .df-cpt-image-wrap img {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}

.projets .difl_cptitem_3 {
  float: none;
}

.projets .df-cpt-inner-wrap {
  flex-basis: 55% !important;
  display: flex;
  flex-direction: column;
}

.projets .df-cpt-read-more {
  background-color: #98cdbb;
  padding: 6px 8px 9px 17px;
  border: 2px solid #98cdbb;
  border-radius: 10px;
  text-align: right !important;
  display: block;
  width: fit-content;
  margin-left: auto;
  font-weight: bold !important;
  transition: background-color 200ms ease;
  color: white !important;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 4px;
  margin-top: 4px;
}

.projets .df-cpt-read-more:hover {
  background-color: white;
  border-radius: 10px;
  color: #98cdbb !important;
}

.scaledUp img {
  object-fit: cover;
}

.beforeImmeuble::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translate(-50%, 0%);
  opacity: 0.1;
  z-index: -1;
  font-family: ETmodules;
  font-size: 370px;
  color: #f7c548;
  user-select: none;
  pointer-events: none;
}
.attributes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 20px;
  gap: 6%;
  margin-left: auto;
  justify-content: flex-end;
}

.attributes > div {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  min-width: min-content;
  width: 28%;
  justify-content: space-between;
}

.df-item-wrap .attributes > div .icon {
  margin-right: 0px !important;
  font-size: 20px !important;
}

.attributes section {
  display: flex;

  flex-direction: column;
  gap: 5px;
}

.filterGrid .df-cpt-inner-wrap {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.filterGrid .df-cpt-image-wrap {
  margin-bottom: 0px !important;
  height: 100%;
}
.filterGrid .df-cpt-image-wrap a {
  height: 100% !important;
}
.filterGrid .df-cpt-outer-wrap {
  border-radius: 20px !important;
  overflow: hidden !important;
}

.filterGrid .df-cpt-outer-wrap::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  pointer-events: none;
  user-select: none;
  background-color: #1c486340 !important;
}

.attributes section .title {
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
}
.attributes section span:not(.title) {
  font-size: 14px;
  line-height: 13px;
}

@media all and (max-width: 980px) {
  .projets .df-cpt-outer-wrap {
    flex-direction: column;
  }
  .projets .df-cpt-outer-wrap .df-cpt-image-wrap {
    margin-right: 0px;
  }

  .projets .df-cpt-outer-wrap .df-cpt-image-wrap img {
    max-height: 300px;
  }
  .attributes {
    justify-content: flex-start;
    width: 100%;
  }
  .projets .df-cpt-read-more {
    margin-left: unset;
    margin-right: auto;
  }
  .projets .df-cpt-inner-wrap {
    margin-top: 25px;
  }
  .projets .df-cpt-inner-wrap * {
    text-align: left;
  }

  .attributes > div {
    width: unset;
  }
}
.realisation .swiper-container {
  overflow: visible !important;
}

.realisation .df-item-wrap.df-cpt-image-wrap {
  margin-bottom: 0px;
  border-radius: 10px 10px 0 0 !important;
}

.realisation article {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px !important;
}
.realisation .df-item-wrap.df-item-acf.difl_cptitem_9 .df-acf-field-inner {
  display: flex;
  align-items: center;
  gap: 5px;
}
.single-project .attributes {
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-evenly;
  gap: 10px;
}

.single-project .attributes > div {
  width: 120px;
}

.single-project .attributes .icon {
  color: #f7c548;
  font-size: 1.7rem;
}
.df-cpt-title-wrap {
  overflow: visible !important;
}

.gridColumn.variant {
  grid-template-columns: 1fr 1fr 1fr;
}
.gridColumn.variant .et_pb_blurb_content {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

@media all and (max-width: 980px) {
  .gridColumn.variant,
  .gridColumn {
    display: flex !important;
    flex-direction: column !important;
  }

  .appartement thead th {
    font-size: 0.9rem;
  }
}

@media all and (max-width: 1507px) and (min-width: 981px) {
  footer .centerResume .et_pb_blurb_content {
    text-align: center;
    flex-direction: column !important;
  }

  footer .centerResume .et_pb_blurb_content * {
    text-align: center;
  }

  footer .centerResume .et_pb_blurb_container {
    padding-left: 0px !important;
  }
  footer .centerResume .et_pb_blurb_content .et_pb_main_blurb_image {
    padding-bottom: 10px;
  }
}

body {
  overflow-x: hidden;
}

.et_pb_menu__logo-wrap {
  width: 110px !important;
}

@media all and (max-width: 767px) {
  .et_pb_menu__logo-wrap {
    width: 95px !important;
  }
}

#navbarmenu .et_pb_row {
  width: 96%;
}
#mobile_menu1 {
  border-radius: 24px;
  top: 120% !important;
}

ul#menu-menu-principal {
  display: flex;
  gap: 15px;
}

@media all and (min-width: 980px) {
  h1 {
    font-size: 3rem;
    line-height: 3.4rem !important;
  }

  h2 {
    font-size: 2rem !important;
    line-height: 2rem !important;
  }
}

@media all and (max-width: 595px) {
  h1 {
    font-size: 2rem;
    line-height: 2.4rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.5rem !important;
  }
}

.accordeoan .et_pb_toggle .et_pb_toggle_title::after {
  position: absolute;
  content: "";
  width: 50px;
  top: 50%;
  left: 0px;
  height: 50px;
  background-size: contain;

  transform: translate(0%, -50%);
}

.accordeoan .et_pb_toggle:nth-child(1) .et_pb_toggle_title::after {
  background-image: url("https://pmppromotion.com/wp-content/uploads/2023/04/Expert-en-promotion-immobiliere.webp");
}

.accordeoan .et_pb_toggle:nth-child(2) .et_pb_toggle_title::after {
  height: 40px;
  left: 4px;
  background-repeat: no-repeat;
  background-image: url("https://pmppromotion.com/wp-content/uploads/2023/04/Situe-a-Valence.webp");
}

.accordeoan .et_pb_toggle:nth-child(3) .et_pb_toggle_title::after {
  height: 40px;
  left: 4px;
  background-repeat: no-repeat;
  background-image: url("https://pmppromotion.com/wp-content/uploads/2023/04/Accompagnement-2.webp");
}

.appartement thead th {
  padding-top: 18px;
  padding-bottom: 18px;
}
.appartement tbody td {
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
}
.appartement {
  position: relative;
}

.appartement tbody {
  max-height: 585px;
  overflow: auto;
}

.indisponible {
  position: relative;
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

.indisponible::after {
  content: "Vendu !";
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 2px 15px;
  background-color: #000000;
  color: white;

  border-radius: 4px;
  transform: translate(-50%, -50%);
}
.appartement th {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  line-height: 1.4;

  background-color: #f7c548;
}
.appartement td {
  font-family: "Montserrat";
  font-size: 15px;
  color: gray;
  line-height: 1.4;
}
.appartement tbody tr:nth-child(even) {
  background-color: hsl(43, 92%, 97%);
}
.appartement {
  border-radius: 10px;
  width: 100%;
}
.table100.ver1 .ps__rail-y {
  right: 5px;
}
.table100.ver1 .ps__rail-y::before {
  background-color: #ebebeb;
}
.table100.ver1 .ps__rail-y .ps__thumb-y::before {
  background-color: #ccc;
}

.nom-batiment {
  background-color: #98cdbb;
  margin-bottom: 15px;
  font-weight: bold;
  width: fit-content;
  font-size: 1.2rem;
  padding-bottom: 0px;
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
}

.appartement .fichiers {
  display: flex;
  flex-direction: column;
}

@media all and (max-width: 980px) {
  .appartementContainer {
    overflow-x: scroll;
  }
}

.appartementContainer {
  border-radius: 15px;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 60px;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
  -o-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
  -ms-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
}
.appartement {
  min-width: 900px;
}

.contenu-projet.hideSold .indisponible {
  display: none !important;
}

.titleStationnenement {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 20px;
}
.titleStationnenement h4 {
  margin-bottom: 0px;
}
.titleStationnenement a {
  background-color: #f7c548;
  color: white;
  padding: 5px 15px;
  border-radius: 10px;
  font-weight: 700;
}

h2.no-post {
  font-size: 0px;
}
h2.no-post::before {
  content: "Aucune données trouvées";
  display: block;
  font-size: 18px;
  padding: 15px;
}

@media all and (max-width: 980px) {
  header li.menu-item.dipi-cta-button-menu-item {
    margin-top: 10px !important;
  }
}

.appartement .fichiers a {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

td.fichiers a::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-left: 20px;
  z-index: 0;
  background-image: url("https://pmppromotion.com/wp-content/uploads/2023/05/Plan-appartement-v2.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.single-project .attributes article {
  width: 24%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.attributContainer {
  width: 220px;
  display: flex;
  gap: 10px;
  /* justify-content: center; */
}

@media all and (max-width: 981px) {
  .single-project .attributes article {
    display: flex;
    margin-bottom: 15px;
    width: 25%;

    justify-content: center;
  }
}

@media all and (max-width: 595px) {
  .single-project .attributes article {
    display: flex;
    margin-bottom: 20px;
    width: 48%;
    justify-content: center;
  }
}

.df-item-wrap .attributContainer {
  justify-content: space-between;
}

.df-item-wrap .attributes {
  gap: 20px !important;
}
body #main-content .projets .attributContainer .et-pb-icon,
body #main-content .projets .attributContainer .icon {
  font-size: 1.2rem !important;
  margin-right: 4px !important;
}

@media all and (max-width: 981px) {
  .df-item-wrap .attributContainer {
    justify-content: flex-start;
  }

  .df-item-wrap .attributes {
    margin-top: 15px;
  }
}
.clonedButton {
  display: none;
}
@media all and (max-width: 981px) {
  .clonedButton {
    display: unset !important;
  }
  .clonedButton span::after {
    margin-left: 0px !important;
  }
  .clonedButton::after {
    display: none;
  }
  header a.et_pb_button.dipi-cta-button.clonedButton {
    background-color: transparent !important;
  }

  header a.et_pb_button.dipi-cta-button span {
    color: var(--accent-color) !important;
  }
  header a.et_pb_button.dipi-cta-button span::after {
    display: block !important;
    content: "" !important;
    font-family: ETmodules !important;
    font-weight: 400;
    color: #f7c548 !important;
    font-size: 24px !important;
  }
  header .ctabutton.clonedButton {
    background-color: transparent !important;
    color: #f7c548 !important;
  }
}

/* SEO CODE */

tr.appart {
  display: none;
}

.type-empty tr.appart {
  display: table-row !important;
}

body.type-t1 .appart.T1,
body.type-t2 .appart.T2,
body.type-t3 .appart.T3,
body.type-t4 .appart.T4,
body.type-t5 .appart.T5,
body.type-t6 .appart.T6 {
  display: table-row !important;
}

.headerWrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#filterType {
  margin-bottom: 15px;
}
