/**global */
:root {
    --bg-image: "";
    --website-color: #0c66e4;
    --website-font: "";
}

* {
    font-family: var(--website-font);
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-image: var(--bg-image);
    background-position: center;
    background-color: #000000;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 98
}

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #000000a8;
    z-index: 99;
}

#app {
    display: flex;
    flex: 1;
    z-index: 100;
    justify-content: center;
    /* overflow: auto; */
}

.page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    color: #FFFFFF
}

header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 100
}

footer {
    z-index: 100;
    text-align: center;
    color: #FFFFFF;
}

#custom-footer {
    z-index: 100;
    text-align: center;
    color: #FFFFFF;
}

header a,
header h3,
header button {
    color: #FFFFFF;
}

/*button*/
.btn-primary {
    background-color: var(--website-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--website-color);
    filter: brightness(1.1);
}

.btn-primary.active {
    color: #ffffff;
    background-color: #000000;
}

.form-control:focus {
    border-color: var(--website-color);
}

/*navigation*/
#navigation-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: auto;
    gap: 2rem;
    min-width: 100%;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE et Edge Legacy */
}

#navigation-info::-webkit-scrollbar {
    display: none;
}

.navigation-item {
    color: #FFFFFF;
    text-decoration: none;
}

.navigation-item.active {
    text-decoration: underline;
}

/**/
#agenda-wrapper {
    display: flex;
    gap: 0.3rem;
    padding: 0.3rem;
}

/*page home*/
.hero-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/*RSVP*/
.form-check-label {
    color: #FFFFFF;
}

.rsvp {
    color: #FFFFFF;
}

.label-rsvp {
    color: #000000;
}

/*class de largeur du site*/
.w30 {
    width: 30%;
}

.w70 {
    width: 70%;
}

.w75 {
    width: 75%;
}

.w1 {
    width: calc(100%);
}

.w2 {
    width: calc(50% - (0.3rem/2));
}

.w3 {
    width: calc((100% / 3) - (0.3rem*2)/3);
}



/**faq*/
.accordion-item,
.accordion-header {
    background-color: transparent;
}

.accordion-collapse {
    background-color: #FFFFFF;
    padding: 0.5rem;
}

.accordion-button {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 1px solid #FFFFFF;
}

.accordion-button:active,
.accordion-button:focus {
    border: 1px solid #FFFFFF;
}

.accordion-button[aria-expanded="true"] {
    color: #FFFFFF;
}

.accordion-button.collapsed {
    color: #FFFFFF;
    background-color: transparent;
}

.accordion-button::after {
    background-image: none;
    content: "\002B" !important;
    font-family: "Font Awesome 6 Free";
    transition: transform 0.2s;
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
    content: "\0058" !important;
    font-family: "Font Awesome 6 Free";
    transition: transform 0.2s;
}


.page_image {
    height: 35vh;
    text-align: center;
}

.page_image img {
    height: 100%;
}

#page_text br {
    display: none;
}

/**/
.loader {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--website-color);
    position: relative;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    background: #fff;
    transform: rotate(0deg) translate(30px);
    animation: rotate 1s ease infinite;
}

.loader:after {
    animation-delay: 0.5s
}

@keyframes rotate {
    100% {
        transform: rotate(360deg) translate(30px)
    }
}

#spinner-wrapper {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 101
}

p,
a {
    font-size: 0.875rem;
    font-weight: 400;
}

#header-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #FFFFFF;
}

#faq {
    display: none;
}

.inactive {
    display: none;
}

/**script pour mobile*/
@media(max-width:768px) {
    .w30 {
        width: calc(100% - 0.5rem);
    }

    .w70 {
        width: calc(100% - 0.5rem);
    }

    .w75 {
        width: calc(100% - 0.5rem);
    }

    #agenda-wrapper {
        flex-direction: column;
    }

    .w1 {
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .w2 {
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .w3 {
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .page_image {
        height: auto !important;
    }

    .page_image img {
        height: auto;
    }

    #agenda-wrapper {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }
}