@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://dev.calendrier-biblique.com/assets/css/fonts/MaterialIcons-Regular.ttf); /* For IE6-8 */
    src: local('Material Icons'),
      local('MaterialIcons-Regular'),
      url(https://dev.calendrier-biblique.com/assets/css/fonts/MaterialIcons-Regular.ttf) format('truetype')/*,
      url(https://dev.calendrier-biblique.com/assets/css/fonts/MaterialIcons-Regular.woff) format('woff'),
      url(https://dev.calendrier-biblique.com/assets/css/fonts/MaterialIcons-Regular.ttf) format('truetype')*/;
} /* <span class="material-icons">face</span> */

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
}
:root {
    --toolbar-height: 64px;
    --header-height: 48px;
    --main-height: calc(100dvh - calc(var(--toolbar-height) + var(--header-height)));
    --one-pixel: .0625em;

    --scroll-thumb-color: #4877b0;
    --scroll-track-color: #e0e0e0;
    --scroll-border-color: #c2d1db;
    --scroll-radius: 5px;
    --scroll-width: 5px;
    --scroll-width-sm: 4px;
    --scroll-width-xs: 2px;
    /* --bg-body: #fff; */

    --font-size--sidemenu-title: 1.5em;
    --font-size--sidemenu-items: .75em;

    --font-zone-infos: "Raleway", Arial, sans-serif;
}

/* reset */
*,
*::before,
*::after{
    box-sizing: border-box;
}
html {
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-family: sans-serif;
    scroll-behavior: smooth;
}
body {
    line-height: 1.5;
    overflow-x: hidden;
    /* min-height: 100dvh;
    max-height: 100dvh; */
    text-rendering: optimizeSpeed;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,
h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub,
sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form,
label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio,video{
    margin : 0;
    padding: 0;
    border : 0;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
/* end reset */
/** Global Scrollbars */
*::-webkit-scrollbar {
    width: var(--scroll-width);
    height: var(--scroll-width);
}

*::-webkit-scrollbar-track {
    background: var(--scroll-track-color);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: var(--scroll-radius);
    border: 1px solid var(--scroll-border-color);
    transition: all 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #2e5d8a;
}

/* Firefox Scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb-color) var(--scroll-track-color);
}

/* Mobile scrollbars */
@media screen and (max-width: 768px) {
    *::-webkit-scrollbar {
        width: var(--scroll-width-sm);
        height: var(--scroll-width-sm);
    }
}

@media screen and (max-width: 480px) {
    *::-webkit-scrollbar {
        width: var(--scroll-width-xs);
        height: var(--scroll-width-xs);
    }
}
/* =======================
   Commun
======================= */
html {
    font-family: "Raleway", sans-serif;
}
body {
    background-color: var(--bg-body);
    color: var(--fg-body);
    margin: 0;
    padding: 0;
}
#mainContent {
    background-color: var(--bg-body);
    color: var(--fg-body);
    display: flex;
    flex-direction: column;
    /* justify-content: start; */
    align-items: center;
    margin-top: var(--header-height);
    margin-bottom: 0;
    max-height: var(--main-height);
    height: calc(100dvh - 96px);
    /* min-height: var(--main-height); */
    width: 100%;
    overflow-y: auto;
}
#headerApp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    padding: .5em 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}
.toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--toolbar-height);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}
#headerApp,
.toolbar {
    background-color: #222;
    color: #fff;
}
/* #headerApp button {
    width: auto;
    height: auto;
} */
.bt-install {
    margin-right: auto;
    margin-left: auto;
    font-size: 1em;
    width: 112px;
    font-weight: 600;
    color: rgba(169, 223, 225, 0.725); /* #79a6ee */
    box-shadow: rgba(245, 201, 201, 0.25) 0px 13px 27px -5px, rgba(26, 189, 255, 1) 0px 8px 16px -8px;
    padding: 6px 8px;
    border-radius: 15px;
    background-color:  #282828; /* rgba(245, 201, 201, .75) */
}
.toolbar button {
    background: none;
    border: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.toolbar button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
/* Pour les icones de la toolbar avec texte, à retirer si retrait texte définitif */
.toolbar button span:not(.material-icons) {
    font-size: .75em;
    padding-bottom: .25em;
}
.toolbar button span.material-icons {
    font-size: 2.5em;
    margin: .125em auto .125em auto;
}

#sideMenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: calc(100dvw * 70 / 100);
    max-width: 420px;
    height: var(--main-height);
    background-color: #333;
    color: #fff;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    padding: 1em;
    margin-top: var(--header-height);
    overflow-y: auto;
}
.sidemenu-title {
    font-size: 1.5em;
}
#sideMenu ul {
    list-style-type:none;
}
#sideMenu.opened {
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
}
.sidemenu-items .item a{
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: .5em 2em;
    font-weight: 600;
    transition: all .3s ease-in-out;
}
.sidemenu-items{
    width: 100%;
}
.sidemenu-items li:last-child{
    margin-top: 5rem;
}
.sidemenu-items .item {
    cursor: pointer;
    margin-bottom: .45em;
}
.sidemenu-items .item a:hover{
    color: #00F08A;
}
.sidemenu-items .item a:active, 
.sidemenu-items .item a.active{
    padding-left: 1em;
    color: #0598DC;
    border-left: 7px solid transparent;
    border-left-color: #00F08A;
    background-color: #424855;
}
.sidemenu-items .item .material-icons{
    font-size: 28px;
}
.sidemenu-items .item span:not(.material-icons) {
    font-size: .9em;
    padding-bottom: .25em;
}

