h1.site-logo {
  max-width: 140px;
  float: right;
}

h2 span.text-theme {
  font-weight: 700;
  color: #d4021d;
  background-color: #fff;
  padding: 0 10px 7px 10px;
  border-radius: 2px;
}
h2 span.text-theme img {
  width: 270px;
}

.page-hero-lg .page-title {
  max-width: none;
}
.page-hero-content {
  display: flex;
  align-items: center;
  gap: 15px;
}
.page-hero-content .badge-caue {
  width: 75px;
  height: 75px;
  background: #fff;
  border-radius: 100%;
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.page-hero-content .badge-caue img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 991px) {
  .page-hero-content {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .page-hero-content .badge-caue {
    width: 50px;
    height: 50px;
  }
}
/* Badge CAUE : mobile dans hero, desktop dans sidebar */
@media screen and (min-width: 992px) {
  .badge-caue-mobile {
    display: none;
  }
}
@media screen and (max-width: 991px) {
  .sidebar > .badge-caue-desktop {
    display: none;
  }
}
@media screen and (min-width: 992px) {
  .single-projet .main-elevated .sidebar {
    margin-top: 0;
  }
}
.badge-caue-desktop {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 100%;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.badge-caue-desktop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (min-width: 783px) {
  body.admin-bar .header {
    margin-top: 32px;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar .header {
    margin-top: 46px;
  }
}

.form-filter.sticky {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.flex-auto {
  flex: 1;
}

@media screen and (max-width: 1139px) {
  .main-elevated {
    margin-top: -32px;
  }
}

/* Quand admin bar on rajoute un margin aux sidebar wraps */
@media screen and (max-width: 991px) {
  .page-hero {
    height: 300px !important;
  }
  .main-elevated {
    padding-top: 40px;
    margin-top: 0;
  }

  @media screen and (min-width: 783px) {
    body.admin-bar .sidebar-wrap,
    body.admin-bar .form-filter {
      margin-top: 32px;
    }
  }
  @media screen and (max-width: 782px) {
    body.admin-bar .sidebar-wrap,
    body.admin-bar .form-filter {
      margin-top: 46px;
    }
  }

  .facetwp-checkbox {
  }
  .facetwp-checkbox span::before {
    right: 40px !important;
  }
  .facetwp-checkbox span::after {
    right: 43px !important;
  }

  header.header .container .row .col-xs-12 {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  h1.site-logo {
    max-width: 100px;
    float: none;
  }
  .page-hero .container .row .col-xs-12 .page-hero-content {
    text-align: center;
  }
  .hidden-sm,
  .hidden-md {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .page-hero .container .row .col-xs-12 .page-hero-content h2 {
    font-size: 20px;
  }
  .page-hero .container .row .col-xs-12 .page-hero-content .page-subtitle {
    font-size: 13px;
  }
  h2 span.text-theme img {
    max-width: 180px;
  }
}

.facetwp-checkbox {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e9e9e9;
  line-height: normal;
  padding: 12px 12px 12px 24px;
  margin-bottom: 0 !important;
  background: #ffffff !important;
}

.facetwp-checkbox:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.facetwp-checkbox:last-child {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-width: 2px;
}

.facetwp-checkbox::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background-color: #e9e9e9;
  border-radius: 2px;
  -webkit-transition: background-color 0.18s ease;
  transition: background-color 0.18s ease;
  float: right;
}
.facetwp-checkbox.checked::before {
  background-color: #d4021d;
}

.facetwp-checkbox::after {
  font-family: "FontAwesome";
  content: "\f00c";
  float: right;
  margin-right: -15px;
  margin-top: 3px;
  font-size: 12px;
  color: #fff;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  -webkit-transition: opacity 0.18s ease, -webkit-transform 0.18s ease;
  transition: opacity 0.18s ease, -webkit-transform 0.18s ease;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transition: opacity 0.18s ease, transform 0.18s ease, -webkit-transform 0.18s ease;
}
.facetwp-checkbox.checked::after {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.facetwp-facet {
  margin-bottom: 25px !important;
}

.facetwp-facet-recherche {
  margin-bottom: 0 !important;
}

.widget {
  margin-bottom: 0px;
}

.widget_ci-related-items {
  margin-top: 50px;
}
body .pswp__button--share {
  display: none;
}
.content-wrap {
  overflow: hidden;
}
.entry:first-child img {
  width: 100%;
}
.entry-thumb {
  overflow: hidden;
}
.entry-location a {
  color: #ffffff;
}
.entry-location a:hover {
  text-decoration: underline;
}
.entry-thumb .slick-list {
}
.entry-thumb a {
  margin: 0;
  cursor: zoom-in;
}
.entry:first-child img {
  border-radius: 0;
}
.sidebar {
  -webkit-overflow-scrolling: touch;
}
@media screen and (min-width: 992px) {
  .item-listing:hover .list-item {
    opacity: 0.6;
  }
  .item-listing .list-item:hover {
    transform: scale(1.04) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-box-shadow: 0px 0px 68px 0px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 0px 0px 68px 0px rgba(0, 0, 0, 0.26);
    box-shadow: 0px 0px 68px 0px rgba(0, 0, 0, 0.26);
    z-index: 1000;
    position: relative;
    opacity: 1;
  }
}
.list-item {
  transform: scale(1) translateY(0);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
  position: relative;
  overflow: hidden !important;
}
.list-item .year {
  display: inline-block;
  color: #ffffff;
  background-color: #aaa;
  transform: rotate(45deg);
  padding: 2px 35px;
  position: absolute;
  right: -25px;
  top: 15px;
}
.list-item .badge-caue {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 100%;
  padding: 5px;
  box-sizing: border-box;
}
.list-item .badge-caue img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.list-item .list-item-title {
  margin-bottom: 20px;
  max-width: calc(100% - 25px);
}
.list-item .list-item-title .main_title {
  display: block;
  margin-bottom: 10px;
}
.list-item .flex-container {
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 782px) {
  .list-item .flex-container {
    flex-direction: column;
  }
  .list-item .img-projet {
    margin-bottom: 30px;
  }
}
.list-item .img-projet {
  position: relative;
  flex-grow: 0;
  flex-basis: 120px;
  flex-shrink: 0;
  margin-right: 20px;
}
.list-item .list-item-meta h3 {
  font-size: 20px;
  font-weight: 300;
}
.list-item .list-item-meta p {
  font-size: 14px;
}
.list-item .list-item-meta p:last-child {
  margin-bottom: 0;
}
.list-item .list-item-main-info {
  flex-grow: 1;
  flex-basis: auto;
  flex-shrink: 1;
}
.list-item .list-item-main-info .list-item-title {
  margin-bottom: 10px;
}
.list-item .list-item-tag {
  margin-bottom: 6px;
}
.list-item-tag.item-badge {
  background-color: #aaa !important;
  border: 1px solid #aaa;
  color: #fff;
}
.list-item-tag.item-badge:hover {
  background-color: #ffffff !important;
  color: #aaa !important;
}
.list-item-tag.item-badge.negative {
  background-color: transparent !important;
  border: 1px solid #aaa;
  color: #aaa;
}
.list-item-tag.item-badge.negative:hover {
  color: #ffffff !important;
}
.list-item-tag.item-badge.type.negative {
  border: 1px solid #aaa;
  color: #aaa;
}
.list-item-tag.item-badge.type.negative:hover {
  background-color: #aaa !important;
}
.list-item-tag.item-badge.categorie.negative {
  border: 1px solid #aaa;
  color: #aaa;
}
.list-item-tag.item-badge.categorie.negative:hover {
  background-color: #aaa !important;
}
.list-item-tag.item-badge.nature.negative {
  border: 1px solid #1fbbb4;
  color: #1fbbb4;
}
.list-item-tag.item-badge.nature.negative:hover {
  background-color: #1fbbb4 !important;
}
.list-item-tag.item-badge.posture.negative {
  border: 1px solid #f26d46;
  color: #f26d46;
}
.list-item-tag.item-badge.posture.negative:hover {
  background-color: #f26d46 !important;
}
.list-item-tag.item-badge.commune {
  border: 1px solid #aaaaaa;
  color: #aaaaaa;
}
.list-item-tag.item-badge.commune:hover {
  background-color: #aaaaaa !important;
}

.list-item .selection-concours {
  margin-top: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
}
.list-item .selection-concours h4 {
  margin-bottom: 5px;
}
.list-item .selection-concours .check {
  margin-right: 25px;
}
.list-item .selection-concours .check input {
  margin-right: 5px;
}

.taxo-box {
  padding: 10px 0;
  border-bottom: 1px solid #d4d4d4;
}
.taxo-box:last-child {
  border-bottom: none;
}

.slick-dots li button::before {
  transition: none !important;
  transform: none;
}

.slick-prev:before,
.slick-next:before {
  background-color: rgba(0, 0, 0, 0.5);
}
.slick-prev.slick-arrow {
  left: 25px;
  z-index: 10;
}
.slick-next.slick-arrow {
  right: 25px;
  z-index: 10;
}
button.slick-next.slick-arrow::before,
button.slick-prev.slick-arrow::before {
  animation: none;
  border: 3px solid rgba(0, 0, 0, 0.3);
}

.entry-share-linkedin {
  cursor: pointer;
}
.facetwp-type-fselect .fs-wrap,
.facetwp-type-fselect .fs-dropdown {
  width: 100% !important;
}
.fs-label-wrap {
  width: 100% !important;
  padding: 10px;
  border-radius: 0;
  border: 1px solid #e9e9e9;
  border-radius: 3px;
  padding: 0 !important;
}
.fs-label {
  padding: 15px 0px 15px 20px !important;
}
.fs-search {
  padding: 0 20px !important;
}
.fs-option {
  padding: 13px 10px 13px 30px !important;
}

table.table-condensed {
  font-size: 14px;
}
tr:first-child td,
tr:first-child th {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
tr:nth-child(even) td,
tr:nth-child(even) th {
  background: #f1f1f1;
}

/* Cells in odd rows (1,3,5...) are another (excludes header cells)  */
tr:nth-child(odd) td,
tr:nth-child(odd) th {
  background: #fefefe;
}
.entry-content th:first-child,
.entry-content td:first-child {
  padding: 5px 10px;
}

.entry-content h2 {
  font-weight: 300;
  font-size: 30px;
  background-color: #f7f7f7;
  display: inline-block;
  padding: 5px 12px;
  margin-top: 0;
}
.entry-content h3 {
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 35px;
}
#map-projet {
  background-color: #e8e8e8;
  height: 400px;
}
@media screen and (min-width: 1200px) {
  #map-projet {
    width: calc(100% + 200px);
    margin-left: -100px;
  }
}
@media screen and (min-width: 544px) and (max-width: 1199px) {
  #map-projet {
    width: calc(100% + 100px);
    margin-left: -50px;
  }
}
@media screen and (max-width: 543px) {
  #map-projet {
    width: calc(100% + 30px);
    margin-left: -15px;
  }
}

#map-global {
  background-color: #e8e8e8;
  height: 100vh;
  margin-top: -60px;
  /* z-index: -10; */
  width: calc(100vw - 15px);
  position: absolute;
}
body.admin-bar #map-global.sticky {
  position: fixed;
  top: 0;
  margin-top: 0;
}
@media screen and (min-width: 1200px) {
  #map-global {
  }
}
@media screen and (min-width: 544px) and (max-width: 1199px) {
  #map-global {
  }
}
@media screen and (max-width: 543px) {
  #map-global {
  }
}

