/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/

:root {
  --main-blue-color: #009fe3;
  --main-grey-color: #eeeeee;
  --main-blanc-color: #ffffff;
}

.has_content .the_content_wrapper {
  margin-bottom: 0;
}

.wp-dark-mode-switcher.floating, .wp-dark-mode-side-toggle-wrap.floating {
  bottom: 60px;
}

/* Header */

#menu-principal li a span {
  text-transform: uppercase;
}

#Top_bar .menu > li a:not(.menu-toggle)::after {
  background: var(--main-blue-color);
}

@media only screen and (min-width: 1240px) {
  .menu-line-below-80-1 #Top_bar:not(.is-sticky) .menu > li > a::after {
    height: 3px;
  }
}
@media only screen and (max-width: 767px) {
  .column.mobile-one.tablet-one-fourth.one-fourth:last-of-type
    .mcb-column-inner {
    max-height: 2rem;
  }

  .services-icons__container {
    max-width: 100% !important;
  }
}

/* General */

.underline_title {
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
  margin-left: auto !important;
}

.underline_title::after {
  content: "";
  position: absolute;
  width: 75%;
  height: 1px;
  bottom: 0;
  left: 12.5%;
  border-bottom: 3px solid var(--main-blue-color);
}

.left_border {
  border-left: solid 3px var(--main-blue-color);
  padding-left: 15px;
  padding-top: 0;
}

.left_border h3 {
  text-transform: uppercase;
}

.ta-center {
  text-align: center;
}
.fwbold {
  font-weight: bold;
}
.uppercase {
  text-transform: uppercase;
}

.bleu {
  color: var(--main-blue-color);
}
.blanc {
  color: var(--main-blanc-color);
}

/* About */

.about_image_container {
  padding-right: 5%;
}

.left_border + a {
  margin-left: 15px;
}
/* Footer */

.footer-mentions__list-item {
  font-size: 0.8rem;
  display: inline;
}

.footer-contact__title {
  text-transform: uppercase;
}

.footer-contact__list-item::before,
.iq_info-container .icon::before {
  display: inline-block;
  margin-right: 0.5rem;
}

.footer-contact__list-item {
  display: flex;
}

.marker::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f3c5";
}
.phone::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f095";
  transform: rotate(90deg);
}
.mail::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0e0";
}

.clock::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f017";
}

.widget_archive ul,
.widget_nav_menu ul {
  list-style-type: none;
  padding: 0;
  background: transparent;
}

#menu-footer-1 li a {
  text-transform: uppercase;
  padding: 0;
}

.footer-mentions__list-item a {
  font-size: inherit;
}

.footer-social__list {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
}

.column.mobile-one.tablet-one-fourth.one-fourth:last-of-type {
  height: 100%;
}
.column.mobile-one.tablet-one-fourth.one-fourth:last-of-type .mcb-column-inner {
  height: 14rem;
}
.column.mobile-one.tablet-one-fourth.one-fourth:last-of-type
  .mcb-column-inner
  #block-8 {
  height: 100%;
}

.footer-social__container {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  /* border: solid 1px red; */
}

.footer-social_item svg {
  max-width: 2rem;
}

/* slider */

.header {
  background-color: var(--main-grey-color);
  /* border: solid 1px red; */
  padding: 1rem 0;
  text-align: center;
}

.slider__container {
  margin-bottom: 0 !important;
}

.slider-header__title {
  text-align: center;
  margin: 1rem 0;
  text-transform: uppercase;
  font-weight: 800;
}

.services-icon__container svg {
  max-width: 2rem;
  max-height: 2, 5rem;
}

.services-icon__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  align-items: center;
}

.services-icon__container:hover {
  cursor: pointer;
}

.services-icon__container h4 {
  font-size: 0.8rem;
}

.slide_content__container {
  grid-area: contenu;
  color: inherit;
  width: 50vw;
}

.slide_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-template-areas:
    "visuel contenu"
    "visuel contenu";
}

.service_number {
  font-size: 3rem;
  color: var(--main-blue-color);
  font-weight: 800;
  padding: 1rem;
}

.service_number::before {
  content: "0";
  color: inherit;
  font-weight: inherit;
}

.service_number::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  color: inherit;
  font-weight: inherit;
  margin-right: 5px;
}

.services-icons__container {
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  padding-bottom: 2rem;
  max-width: 50%;
}

.services-icon__container h4 {
  font-size: 0.8rem;
}