@media screen and (max-width: 1366px) {
    :root {
        --toolbar-height: 48px;
        --main-height: calc(100dvh - calc(var(--toolbar-height) + var(--header-height)));
    }
    .toolbar {
        height: 48px;
    }
    #sideMenu,
    #mainContent {
        height: calc(100dvh - 96px);
    }
    .toolbar button {
        font-size: 18px;
    }
    .toolbar button span.material-icons {
        font-size: 1.5em;
        margin: .125em auto .125em auto;
    }
    #sideMenu {
        max-width: 240px;
        padding: .75em .5em;
    }
    .sidemenu-title {
        font-size: 1.33em;
    }
    .sidemenu-items li:last-child{
        margin-top: 4rem;
    }
    .sidemenu-items .item {
        margin-bottom: .33em;
    }
    .sidemenu-items .item .material-icons{
        font-size: 24px;
    }
    .sidemenu-items .item span:not(.material-icons) {
        font-size: .75em;
        padding-bottom: 0;
    }
    .sidemenu-items .item a{
        gap: 12px;
        padding: .25em .75em;
    }
}
.material-icons {
    cursor: pointer;
}
.readonly {
    background-color: #dbdcdd;
    color: #356aa7;
}
.pointer-events-auto {
    pointer-events: auto;
}
.text-b {
    font-weight: bold;
}
.text-i {
    font-style: italic;
}
.text-u {
    text-decoration: underline;
}
.text-c {
    text-decoration: line-through;
}
.text-center {
    text-align: center!important;
}
.text-justify,
.text-just {
    text-align: justify!important;
}
.text-just:last-child {
    text-align: center!important;
}
.text-left {
    text-align: left!important;
}
.fg-crimson {
    color: crimson!important;
}
.zone-infos,
.zone-remark,
.zone-alert{
    min-height: 2em;
    font-family: var(--font-zone-infos);
    font-weight: 500;
    background-color: whitesmoke;
    margin: 1.25rem auto;
    padding: .75rem 1rem .75rem 1.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.zone-infos{
    color: rgba(3, 153, 223, 1);
    border-left: 8px solid #0299df;
}
.zone-remark{
    color: rgba(59, 95, 23, 1);
    border-left: 8px solid #60A917;
}
.zone-alert{
    color: rgba(139, 23, 38, 1);
    border-left: 8px solid #8B1625;
}
.fg-infos {
    color: rgba(3, 153, 223, 1)!important;
}
.fg-remark {
    color: rgba(59, 95, 23, 1)!important;
}
.side-panel .zone-infos,
.side-panel .zone-remark,
.side-panel .zone-alert {
    margin-left: 1.25em;
    font-size: .9em;
    text-align: left!important;
}
/* =======================
   Code couleur
======================= */
.li-code-couleur {
    margin-bottom: .75rem;
}
.code-couleur-biblical,
.code-couleur-judaic,
.code-couleur-addJudaic,
.code-couleur-christian,
.code-couleur-essene,
.code-couleur-shabbat,
.code-couleur-tekoufa,
.code-couleur-intercalary,
.code-couleur-period-christian,
.code-couleur-period-judaic,
.code-couleur-period-judaic-christian {
    padding: 2px 6px;
    
}
.code-couleur-biblical {
    background-color: var(--bg-color--biblical);
    color: var(--fg-color--biblical);
}
.code-couleur-judaic {
    background-color: var(--bg-color--judaic);
    color: var(--fg-color--judaic);
}
.code-couleur-christian {
    background-color: var(--bg-color--christian);
    color: var(--fg-color--christian);
}
.code-couleur-essene	 {
    background-color: var(--bg-color--essene);
    color: var(--fg-color--essene);
}
.code-couleur-addJudaic {
    background-color: var(--bg-color--addjudaic);
    color: var(--fg-color--addjudaic);
}
.code-couleur-tekoufa {
    background-color: var(--bg-color--tekoufa);
    color: var(--fg-color--tekoufa);
}
.code-couleur-intercalary {
    background-color: var(--bg-color--intercalary);
    color: var(--fg-color--intercalary);
}
.code-couleur-shabbat {
    background-color: var(--bg-color--shabbat);
    color: var(--fg-color--shabbat);
}
.code-couleur-period-christian {
    background-color: var(--bg-color--period-christian);
    color: var(--fg-color--period-christian);
}
.code-couleur-period-judaic {
    background-color: var(--bg-color--period-judaic);
    color: var(--fg-color--period-judaic);
}
.code-couleur-period-judaic-christian {
    background: linear-gradient(to right, var(--bg-color--period-judaic) 50%, var(--bg-color--period-christian) 50%);
    font-size: 1em;
    color: #fff;
    text-shadow:
        1px 1px 0 #000,
        -1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000;
}
.span-wmax {
    max-width: 212px;
}
.w-100 {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
/* @supports (-webkit-text-stroke: 1px black) {
    .code-couleur-period-judaic-christian {
        -webkit-text-fill-color: rgb(190, 190, 190);
        -webkit-text-stroke: 1px black;
    }
} */
.font-semibold {
    font-weight: 600; 
}

.show-touch {
    display: none;
}
/* Si système de pointage */
@media (pointer: coarse) {
    .show-touch {
        display: block;
    }
}

/* =======================
   Switch Toggle
======================= */
.cb-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 52px;
    height: 28px;
}
.cb-switch input{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2; /* AU-DESSUS du slider */
}
.cb-switch .slider{
    position: absolute;
    /* background-color: rgba(194, 128, 146, .7); */
    border-radius: 25%;
    inset: 0;
    cursor: pointer;
    z-index: 1;
}
.cb-switch .slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    top: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform .25s;
    box-shadow: 0 2px 4px rgba(0,0,0,.25);
}
.cb-switch input:checked + .slider {
    background-color: var(--fuscha);
}
.cb-switch input:checked + .slider::before {
    transform: translateX(24px);
}
.cb-switch input:disabled,
.cb-switch input:disabled + .slider {
    background-color: #ddd;
    cursor: not-allowed;
}

