/* ============================
   ACCESSIBILITY WIDGET
   ============================ */
  

#a11y-btn{
    position:fixed;
    bottom:20px;
    right:20px;
    width:60px;
    height:60px;
    border-radius:50%;
    border:none;
    background:#005fcc;
    color:#fff;
    font-size:28px;
    cursor:pointer;
    z-index:999999;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    transition:.25s;
}

#a11y-btn:hover{
    transform:scale(1.08);
}

#a11y-panel{
    position:fixed;
    bottom:95px;
    right:20px;
    width:320px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 15px 45px rgba(0,0,0,.25);
    overflow:hidden;
    display:none;
    z-index:999998;
    font-family:Arial,Helvetica,sans-serif;
}

#a11y-panel.open{
    display:block;
}

#a11y-header{
    background:#005fcc;
    color:#fff;
    padding:18px;
    font-size:20px;
    font-weight:bold;
}

#a11y-content{
    padding:18px;
}

.a11y-item{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #ececec;
}

.a11y-item:last-child{
    border:none;
}

.a11y-item button{
    border:none;
    background:#005fcc;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
}

.a11y-item button:hover{
    opacity:.9;
}

#a11y-reset{
    width:100%;
    margin-top:16px;
    background:#e53935;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    font-size:15px;
}

/* =====================
   ACCESSIBILITY MODES
   ===================== */

body.a11y-large{
    font-size:120%!important;
}

body.a11y-xlarge{
    font-size:140%!important;
}

body.a11y-contrast{
    background:#000!important;
    color:#fff!important;
}

body.a11y-contrast *{
    background:#000!important;
    color:#fff!important;
    border-color:#fff!important;
}

body.a11y-invert{
    filter:invert(100%) hue-rotate(180deg);
}

body.a11y-gray{
    filter:grayscale(100%);
}

body.a11y-links a{
    text-decoration:underline!important;
    font-weight:bold!important;
}

body.a11y-readable{
    font-family:Verdana,Arial,sans-serif!important;
    letter-spacing:.05em;
    line-height:1.8!important;
}

body.a11y-stop *{
    animation:none!important;
    transition:none!important;
}

body.a11y-cursor,
body.a11y-cursor *{
    cursor:pointer!important;
}

/* Focus clavier */

*:focus{
    outline:3px solid #ff9800!important;
    outline-offset:3px;
}

/* Mobile */

@media(max-width:768px){

#a11y-panel{
    width:92%;
    left:4%;
    right:4%;
    bottom:90px;
}

#a11y-btn{
    width:56px;
    height:56px;
    font-size:26px;
}

}