
label {
    margin-bottom: .25rem!important;
    font-size: .875em;
}

legend {
    color: rgb(var(--bs-primary-rgb));
    font-size: 1rem;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
}

#scroll_to_top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 499;
}

.leaflet-container {
    border: 1px solid #c5ccd6;
    border-radius: 0.35rem;
}

#layoutSidenav_nav {
    background-color: white;
}

.nav-link-icon {
    width: 20px;
}

.btn-action {
    cursor: pointer;
}
.btn-form {
    min-width: 240px;
    width: 100%;
}
.input-group-text {
    color: #a7aeb8;
    background-color: rgba(33, 40, 50, 0.03);
}
.input-aucune, .input-aucune:focus {
    background-color: white;
}
.input-lecture, .input-lecture:focus {
    background-color: var(--bs-gray-200);
}
.input-ecriture, .input-ecriture:focus {
    background-color: var(--bs-blue-soft);
}
.input-admin, .input-admin:focus {
    background-color: var(--bs-green-soft);
}
.input-associe {
    outline: 2px solid;
    outline-color: var(--bs-blue-soft);
}
.input-import {
    outline: 2px solid;
    outline-color:  var(--bs-success);
}
.form-control:disabled, .dataTable-input:disabled, .form-control[readonly], [readonly].dataTable-input {
    background-color: #e0e5ec;
    opacity: 1;
  }
.is-invalid {
    border: 1px solid #e81500;
    border-radius: .35rem;
}

.input-group.is-invalid {
    border: 1px solid #e81500;
    border-radius: .35rem;
}

.is-invalid > textarea {
    border: 1px solid #e81500;
    border-radius: .25rem;
}

.is-invalid > .form-control {
    padding-right: calc(1em + 1.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23e81500'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e81500' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.25em + 0.4375rem) center;
    background-size: calc(0.5em + 0.875rem) calc(0.5em + 0.875rem);
}

.loading * {
    pointer-events: none; 
}

.link {
    cursor: pointer;
}

.preview-zoom-in {
    max-width:100%; 
    max-height:100%; 
    cursor: zoom-in;
}

.preview-zoom-out {
    cursor: zoom-out;
}

.not-allowed {
    cursor: not-allowed;
}

.hidden {
    display: none;
}

tr.inactive > td {
    color: #c5ccd6 !important;
    text-decoration: line-through;
}

h2.inactive {
    color: #c5ccd6 !important;
    text-decoration: line-through;
}

h2.lue {
    font-weight: normal;
}

h2.lue > i.fa-sparkles {
    display: none;
}
.opacity-40 {
    opacity: 0.4 !important;

}

.form-control:not(textarea):not(select),
select[size="1"].form-control,
select:not([size]).form-control {
    line-height: inherit;
    max-height: 46px;
}

.bootstrap-select .dropdown-toggle .filter-option, 
.bootstrap-select .dropdown-toggle .filter-option .filter-option-inner-inner {
    overflow-y: inherit;
    overflow-x: clip;
}

.page-item.active {
    cursor: default;
}

.readonly {
    border-radius: .25rem;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
    padding: 0.75rem 1.125rem;
}

.readonly > span {
    overflow-wrap: anywhere;
}

.onglet {
    font-weight: 600;
}

/*
** Boostrap-select patches
*/

.dropdown-toggle.btn-light {
    color: #69707a;
}

.bs-searchbox .form-control {
    height: 38px;
}

.input-group .btn {
    z-index: 0;
}

.dropdown.bootstrap-select.form-control {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
}

.dropdown.disabled {
    background-color: #eaecf4!important;
}

.dropdown-toggle:not(.disabled) {
    background-color: #fff!important;
}

/*
    Patch summernote 0.8.20
    > suppression du doublon de fleche vers le bas 
    > dropdown-menu btn alignement (horizontal)
*/
.note-editor .dropdown-toggle::after {
    display: none;
}

.note-editor .note-btn-group {
    margin-right: 0;
}

.note-editable {
    background-color: white;
}

.note-editor.card {
    box-shadow: initial;
}
.note-modal-footer {
    height: unset;
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #e0e5ec;
}

.note-btn-primary:hover {
    border-radius: 0.35rem;
}

input[type="checkbox"] {
    margin: 4px 8px 4px 4px
}