.service__visuel {
  /* border:solid 1px red; */
  background-repeat: no-repeat;
  background-size: cover;
  /* min-height: 40vh; */
  display: flex;
  justify-content: end;
  align-items: start;
  grid-area: visuel;
  width: 50vw;
}

.slide-content__container {
  grid-area: contenu;
  background-color: var(--main-blue-color);
  color: white;
  padding: 0 3rem;
  line-height: 1.2rem;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.slide-text__container {
  max-width: 80ch;
  text-align: justify;
}

.slide_content p {
  margin-bottom: 10px;
  text-align: justify;
}

.slide_content ul li {
  color: white;
  text-decoration: none;
}

.slide_content *:last-of-type {
  margin-bottom: 20px;
}
.know_more {
  margin-top: 2rem;
}
.slide-content-title {
  color: inherit;
}
.slide_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "visuel contenu";
}

.service_number {
  font-size: 3rem;
  color: var(--main-blue-color);
  font-weight: 800;
}

.service_number::before {
  content: "0";
  color: inherit;
  font-weight: inherit;
}

.service_number::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  color: inherit;
  background-color: var(--main-blue-color);
  font-weight: inherit;
  margin-right: 5px;
  margin-left: 5px;
}

.bouton {
  border-radius: 15px;
  border: solid 1px;
  padding: 0.4rem 0.8rem;
  margin-top: 1.3rem;
}

.bouton-blanc {
  color: white;
  border-color: white;
}

.services-icon__container:hover {
  cursor: pointer;
}

/* Formations */

.formation_container {
  background: rgba(0, 0, 0, 0.51) url(/wp-content/uploads/2022/03/iq_testimonial_bg.jpg) no-repeat;
  margin-bottom: 0 !important;
} 

.formation-wrapper {
  position:relative;
  z-index: 1;
  
}

.formations_overlay {
  background: rgba(0, 0, 0, 0.51);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 0;

}
.formations_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--main-blanc-color);
  padding:3%

}

.formations_content .slider-header__title.underline_title {
  margin: 2rem auto;
  color: var(--main-blanc-color);
}

/* domaine de compétences */

.domaine_content svg {
  max-width: 1.5rem;
  margin-bottom: -0.7rem;
}

