/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* header */

#bandeau_infos {
  background: var(--secondary);
  color: var(--blanc);
  text-align:center;
  text-transform:uppercase;
  padding: 10px;
}
#bandeau_infos p {
  font-weight:var(--light);
  font-size:var(--fs-bouton);
  font-family:var(--ff-bouton);
  margin: 0;
}

@media(max-width:979px) {
  #close_infos {
    display:none;
  }
}
@media(min-width:980px) {
  #close_infos {
    display:none;
  }
}
#header {
  position: relative;
  z-index: 3;
  width: 100%;
  height: var(--header-height);
  text-transform: uppercase;
}

#header {
  position:sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition:all 0.3s ease;
}
#header[data-stuck] {
    top: 0;
}
.scrolled #header {
  position:fixed;
}
.hide_header #header {
  pointer-events:none;
  transform:translateY(-100%);
}
/* .scrollingUp #header {
  pointer-events: default;
  transform: translateY(0);
} */

#header > div {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
#header .logo {

  position: relative;
  z-index: 80;
}
#header:not(.fond_blanc) .logo > a > img:not(.logo_main),
#header.fond_blanc .logo > a > img.logo_main {
  display: none;
}

/* menu */
#header .menu ul {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
#header .menu .menu-item {
  list-style: none;
}
#menu_sup_top {
  position: relative;
  z-index: 8;
}

@media (max-width: 1199px) {
 #header .logo {
    max-width: 132px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
 #header > div {
    padding-bottom: 0px;
    height: var(--header-height);
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  /* start of menu open */

  body.open #header {
    height: 100vh;
    overflow-y: scroll;
    background-image: url(../images/custom/sigle_blanc_xl.webp);
    background-size: 390px;
    background-position: right -198px bottom -120px;
    background-repeat: no-repeat;
  }
 #header .menu {
    display: none;
  }
 #header .menu_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }

  #menu_top {
    order: -1;
  }
  body.open #header .menu_container {
    padding-top: var(--header-height);
  }
  body.open #header .menu_container .menu {
    margin-top: 2rem;
    display: block;
    width: 100%;
    padding-bottom: 10px;
  }
  body.open #header .fond_primary  .menu_container .menu {
    background: var(--primary);
  }
  
  /* tog menu */
  #togMenu {
    position: absolute;
    width: 20px;
    aspect-ratio: 1/1;
    top: 50%;
    left: 10px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 0;
    cursor: pointer;
  }

  #togMenu.open {
    width: auto;
  }

  #togMenu .burger {
    display: block;
    width: 20px;
    height: 20px;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
  }
  #togMenu .burger:after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    z-index:0;
    background:var(--secondary);
  }
  .burger span {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
    position: absolute;
    z-index:1;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border: 0px solid;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
  }

  #burger span#t1 {
    top: 15%;
  }

  #burger span#t2 {
    top: calc(50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #burger span#t3 {
    bottom: 15%;
  }

  #togMenu.open .burger span {
    width: 19px;
    height: 2px;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
  }

  #togMenu.open #burger span#t1 {
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: translate3d(1px, 6px, 0) rotate(45deg);
  }

  #togMenu.open #burger span#t2 {
    display: none;
  }

  #togMenu.open #burger span#t3 {
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: translate3d(1px, -6px, 0) rotate(-45deg);
  }

  /* end of tog menu */
  /* start of menu mobile */
 #header .menu > ul {
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
    min-height: calc(100% - 5rem - 48px - 5rem - 4rem);
    display: flex;
    flex-direction: column;
  }
 #header .menu a {
    /*! padding-bottom: 1rem; */
    display: block;
    font-size:var(--fs-s);
  }
 #header .menu li {
    max-width:300px;
    position: relative;
  }
 #header .menu a:not(.bouton) {
    max-width:293px;
    padding: 0.6em 0;
  }
 #header .menu a.bouton {
    max-width:276px;
  }
 #header .menu > ul > li:not(:last-child) {
    margin-bottom: 0;
  }
 #header .menu > ul > li {
    padding-bottom:1rem;
  }
 #header .menu-item-has-children {

  }
 #header .menu-item-has-children > a {
    position: relative;
    padding-right: 25px;
    padding-bottom: 1rem;
  }

 #header .menu > ul > li > .sub-menu {
    /*! margin-top: 0.875rem; */
    padding-left: 0.88rem;
    /* display: none; */
    width: 100%;
  }
  /* header .menu > ul > li.open > .sub-menu {
    display: block;
  } */
 #header .menu > ul > li {
    position: relative;
    padding-right: 25px;
    display: flex;
    flex-wrap: wrap;
  }
 #header .menu > ul > li .tog {
    height: 14px;
    padding-top: 0;
    width: 20px;
    margin-right: 5px;
    margin-left: 5px;
    background: url("../images/custom/tog.webp") no-repeat center center / auto;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 0;
    margin: 0.55rem 0 0 0.55rem;
  }
  .menu_with_submenus .submenu-toggle.active {
    transform: rotate(-180deg);
  }
 #header .menu a:hover,
 #header .menu .current-menu-item > a,
 #header .menu .current-menu-parent > a,
 #header .menu .current-menu-ancestor > a {
    color: var(--secondary);
  }
 #header .menu > ul > .current-menu-item > a, #header .menu .current-menu-parent > a, #header .menu .current-menu-ancestor > a {
    padding-left:30px;
    background:url('../images/custom/sigle_or_xs.webp') no-repeat left 10px / auto;
  }



  #menu_sup_top {
    padding-bottom: var(--header-height);
  }
}
/*
@media (min-height: 380px) and (max-width: 1199px) and (max-height: 686px) {
 #header .menu a,
  #menu_top > ul > li.lien-contact a {
    font-size: calc((18 / 568) * (100vh - 55px)) !important;
  }
 #header .menu > ul > li:not(:last-child) {
    margin-bottom: 0.75rem;
  }
 #header .menu-item-has-children > a {
    padding-bottom: 0.75rem;
  }
  .lien-rh {
    margin-top: 0.75rem;
  }
  body.open header .menu_container .menu#menu_sup_top {
    margin-top: 1rem;
  }
}*/


