/* Theme adjustments apply only to project views without news content. */
body.saiem-project-view:has(:is(.saiem-projects-public, .saiem-projets, .saiem-page-habitat, .saiem-fiche-page, .saiem-habitat-archive, [data-saiem-carte-root])):not(:has(:is([data-saiem-actualites-root], .saiem-actualites-page, .saiem-actualite-single, .saiem-actualites-archive))),
body.saiem-project-view main:has(:is(.saiem-projects-public, .saiem-projets, .saiem-page-habitat, .saiem-fiche-page, .saiem-habitat-archive, [data-saiem-carte-root])):not(:has(:is([data-saiem-actualites-root], .saiem-actualites-page, .saiem-actualite-single, .saiem-actualites-archive))) {
  background-color: #f8e5c4 !important;
}


body.saiem-project-view .avia_codeblock:has(:is(.saiem-projects-public, .saiem-projets, .saiem-page-habitat, .saiem-fiche-page, .saiem-habitat-archive, [data-saiem-carte-root])):not(:has(:is([data-saiem-actualites-root], .saiem-actualites-page, .saiem-actualite-single, .saiem-actualites-archive))) {
  max-width: 80%;
  width: 100%;
}

body.saiem-project-view .avia_codeblock_section:has(:is(.saiem-projects-public, .saiem-projets, .saiem-page-habitat, .saiem-fiche-page, .saiem-habitat-archive, [data-saiem-carte-root])):not(:has(:is([data-saiem-actualites-root], .saiem-actualites-page, .saiem-actualite-single, .saiem-actualites-archive))) {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body.saiem-project-view #main .content:has(:is(.saiem-projects-public, .saiem-projets, .saiem-page-habitat, .saiem-fiche-page, .saiem-habitat-archive, [data-saiem-carte-root])):not(:has(:is([data-saiem-actualites-root], .saiem-actualites-page, .saiem-actualite-single, .saiem-actualites-archive))) {
  padding-bottom: 0 !important;
}

@media only screen and (max-width: 767px) {
body#top.saiem-project-view #wrap_all .flex_column.av-7izo6-be0a963d3671d23b7c24f4126cfc9074.av_one_full:has(.saiem-projets) {
    margin-bottom: 0 !important;
  }
}