.domaine_container {
  /* background-size: contain; */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.domaines__container {
  margin-left: auto;
  width: 1000px;
  /* max-width: 80%; */
  margin-left: auto;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-template-areas:
    "qualite qualite hygiene securite"
    "qualite qualite environnement rse";
}

.domaine_container {
  width: 245px;
  height: 245px;
  display: flex;
  justify-content: flex-start;
  align-items: end;
}
.domaine_container.qualite {
  width: 490px;
  height: 500px;
}

.domaines_section {
  display: flex;
  justify-content: center;
}

.domaine_content {
  padding: 1rem;
}

.domaine_title {
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0;
}

/**
* Page Présentation
*/

.presentation_bloc_contenu > div {
  max-width: 30ch;
}

.presentation_bloc_contenu h3 {
  text-transform: uppercase;
}

.presentation_bloc_contenu p {
  text-align: justify;
  line-height: 1, 1rem;
}

.darkoverlay {
  position: relative;

  background-image: url(/wp-content/uploads/2022/04/hero_qui_sommes_nous.jpg?id=207) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  z-index: 0;
}

.darkoverlay::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.overlaytext {
  position: relative;
  z-index: 2;
}

.presentation_atouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.presentation_atouts .presentation_atouts_item {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  line-height: 1rem;
}

/* Notre équipe */

.team-member__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-member__container:not(:last-of-type) {
  margin-bottom: 35px;
}

.team-member__pic {
  max-width: 250px;
  max-height: 250px;
  aspect-ratio: 1/1;
}

.team-member__content--container {
  padding: 0 3%;
}

.team-member__content {
  line-height: 1rem;
  text-align: justify;
}

.right {
  flex-direction: row-reverse;
}

.left .team-member__title {
  text-align: left;
}

.right .team-member__title {
  text-align: right;
}

/* Page Contact */

.wpcf7 input.wpcf7-form-control,
.wpcf7 textarea.wpcf7-form-control {
  background-color: #eeeeee;
  border: none;
  border-bottom-color: var(--main-blue-color);
  border-bottom-width: 1px;
  border-bottom-style: outset;
  box-shadow: none;
}

.wpcf7 input.wpcf7-form-control::placeholder,
.wpcf7 textarea.wpcf7-form-control::placeholder {
  color: var(--main-blue-color);
  font-weight: 500;
}

input.wpcf7-form-control.wpcf7-submit {
  float: right;
  background-color: var(--main-blue-color);
  padding: 10px 50px;
}

.gmap .wpb_map_wraper {
  margin-bottom: 0;
}

.info_contact_container {
  text-align: center;
}

/* Page métier */

.selected svg .b,
.services-icon__container:hover .b {
  fill: var(--main-blue-color);
}

.selected h4,
.services-icon__container:hover h4 {
  color: var(--main-blue-color);
}

.qhse__container {
  display: flex;
  flex-direction: row-reverse;
}

.qhse__img {
  width: 50vw;
}

.qhse__content {
  display: flex;
  flex-direction: column;
  align-items: end;
  max-width: 30%;
}

.icon::before {
  display: inline-block;
  margin-right: 0.5rem;
  width: 2rem;
}

.metiers__titre-icon {
  max-width: 2rem;
  margin-right: 1rem;
}

.metiers__titre-icon .b {
  fill: var(--main-blue-color);
}

.metiers__titre {
  display: flex;
  align-items: center;
}

.metiers__titre-heading {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0;
  font-size: 1.4rem;
}

.metier__content {
  text-align: justify;
  line-height: 1.3rem;
}

.metier__content ul {
  margin-top: 1rem;
}

.metier__content br {
  margin-bottom: 1rem;
}

.metier__content p:last-of-type,
.metier__content li:last-of-type {
  margin-bottom: 1.2rem;
}

/* Approche qhse */

.qhse_title {
  text-transform: uppercase;
  padding: 1rem 0.5rem;
}

.qhse__text ul li {
  margin-bottom: 0;
}

.qhse__text {
  text-align: justify;
  padding: 0 1rem;
}

/* Page principale métiers */

.prestations__container .prestation_container {
  display: flex;
}

.prestation_container .prestation--illustration {
  max-width: 30%;
  max-height: 30%;
}

.prestations__container .prestation__content {
  padding: 4% 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: justify;
}

.prestation__titre-icon {
  max-width: 2rem;
  margin-right: 1rem;
}

.prestations__titre {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 0 !important;
}

.prestations__titre .b {
  fill: var(--main-blue-color);
}
.prestations__container .bouton {
  width: auto;
  align-self: flex-start;
}

.prestations__container ul {
  margin-top: 1rem;
}

.row-reverse {
  flex-direction: row-reverse;
}

.prestations__titre-heading {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .slide_container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visuel"
      "contenu";
  }

  .slide_content__container {
    width: 100vw;
  }
  .service__visuel {
    align-items: end;
    width: 100vw;
    height: 30vh;
  }

  .service_number {
    font-size: 3rem;
    padding: 0.8rem;
  }

  .body {
    height: auto !important;
  }

  .about_image_container {
    text-align: center !important;
  }

  .about_image_container img {
    max-width: 60%;
  }

  .domaines__container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-size: cover;
    width: initial;
    height: initial;
  }

  .domaine_container,
  .domaine_container.qualite {
    width: 100%;
    height: 30vh;
  }

  .domaine_container {
    background-size: cover;
    background-position: center;
  }

  .domaine_content svg {
    margin-bottom: 0;
  }

  .domaine_title {
    margin-bottom: 10px;
  }

  .presentation_bloc_contenu > div {
    max-width: 100%;
  }

  .presentation_atouts {
    width: 100%;
  }

  .presentation_atouts .presentation_atouts_item {
    width: 90%;
    margin-left: auto;
  }

  .team-member__container {
    flex-direction: column;
  }

  .left {
    align-items: flex-start;
  }
  .right {
    align-items: flex-end;
  }
  .team-member__content--container {
    padding: 0;
  }

  .team-member__pic {
    max-width: 150px;
    max-height: 150px;
  }

  .info_contact_container {
    text-align: center;
  }
  .qhse__container {
    flex-direction: column;
  }
  .qhse__img,
  .qhse__content {
    width: 100vw;
    max-width: 100vw;
    padding: 5%;
  }

  .services-icon__container h4 {
    font-size: 0.7rem;
    max-width: 13ch;
  }

  .prestations__container .prestation_container {
    flex-direction: column;
    align-items: center;
  }

  .prestations__container .prestation_container:not(:last-of-type) {
    margin-bottom: 3rem;
    padding: 3%;
  }

  .prestations__container .prestations__titre {
    justify-content: center;
  }

  .prestations__container .bouton {
    align-self: flex-end;
  }
  .row-reverse {
    background-color: #eeeeee;
  }
}
