#filter{
  max-width: 500px;
  margin: 0 auto;
}

#awselect_filter-select .bg{
  border-radius: 5px;
}

#awselect_filter-select ul{
  padding: 0 !important;
  margin: 0;
}

#awselect_filter-select ul li{
  margin: 0;
}

#awselect_filter-select ul li:before{
  display: none;
}

#awselect_filter-select ul li a{
  color: inherit !important;
}

.clear{
  clear: both;
}

#project{
  transition: .3s;
  margin: 20px auto;
}

#project .grid{
  display: flex;
  flex-wrap: wrap;
  transition: .5s;
}

#project .grid-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;

}

#project .title-photo{
  background: #0007;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  position: absolute;
  height: calc(100% - .50rem);
  width: calc(100% - .50rem);
  margin : .25rem;
  opacity: 0;
  transition: .5s;
  top:0;
  left: 0;
}

#project .title-photo p{
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  user-select: none;
  text-align: center;
}

#project .grid-item:hover .title-photo{
  opacity: 1;
}

#project .grid-item:hover .title-photo:hover{
  text-decoration: none;  
}

@media (max-width: 768px){
  #project .title-photo p{
    font-size: 12px;
  }
}


:root {
  --axo_module_maincolor: var(--primary);
  --axo_module_secondcolor: var(--second);
  --axonews_colorborder: #ededed;
  --axonews_colortitle: #3f3f3f;
  --axonews_backcolor: #fff;
  --axonews_shadowcolor: rgba(17, 12, 46, 0.1);
  --axonews_whitegradient: linear-gradient(0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 25%,
      rgba(255, 255, 255, 0.33) 100%);
}

/* Variable de couleurs version dark */

.axo-proj_container.dark-module {
  --axonews_colorborder: rgba(255, 255, 255, 0.15);
  --axonews_colortitle: rgba(255, 255, 255, 0.95);
  --axonews_colortxt: rgba(255, 255, 255, 0.9);
  --axonews_backcolor: rgba(0, 0, 0, 0.3);
  --axonews_shadowcolor: rgba(255, 255, 255, 0.05);
  --axonews_whitegradient: linear-gradient(0deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.4) 25%,
      rgba(0, 0, 0, 0) 100%);
}


/* Style des projalités */

.axo-proj_container {
  width: 1440px;
  max-width: 100%;
}

/* Grille projets */
.axo-proj_list .axo-proj_card {
  margin: 15px auto;
}

.axo-proj_card a {
  display: block;
  position: relative;
  color: var(--axofilter2_colortitle);
  border: 1.5px solid rgba(0, 0, 0, 0);
  box-shadow: var(--axofilter2_shadowcolor) 0 48px 100px 0;
  background: var(--axofilter2_backcolor);
  transition: .4s;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
}

.axo-proj_container.dark-module .axo-proj_card a {
  border-color: var(--axofilter2_colorborder);
}

.axo-proj_card a:hover {
  box-shadow: 0 0 40px 3px rgba(0, 0, 0, 0);
  border-color: var(--axofilter2_colorborder);
}

.axo-proj_card a:hover .axo-proj_cta {
  opacity: 1;
  padding: 18px 10px;
}

.axo-proj_card a:hover .axo-proj_date {
  background: var(--axo_module_secondcolor);
}

.axo-proj_media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 340px;
  border-bottom: 1px solid var(--axofilter2_colorborder);
  margin: 0px auto;
}

.axo-proj_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  display: block;
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}

.axo-proj_media:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  background: #000000;
  opacity: 0.5;
  transition: all 0.4s;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.axo-proj_card a:hover .axo-proj_media:before {
  opacity: 0.8;
}

.axo-proj_card a:hover .axo-proj_media img {
  transform: scale(1.1);
}

.axo-proj_date {
  text-transform: uppercase;
  transition: .4s;
  display: inline-block;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 10px;
  color: #fff;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 5px 15px;
  border-radius: 7.5px;
  box-shadow: rgba(50, 50, 93, .25) 0 50px 100px -20px, rgba(0, 0, 0, .3) 0 30px 60px -30px;
}

.axo-proj_body {
  padding: 20px 15px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.axo-proj_title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.axo-proj_cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--axofilter2_chipbg);
}

.axo-proj_cta {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  border-top: 1.5px solid var(--axofilter2_colorborder);
  background: var(--axofilter2_backcolor);
  color: var(--axofilter2_colortitle);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 10px;
  font-weight: 700;
  opacity: 0;
  text-align: center;
  transition: .4s;
}

.axo-proj_cta:hover {
  background: var(--axo_module_maincolor);
  color: #fff;
  border-color: transparent;
}

/* Taille du container des modules */
.axo_module {
  width: 1440px;
  max-width: 100%;
  margin: 50px auto;
}

/* Personnalisation SLICK SLIDER */
.axo_module-slide-style {
  margin-bottom: 25px;
}

.axo_module-slide-style .slick-prev,
.axo_module-slide-style .slick-next {
  position: absolute;
  transition: all 0.4s;
  top: 50%;
  border-radius: 5px;
  z-index: 99;
  background: var(--axo_module_maincolor);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.axo_module-slide-style .slick-prev:hover,
.axo_module-slide-style .slick-next:focus,
.axo_module-slide-style .slick-prev:focus,
.axo_module-slide-style .slick-next:hover {
  background: var(--axo_module_secondcolor);
}

.axo_module-slide-style .slick-prev {
  left: -15px;
}

.axo_module-slide-style .slick-next {
  right: -15px;
}

.axo_module-slide-style .slick-dots li {
  padding: 0px;
  width: 40px;
  height: 5px;
  transition: all 0.4s;
}

.axo_module-slide-style .slick-dots li button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.axo_module-slide-style .slick-prev:before {
  font-family: "Font Awesome 5 Free";
  font-size: 13px;
  font-weight: 900;
  content: "\f053" !important;
}

.axo_module-slide-style .slick-next:before {
  font-family: "Font Awesome 5 Free";
  font-size: 13px;
  font-weight: 900;
  content: "\f054" !important;
}

.axo_module-slide-style .slick-dots li button:before {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.axo_module-slide-style .slick-dots li button:before {
  background: var(--primary);
  transition: all 0.4s;
  content: '' !important;
  display: block;
  width: 100% !important;
  border-radius: 3px;
  height: 100% !important;
  opacity: 1 !important;
}

.axo_module-slide-style .slick-dots li.slick-active button:before {
  background: var(--second);
}

.axo_module-slide-style .slick-dots li.slick-active {
  width: 20px;
}

.axo_module-slide-style a {
  outline: none;
  text-decoration: none;
}

/* Responsive */

@media (max-width: 991px) {
  .axo-proj_list .axo-proj_contenu {
    height: 240px;
  }

  .axo-proj_list .axo-proj_contenu .axo-proj_titre {
    font-size: 18px;
  }

  .axo-proj_list .axo-proj_contenu p {
    font-size: 14px;
  }

  .axo-proj_list .axo-proj_link {
    font-size: 10.5px;
  }

  .axo-proj_list .axo-proj_date,
  .axo-proj_lastnews .axo-proj_date {
    font-size: 9px;
  }

  .axo_module-slide-style .slick-dots li {
    width: 20px;
  }

  .axo_module-slide-style .slick-dots li.slick-active {
    width: 10px;
  }
}