/* =====[ VARIABLES CSS / COULEURS ]======================================================================== */
:root {
    --bni-nbi_white: #fff;
    --bni-nbi_black: #000;
    --bni-nbi_red: #e41c23;
    --bni-nbi_lightGray: #efefef;
    --bni-nbi_mediumGray: #ccc;
    --bni-nbi_darkGray: #414141;
    --bni-nbi-offWhite: #f7f4f0;
    --bni-nbi-whiteLilac: #f7f7f7;
}

/* =====[ RESET ]======================================================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form,
input,
ul,
li,
ol,
label {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

/* =====[ SCROLL WATCHER ]======================================================================== */
.scroll_watcher {
    position: fixed;
    z-index: 1000;
    height: 6px;
    width: 0%;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bni-nbi_red);
}

@supports (animation-timeline: scroll()) {
    .scroll_watcher {
        animation: scroll_watcher linear;
        animation-timeline: scroll();
    }

    @keyframes scroll_watcher {
        to {
            width: 100%;
        }
    }
}

/* CSS ANNULATION - DÉBUT */

.toast__container {
    position: relative;
    top: 0;
    background: #332701;
    width: 100%;
    z-index: 10;
}

.toast__shows {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border: 1px solid #ffc007;
    gap: 10px;
}

.toast__icon {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    padding: 7px;
    border-radius: 50%;
    display: inline-block;
}

.icon_alert {
    display: block;
    width: 2em;
    height: 2em;
    fill: #FFC007;
    border: none;
    animation: myAnim 2s ease-in-out 0s infinite normal none;
}

@keyframes myAnim {

    0%,
    100% {
        transform: rotate(0deg);
        transform-origin: 50% 100%;
    }

    10% {
        transform: rotate(2deg);
    }

    20%,
    40%,
    60% {
        transform: rotate(-4deg);
    }

    30%,
    50%,
    70% {
        transform: rotate(4deg);
    }

    80% {
        transform: rotate(-2deg);
    }

    90% {
        transform: rotate(2deg);
    }
}

.toast__type {
    color: #FFC007;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.toast__message {
    font-size: 1rem;
    text-align: center;
    color: #FFC007;
}

.toast__shows p {
    margin: 0;
    padding: 0;
}

.toast__close {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 14px;
    cursor: pointer;
    height: 14px;
    fill: #878787;
    transform: translateY(-50%);
}

.toast--yellow .toast__icon {
    background-color: #FFC007;
}

.toast--yellow:before {
    background-color: #FFC007;
}

/* CSS ANNULATION - FIN */


/* =====[ GLOBAL STYLES ]======================================================================== */

*,
::before,
::after {
    box-sizing: border-box;
}

*:not(.icon) {
    font-family: "Nationale Sans", Arial, Helvetica, sans-serif;
}

input,
button,
a {
    -webkit-tap-highlight-color: transparent;
    transition: all 0.25s ease-in-out;
}

p {
    padding-block: var(--10pxrem);
    line-height: 1.1;
}

a {
    color: var(--bni-nbi_black);
    text-decoration: none;
}

a:hover {
    color: var(--bni-nbi_black);
}

.page {
    margin: 0 auto;
    width: min(85%, 1550px);
}

.icon {
    font-family: unset;
    font-size: var(--20px);
    vertical-align: middle;
}

/* =====[ Header ]======================================================================== */

header {
    background-color: var(--bni-nbi_black);
}

header ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

header ul li {
    display: contents;
}

header ul li :is(a, a:hover) {
    padding: var(--10pxrem);
    color: var(--bni-nbi_white);
    line-height: 1;
}

header ul li a:hover {
    background-color: var(--bni-nbi_red);
}

header .icon {
    font-size: 18px;
}

header .petit {
    font-size: 14px;
}

.deconnexion {
    font-size: var(--16px);
    text-transform: uppercase;
}

.deconnexion span {
    vertical-align: text-bottom;
}

.header {
    padding-block: var(--20pxrem);
    background-color: var(--bni-nbi_white);
}

.header .page {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .page a {
    display: contents;
}

.header img {
    height: 100%;
    max-height: var(--80pxrem);
    width: auto;
}

/*=============================[ Décompte ]=============================*/
.connexion {
    width: 55%;
}

.connexion h2 {
    margin-bottom: 0.375rem;
    font-size: var(--26px);
}

.connexion ul {
    width: 100%;
}

.connexion ul > span {
    --countdown-gap: 2rem;
    display: flex;
    gap: var(--countdown-gap);
}

.connexion li {
    position: relative;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--13px);
    color: var(--ebony-clay);
    text-align: center;
    text-transform: capitalize;
    list-style: none;
}