@media (min-width: 1200px) and (max-width: 1279px) {
  .logo img {
    display: block;
    width: 120px;
  }
}
@media (min-width: 1280px) and (max-width: 1599px) {
  .logo img {
    display: block;
    width: 169px;
  }
}
@media (min-width: 1600px) {
  .logo img {
    display: block;
    width: 169px;
  }
}

@media (min-width: 1200px) {

 #header .container {
    margin: 0 auto;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: space-between;
    height: var(--header-height);
    position: relative;
    transition: all 0.4s ease 0.2s;
    padding: 0;
    width:1640px;
    max-width:90%;
  }

  .logo {
    display: flex;
    align-items: center;
    width: 169px;
  }
 #header .logo img {
    transition: all 0.3s ease 0.3s;
  }
 
 #header #togMenu {
    display: none;
  }
 #header .menu {
    transition: opacity 0.4s ease, transform 0.4s ease 0.3s;
  }
 #header .menu_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-left:var(--gap-m);
  }
 #header .menu {
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
    gap: var(--gap);
  }
 #header .menu ul li a {
    font-size:14px;
  }

 #header .menu > ul {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1.88rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: stretch;
    margin: 0;
    text-wrap: balance;
    position: relative;
    z-index: 4;
  }
 #header .menu > ul > li {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    position:relative;
  }
 #header .menu > ul > li.menu-item-has-children > a {
    padding-right: 18px;
  }
  #menu_top > ul > li.menu-item-has-children > a {
    background: url("../images/custom/tog.webp") no-repeat right 1.1rem;
  }
  #menu_sup_top > ul > li.menu-item-has-children > a {
    background: url("../images/custom/tog.webp") no-repeat right 0.4rem;
  }

  #menu_top > ul > li.current-menu-item > a::after {
    content: url('../images/custom/sigle_or_xs.webp');
    display: block;
    position: abolsute;
    position: absolute;
    left: 50%;
    transform: translate3D(-50%, 5px,0);
  }

  #menu_top > ul > li > a {
    display: block;
    padding-top:1em;
    padding-bottom:1em;
  }

 #header .menu > ul > li .sub-menu {
    display: flex;
    position: absolute;
    background: var(--primary-light);
    top: calc(100% - 40px);
    left: 0px;
    /*! min-width: 100%; */
    width: 350px;
    text-wrap: nowrap;
    padding: 0 0 10px 0;
    z-index: 5;
    flex-wrap: wrap;
    align-items: flex-start;
    background:var(--blanc);
    gap: 0px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    border:2px solid var(--primary);
  }

 #header #menu_top > ul > li:hover .sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    transition: all 0.3s ease 0.4s;
  }
 #header #menu_sup_top > ul > li {
    position: relative;
  }
 #header .top-menu > ul > li:hover > a {
    color: var(--secondary);
  }
  #menu_top > ul > li > ul > li {
    width: 100%;
    margin:0;
    text-wrap: wrap;
  }
 #header .sub-menu a {
    color: var(--primary);
    display: block;
    padding: 10px 10px 0 10px;
  }

 #header .menu a:hover,
 #header .menu .current-menu-item > a,
 #header .menu .current-menu-parent > a,
 #header .menu .current-menu-ancestor > a,
 #header .menu .sub-menu a:hover,
 #header .menu .sub-menu .current-menu-item > a {
    color: var(--secondary);
  }
}


