/*
Theme Name: Binaume from Avada
Description: Binaume Child theme for Avada theme
Author: Tuatam
Author URI: https://tuatam.fr
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap'); */

:root {
  --color-primary: #f9ac2f;
  --color-secondary: #00656e;
  --color-tertiary: #7bc4c4;
  --color-quaternary: #cfe09d;
  --color-quinary: #33393b;

  --jaune: #f9ac2f;
  --vert: #00656e;
  --cyan: #7bc4c4;
  --vert_clair: #cfe09d;
  --gris_fonce: #33393b;
  --beige: #fffdf4;
}

*:not(:before):not(:after) {
  font-family: 'Noto Sans', serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: 'wdth' 100;
  background-color: bleu;
}

.jaune {
  color: var(--jaune);
}
.vert {
  color: var(--vert);
}
.cyan {
  color: var(--cyan);
}
.vert_clair {
  color: var(--vert_clair);
}
.gris_fonce {
  color: var(--gris_fonce);
}
.beige {
  color: vr(--beige);
}

.aspect-square {
  aspect-ratio: 1/1;
}

.binaume-timeline-item {
  position: relative;
}
.binaume-timeline-item a {
  color: var(--jaune) !important;
  text-decoration: none;
}

.binaume-timeline-item:last-child:after {
  content: '';
  background-color: white;
  width: 10px;
  height: 50%;
  bottom: 0px;
  position: absolute;
}
.binaume-timeline-item:nth-last-child(odd):after {
  left: -5px;
}
.binaume-timeline-item:nth-last-child(even):after {
  right: -5px;
}

h2,
h3 {
  font-weight: 600;
}

h1 {
  text-wrap: balance;
  font-weight: 400;
}

bold,
strong {
  font-weight: 600 !important;
}

a {
  color: inherit !important;
}

.post-card .fusion-title-heading {
  font-weight: 600 !important;
  line-height: normal !important;
}
.post-card .fusion-image-element {
  aspect-ratio: 3 / 4;
  visibility: hidden;
  z-index: -1;
}

.home-cover-bloc {
  max-width: 1000px;
}

.fusion-footer a {
  text-decoration: none !important;
}
.fusion-footer a:hover {
  text-decoration: underline !important;
}

.footer-legals a:hover {
  color: white;
}

.fusion-button-text {
  white-space: nowrap;
}

.section-timeline .fusion-builder-row {
  max-width: 600px;
  display: flex;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
}
#content .fusion-text {
  font-size: 1.125rem;
}

.fusion-filters {
  color: var(--color-secondary);
}

#main-header {
}

.avada-main-menu .menu-item a {
  font-weight: 500;
  color: inherit !important;
}
/* body.home .fusion-tb-header > header,
body.page-slug-contact .fusion-tb-header > header {
  background-color: var(--beige);
} */
body.home
  .avada-main-menu
  .awb-menu__main-li_regular.current-menu-item
  .awb-menu__main-a_regular {
  color: inherit !important;
}

body:not(.home)
  .avada-main-menu
  .awb-menu__main-li_regular.current-menu-item
  .awb-menu__main-a_regular {
  color: var(--color-secondary);
  /* text-decoration: underline; */
  /* text-shadow: 1px 0 0 currentColor; */
}

.avada-main-menu .awb-menu__main-li_regular .awb-menu__main-a_regular {
  transition: all 0.3s ease-out;
}

body
  .fusion-tb-header
  .avada-main-menu
  .awb-menu__main-li_regular:hover
  .awb-menu__main-a_regular,
body
  .fusion-tb-header
  .avada-main-menu
  .awb-menu__main-li_regular:focus
  .awb-menu__main-a_regular,
body
  .fusion-tb-header
  .avada-main-menu
  .awb-menu__main-li_regular:active
  .awb-menu__main-a_regular {
  /* color: inherit !important; */
  color: var(--color-secondary) !important;
  /* text-decoration: underline; */
  text-decoration: none !important;
  /* text-shadow: 1px 0 0 currentColor; */
}

.page-slug-realisations #main-header {
  background-color: var(--beige);
}

#main {
  min-height: calc(100vh - 263px);
}

.single-avada_portfolio .portofolio-page-title {
  overflow: hidden;
}

.single-avada_portfolio .portofolio-page-title h2 {
  font-weight: 400 !important;
}
.single-avada_portfolio .portofolio-page-title h1 {
  font-weight: 600 !important;
}
.single-avada_portfolio .portofolio-page-title img {
  max-height: 700px;
  object-fit: cover;
  object-position: center;
}

