.entry-header {
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.with-image .entry-header {
  padding-bottom: 3rem;
  padding-top: 2rem;
}


.with-image .entry-header,
.with-image .entry-title,
.with-image .entry-header a,
.with-image .entry-header #breadcrumbs a,
.with-image .entry-header #breadcrumbs span span::after,
.has-post-thumbnail:not(.type-post) .entry-title,
.has-post-thumbnail:not(.type-post) .entry-header,
.has-post-thumbnail:not(.type-post) .entry-header a{
  color: #FFFFFF;
}

.entry-header--bg {
  height: 20vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.entry-header--bg #breadcrumbs span span::after {
  color: var(--orange);
}

.entry-header--bg > img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  min-width: 100%;
  min-height: 50%;
}

.entry-header--title {
  position: relative;
  z-index: 3;
  margin-bottom: 2rem;
}

.with-image .entry-header::before {
  content:"";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0,0,0,0.4);
}

.entry-title {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

@media screen and(min-width: 992px) {
  .entry-title {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
  }
}

/*STANDARDS GUTENBERG*/
.wp-block-button__link {
  border-radius: 4px;
  padding: calc(.567em + 2px) calc(1.533em + 2px);
  font-weight: 600;
}

.wp-block-media-text {
  padding-bottom: 4vw;
  padding-top: 4vw;
}

.wp-block-cover {
  margin-top: 3vw;
  margin-bottom: 3vw;
}

/*BLOC CTA*/
.bloc-cta {
  background-color: var(--orange);
  color: var(--white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cta-text {
  font-weight: 300;
}

.cta-button {
  white-space: nowrap;
}

/*SLIDER ACCUEIL*/
.home-swiper {
  position: relative;
  margin-bottom: 2rem;
}
.home-swiper-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  height: 350px;
}

@media screen and (min-width: 992px) {
  .home-swiper-content {
    height: 35vw;
  }
}

@media screen and (min-width: 1200px) {
  .home-swiper-content {
    height: 28vw;
  }
}

.home-swiper-image {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.home-swiper .slider-title {
  font-weight: bold;
  font-size: 2rem;
  color: #FFFFFF;
}

.home-swiper-image::after {
  content:"";
  display: block;
  background: rgba(0,0,0,0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-image {
  height: 100%;
  display: flex;
}

.slider-image img {
  object-fit: cover;
}

.slider-content {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

@media screen and (min-width: 992px) {
  .slider-content .wrapper {
    width: 60%;
  }
  .home-swiper .slider-title {
    font-weight: bold;
    font-size: 2.5rem;
    color: #FFFFFF;
  }
}

.home-swiper .swiper-button-prev, .home-swiper .swiper-button-next {
  color: var(--black);
  background: rgba(255,255,255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.home-swiper .swiper-button-prev::after, .home-swiper .swiper-button-next::after {
  font-size: 1rem;
}

.slider-image img {
  object-fit: cover;
}

.bloc-values--icon {
  height: 100%;
}
.bloc-values--icon img {
  height: 70px;
  width: auto;
  margin: 1rem;
}

.bloc-values--title {
  font-size: 26px;
}

/*HOME PRODUCTS*/
.home-swiper-products .swiper-slide {
  height: auto;
  padding-bottom: 2px;
  padding-top: 2px;
}

.home-swiper-formations:not(.swiper-initialized) {
  display: flex;
}

@media screen and (min-width: 992px) {
  .home-swiper-formations:not(.swiper-initialized) .swiper-slide {
    width: calc(25% - 2rem);
    margin: 1rem;
  }
}

.home-formations--intervenant {
  font-size: .9rem;
}

.home-formations--image {
  background: #FFFFFF;
  padding: 0 8%;
}

.home-formations--infos img {
  width: 100px;
}

.home-formations--image a {
  position: relative;
  padding: 0 0 75% 0;
  display: block;
}

.home-formations--image img {
  display: inline-block;
  margin: auto;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bloc-formations .accroche {
  max-width: 800px;
  margin: auto;
}

@media screen and (min-width: 992px) {
  .home-formation--el:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.home-formations--content {
  background: #FAFAFA;
  padding: 2rem;
}

@media screen and (min-width: 992px) {
  .home-formations--content {
    background: #FAFAFA;
    padding: 3rem 4rem;
  }
}

.formation-el {
  height: calc(100% - 2rem);
}

/*COMMENTS*/
.comments-area {
  background: #E4E4E4;
  padding: 3rem;
  margin-top: 3rem;
  clear: both;
}

.comment-respond {
  max-width: 1024px;
  margin: auto;
}

/*NEWS*/
.single .entry-content, .single .entry-footer {
  margin-right: auto;
  margin-left: auto;
}

/*HOME NEWS*/
.home-news--image {
  background: #ECECEC;
  text-align: center;
}

.home-news--image img {
  display: inline-block;
  margin: auto;
  /* transform: translateY(-40px); */
  border-radius: 20px;
  max-width: 70%;
}

.home-news--content {
  background: #FAFAFA;
  padding: 2rem;
}

@media screen and (min-width: 992px) {
  .home-news--content {
    background: #FAFAFA;
    padding: 3rem 4rem;
  }
}

.home-news--content .post-categories {
  margin: 0;
  list-style: none;
  padding-left: 0;
}
.home-news--content .post-categories a {
  padding: .5rem 1rem .5rem 0;
}

/*TEAM SWIPER*/
.team-swiper .swiper-slide {
  padding: 1rem;
  margin-bottom: 1rem;
}


@media (min-width: 768px) {
  .team-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
  }
  .team-swiper:not(.swiper-initialized) .swiper-slide  {
    /* upping it to a 3 column layout */
    width: calc(50% - 2rem);
  }
  .team-swiper .swiper-pagination {
    display: none;
  }
}

@media (min-width: 992px) {
  .team-swiper:not(.swiper-initialized) .swiper-slide  {
    /* and finally the 4 column layout */
    width: calc(33.3333% - 2rem);
  }
}

@media (min-width: 1200px) {
  .team-swiper:not(.swiper-initialized) .swiper-slide  {
    /* and finally the 4 column layout */
    width: calc(16.66% - 2rem);

  }
  .team-swiper:not(.swiper-initialized) .swiper-wrapper {
    flex-wrap: wrap;
  }
}


.team-member--image {
  background: transparent;
  width: 150px;
  height: 150px;
  margin: 0.5rem auto;
  overflow: hidden;
}

.team-member a {
  text-decoration: none;
}

/*NEWS*/
.card-news {
  background: #FFFFFF;
  border: 0;
  margin-top: 3rem;
}

.card-news--image {
  background: #FFFFFF;
  padding: 0 8%;
}

.card-news--body {
  background: #FAFAFA;
}


/*TEAM*/

.team-member .card-team--tel {
  height: 30px;
}
.team-member .card-team--tel a {
  display: none;
}

.team-member:hover .card-team--tel a {
  display: block;
}

@media screen and (min-width: 1200px) {
  .team-list .swiper-slide {
    width: 16.6667% !important;
  }
}


/*KEY FIGURES*/

.key-figures--el {
  padding: 1rem 1vw;
}

@media screen and (min-width: 992px) {
  .key-figures--el {
    border-right: solid 1px rgba(255,255,255,0.5);
  }

  .key-figures--el:last-child {
    border-right: none;
  }
}

/*BLOC SECTORS*/
.sector-list--region-name {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: solid 1px var(--grey-light);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.sector-list--region-name .sector-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 1rem;
  background: var(--orange);
}
.sector-list--commercial {
  height: 0;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.sector-list--commercial .btn {
  padding: .5rem 1rem;
}

.sector-list--portrait {
  overflow: hidden;
  width: 80px;
  height: 80px;
  margin: .5rem .5rem .5rem 0;
}


.sector-list--region.is-active .sector-list--commercial{
  opacity: 1;
  height: auto;
}
.sector-list--region.is-active .sector-list--region-name .chevron{
  top: 0.45em;
  transform: rotate(180deg);
}

/*BLOC CONTACT*/
@media screen and (min-width: 992px) {
  .bloc-contact .frm_forms {
    margin-right: 3rem;
  }
}

.product-specs--content {
  border-top: solid 1px var(--grey-medium);
}

.contact-services {
  margin: 1.5rem 0;
}

.contact-services p {
  margin: .5rem 0;
}

/*RESSOURCES*/
.filter-form {
  display: flex;
  justify-content: flex-start;
}
.filter-form input[type="text"] {
  width: 350px;
  border-radius: 30px 0 0 30px;


  border-left: solid 1px var(--orange);
  border-top: solid 1px var(--orange);
  border-bottom: solid 1px var(--orange);
}

.filter-form .btn-search {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
  margin-left: -1px;
}

.ressources-card-list {
  padding: 0;
  margin: 1rem 0;
  list-style: none;

}
.ressources-card-list a {
  text-decoration: none;
}

/*SIDEBAR*/
.sidebar-cat {
  padding: 2rem ;
  background: #FDEDDB;
}

/*MEDIA TEXT*/
.wp-block-media-text__media{
  padding: 0 8%;
}

.wp-block-media-text__media img {
  border-radius: 0;
}
/*BLOCK IMAGE*/
/*.wp-block-image img {
  border-radius: 30px;
}*/

/*LIST STYLE*/
.wp-block-group__inner-container ul {
  margin-left: 0;
}

/*BLOCK STANDARDS Woocommerce*/
.wc-block-grid .wc-block-grid__products {
  padding: 3rem 0;
  margin-left: -1rem;
  margin-right: -1rem;
}

.wc-block-grid.has-4-columns .wc-block-grid__products .wc-block-grid__product {
  width: calc(25% - 2rem);
  max-width: calc(25% - 2rem);
}

.wc-block-grid .wc-block-grid__products .wc-block-grid__product {
  margin: 1rem;
  padding: 1rem;
  border: solid 1px var(--grey-medium);
  border-radius: 4px;
}

.wc-block-grid .wc-block-grid__product-price {
  color: var(--orange);
  font-size: 1.2rem;
  padding-top: 1rem;
}

.wc-block-grid .wc-block-grid__product-title {
  color: var(--grey-dark);
  font-size: 1rem;
  text-decoration: none;
}

.wc-block-grid .wc-block-grid__product-link {
  text-decoration: none;
}

.wp-block-column ul {
  margin: 1rem 0;
}

/*SHOP CAT*/
.shop-cat a {
  text-decoration: none;
}
.shop-cat a:hover {
  color: var(--orange);
}

/*BLOCK DETAIL*/
.wp-block-details {
  padding: 0 !important;
  margin-bottom: 0;
  margin-top: 0;
}
.entry-content .wp-block-details:last-of-type {
  margin-bottom: 1.5rem;
}

.wp-block-details p {
  padding: 1rem;
}

.wp-block-details ul {
  margin-left: 1rem;
  margin-top: 1rem;
}

.wp-block-details summary {
  border-top: solid 1px var(--grey-light);
  color: var(--grey);
  padding: 1rem;
  font-family: "dinprobold";
  font-size: 1.2rem;
  margin-bottom: 0;
  position: relative;
}

.wp-block-details summary::after {
  display: inline-block;
  position: absolute;
  right: 1rem;
  content: "\f107";
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wp-block-details summary::before {
  content:"";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 1rem;
  background: var(--orange);
}


.wp-block-details summary::marker {
  content:"";
}


.wp-block-details[open] summary, .wp-block-details summary:hover {
  color: var(--orange);
}

.wp-block-details[open] {
  border: solid 1px var(--grey-medium);
  border-top-color: transparent;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.wp-block-details[open] summary::after {
  content: "\f106";
}

.ressources-el a{
  text-decoration: none;
}

/*SEARCH*/
.search-results .wps_add_to_cart .add_to_cart_button {
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  padding: 0;
  background: inherit;
  visibility: visible;
  text-align: center;

}


.search-results .wps_add_to_cart .add_to_cart_button .icon-cart {
  font-size: 1.5rem;
  color: var(--orange);
  background: inherit;
}

.search-results .wps_add_to_cart .add_to_cart_button:hover {
  background: inherit;
}

.search-results .wps_add_to_cart .add_to_cart_button:hover .icon-cart  {
  color: var(--grey-dark);
}

.search-results .product-info {
  display: flex;
  justify-content: space-between;
}

/*BLOCK QUERY*/
.wp-block-query ul {
  margin: 3rem 0;
}

.wp-block-query ul li {
  padding: 1rem;
  margin-bottom: 1rem;
  border: solid 1px var(--grey-medium);
}

.wp-block-query ul.columns-4 {
  gap: 2rem;
}

/*CARD FORMATION*/
.card-formation {
  height: 100%;
  display: flex;

}

.card-formation--wrapper {
  height: 100%;
}

.card-formation hr{
  margin-bottom: 1rem;
}

.card-formation--title {
  text-decoration: none;
  color: var(--black);
  font-size: 1.3rem;

}

.card-formation .card-header {
  border-bottom: 0;
  padding: 0 0 50% 0;
  position: relative;
  overflow: hidden;
}

.card-formation .card-header img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.card-formation .card-content {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 30px;
  padding: 1rem 0.7rem;
  line-height: 1.3;
  font-size: 1rem;
}

.card-formation .card-content p {
  margin-bottom: 0;
}

.card-formation--more-link {
  text-decoration: none;
  text-align: right;
}

.formation-info {
  margin: .5rem 0;
}

/*GALLERY*/
.wp-block-gallery.has-nested-images {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.wp-block-gallery.has-nested-images figure.wp-block-image{
  padding: 1rem;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
  width: inherit;
}

/*HOME PARTNERS*/
.home-partners {
  border-bottom: solid 1px #00000012;
}

/*BLOCK EMBED*/
.wp-block-embed {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.home-swiper-formations .swiper-wrapper {
  display: flex;
}

.home-swiper-formations .swiper-wrapper .swiper-slide {
  height: auto;
}

.home-swiper-formations .swiper-pagination-bullet-active {
  background: var(--orange);
}

/*wp-block-buttons*/
.wp-block-buttons .wp-block-button {
  margin: auto;
}

@media screen and (min-width: 768px) {
  .wp-block-buttons:not(.is-content-justification-center) .wp-block-button {
    margin-left: 0;
  }
}

.entry-content > .wp-block-list {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.entry-header--with-bg .media-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  width: 100%;
  left: 0;
  overflow: hidden;
}

.entry-header--with-bg .media-bg video {
  width: 100%;
}

.entry-header--with-bg .media-bg::before {
  display: block;
  content: "";
  background: rgba(0,0,0,0.4);
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.entry-header--with-bg {
  height: 20vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

#breadcrumbs span span::after {
  color: var(--grey);
  z-index: 2;
  position: relative;
}

.entry-header--with-bg .entry-title,
.entry-header--with-bg #breadcrumbs a,
.entry-header--with-bg #breadcrumbs {
  color: #FFFFFF;
  z-index: 2;
  position: relative;
}

.entry-header--with-bg #breadcrumbs span span::after {
  color: var(--orange);
}

.page-template-page-actualites .list-news {
  position: relative;
  z-index: 3;
}

.navigation.post-navigation {
  position: relative;
  z-index: 3;
}

