.fullpage.meetup {
    @media (min-width: $breakpoint_tablet) {
        width: auto;
        margin-left: $x_margin;
        margin-right: $x_margin;
    }
    > h2 {
        border-bottom: solid 1px $teal;
        padding: 0;
        padding-bottom: 4vh;
        margin-left: $x_margin;
        margin-right: $x_margin;
        margin-bottom: 4vh;
        height: auto;
        @media (min-width: $breakpoint_desktop) {
            width: calc(75% - $x_margin * 2);
        }
    }
    > header {
        @include main_text_content();
        > div:first-of-type {
            margin-left: $x_margin;
            margin-right: $x_margin;
            @media (min-width: $breakpoint_tablet) {
                width: calc(75% - $x_margin * 2);
            }
        }
        > div:last-of-type {
            background-color: $teal;
            width: 60%;
            margin-left: calc(40% - $x_margin);
            margin-top: 4vh;
            @media (min-width: $breakpoint_tablet) {
                width: 40%;
                margin-left: calc(60% - $x_margin);
            }
            @media (min-width: $breakpoint_desktop) {
                position: absolute;
                top: 3vh;
                right: 4vh;
                width: 20%;
            }
            > div {
                height: 100%;
                > a {
                    padding: 1rem 0.5rem;
                    height: 100%;
                    display: block;
                    font-weight: 800;
                    color: white;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-around;
                    transform: translateY(0);
                    transition: transform 0.2s ease-out;
                }
                > a::after {
                    content: "\2003 →";
                }
                > a::before {
                    content: "+";
                    text-decoration: none !important;
                    color: white;
                    border: solid 1px white;
                    width: 3rem;
                    height: 3rem;
                    border-radius: 1.5rem;
                    font-size: 1.6rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding-bottom: 10px;
                    margin-right: 0.6rem;
                }
                > a:hover {
                    transform: translateY(-2px);
                }
            }
        }
    }
    > .meetup_list {
        display: grid;
        margin: 3vh $x_margin;
        margin-top: 8vh;
        grid-template-columns: 1fr;
        gap: 2rem;
        @media (min-width: $breakpoint_tablet) {
            grid-template-columns: repeat(2, 1fr);
        }
        @media (min-width: $breakpoint_desktop) {
            grid-template-columns: repeat(3, 1fr);
        }
        > .views-row{
            margin-bottom: 2vh;
            > article {
                padding: unset !important;
                padding-top: 0.5rem !important;
                padding-bottom: 1rem !important;
                padding-right: 0.5rem !important;
                display: grid;
                grid-template-columns: 0.5fr 1fr;
                grid-template-rows: repeat(6, auto);
                background-color: white;
                > p, > a, > div, > a > h2 {
                    @include main_text_content();
                    padding: 0.2rem 0;
                }
                > a:not(.author, .offre-title, [title="Voir le profil utilisateur."]) {
                    grid-column: 1;
                    grid-row: 1/7;
                    align-self: center;
                    justify-self: center;
                    > img {
                        width: 10rem;
                        height: 10rem;
                        border-radius: 5rem;
                        padding: 1rem;
                        margin-right: 1rem;
                    }
                }
                > p.occupation {
                    grid-column: 2;
                    grid-row: 1/2;
                    > a {
                        color: $teal;
                        text-transform: uppercase;
                        font-weight: 800;
                    }
                }
                > a[title="Voir le profil utilisateur."] {
                    grid-column: 2;
                    grid-row: 2/3;
                    color: black;
                    text-transform: uppercase;
                    font-weight: 800;
                    //display: none;
                }
                > a.author {
                    grid-column: 2;
                    grid-row: 2/3;
                    color: black;
                    text-transform: uppercase;
                    font-weight: 800;
                    display: none;
                }
                > a.offre-title {
                    grid-column: 2;
                    grid-row: 3/4;
                    > h2 {
                        margin: unset;
                        padding: unset;
                        font-weight: 800;
                    }
                }
                > p.address {
                    grid-column: 2;
                    grid-row: 4/5;
                    margin-bottom: 1.5rem;
                    .country {
                        display: none;
                    }
                }
                > div.date-offre {
                    font-size: 0.8rem;
                    grid-column: 2;
                    grid-row: 6/7;
                    height: unset !important;
                    > a {
                        color: black;
                    }
                }
                > .legende {
                    display: none !important;
                }
            }
        }
    }
    > .views-exposed-form {
        @include main_text_content();
        display: flex;
        margin-left: $x_margin;
        > div {
            width: auto;
            > select {
                @include main_text_content();
                font-size: 0.8rem;
            }
        }
        > div:last-of-type {
            margin-left: 1rem;
            > input {
                @include main_text_content();
                font-size: 0.8rem;
                background-color: $teal;
                color: white;
                cursor: pointer;
                border: none;
            }
        }
    }


    .ornements_top_over {
        top: -15vh;
    }
    .ornements_bottom_over {
        right: 11vw;
    }
}