/* footer */

.section_footer {
  overflow: hidden;
  padding:0;
}
@media (max-width: 979px) {
  #site-footer .container {
    max-width: 100%;
    width: 100%;
  }
}
@media(max-width:1199px) {
  .footer_logo img {
    width:176px;
  }
}
@media (min-width: 980px) and (max-width: 1349px) {
  #site-footer .container {
    max-width: 95%;
  }
}
@media (max-width: 1349px) {
  #site-footer .container {
    padding: var(--gap);
  }
}
@media (min-width: 1350px) {
  #site-footer .container {
    padding: 3.12rem 3.81rem;
  }
}

.footer_logo {
}

.footer p {
  font-size:var(--fs-s);
  line-height:2;
}
.footer p strong {
  color:var(--secondary);
}

.adresse_footer p,
.horaires_footer p {
  margin-top:0;
  transform:translateY(-0.75em);
}
.footer .footer_socials p {
  font-size:30px;
  line-height:100%;
  font-family:var(--ff-titres);
}


@media(min-width:1200px) {
  .footer .footer_socials p {
    text-align:center;
  }
  .liens_sociaux {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

}


.liens_sociaux {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.liens_sociaux a {
  height: 57px;
  width: 57px;
  font-size: 0;
  display: block;
  border-radius: 3px;
  padding: 3px;
  transition:var(--ease);
  background-color: rgba(0,0,0,0);
  background-repeat:no-repeat;
  background-position: center;
  background-size: contain;
  border-radius:50%;
}
.facebook_footer {
  background-image: url("../images/custom/facebook.webp");
}
.instagram_footer {
  background-image: url("../images/custom/instagram.webp");
}
.linkedin_footer {
  background-image: url("../images/custom/linkedin.webp");
}
.youtube_footer {
  background-image: url("../images/custom/youtube.webp");
}
.liens_sociaux a:hover {
  transform:rotate(360deg);
}

.col_horaires {
  padding-left:var(--gap-s);
  border-left:1px solid var(--blanc);
}
.col_contact {
  padding-left:var(--gap-s);
  border-left:1px solid var(--blanc);
}
@media(min-width:640px) {
  .col_horaires {
    padding-left:var(--gap-s);
    border-left:1px solid var(--blanc);
  }
}
@media(min-width:980px) {
  .col_contact {
    padding-left:var(--gap-s);
    border-left:1px solid var(--blanc);
  }
}

@media(min-width:980px) and (max-width:1439px) {
  #site-footer .colonne_1  {
    width:66%;
  }
  #site-footer .colonne_2  {
    width:30%;
  }
  #site-footer .footer_socials {
    width:100%;
  }
}

/* subfooter */
#sub_footer {
  position: relative;
  z-index: 1;
}
#sub_footer > nav {
  width: 100%;
  padding: 0.62rem 1.25rem;
  gap: 1rem;
}
#sub_footer_menu {
  margin: 0;
  padding: 0;
}

#sub_footer_menu > li {
  list-style-type: none;
}
#sub_footer_menu li a {
  font-size: var(--fs-s);
  padding:1em;
}
@media (max-width: 979px) {
  #sub_footer_menu > li {
    width:100%;
    text-align:left;
    margin:10px 0
  }
}

@media (min-width: 980px) {
  #sub_footer > nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}