@media screen and (min-width: 783px) {
  body.admin-bar #map-global {
    height: calc(100vh - 32px);
  }
  body.admin-bar #map-global.sticky {
    position: fixed;
    top: 32px;
    margin-top: 0;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar #map-global {
    height: calc(100vh - 46px);
  }
  body.admin-bar #map-global.sticky {
    position: fixed;
    top: 46px;
    margin-top: 0;
  }
}

#map-global.sticky {
  position: fixed;
}

.container-global-map {
  z-index: 10;
}
.container-global-map .main-section {
  visibility: hidden;
}
.filters {
  background-color: #f5f5f5;
  padding-top: 24px;
  padding-bottom: 16px;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Pagination  */

.facetwp-pager {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: right;
}
.facetwp-page {
  background-color: #ffffff;
  padding: 5px 12px !important;
  display: inline-block;
}
.facetwp-page:last-child {
  margin-right: 0;
}
.facetwp-page:hover {
  background-color: #d4021d;
  color: #ffffff;
}
.facetwp-page.active {
  background-color: #d4021d;
  color: #ffffff;
}
.facetwp-page.active:hover {
  cursor: no-drop;
}

.facetwp-pager-label {
  background-color: #ffffff;
  padding: 5px 12px !important;
  display: inline-block;
  margin-right: 6px !important;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  filter: alpha(opacity=0);
  opacity: 0;

  line-break: auto;
}
.tooltip.in {
  filter: alpha(opacity=90);
  opacity: 0.9;
}
.tooltip.top {
  padding: 5px 0;
  margin-top: -3px;
}
.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}
.tooltip.bottom {
  padding: 5px 0;
  margin-top: 3px;
}
.tooltip.left {
  padding: 0 5px;
  margin-left: -3px;
}
.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-radius: 4px;
}
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}
.tooltip.top-left .tooltip-arrow {
  right: 5px;
  bottom: 0;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}
