@keyframes vibrate {
    0% {
        transform: rotate(0);
    }
    4% {
        transform: rotate(20deg);
    }
    8% {
        transform: rotate(0);
    }
    12% {
        transform: rotate(20deg);
    }
    16% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(0);
    }
}
.n3wtrend img {
    max-width: 100%;
}
.n3wtrend {
    max-width: 1080px;
    margin: auto;
    padding : 0 16px;
}
.n3wtrend h2 {
    margin-bottom: 16px;
}
.n3wtrend__floating {
    position: fixed;
    right: 50px;
    bottom: 30px;
    z-index: 10;

    height: 100px;
    width: 100px;
    border-radius: 50%;

    background: #222;
    box-shadow: gray 0px 5px 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: scale 0.3s ease-out;
}

.n3wtrend__floating:hover {
    scale: 0.8;
}

.n3wtrend input {
    border: none;
    background-color: #eee;
}

.n3wtrend__floating img {
    width: 50px;
    height: 50px;

    animation: vibrate 1.6s 5s infinite;
}

.n3wtrend section {
    margin: 64px 0;
}

.n3wtrend__header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.n3wtrend__subtitle {
    display : inline-block;
}

.n3wtrend__title.--main{
margin-top: 64px;
}
.n3wtrend__subtitle.--main, .n3wtrend__title.--main {
    text-align: center;
    display: block;
}


.n3wtrend__btn {
    display: none;
}

.n3wtrend__btn .elementor-button:hover {
    color : #222;
}

.n3wtrend__pages {
    margin-top: 32px;
}

.n3wtrend__page img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.n3wtrend__page {
    margin-bottom: 16px;
    display: block;
}

.n3wtrend__page:hover .n3wtrend__page-title{
    transform: translate3d(20px, 0, 0);
}

.n3wtrend__page-title {
    margin-left: 16px;
    transition: transform .3s ease-out;
}

.n3wtrend__netlink img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.n3wtrend__img.--paralax {
    display : none;

    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.n3wtrend div.wpforms-container-full {
    width: 100%;
}





/* Tablet up */
@media screen and (min-width : 990px) {
    .n3wtrend__localites, .n3wtrend__metiers {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

    }
    .n3wtrend__localites li {
        list-style-type: none;
    }
    .n3wtrend__localites a, .n3wtrend__metiers a {
        text-decoration: none;
    }
    .n3wtrend__btn {
        display: initial;
    }

    .n3wtrend__contact {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;

        margin-top: 32px;
    }

    .n3wtrend__pages {
        margin-top: 0;
    }

    .n3wtrend__page {
        display: flex;
        align-items: center;
    }
    .n3wtrend__page img {
        width: 150px;
        height: 100px;
    }

    .n3wtrend__netlink  {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 16px;
        margin-bottom: 64px;
    }

    .n3wtrend__content-container {
        margin-bottom : 64px;
    }

    .n3wtrend__content-container img {
        grid-column-start: 1;
        grid-column-end: 6;
        display: inherit;
    }
    .n3wtrend__content-container p {
        grid-column-start: 6;
        grid-column-end: 13;
    }

    .n3wtrend__content {
        margin-bottom: 32px;
    }

    .n3wtrend__links {
        grid-column-start: 1;
        grid-column-end: 5;
    }

    .n3wtrend__netlink img {
        grid-column-start: 5;
        grid-column-end: 13;
        display: inherit;
    }

    .n3wtrend__img.--paralax {
        display: block;
        margin : 64px 0;
    }
}


.popup {
    display: none;
    width: calc(100% + 20px);
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    transform:translateX(-20px);

    justify-content: center;
    align-items: center;

    background: rgba(34,34,34,0.5);
}
.popup.open {
    display: flex;
}
.popup__container {
    width: 500px;
    height: 300px;

    margin: auto;
    display: block;

    background : white;
    border-radius: 10px;
    box-shadow: 0px 5px 15px #222;

    position: relative;
}
.popup__container > h2 {
    text-align: center;
}


.popup__btns {
    display: flex;
    width: 75%;
    justify-content: space-between;

    position: absolute;
    bottom: 32px;
    left : 50%;
    transform : translateX(-50%);
}
.popup__btns.--verif {
    display: none;
    background: white;

    z-index: 10;
}
.popup__btns.--verif.open {
    display: flex;
}
.popup__btn {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0 8px;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;

    cursor: pointer;
}
.popup__btn.oui:hover {
    background: aquamarine;
}
.popup__btn.non:hover {
    background: coral;
}


/* DEBUG FOR DIVI WEBSITES */
.listing .n3wtrend__header > .n3wtrend__content-container {
    display: none;
}