.partners-logos,
.logo-slider,
.mo-logos {
  img {
    max-height: 100px;
    width: auto;
  }
  .fusion-carousel-item-wrapper {
    padding: 30px;
    background-color: white;
  }
  .awb-swiper-button i {
    color: var(--gris_fonce);
    font-size: 1.5rem;
  }
}

.post-content .main-content .fusion-title-heading {
  font-weight: 600 !important;
}

.fusion-filters a::first-letter {
  text-transform: uppercase;
}
.very-large-screen {
  display: none !important;
}

.single-avada_portfolio .main-content {
  img {
    border-radius: 5px;
  }
}

.awb-openstreet-map {
  aspect-ratio: 4/3;
}
.to-top-right #toTop {
  right: 20px !important;
  bottom: 20px !important;
}
@media screen and (min-width: 640px) {
  /* #content .fusion-text {
    font-size: 1.5rem;
  } */

  .post-card .post-card-aside {
    margin-left: -30px !important;
    min-height: 350px;
    .post-card-title {
    }

    .post-card-subtitle {
      flex-grow: 1;
    }
  }
  /*
  .avada-main-menu .awb-menu__main-li_regular:hover .awb-menu__main-a_regular,
  body.home
    .avada-main-menu
    .awb-menu__main-li_regular.current-menu-item:hover
    .awb-menu__main-a_regular,
  body.home
    .avada-main-menu
    .awb-menu__main-li_regular.current-page-item:hover
    .awb-menu__main-a_regular
    span {
    color: inherit !important;
    text-decoration: underline;
    text-underline-offset: 2px;
  } */
}

@media screen and (min-width: 1100px) {
  .section-timeline .binaume-timeline-item .fusion-imageframe {
    position: absolute;
    top: 50%;
    transform: translate(-100%, -50%);
  }

  .section-timeline .binaume-timeline-item:nth-child(even) .fusion-imageframe {
    left: -30px;
    transform: translate(-100%, -50%);
  }

  .section-timeline .binaume-timeline-item:nth-child(odd) .fusion-imageframe {
    right: -30px;
    transform: translate(100%, -50%);
  }
  .single-avada_portfolio .portofolio-page-title img {
    max-height: 100%;
  }
}

@media screen and (min-width: 1500px) {
  .very-large-screen {
    display: flex !important;
    width: 60vw !important;
  }
}

@media screen and (max-width: 1100px) {
  .section-timeline .binaume-timeline-item .fusion-imageframe {
    position: relative;
  }
  .section-timeline .binaume-timeline-item:nth-child(even) .fusion-imageframe {
    display: flex;
    justify-content: flex-start;
  }

  .section-timeline .binaume-timeline-item:nth-child(odd) .fusion-imageframe {
    display: flex;
    justify-content: flex-end;
  }

  #menu-main-menu.fusion-menu {
    position: fixed;
    top: 0px;
    padding-top: 110px;
    height: 100%;
    max-height: none !important;
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 0;
  }
  #menu-main-menu.fusion-menu li {
    border: 0px;
    position: relative;
  }
  #menu-main-menu.fusion-menu li:not(:last-child):after {
    width: 100px;
    height: 2px;
    bottom: 0px;
    left: 50%;
    position: absolute;
    content: '';
    transform: translate(-50%, 0);
    background-color: var(--gris_fonce);
  }

  .awb-menu__m-toggle {
    z-index: 99999999999999;
  }
  body.menu-open {
    .fusion-tb-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 9999999999999999;
    }
  }
}
@media screen and (max-width: 799px) {
  .fusion-post-cards .fusion-column-wrapper {
    transform: translateX(0) !important ;
  }
  .fusion-post-cards .post-card {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
  .fusion-post-cards .post-card .fusion-text {
    font-size: 13px !important;
  }

  .section-timeline .fusion-column-wrapper {
    border: 0px !important;
  }

  .section-timeline .binaume-timeline-item {
    margin-bottom: 20px;
    * {
      font-size: 13px;
    }
  }

  .logo-slider .flexslider {
    margin-bottom: 0;
  }
  .logo-slider .slides li {
    aspect-ratio: 4/3;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: white;
  }
  .logo-slider .slides img {
    height: 70px;
    width: auto;
  }
  /* .logo-slider .flex-control-nav {
    display: none !important;
  }
  .logo-slider .flex-direction-nav {
    display: none !important;
  } */

  .home-hero-cover {
    height: calc(100vh - 110px) !important;
    display: flex;
    align-items: center;
  }
  .fusion-footer .fusion-text {
    font-size: 1.125rem !important;
  }
  .small-text {
    font-size: 13px !important;
  }
}
