/* Animations */
.fromBottom, .animateChilds.fromBottom .wp-block-column{
	transform: translateY(100px);
}
 .fromLeft, .animateChilds.fromLeft .wp-block-column{
	transform: translateX(-100px);
}
 .fromRight, .animateChilds.fromRight .wp-block-column{
	transform: translateX(100px);
}

.animate, .animateChilds .wp-block-column, .gs_reveal, .animateChilds .wp-block-group,  .animateChilds .produit{
  will-change: transform;
  opacity: 0;
  transition: 0.5s all ease-in-out;
}

.animate.active, .animateChilds.active, .animateChilds.active .wp-block-column, .animateChilds.active-trigger .wp-block-group, .gs_reveal.active-trigger, .animateChilds.active-trigger .wp-block-column, .gs_reveal.active-trigger ul.is-style-crossed li, .animateChilds.active-trigger .produit{
  opacity: 1;
   will-change: transform;
}

.subcategory-title{
	transition: 0.5s all ease-in-out;
}

.subcategory-content,  {
	transition: 0.5s all ease-in-out;
	opacity: 0;
    display: none;
}

.subcategory-content.active, .subcategory-title.active {
	opacity: 1;
    display: block !important;
}



.animateChilds .wp-block-column:nth-child(1), .wp-block-query .wp-block-post:nth-child(1), .gs_reveal.delay1{
    transition-delay: 0.1s;
}
.animateChilds .wp-block-column:nth-child(2), .wp-block-query .wp-block-post:nth-child(2), .gs_reveal.delay2{
    transition-delay: 0.2s;
}
.animateChilds .wp-block-column:nth-child(3), .wp-block-query .wp-block-post:nth-child(3), .gs_reveal.delay3{
    transition-delay: 0.4s;
}
.animateChilds .wp-block-column:nth-child(4), .wp-block-query .wp-block-post:nth-child(4), .gs_reveal.delay4{
    transition-delay: 0.6s;
}
.animateChilds .wp-block-column:nth-child(5), .wp-block-query .wp-block-post:nth-child(5), .gs_reveal.delay5{
    transition-delay: 0.8s;
}
.animateChilds .wp-block-column:nth-child(6), .wp-block-query .wp-block-post:nth-child(6), .gs_reveal.delay6{
    transition-delay: 1s;
}
.animateChilds .wp-block-column:nth-child(7), .wp-block-query .wp-block-post:nth-child(7), .gs_reveal.delay7{
    transition-delay: 1.2s;
}

.logos a img{transition: all .35s;}

.logos a:hover img{ transform: scale(1.05); }


.wp-block-button__link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.wp-block-button__link::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: white; /* couleur d'effet */
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.wp-block-button__link:hover::after {
  transform: translateX(0);
}


.wp-block-button__link {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.wp-block-button__link:hover {
  background-color: white !important;;
  color: var(--wp--preset--color--custom-orange-sparks) !important;
}

/* Only front */



@keyframes slidein {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0%);
  }
}


@media (max-width: 650px) {
	body:not(.wp-admin) .activite{
		-webkit-mask-image: url(../img/mask_arrow_mobile.svg);
  	mask-image: url(../img/mask_arrow_mobile.svg);
  	    -webkit-mask-position: center;
  	    padding-bottom: 80px !important;
  	}
  	.single-agence .reverse-mobile {
        flex-direction: column-reverse;
    }
	
}