.fullpage.meetup-offre {
    @include main_text_content();
    > .retour-meetup {
        padding-top: 3vh;
        padding-left: $x_margin;
        a {
            font-size: $sm_font_size;
            font-weight: 800;
            color: $teal;
        }
    }
    > h2 {
        @include main_title();
        margin-bottom: 3vh;
        width: auto;
    }
    > .offre-content {
        > div {
            border-top: solid 1px $teal;
            padding-top: 4vh;
            margin-left: $x_margin;
            margin-right: $x_margin;
            width: calc(100% - $x_margin * 2);
            > div > div > div {
                display: grid;
                grid-template-columns: 0.3fr 1fr 1fr;
                grid-template-rows: repeat(8, auto);
                .views-row {
                    margin-bottom: unset;
                }
                > div:first-of-type {
                    padding: unset !important;
                    grid-column: 1/2;
                    grid-row: 1/6;
                    justify-self: center;
                    align-self: center;
                    > img {
                        width: 15rem;
                        height: 15rem;
                        border-radius: 7.5rem;
                        padding: 1rem;
                        margin-right: 2rem;
                    }
                }
                > .offre-structure {
                    > h2 {
                        display: none;
                    }
                    grid-column: 2/4;
                    grid-row: 1/2;
                    text-transform: uppercase;
                    color: $teal;
                    font-weight: 800;
                }
                > .offre-localisation {
                    > h2 {
                        display: none;
                    }
                    .country {
                        display: none;
                    }
                    grid-column: 2/4;
                    grid-row: 3/4;
                    font-weight: 800;
                    color: $teal;
                }
                > .offre-title {
                    grid-column: 2/4;
                    grid-row: 4/5;
                    font-size: $xl_font_size;
                    font-weight: 800;
                    margin-bottom: 2rem;
                }
                > .offre-nom {
                    grid-column: 2/4;
                    grid-row: 2/3;
                    text-transform: uppercase;
                }
                > .offre-contact {
                    grid-column: 2/4;
                    grid-row: 5/6;
                    @media (min-width: $breakpoint_desktop) {
                        grid-column: 2/3;
                        grid-row: 5/7;
                    }
                    span > a {
                        display: block;
                        margin-right: 2rem;
                        background-color: $teal;
                        line-height: 1.1;
                        padding: 0.7rem 1rem;
                        color: white;
                        font-weight: 800;
                        font-size: $sm_font_size;
                        transform: translateY(0);
                        transition: transform 0.2s ease-out;
                    }
                    span > a:hover {
                        transform: translateY(-2px);
                    }
                }
                > .offre-time {
                    > h2, > div {
                        display: inline-block;
                    }
                    align-self: center;
                    grid-column: 2/4;
                    grid-row: 6/7;
                    font-size: $sm_font_size;
                    margin-top: 1rem;
                    margin-bottom: 0.5rem;
                    @media (min-width: $breakpoint_desktop) {
                        margin-top: 0;
                        grid-column: 3/4;
                        grid-row: 5/7;
                    }
                }
                > .offre-description {
                    grid-column: 1/4;
                    grid-row: 7/8;
                    border-top: solid 1px $teal;
                    margin-top: 2vh;
                    padding-top: 6vh;
                    margin-bottom: 4vh;
                }
                > .file_fixed, > .liens_fixed {
                    grid-row: 8/9;
                    > h2 {
                        display: none;
                    }
                    > div {
                        padding: 0 calc($x_margin / 2);
                        text-align: right;
                        margin: 2rem 0;
                        @include fluo_button();
                        a {
                            display: inline-block;
                        }
                        @media (min-width: $breakpoint_desktop) {
                            margin-bottom: 0 !important;
                            margin: 0;
                            position: fixed;
                            left: 75vw;
                            bottom: 10vh;
                            > div {
                                height: 3vh;
                            }
                            a {
                                max-width: calc(25vw - $x_margin * 2);
                            }
                        }
                    }
                }
                > .file_fixed span:last-of-type {
                    display: none;
                }
            }
        }
    }
}