/**
Theme Name: GEIQ24 (child)
Author: Artefact Design
Author URI: https://artefactdesign.fr/
Description: Thème GEIQ24
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geiq
Template: astra
*/
/* ================================ GENERAL SETTINGS ================================ */

/*** Blocks ***/
.uagb-block-2956f550.uagb-tabs__hstyle4-desktop > .uagb-tabs__body-wrap {
  border-color: transparent !important;
}

.uagb-block-2956f550 .uagb-tabs__panel .uagb-tab:hover {
  background-color: #06e09d;
}

.uagb-post-grid .uagb-post__image img{
  border-radius: 20px 20px 0 0;
}

.wp-block-uagb-post-carousel.uagb-post__items article {
  border-radius: 26px;
  margin-bottom: 0 !important;
}

/* ========= HELPER CLASSES  ========= */
.prefix-btn_1 .uagb-ifb-title-prefix,
.prefix-btn_2 .uagb-ifb-title-prefix {
  background-color: #f6e0e2;
  padding: 1ch 5ch !important;
  border-radius: 20px;
  display: inline-block;
  width: auto;
}
.prefix-btn_2 .uagb-ifb-title-prefix {
  background-color: #255664;
  border-color: #06e09d;
}

.hover-up:hover,
.wp-block-button__link:hover,
article.uagb-post__inner-wrap:hover {
  transform: translateY(-0.5rem) !important;
  transition: all ease 0.3s !important;
}

.hover-fillup {
  position: relative;
  padding-top: 10px; /* Pour éviter que le pseudo-élément ne chevauche le contenu */
}

.hover-fillup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px; /* Épaisseur de la bordure */
  background-color: var(--ast-global-color-0); /* Couleur de la bordure */
  transition: width 0.3s ease;
}

.hover-fillup.fillup-2::before {
  background-color: var(--ast-global-color-6); /* Couleur de la bordure */
}

.hover-fillup:hover::before {
  width: 100%;
}
/***** MENU ****¨*/
.main-header-menu .sub-menu {
  background-color: var(--ast-global-color-2);
}

/*** PAGE HEADER ***/
.ast-single-entry-banner {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.ast-single-entry-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 60px;
  width: 100%;
  height: 60px;
  background: url(./tilt.svg) no-repeat bottom center;
  background-size: 100% 60px;
  transform: scaleX(1) scaleY(-1);
  transform-origin: bottom;
  pointer-events: none;
  z-index: 9;
}

/*featured img same overlay*/
.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="featured"] {
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="featured"]
  > * {
  z-index: 1;
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="featured"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(22, 36, 71, 0.85),
    rgba(22, 36, 71, 0.85)
  );
  z-index: 0;
}

/***** BLOG PAGES *****/
.cat-links.badge a.ast-button {
  background: var(--ast-global-color-2);
}

.ast-article-post .post-thumb-img-content img{
  object-fit: cover;
}

body.blog .entry-meta * {
  color: var(--ast-global-color-3) !important;
  font-style: italic;
}

.post-content > *:not(.post-thumb) {
  padding: 0 20px;
}

/*****single post*****/

@media (min-width: 922px) {
  .single.single-post .site-content > .ast-container {
      max-width: 960px;
  }
}

.ast-single-entry-banner[data-post-type="post"] .entry-title {
  max-width: 1060px;
  margin: auto;
}

.ast-single-entry-banner[data-post-type="post"] .post-thumb {
  margin-bottom: -60px !important;
  z-index: 99;
  position: relative;
}

.ast-single-entry-banner[data-post-type="post"] .post-thumb img {
  width: 200px;
  height: 200px;
  border-radius: 150px;
}

.single .post-navigation {
  margin: 1em 0;
}s

/***** Homepage ***/

.uagb-block-2956f550.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab.uagb-tabs__active a {
  text-decoration: underline;
}

@media (min-width: 767px) {
  /*tabs*/
  .uagb-block-2956f550.uagb-tabs__hstyle3-desktop > .uagb-tabs__body-wrap {
    border-top-left-radius: 0;
  }

  .uagb-block-2956f550.uagb-tabs__hstyle3-desktop .uagb-tab {
    border-bottom-left-radius: 0;
  }
}

#partenaires .spectra-image-gallery__media.spectra-image-gallery__media--carousel img{
  max-height: 100px;
  object-fit: contain;
}

/* ========= FOOTER ========= */
@media screen and (max-width: 760px) {
  .site-footer .wp-block-buttons.is-layout-flex {
    justify-content: center;
  }
}

/* ========= Plugins ========= */
/*Google reviews*/
.ti-widget.ti-goog .ti-reviews-container-wrapper {
  justify-content: center;
}

