@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* placeholder: proportions vidéo youtube responsive */
/* placeholder : width de 100vw */
/* changer delay selon position dans la liste*/
/* changer width selon position dans la liste */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* placeholder: proportions vidéo youtube responsive */
/* placeholder : width de 100vw */
/* changer delay selon position dans la liste*/
/* changer width selon position dans la liste */
.view-produits .view-content {
  width: calc(100% - 40px);
  max-width: 1500px;
  margin: 0 auto;
}

.view-produits .view-content .views-row a.product-card .body-card span {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  color: #214570;
  text-decoration: none;
  padding: 0px 20px;
  height: 35px;
  line-height: 33px;
  border: 1px solid #214570;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.view-produits .view-content .views-row a.product-card .body-card span:after {
  content: "";
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(35px);
  transform-origin: bottom center;
  background-color: #214570;
  z-index: -1;
  transition: transform 0.3s ease;
}
.view-produits .view-content .views-row a.product-card .body-card span:hover {
  color: #fff;
}
.view-produits .view-content .views-row a.product-card .body-card span:hover:after {
  transform: translateY(0px);
}

@media only screen and (min-width: 1200px) {
  .view-produits .view-content .views-row a.product-card .body-card span {
    font-size: 1.125rem;
  }
  .view-produits .view-content {
    width: calc(100% - 80px);
  }
}
.view-produits {
  padding: 0px 0 55px;
}
.view-produits .view-content {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.view-produits .view-content .views-row {
  width: 100%;
  background-color: #f6f6f6;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}
.view-produits .view-content .views-row a.product-card {
  display: block;
  text-decoration: none;
  padding-bottom: 60px;
}
.view-produits .view-content .views-row a.product-card .body-card {
  padding: 20px 20px;
}
.view-produits .view-content .views-row a.product-card .body-card h2 {
  font-size: 1.35rem;
  text-align: center;
  color: #3082D6;
}
.view-produits .view-content .views-row a.product-card .body-card p {
  font-size: 1rem;
  text-align: center;
}
.view-produits .view-content .views-row a.product-card .body-card span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
}
.view-produits .view-content .views-row:hover {
  transform: translateY(-20px);
}
.view-produits .view-content .views-row:hover a.product-card .body-card span {
  color: #fff;
}
.view-produits .view-content .views-row:hover a.product-card .body-card span:after {
  transform: translateY(0px);
}

body.page-node-type-products .view-produits {
  padding: 55px 0 55px;
  background-color: #fff;
}
body.page-node-type-products .view-produits .view-content {
  justify-content: center;
}
body.page-node-type-products .view-produits .view-content .views-row {
  margin: 0 0 30px 0;
}

@media only screen and (min-width: 1024px) {
  .view-produits .view-content {
    flex-direction: row;
  }
  .view-produits .view-content .views-row {
    width: calc(33% - 10px);
    margin-bottom: 0;
  }
  .view-produits .view-content .views-row a.product-card .body-card {
    padding: 20px 40px;
  }
  body.page-node-type-products .view-produits .view-content .views-row {
    margin: 0 10px;
  }
}
@media only screen and (min-width: 1200px) {
  .view-produits {
    padding: 20px 0 75px;
  }
  .view-produits .view-content .views-row {
    width: calc(33% - 20px);
  }
  .view-produits .view-content .views-row a.product-card .body-card h2 {
    font-size: 1.5625rem;
  }
  body.page-node-type-products .view-produits {
    padding: 75px 0 75px;
  }
  body.page-node-type-products .view-produits .view-content .views-row {
    margin: 0 10px;
  }
}