.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  left: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}
.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  right: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}
.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  left: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}

.page-hero-lg {
  height: 400px !important;
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
  background-color: #d4021d !important;
}
.fs-wrap.multiple .fs-option .fs-checkbox i {
  width: 18px !important;
  height: 18px !important;
}
.fs-wrap.multiple .fs-checkbox {
  right: 0;
}

.noUi-horizontal {
  height: 4px !important;
}
.noUi-connect {
  box-shadow: none !important;
}
.noUi-target {
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}
.noUi-horizontal .noUi-handle {
  width: 18px !important;
  height: 18px !important;
  right: -18px !important;
}
.noUi-handle {
  border-radius: 9px !important;
}
.noUi-handle:before,
.noUi-handle:after {
  display: none !important;
}
.noUi-handle.noUi-handle-upper {
  margin-right: 16px !important;
}
.noUi-handle.noUi-handle-lower {
}
noUi-origin {
}

.facetwp-facet-aspect_patrimonial .facetwp-checkbox[data-value="0"] {
  display: none;
}

figcaption.copyright {
  text-align: right;
  font-size: 14px;
  margin-bottom: 25px;
}
.entry-thumb {
  margin-bottom: 5px;
}
@media screen and (min-width: 1200px) {
  figcaption.copyright {
    margin-right: -60px;
  }
  .content-wrap.page {
    padding: 40px 80px;
  }
}
@media screen and (min-width: 544px) and (max-width: 1199px) {
  figcaption.copyright {
    margin-right: -20px;
  }
}
@media screen and (max-width: 543px) {
  figcaption.copyright {
    margin-right: -10px;
  }
}
.facetwp-selections ul {
  font-size: 13px;
  padding-left: 0;
  margin-bottom: 20px;
}
.facetwp-selections .facetwp-selection-value {
  background-image: url(../images/icon-close-white.png) !important;
  background-color: #9e9e9e;
  padding: 5px;
  border-radius: 20px;
  padding-right: 20px !important;
  background-position: calc(100% - 5px) center !important;
  padding-left: 8px;
  color: #fff;
}
.list-item .list-item-title a.main_title:hover {
  color: #d4021d !important;
}

footer {
  position: relative;
}

/** CLUSTER MAPS **/
.cluster img {
  display: none;
}

.cluster {
  width: 36px !important;
  height: 36px !important;
}

.cluster div {
  text-align: center;
  font-size: 13px !important;
  color: #fff !important;
  font-weight: 500;
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  background-color: #26c6da;
}

.cluster div:before {
  border: 7px solid #26c6da;
  opacity: 0.2;
  box-shadow: inset 0 0 0 4px #26c6da;
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: cluster-animation 2.5s infinite;
}

.search-input .facetwp-input-wrap {
  width: 100%;
}

@keyframes cluster-animation {
  0%,
  100% {
    transform: scale(1.3) rotate(0deg);
  }
  50% {
    transform: scale(1.5) rotate(90deg);
  }
}