/* Safari mobile fix for fixed background */
@supports (-webkit-touch-callout: none) {
  @media screen and (min-width: 320px) and (max-width: 768px) {
    [style*="background-position: fixed"] {
      background-attachment: scroll !important;
    }

    * {
      background-attachment: scroll !important;
    }
  }
}

/*========= JOB MANAGER ======= */

div.job_listings ul.job_listings {
  margin: 40px auto;
}

.rp4wp-related-job_listing > ul li.job_listing,
.rp4wp-related-job_listing > ul li.no_job_listings_found,
ul.job_listings li.job_listing,
ul.job_listings li.no_job_listings_found {
  width: 100%;
}

@media only screen and (max-width: 767px) {
  ul.job_listings li.job_listing a,
  ul.job_listings li.no_job_listings_found a {
    padding: 3em 1em;
  }
}

@media screen and (min-width: 767px) {
  .rp4wp-related-job_listing > ul li.job_listing a,
  .rp4wp-related-job_listing > ul li.no_job_listings_found a,
  ul.job_listings li.job_listing a,
  ul.job_listings li.no_job_listings_found a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .rp4wp-related-job_listing > ul li.job_listing a img.company_logo,
  .rp4wp-related-job_listing > ul li.no_job_listings_found a img.company_logo,
  ul.job_listings li.job_listing a img.company_logo,
  ul.job_listings li.no_job_listings_found a img.company_logo {
    box-shadow: none;
    float: none;
    height: 142px;
    position: relative;
    width: 142px;
    border-radius: 12px;
  }
}

.rp4wp-related-job_listing > ul li.job_listing a div.position h3,
.rp4wp-related-job_listing > ul li.no_job_listings_found a div.position h3,
ul.job_listings li.job_listing a div.position h3,
ul.job_listings li.no_job_listings_found a div.position h3 {
  font-size: 1.4rem;
}

ul.job_listings li.job_listing a .meta .job-type,
.rp4wp-related-job_listing > ul li.job_listing a div.location,
.rp4wp-related-job_listing > ul li.no_job_listings_found a div.location,
ul.job_listings li.job_listing a div.location,
ul.job_listings li.no_job_listings_found a div.location {
  background-color: var(--ast-global-color-2);
  color: var(--ast-global-color-6);
  padding: 0.7ch 3ch !important;
  margin: 1px;
  border-radius: 20px;
  display: inline-block;
  width: auto;
  font-size: 0.85em;
}

.rp4wp-related-job_listing > ul li.job_listing a div.location,
.rp4wp-related-job_listing > ul li.no_job_listings_found a div.location,
ul.job_listings li.job_listing a div.location,
ul.job_listings li.no_job_listings_found a div.location {
  background-color: var(--ast-global-color-6);
  color: var(--ast-global-color-2);
}

ul.job_listings li.job_listing a div.location {
  margin-top: -28px;
}

ul.job_listings li.job_listing {
  position: relative;
  /*padding-top: 10px;*/ /* Pour éviter que le pseudo-élément ne chevauche le contenu */
}

ul.job_listings li.job_listing a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px; /* Épaisseur de la bordure */
  background-color: var(--ast-global-color-6); /* Couleur de la bordure */
  transition: width 0.6s ease;
}

ul.job_listings li.job_listing a:hover::before {
  width: 100%;
}

/*single job*/

.ast-single-entry-banner[data-post-type="job_listing"] .post-thumb {
  margin-bottom: -60px !important;
  z-index: 99;
  position: relative;
}

.ast-single-entry-banner[data-post-type="job_listing"] .post-thumb img {
  width: 150px;
  height: 150px;
  border-radius: 150px;
}
article.job_listing {
  max-width: 1200px;
  margin: 3em auto;
}

.single_job_listing .meta {
  zoom: 1;
  clear: both;
  list-style: none outside;
  margin: 2em 0;
  overflow: hidden;
  padding: 0;
}
.single_job_listing .company {
  display: none;
}

.single_job_listing .meta .job-type {
  background-color: var(--ast-global-color-2);
  color: var(--ast-global-color-6);
  /*
  background-color: #f6e0e2;
  color: var(--ast-global-color-0);
  */
  padding: 0.7ch 3ch !important;
  border-radius: 20px;
}

.job_description img {
  border-radius: 20px;
}

/* Animation */

@keyframes fadeInUp {
  from {
    transform: translate3d(0, 40px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@-webkit-keyframes fadeInUp {
  from {
    transform: translate3d(0, 40px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
}

.animatedFadeInUp {
  opacity: 0;
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}