.connexion li span {
    display: block;
    margin-top: 1px;
    border-radius: 14px;
    padding-block: var(--2pxrem);
    background-color: var(--bni-nbi_black);
    font-size: var(--24px);
    color: var(--bni-nbi_white);
    font-weight: 700;
}

.connexion li:not(:last-child)::after {
    content: ":";
    position: absolute;
    width: var(--countdown-gap);
    right: calc(var(--countdown-gap) * -1);
    bottom: 0.25rem;
    font-family: 'Trebuchet MS', 'Arial Rounded MT', Georgia, sans-serif;
    font-size: var(--22px);
    color: var(--bni-nbi_black);
    font-weight: 600;
}

/*===============================[ Event overview ]===============================*/
.accueil {
    padding: var(--55pxrem) 0 min(300px, 20vw);
    background-image: url(background.png);
    background-color: var(--bni-nbi-offWhite);
    background-size: min(660px, 44vw);
    background-position: left bottom max(-75px, calc(-2vw - 45px));
    background-repeat: no-repeat;
}

.accueil .page {
    display: flex;
    justify-content: space-between;
    gap: var(--50pxrem);
}

.titre-accueil {
    max-width: 800px;
    font-size: var(--16px);
}

.titre-accueil h1 {
    margin: 0;
    font-size: var(--42px);
    font-weight: 700;
    line-height: 1.15;
    text-wrap-style: pretty;
}

.titre_quick {
    margin-top: 1rem;
}

.titre_quick .french-note {
    padding-block: 0.5rem 0.25rem;
    font-size: var(--13px);
}

.titre-accueil .date {
    margin-top: 1.5rem;
}

.titre-accueil :is(.date, .label) {
    display: flex;
    align-items: center;
}

.icone-titre {
    margin-right: 1rem;
    height: 1.75rem;
    width: auto;
}

.icone-titre + span {
    font-size: var(--20px);
    font-weight: 300;
}

.conferencier {
    margin-top: 1.25rem;
}

.humain {
    display: grid;
    grid-template-rows: 1fr repeat(3, auto) 1fr;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "image ."
        "image name"
        "image title"
        "image organization"
        "image ."
        "bio bio";
    column-gap: 15px;
    margin-top: 1.5rem;
}

.humain img {
    grid-area: image;
    height: auto;
    width: 8.75rem;
}

.humain p:first-of-type {
    margin-bottom: var(--5pxrem);
}

.humain > p {
    padding: 0;
}

.humain .bio {
    margin-top: var(--15pxrem);
    font-size: var(--14px);
}

.humain .bio p {
    padding-top: 0;
}

/* =====[ onglet ]======================================================================== */
.tab2 {
    display: flex;
}

.tab2 button {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    padding: var(--15pxrem) 0;
    height: 100%;
    width: 100%;
    background-color: var(--bni-nbi_lightGray);
    color: var(--bni-nbi_darkGray);
    font-size: var(--17px);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tab2 button.active2 {
    background-color: var(--bni-nbi_white);
    color: var(--bni-nbi_darkGray);
    pointer-events: none;
}

.tab2 button:hover {
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
    cursor: pointer;
}

/* =====[ INSCRIPTION ]======================================================================== */

.inscription {
    flex-shrink: 0;
    border: 2px solid var(--bni-nbi_black);
    border-radius: 16px;
    height: 100%;
    width: 425px;
    background-color: var(--bni-nbi_white);
    overflow: hidden;
}

.inscription :is(form, .message, .decompte2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.25rem;
    min-height: 500px;
}

.inscription h2 {
    margin-bottom: var(--20pxrem);
    font-size: var(--26px);
    line-height: 1;
    text-align: center;
}

.inscription h2 strong {
    display: block;
    font-size: var(--50px);
    font-weight: 700;
}

.inscription p {
    color: var(--bni-nbi_black);
    font-size: var(--13px);
    font-weight: 500;
    text-align: center;
}

.message h2.icon {
    font-size: var(--50px);
    padding-top: 1.25rem;
}

.message p {
    padding: 1.25rem 0;
    font-size: var(--19px);
}

.message p span {
    font-size: var(--22px);
}

.consens {
    display: flex;
    margin: 0.75rem 0 1rem;
}

.consens label {
    font-size: var(--12px);
    line-height: 1;
    font-weight: 500;
    text-align: justify;
}

.consens input[type="checkbox"] {
    margin: 0 10px 0 0;
    height: var(--14pxrem);
    width: var(--14pxrem);
}

.add-calendar {
    display: inline-block;
    padding-block: var(--14pxrem);
    width: 100%;
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
    font-size: var(--14px);
    text-align: center;
}

.add-calendar a {
    color: var(--bni-nbi_white);
}

.add-calendar a:hover {
    color: var(--bni-nbi_red);
}

.add-calendar .icon {
    margin-left: var(--10pxrem);
    font-size: var(--26px);
}

/* =====[ FORMULAIRE ]======================================================================== */
::placeholder {
    color: var(--bni-nbi_black);
    opacity: 1 !important;
}

form p {
    padding: var(--10pxrem) 0;
}

input:not([type="Submit"]) {
    width: 100%;
}

input:first-child {
    margin-top: var(--15pxrem);
}

input:focus,
textarea:focus {
    outline: none;
}

input,
textarea {
    padding: var(--10pxrem);
    border: none;
    background-color: var(--bni-nbi_lightGray);
    font-size: var(--13px);
    font-weight: 500;
    color: var(--bni-nbi_black);
    border-radius: 0;
    margin-bottom: var(--10pxrem);
}

textarea {
    padding: var(--20pxrem);
    height: 10rem;
    width: 100%;
    font-size: var(--17px);
    resize: none;
}

input[type="Submit"] {
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 0;
    border: none;
    border-radius: 25px;
    padding-inline: 4rem;
    background-color: var(--bni-nbi_red);
    color: var(--bni-nbi_white);
    font-size: var(--18px);
    font-weight: 700;
    cursor: pointer;
}

input[type="Submit"]:hover {
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
}

#connexion p {
    margin: 1.5rem 0;
    font-size: var(--20px);
}

