/* deploy: s.eventer.cc/gallery/start/start2.css */

#startButton {
    position: fixed;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    z-index: 9999;
    font-family: system-ui;
    font-weight: 300;
    font-size: 14px;
    transition: bottom 0.3s ease;
}

#startButton.hide {
    bottom: -60px;
}

#startButton.mobile {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 24px);
    max-width: 400px;
}

#startButton a, #startButton button {
    background: #222;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 9px 0;
    cursor: pointer;
    text-decoration: none;
    font-family: system-ui;
    font-size: 11px;
    text-align: center;
    transition: all .2s ease;
    font-weight: 300;
    line-height: 1;
    filter: drop-shadow(0 0 1px #fff);
    min-width: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: .5px;
}

#startButton a:hover,
#startButton button:hover {
    filter: invert(1);
}

#startButton .btn-join {
    position: relative;
}

#startButton .btn-join button {
    width: 100%;
}

#startButton .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: justify;
}

.vc_desktop #startButton a,
.vc_desktop #startButton button {
    /* padding: 9px 10px; */
    font-size: 13px;
}

#startButton.mobile .tooltip {
    position: fixed;
    bottom: 70px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
}

#startButton .tooltip.show {
    opacity: 1;
    visibility: visible;
}

#crisp-chatbox div[role="button"][aria-label][data-is-failure] {
    bottom: calc(55px + .5 * env(safe-area-inset-bottom)) !important;
    transition: opacity .5s linear!important;
    /* opacity : 0; */
}

/* ------------------------------------------------------------------ */
/* Header : refonte cosmetique des sous-menus deroulants               */
/* Avant : lignes a fond gris clair, coins droits, sans ombre (annees  */
/* 80). Apres : carte blanche arrondie, ombre douce, survol en gras.   */
/* CSS-only, scope au menu principal (#primary-navigation) : aucun     */
/* impact sur les autres contextes ou start2.css est aussi deploye.    */
/* ------------------------------------------------------------------ */
#primary-navigation #primary-menu .sub-menu {
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 14px 38px rgba(20, 20, 40, .18), 0 3px 10px rgba(20, 20, 40, .08);
    border: 1px solid rgba(0, 0, 0, .05);
    overflow: hidden;
    /* Le theme positionne le sous-menu a top:91px (bas du <li> parent, qui   */
    /* a un gros padding vertical), soit ~33px sous le libelle. On le remonte  */
    /* a ~10px. La zone reste dans le <li> parent : le survol ne decroche pas. */
    margin-top: -23px;
}

#primary-navigation #primary-menu .sub-menu li {
    background: transparent;
}

#primary-navigation #primary-menu .sub-menu li > a {
    background: transparent;
    color: #2c2c34;
    padding: 11px 18px;
    border-radius: 9px;
    border-left: 0 !important;
    font-size: 15px;
    line-height: 1.3;
    transition: font-weight .12s ease, color .12s ease;
}

#primary-navigation #primary-menu .sub-menu li > a:hover {
    background: transparent !important;
    color: #2c2c34 !important;
    border-left: 0 !important;
    font-weight: 700;
}

.crisp-client .cc-10lqw {
    visibility: hidden !important;
}