.select2-container--default .select2-selection--multiple {
    border: solid var(--primary) 1px !important;
    margin-bottom: 1rem !important;
    outline: none;
    height: 3.5rem;
    border-radius: 1rem;
    overflow-y: auto;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--rgba-primary-1) !important;
    border: 1px solid var(--primary) !important;
    border-radius: 1rem;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 15px;
    padding: 5 15px;
}

.select2-container--default .select2-selection--single {
    border: solid var(--primary) 1px !important;
    margin-bottom: 1rem !important;
    outline: none;
    height: 3.5rem;
    border-radius: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__choice {
    background-color: var(--rgba-primary-1) !important;
    border: 1px solid var(--primary) !important;
    border-radius: 1rem;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 15px;
    padding: 5 15px;
}

.select2-container--default .selection {
    margin: 0;
}

.table-sm td,
.table-sm th {
    padding: 0.15rem !important;
    font-size: 0.85rem !important;
}

.btn-xs {
    padding: 0.3rem 0.5rem !important;
}

.dropdown-menu {
    min-width: 15rem !important;
}

.bg-pylones {
    background-image: url("../img/pylones.png");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.error {
    font-weight: bold;
    color: red;
}

textarea.error,
select.error,
input.error {
    background: rgb(251, 227, 228);
    border: 1px solid #fbc2c4;
    color: red;
}

textarea {
    min-height: 5rem !important;
}

.minicolors-swatch {
    margin-top: 10px;
    margin-inline-start: 10px;
}

#loader-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
}

#loader-spin::after {
    content: "";
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: black;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin 0.8s linear infinite;
    animation: spin 0.8s linear infinite;
}

.text-accent {
    color: rgb(18, 18, 175) !important;
}

.asColorPicker-mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
}

.ck-content ul,
.ck-content ol {
    list-style-position: initial;
}

.ck-content li {
    list-style-type: initial;
    padding-inline-start: 1em;
}

.ck-content li::marker {
    padding-inline-start: 1em;
}

.kanban-board,
.kanban-item {
    border-radius: 1rem;
}

/* Commenté car casse le layout de FullCalendar */
/* table th,
.table td {
    padding: 0.325rem 0.625rem !important;
} */

.fc-event,
.external-event {
    text-align: left !important;
}

.fc-event-bdt {
    opacity: 0.9;
}

.bg-medium-green {
    background-color: #24bb85 !important;
}

.btn-clear-z {
    z-index: unset !important;
}

/* FAncy Tree */

table.fancytree-ext-table tbody tr.fancytree-active {
    background-color: #c2cdee !important;
}

.gm-style-iw-chr {
    position: absolute;
    right: 0;
    z-index: 1;
}

.modal-xxl {
    width: 95vw;
    max-width: none;
}
