/* Tableau de repertorisation */
td.sticky-col,
th.sticky-col {
    position: sticky;
    left: 0;
    z-index: 10;
    max-width: 30svw;
    min-width: 22svw;
    background-color: white !important;
}

td.sticky-col::after,
th.sticky-col::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgb(237, 239, 243);
}

thead tr td:first-child,
tbody tr:last-child td {
    border-top-left-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
}

.form-check-input[type="checkbox"] {
    border-color: var(--bs-green) !important;
}

.form-check-input[type="checkbox"]:hover {
    cursor: pointer;
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--bs-green) !important;
}

/* Accordion */
.accordion-wrapper .card-header button.collapsed {
    color: #343f52 !important;
}

.accordion-wrapper .card-header button,
.accordion-wrapper .card-header button:hover,
.accordion-wrapper .card-header button::before {
    color: var(--bs-green) !important;
}

/* swipper */
.swiper-controls .swiper-pagination {
  bottom: -2rem !important;
}

/* btn */
.btn.disabled {
    opacity: 0.35 !important;
}

/* langues */
.menu-lang {
    position: absolute !important;
    top: -5px !important;
    right: 2.5rem !important;
}

/* bouton admin spip */
.spip-admin-float {
    display: none;
    visibility: hidden;
}

/* comparaison */
.offcanvas-fullscreen {
    height: 100vh !important;
}

/* loader */
#loader {
    position: relative;
    height: 80px;
    width: 55px;
}

@keyframes loader {
    0% { left: -100px }
    100% { left: 110%; }
}

#box {
    width: 50px;
    height: 50px;
    background: var(--bs-green);
    animation: animate .5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
}

@keyframes animate {
    17% { border-bottom-right-radius: 3px; }
    25% { transform: translateY(9px) rotate(22.5deg); }
    50% {
        transform: translateY(18px) scale(1,.9) rotate(45deg) ;
        border-bottom-right-radius: 40px;
    }
    75% { transform: translateY(9px) rotate(67.5deg); }
    100% { transform: translateY(0) rotate(90deg); }
}

#shadow {
    width: 50px;
    height: 5px;
    background: #000;
    opacity: 0.1;
    position: absolute;
    top: 59px;
    left: 0;
    border-radius: 50%;
    animation: shadow .5s linear infinite;
}

@keyframes shadow {
    50% {
        transform: scale(1.2,1);
    }
}
