/* 
Theme Name: Lodysse
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Lodysse is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-post-navigation .elementor-post-navigation__prev{
    order:2;
}
.elementor-post-navigation .elementor-post-navigation__next a{
    justify-content: flex-start;
}
.elementor-post-navigation .elementor-post-navigation__prev a {
    justify-content: flex-end;
}
.elementor-post-navigation .elementor-post-navigation__prev a .post-navigation__arrow-wrapper {
    order: 2;
}
.elementor-post-navigation .elementor-post-navigation__next a .elementor-post-navigation__link__next {
    order: 2;
}

/* menu actif si sur un projet */

body.single-projet nav.elementor-nav-menu--main:not(.elementor-editor-active) > ul > li:first-child > a {
    color: var(--e-global-color-accent);
    fill: var(--e-global-color-accent);
}

/* body.wp-singular.projet-template-default.single.single-projet .e-con-inner > div:last-child div:empty{
    display: none !important;
} */

body:not(.elementor-editor-active):not(.elementor-page-26) .elementor-loop-container.elementor-grid:not(.swiper){
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    min-height:100vh;
}
body:not(.elementor-editor-active):not(.elementor-page-26) .elementor-element-9ade161{
    min-height: 100vh;
}
body:not(.elementor-editor-active):not(.elementor-page-26) .elementor-loop-container.elementor-grid:not(.swiper) > .elementor{
    width: calc(33% - 20px) !important;
    margin-bottom: 20px;
}
@media screen and (max-width: 1024px) {
    body:not(.elementor-editor-active):not(.elementor-page-26) .elementor-loop-container.elementor-grid:not(.swiper) > .elementor{
        width: calc(50% - 10px) !important;
    }
}
@media screen and (max-width: 768px) {
    body:not(.elementor-editor-active) .elementor-loop-container.elementor-grid:not(.swiper) > .elementor {
        width:100% !important;
    }
}


@media (max-width: 1024px) {
    .elementor-page-850 .elementor-loop-container.elementor-grid{
        min-width: 100vw;
    }
}


/* flipbox */
.flip-container .flipper {
    position: relative;
    overflow: hidden;
}
.flip-container .flipper .front {
    position: relative;
}
.flip-container .flipper .front > div:nth-child(1) {
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 1.05s ease;
}
.flip-container .flipper .front > div:nth-child(2) {
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s,
                opacity 1.05s ease 0.05s;
}
.flip-container .flipper .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.65s ease 0.2s;
}

.flip-container .flipper:hover .front > div,
.flip-container .flipper.hover .front > div {
    transform: translateY(-20px);
    opacity: 0;
}
.flip-container .flipper:hover .front>div:nth-child(2),
.flip-container .flipper.hover .front>div:nth-child(2) {
    transform: translateY(-10px);
}
.flip-container .flipper:hover .back,
.flip-container .flipper.hover .back {
    opacity: 1;
}