#connexion a {
    text-decoration: underline;
}

#connexion a:hover {
    color: var(--bni-nbi_red);
}

/* =====[ ERROR message ]======================================================================== */

span.error {
    color: #f00;
    text-transform: none;
    font-size: var(--15px);
    padding-bottom: var(--5pxrem);
}

.error {
    color: #f00;
}

.error::placeholder {
    color: #f00 !important;
    opacity: 1 !important;
}

.message_archive_inscription {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--50pxrem);
    color: #f00;
}

.message_archive {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--50pxrem);
    color: #f00;
}

.generic_error {
    color: #f00;
}

.message_champs_requis {
    text-align: right;
}

/*===============================[ Page vidéo ]===================================*/
.titre {
    padding: var(--25pxrem) 0;
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
    font-weight: 700;
}

.titre span > span {
    padding-left: var(--35pxrem);
}

.titre_page_video {
    margin-top: var(--10pxrem);
    font-size: var(--24px);
    font-weight: 700;
    text-transform: uppercase;
}

.titre_page_video > span {
    display: block;
    font-size: var(--16px);
}

.bg_player {
    display: flex;
    gap: 2.5rem;
    margin-block: 3.5rem;
}

a.btn-main {
    display: inline-block;
    border-radius: 25px;
    padding: var(--10pxrem) var(--50pxrem);
    background-color: var(--bni-nbi_red);
    color: var(--bni-nbi_white);
    font-size: var(--14px);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

a.btn-main:hover {
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
}

/*==========[ Video player ]==========*/
.contenu-player {
    flex: 3;
}

.play-button {
    position: absolute;
    inset: 1.25rem auto auto 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    background: url(icone_unmute.png) no-repeat;
    background-size: 2.5rem;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.play-button:hover {
    opacity: 1;
}

.invisible {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.jw-wrapper {
    background-color: unset !important;
}

.bouton-lang {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--10pxrem);
    margin-block: var(--15pxrem);
    padding: 0;
    width: 100%;
}

/*====================================*/
.onglet {
    flex: 2;
}

.tab {
    display: flex;
}

.tab button {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border: 1px solid var(--bni-nbi_black);
    padding: var(--15pxrem) var(--20pxrem);
    width: 100%;
    background-color: var(--bni-nbi_white);
    color: var(--bni-nbi_black);
    font-size: var(--17px);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab button:hover {
    background-color: var(--bni-nbi_red);
    color: var(--bni-nbi_white);
}

.tab button.active {
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
}

.tabcontent {
    margin-top: var(--15pxrem);
}

.tabcontent input[type="submit"] {
    display: block;
    margin-left: auto;
}

.succes {
    text-align: center;
}

.succes .icon {
    padding-top: var(--25pxrem);
    font-size: var(--48pxrem);
}

.succes p {
    margin-block: 1.5rem;
    padding: 0;
    text-align: center;
}

.load {
    margin-block: 2rem;
    list-style-position: inside;
}

.isDisabled {
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
    text-decoration: none;
}

/* =====[ CONTENU ]======================================================================== */
.bg-info {
    background-color: var(--bni-nbi_white);
}

#note {
    background-color: var(--bni-nbi_lightGray);
    color: var(--bni-nbi_darkGray);
}

.note_container {
    margin: 0 auto;
    width: min(85%, 1550px);
}

.note_container strong {
    font-size: var(--13px);
}

.notes-legale {
    margin: 2rem 0;
}

.notes-legale p {
    padding: 0;
    font-size: var(--13px);
    text-align: justify;
}

/* ===============================[ BAS DE PAGE ]=============================== */
.bg-soutien {
    background-color: var(--bni-nbi_lightGray);
}

.confidentialite {
    padding: var(--25pxrem) 0;
    text-align: center;
    font-size: var(--13px);
    background: var(--bni-nbi-whiteLilac);
    color: var(--bni-nbi_darkGray);
    font-weight: 700;
}

.confidentialite a {
    color: var(--bni-nbi_darkGray);
    font-weight: 700;
    text-decoration: none;
}

.confidentialite a:hover {
    color: var(--bni-nbi_red);
}

.soutien {
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    padding: 1.25rem 0;
    max-width: 600px;
    list-style: none;
    text-align: center;
}

.soutien li {
    flex: 1;
    padding: 1.563rem 0;
    font-size: var(--13px);
}

.soutien a {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.25;
}

.soutien .icon {
    margin-bottom: var(--10pxrem);
    font-size: var(--50px);
}

.soutien .petit {
    margin-bottom: var(--25pxrem);
    font-size: var(--35px);
}

.soutien :is(a, .icon) {
    display: block;
    color: var(--bni-nbi_mediumGray);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.soutien a:hover,
.soutien a:hover h2 {
    color: var(--bni-nbi_red);
}

/*==========[ Test video player ]==========*/
.md-modal {
    position: fixed;
    visibility: hidden;
    top: 50%;
    left: 50%;
    width: min(90%, 720px);
    z-index: 2000;
    transform: translateX(-50%) translateY(-50%);
}

.md-show {
    visibility: visible;
}

.md-effect-1.md-show .md-content {
    transform: scale(1);
    opacity: 1;
}

.md-effect-1 .md-content {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s;
}

.md-content > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
    background-color: #fff;
    color: var(--ebony-clay);
}

.md-content h3 {
    padding: 0;
    font-size: 32px;
    font-weight: 300;
}

.md-content button {
    margin: 0;
    background: none;
    color: #007cec;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.md-content button:hover {
    opacity: 75%;
}

.md-overlay {
    position: fixed;
    visibility: hidden;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    background: #000c;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {
    visibility: visible;
    opacity: 1;
}

.bg-soutien .jwplayer {
    border-radius: unset;
}

/*=========================================*/

.copyright {
    padding: 25px 0;
    background-color: var(--bni-nbi_black);
    color: var(--bni-nbi_white);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.copyright a {
    color: inherit;
    text-decoration: none;
}

@media screen and (max-width: 1100px) {
    .bg_player {
        flex-direction: column;
    }

    .contenu-player {
        width: 100%;
    }

    .tabcontent input[type="submit"] {
        margin-inline: auto;
        width: min(250px, 100%);
    }
}

@media screen and (max-width: 1020px) {
    .copyright {
        margin-bottom: 36px;
    }
}

@media screen and (max-width: 1008px) {
    .header .page {
        flex-direction: column;
        gap: 8px;
    }

    .connexion {
        width: min(506px, 100%);
    }

    .connexion h2 {
        text-align: center;
    }

    .accueil {
        padding-bottom: 200px;
        background-size: 440px;
        background-position: left bottom -4rem;
    }

    .accueil .page {
        flex-direction: column;
        align-items: center;
        gap: 38px;
    }

    .inscription form,
    .inscription .message {
        min-height: unset;
    }

    .inscription .message {
        width: 100%;
    }

    .notes-legale {
        margin-block: 1.5rem;
    }
}

@media screen and (max-width: 752px) {
    .header img {
        max-height: 60px;
    }

    .titre span > span {
        padding-left: 0;
        display: block;
    }

    .bg_player {
        gap: 1.5rem;
        margin-block: 2rem;
    }
}

@media screen and (max-width: 464px) {
    header ul {
        justify-content: center;
    }

    .header .page {
        flex-direction: column;
    }

    .inscription {
        width: 100%;
    }

    .inscription :is(form, .message, .decompte2) {
        min-height: unset;
    }

    .accueil .page {
        gap: 28px;
    }

    .tab {
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .connexion ul > span {
        gap: 16px;
    }

    .connexion li:not(:last-child)::after {
        content: "";
    }

    .accueil {
        background-position-x: -45px;
    }

    .accueil .page {
        width: 100%;
    }

    .titre-accueil {
        width: min(85%, 1550px);
    }

    .inscription {
        border-radius: unset;
        border-inline-width: 0;
    }
}

@media screen and (max-width: 1020px) {
    #launcher {
        bottom: 32px !important;
    }
}
