/* ========= Family list ========= */
.spaces-content {
  display: flex;
  align-items: stretch;
}

.space,
.space-activity {
  text-align: center;
  width: 100%;
  max-height: 425px;
}

.space a {
  text-decoration: none;
}

.zoom-img {
  overflow: hidden;
  position: relative;
}

figure {
  margin: 0;
}

.space .zoom-img,
.space-activity .zoom-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.space img,
.space-activity img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.zoom-img img {
  transition: all 450ms ease;
  transform: scale(1);
}

.zoom-img:hover img {
  transform: scale(1.1);
}

.space .zoom-img div,
.space-activity .zoom-img div {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.space-activity .zoom-img div.list-activity {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.space .zoom-img h3.h4,
.space-activity .zoom-img h3.h4 {
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1em;
  font-size: 2.75em;
  text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.75);
  font-weight: 700;
  line-height: 0.9em;
  word-wrap: break-word;
  word-break: break-word;
}

figure.zoom-img::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #424547;
  z-index: 1;
  opacity: 0;
  top: 0;
  left: 0;
  transition: opacity 0.4s;
}

figure.zoom-img:hover::before {
  opacity: 0.7;
}

figure.zoom-img::after {
  content: "";
  position: absolute;
  height: 80%;
  width: 32%;
  z-index: 1;
  top: 50%;
  left: 50%;
  background-image: url(/assets/images/frontoffice/custom/design/font-logo-aquapole.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s;
}

figure.zoom-img:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

@media screen and (max-width: 1260px) {
  .spaces-content {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 640px) {
  .spaces-content {
    display: block;
  }
}
@media screen and (max-width: 1260px) {
  .spaces-content .space {
    height: 300px;
    margin-bottom: 20px;
  }
}
/* Filtre activity */
#filtre_activite {
  padding: 20px;
  margin: 0px !important;
}
#filtre_activite label {
  background-color: black;
  font-weight: bold;
  color: white;
}

/* ========= list activity ========= */
.space-activity {
  width: 300px;
  height: 284px;
}

.space-activity .zoom-img h5 {
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1em;
  font-size: 1.25em;
  text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.75);
  font-weight: 700;
  line-height: 0.9em;
  word-wrap: break-word;
  word-break: break-word;
  display: inline-flex;
  justify-content: center;
  background-color: black;
  padding: 10px;
}

a.family-link-image {
  display: block;
  width: 100%;
  height: 530px;
}
a.family-link-image .card {
  border: 0px;
}

.bg-image-family {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  border: 0px;
  transition: all 450ms ease;
  transform: scale(1);
  overflow: hidden;
}
.bg-image-family:hover {
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1); /* Safari 3-8 */
  transform: scale(1.1);
  cursor: pointer;
}

.fondhover {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

@media only screen and (max-width: 1510px) {
  .bg-image-family::after {
    display: none;
  }
}

/*# sourceMappingURL=common.css.map */