/* .checkbox input[type=checkbox] {
    position: absolute;
} */
/*
    Fin Patch summernote
*/
.bootstrap-select > select[readonly] {
    pointer-events: none;
}

.bootstrap-select > select[readonly] + .btn {
    pointer-events: none;
    background-color: #e0e5ec!important;
    border-color: #e0e5ec;
    opacity: 1!important;
}

/*
// hide arrow on read only select 
.bootstrap-select > select[readonly] + .btn::after {
    display: none;
}
*/
.bootstrap-select > .btn {
    max-height: 47px !important;
}

.bootstrap-select > .btn > .filter-option {
    max-height: 25px !important;
}

.dropdown-item {
    height: 40px;
}

#dropdownFiltres + .dropdown-menu {
    transform: translate3d(-22px, 54px, 10px)!important;
}

.filtre-input {
    height: 30px;
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
    line-height: 1;
}

.filtre-select {
    height: 35px;
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
}

.filtre-select > .btn {
    height: 30px;
    font-size: 0.9rem;
    padding: 0.375rem 0.75rem;
}

/*
** Summernote patches
*/

.note-editor.card {
    box-shadow: initial;
}

@media (min-width: 1900px) {
    .d-xxxxl-none {
      display: none!important;
    }
    .d-xxxxl-flex {
      display: flex!important;
    }
}

@media (min-width: 1500px) and (max-width: 1600px) {
    .d-xxxl-none {
        display: none!important;
      }
    .d-xxxl-flex {
        display: flex!important;
    }
}

@media (min-width: 1400px) and (max-width: 1500px) {
    .d-xxl-flex {
        display: flex!important;
    }
}
/*
** Accordions buttons disabled
** (remove arrow in end-line)
*/
.accordion-button:disabled::after {
    display: none;
}

.accordion-item {
    color: inherit;
}
.dropzone {
    border: 2px dashed var(--bs-gray-300);
    border-radius: 5px;
    background: white;
}
/* 
** Correction interligne sur textarea 
*/
textarea {
    line-height: unset!important;
} 

/*
** Pour l'affichage des tooltips Bootstrap
*/
.tooltip-inner {
    text-align: left;
    max-width: 100%;
}

.badge {
    font-size: 12px;
}

input[type="file"]::file-selector-button {
    background-color: rgba(33, 40, 50, 0.03);
}

.no-animation {
    transition: none!important;
}

.avatar {
    width: 35px; 
    height: 35px;
    object-fit: cover;
}

hidden {
    display: none;
}
.popover.bs-popover-auto {
    min-width: 346px;
    max-width: 646px;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
}

/* Style pour la liste de cases à cocher */
.checkbox-list {
    max-height: 246px;
    overflow-y: auto;
    overflow-x: hidden;
}

.bg-filtre-avance {
    background: rgb(242, 242, 242);
}
.border-filtre-avance {
    border-color:rgb(197, 204, 214) !important;
}
.container-sticky {
    position: sticky;
    bottom: 15px;
}
.width-inital {
    min-width: initial;
}
.blurred-effect {
    height:50px;
    background: linear-gradient(to bottom, transparent,rgb(242, 242, 242));
}
@media (width <= 768px) {
    .popover.bs-popover-auto {
        min-width: 30%;
        max-width: 50%;
    }

    .checkbox-list {
        min-width: 100%;
    }
}

/* Media query pour les petits écrans (smartphones) */
@media (width <= 576px) {
    .popover.bs-popover-auto {
        min-width: 30%;
        max-width: 50%;
    }

    .checkbox-list {
        min-width: 100%;
    }
}

.searchList__filterTagsContainer {
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    min-height: 25px;
}

.Tag_label {
    font-size: 10px;
    line-height: 14px;
    text-align: start;
}

.Tag.Tag_clickable {
    cursor: pointer;
    background-color: unset;
}

.Tag.Tag_filter-with-cross {
    border: none;
}

.Tag.Tag_tiny {
    padding: 2px 4px;
    gap: 2px;
}

.Tag.Tag_right {
    flex-direction: row-reverse;
}

.Tag {
    border-radius: 4px;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    margin: 2px;
    gap: 4px;
    height: fit-content;
}

.range-wrapper {
   width: 344px;
}