/* =======================
   LOADERS
======================= */
.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid var(--light-blue);
    border-top: 5px solid var(--fuscha);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}
.loader-container {
    display: flex;
	flex-direction: column;
    flex: 0 0 100%;
	max-width: 100%;
    justify-content: center;
    align-items: center;
}
.loader-section{
    margin: 0;
    padding: 0;
    text-align: center;
    height: 75px;
}
.loader{
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}
.dom-loader{
    position: fixed;
    width: 50%;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    z-index: 100000;
    pointer-events: none;
}
.dom-loader:target{
    opacity:1;
    pointer-events: auto;
}
.dom-loader > div{
    position: relative;
    margin: auto;
}
.loader-double{
    border-radius: 50px;
    border: 2px solid transparent;
    border-top-color: #0598DC;
    border-bottom-color: #757AB1;
    -webkit-animation: spin 1s linear 0s infinite;
    animation: spin 1s linear 0s infinite;
}
.loader-double:after{
    content:'';
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    top: 4px;
    border-radius: 50px;
    border: 1px solid transparent;
    border-top-color: #00F08A;
    border-bottom-color: #725C7F;
    opacity: .9;
    -webkit-animation: spinreverse 2s linear 0s infinite;
    animation: spinreverse 2s linear 0s infinite;
}
.loader-double:before{
    content:'';
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: -10px;
    top: -10px;
    border-radius: 50px;
    border: 3px solid transparent;
    border-top-color: var(--light-blue);
    border-bottom-color:var(--fuscha);
    opacity: .9;
    -webkit-animation: spinreverse 3s linear 0s infinite;
    animation: spinreverse 4s linear 0s infinite;
}
.loader-circles{
    border-radius: 50px;
    border: 3px solid transparent;
    border-top-color: #725C7F;
    -webkit-animation: spin 1s linear 0s infinite;
    animation: spin 1s linear 0s infinite;
}
@-webkit-keyframes spin{
    0%{ -webkit-transform: rotate(0deg); }
    100%{ -webkit-transform: rotate(360deg); }
}
@keyframes spin{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}
@-webkit-keyframes anti-spin{
    100%{ -webkit-transform: rotate(0deg); }
    0%{ -webkit-transform: rotate(360deg); }
}
@keyframes anti-spin{
    100%{ transform: rotate(0deg); }
    0%{transform: rotate(360deg); }
}
@-webkit-keyframes spinreverse{
    0%{ -webkit-transform: rotate(0deg); }
    100%{ -webkit-transform: rotate(-360deg); }
}
@keyframes spinreverse{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(-360deg); }
}
.display-image {
    transition: opacity .3s;
    -webkit-transition: opacity .3s;
 }
.fade-in {
    -webkit-animation-name: fadeInOpacity;
            animation-name: fadeInOpacity;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-duration: .33s;
            animation-duration: .33s;
}
.fade-in-img {
    -webkit-animation-name: fadeInOpacity;
            animation-name: fadeInOpacity;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
}
.fade-in-text-img {
    -webkit-animation-name: fadeInOpacity;
            animation-name: fadeInOpacity;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-duration: 3s;
            animation-duration: 3s;
}
@-webkit-keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.fade-out {
    -webkit-animation-name: fadeOutOpacity;
            animation-name: fadeOutOpacity;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-duration: .33s;
            animation-duration: .33s;
}
.fade-out-img {
    -webkit-animation-name: fadeOutOpacity;
            animation-name: fadeOutOpacity;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    -webkit-animation-duration: .6s;
            animation-duration: .6s;
}
@-webkit-keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* =======================
   Links
======================= */
a.success {
    color: #3275c6;
    font-weight: bold;
    position: relative;
    text-decoration: none;
}
a.success::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #1873e1;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}
a.success:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}
.bt-infos-app {
    font-size: 1em!important;
    font-weight: bold!important;
    padding: .15em .25em;
    background-color: #aec6d4!important;
    /* border: 1px solid #ff0080;
    border-radius: 5px; */
}
@media screen and (max-width: 380px){
    .bt-infos-app {
        font-size: .85em!important;
    }
}
.link-cover{
    text-decoration: none;
    font-size: 1em!important;
    line-height: 1;
    position: relative;
    z-index: 0;
    display: inline-block;
    padding: 2px;
    overflow: hidden;
    vertical-align: text-top;
    transition: color .45s ease-out;
    font-weight: 600;
    color: #ff0080!important;
}
.link-cover::before{
    content: "";
    background-image: linear-gradient(60deg, #ff0080 0%, #00b4d8 100%);
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transform: translateY(calc(100% - 2px));
    width: 100%;
    height: 100%;
    transition: transform .25s ease-out;
}
.link-cover:hover::before{
    transform: translateY(0);
    transition: transform .25s ease-out;
}
.link-cover:hover{ 
    color: white!important;
}
.h-separate{
    height: 4px;
    min-height: 4px;
    max-height: 4px;
}
.h-top-bar{
    box-shadow: rgba(179, 173, 173, 0.75) 0 1px 0 inset;
    border-top: 1px solid #292727;
    width: 98%;
    margin: .5em auto 1em auto;
}
.h-bottom-bar{
    box-shadow: rgba(179, 173, 173, 0.75) 0 1px 0 inset;
    border-bottom: 1px solid #121212;
    width: 98%;
    margin: 1em auto .5em auto;
}
.h-bottom-dot{
    box-shadow: rgba(179, 173, 173, 0.75) 0 1px 0 inset;
    border-bottom: 1px solid #121212;
    width: 98%;
    margin: 1em auto .5em auto;
}
.layout-template {
    display: flex!important;
    padding: 1rem .25rem; 
    max-width: 768px;
    justify-content: center!important;
    margin-left: auto;
    margin-right: auto;
}
/** flex */
.d-flex{
    display: flex!important;
}
.flex-column{
    flex-direction: column!important;
}
.flex-row{
    flex-direction: row!important;
}
.cell-12{
  flex: 0 0 100.00002%;
  max-width: 100.00002%;
}
.cell-6{
  flex: 0 0 50.00001%;
  max-width: 50.00001%;
}
.flex-justify-start{
    justify-content: flex-start!important;
}
.flex-justify-end{
    justify-content: flex-end!important;
}
.flex-justify-center{
    justify-content: center!important;
}
.flex-justify-between{
    justify-content: space-between!important;
}
.flex-justify-around{
    justify-content: space-around!important;
}
.flex-content-start{
    align-content: flex-start!important;
}
.flex-content-end{
    align-content: flex-end!important;
}
.flex-content-center{
    align-content: center!important;
}
.flex-content-between{
    align-content: space-between!important;
}
.flex-content-around{
    align-content: space-around!important;
}
.flex-content-stretch{
    align-content: stretch!important;
}
.gap-y-2 {
    gap: .5rem 0;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.mt-auto {
    margin-top: auto!important;
}
.mt-0{
    margin-top: 0!important;
}
.mt-1{
    margin-top: 4px!important;
}
.mt-2{
    margin-top: .5rem!important;
}
.mt-4 {
    margin-top: 1rem!important;
}
.mt-6 {
    margin-top: 1.5rem!important;
}
.mt-8 {
    margin-top: 2rem!important;
}
.mb-auto {
    margin-bottom: auto!important;
}
.mb-0 {
    margin-bottom: 0!important;
}
.mb-1 {
    margin-bottom: 4px!important;
}
.mb-2 {
    margin-bottom: .5rem!important;
}
.mb-4 {
    margin-bottom: 1rem!important;
}
.mb-8 {
    margin-bottom: 2rem!important;
}
.ml-4 {
    margin-left: 1rem!important;
}
.mr-4 {
    margin-right: 1rem!important;
}
.mr-auto {
    margin-right: auto!important;
}
.ml-auto {
    margin-left: auto!important;
}
.hidden {
    display: none;
}
/** Buttons calendar */
.button-reset-calendar-header {
    opacity: 1;
    transition: opacity 0.5s ease;
    margin-left: auto;
    margin-right: auto;
}
.button-nav-span-icon-index {
    font-size: 16px;
    vertical-align: middle;
    margin-top: auto;
    margin-bottom: 2px;
}
.hidden-opac {
    opacity: 0;
}

/** typo */
/* pour mise en évidence str encoded */
mark.typoreplace {
    background-color: #fff3cd;
    color: #856404;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}
.font-hebraic,
.text-hebraic,
.font-grec {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
}

/* =======================
   Tables responsive
======================= */
.tab-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* inertie fluide sur mobile */
}
.table-responsive th {
    text-align: center!important;
}
@media only screen and (max-width: 572px){
    table .table-responsive,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive tr,
    .table-responsive th,
    .table-responsive td{
        display: block;
    }
    .table-responsive{
        border: none!important;
    }
    .table-responsive thead{
        display: none;
    }
    .table-responsive td{
        position    : relative;
        border      : solid 1px #ccc;
        margin-top  : -1px; /* fusionne les bordure - évite l'empilement des bordures */
    }
    .table-responsive td::before{
        content         : attr(data-label);
        position        : absolute;
        top             : 0;
        left            : 0;
        text-align      : left!important;
        width           : 100px;
        bottom          : 0;
        background-color: #94b6dd;
        color           : var(--fg-color-primary);
        display         : flex;
        align-items     : center;
        padding         : 10px;
        font-weight     : bold;
    }
    .table-responsive tr{
        margin-bottom: .33rem;
        margin-top: 0;
    }
    .table-responsive td:nth-child(even),
    .table-responsive td:nth-child(odd){
        padding-left: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .table-responsive th + td::before{
        display: none;
    }
    .table-responsive td:nth-child(even){ background-color: #dbe7f4; }
    .table-responsive td:nth-child(odd){ background-color: #dbe7f4; }

    table .table-responsive .container-edit-button{
        padding-left: 96px;
        width: 100%!important;
    }
    table .table-responsive .edit-button{
        width: 100%!important;
        margin-left: auto;
        margin-right: auto;
    }
    table .table-responsive tfoot,
    table .table-responsive tfoot th, 
    table .table-responsive tfoot td {
        display: none!important;
    }
}
@media screen and (max-width: 380px){
    .table-responsive {
        width: auto;
        overflow-x: auto!important;
    }
}
@media screen and (max-width: 358px){
    .table-responsive td{
        font-size: .85em;
    }
    .table-responsive td::before{
        font-size: .95em;
        width: 88px;
    }
}
@media (max-width: 572px){
    .table-responsive{
        border: none;
    }
}

/* =======================
   Banner
======================= */
.don-banner{
    --bg: var(--card-accordion-header-bg, #FFE1E0);
    --fg: var(--fg-color--current-date, #3577c8);
    --bd: var(--card-border-color, #8e9090);

    max-width: 920px; margin: 16px auto; padding: 16px 18px;
    background: var(--bg); border: 1px solid var(--bd);
    border-radius: 16px; box-shadow: 0 6px 16px rgba(1,1,27,.12);
    text-align: center;
}
.don-badge { display:inline-block; padding:4px 10px; border:1px dashed var(--bd); border-radius:999px; color:#172E40; font-weight:600; margin-bottom:8px; background:#fff9; }
.don-title { font-size:1.3rem; font-weight:700; color:var(--fg); margin-bottom:6px; }
.don-content p.text-center { text-align: center!important; }
.don-countdown { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:1.1rem; margin-bottom:10px; color:#172E40; }

.btn-subs,
.don-btn {
    display: inline-block;
    font-weight: bold!important;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    text-align: center;
    overflow: hidden;
    color: #fff!important;
    background: linear-gradient(135deg, #ff0080, #7928ca, #00b4d8);
    padding: 12px 24px;
    font-size: 1.2rem;
}
.btn-subs::before,
.don-btn::before {
    position: absolute;
    left: -30px;
    top: 50%;
    font-size: 1.4rem;
    opacity: 0;
}
.don-btn::before {
    transform: translateY(-50%);
    transition: left 0.3s ease, opacity 0.3s ease;
}
.btn-subs::before {
    transform: translateY(-50%);
    transition: left 0.75s ease, opacity 0.3s ease;
}
.don-btn::before {
    content: "❤️";
}
.btn-subs::before {
    content: "📝​";
}
.btn-subs,
.don-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}
.btn-subs:hover::before {
    left: 80%;
    opacity: 1;
}
.don-btn:hover::before {
    left: 12px;
    opacity: 1;
}

@media screen and (max-width: 360px) {
    .don-btn {
        padding: 10px 14px!important;
        font-size: 1rem!important;
    }
}
.container-bt-don {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/** bd pour tests */
.borders{
    border: 1px solid #aba987;
}
.red-border {
    border: 2px darkred solid;
}
.blue-border {
    border: 2px darkblue solid;
}
.green-border {
    border: 1px darkgreen solid;
}
.orange-border {
    border: 1px darkorange solid;
}
.yellow-border {
    border: 1px yellow solid;
}
.pink-border {
    border: 1px pink solid;
}
