.modal{
    z-index: 12000;
}
body.modal-open{
    overflow: hidden;
}
#zone-opacity-main,
#zone-opacity-all{
    background-color: #000;
    opacity: 0;
    z-index: -1;
}
#zone-opacity-main.showOpacity{
    transition: opacity 0.5s ease 0s;
    opacity: 0.5;
    z-index: 997;
}
#zone-opacity-all.showOpacity{
    transition: opacity 0.5s ease 0s;
    opacity: 0.5;
    z-index: 1000;
}
button.disabled,
button[disabled],
.button.disabled,
.button[disabled],
input[readonly]{
    opacity: 0.5;
    cursor: not-allowed;
}
/* Chrome, Safari, Edge, Opera */
input.no-input-arrow[type=number]::-webkit-outer-spin-button,
input.no-input-arrow[type=number]::-webkit-inner-spin-button{
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input.no-input-arrow[type=number]{
    -moz-appearance: textfield;
}
table.tableNoBorder,
table.tableNoBorder th,
table.tableNoBorder tr,
table.tableNoBorder td{
    border: none;
}
.border-color{
    border-color: #CCCCCC;
}
/* text et fonds pour les messages */
.text-success{
    color: #36D399;
}
.text-warning{
    color: #FFC400;
}
.text-error{
    color: #CC0000;
}
.background-success{
    color: #FFF;
    background-color: #36D399;
}
.background-warning{
    color: #FFF;
    background-color: #FFC400;
}
.background-error{
    color: #FFF;
    background-color: #CC0000;
}
.border-success,
.border-green{
    border: 1px solid #36D399;
}
.border-warning{
    border: 1px solid #FFC400;
}
.border-error,
.border-red{
    border: 1px solid #CC0000;
}
/* Confidentialité du site */
.hide-header,
.hide-footer{
    display: none;
}

/* Alpine.js */
template[x-if],
template[x-for]{
    display: none !important;
}

/* Debug notifications */
[data-drupal-messages]:not([x-ref]) { position: fixed; bottom: 2rem; left: 2rem; z-index: 40; }
[data-drupal-messages]:not([x-ref]) .messages__wrapper [data-drupal-message-id] { display: flex; align-items: center; border-radius: 0.375rem; padding-left: 2.5rem; padding-right: 2.5rem; padding-top: 2rem; padding-bottom: 2rem; }
[data-drupal-messages]:not([x-ref]) .messages__wrapper [data-drupal-message-type="status"] { --tw-bg-opacity: 1; background-color: rgba(54, 211, 153, var(--tw-bg-opacity)); --tw-text-opacity: 1; color: rgba(255, 255, 255, var(--tw-text-opacity)); }
[data-drupal-messages]:not([x-ref]) .messages__wrapper [data-drupal-message-type="error"] { --tw-bg-opacity: 1; background-color: rgba(204, 0, 0, var(--tw-bg-opacity)); --tw-text-opacity: 1; color: rgba(255, 255, 255, var(--tw-text-opacity)); }
[data-drupal-messages]:not([x-ref]) .messages__wrapper [data-drupal-message-type="warning"] { --tw-bg-opacity: 1; background-color: rgba(255, 136, 0, var(--tw-bg-opacity)); --tw-text-opacity: 1; color: rgba(255, 255, 255, var(--tw-text-opacity)); }
[data-drupal-messages]:not([x-ref]) .messages__wrapper { display: flex; flex-direction: column; gap: 1rem; }
.bg-success { --tw-bg-opacity:1; background-color:rgb(54 211 153/var(--tw-bg-opacity));}
.bg-error { --tw-bg-opacity:1; background-color:rgb(204 0 0/var(--tw-bg-opacity));}
.bg-warning { --tw-bg-opacity:1; background-color:rgb(255 136 0/var(--tw-bg-opacity));}
#drupal-live-announce{display: none;}

/* Pas de contour autour des iframes (youtube, google map..) */
iframe:focus-visible{
    outline: none;
}

/* Si connecté avec un compte user qui est aussi admin Drupal, mega menu cassé au survole */
.contextual-region{
    position: initial;
}

/*  Block "Liste des catégories - Blocks [Gezy - Gutenberg]" */
.lm-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.lm-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lm-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lm-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lm-grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.lm-grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media (min-width: 640px) {
    .sm\:lm-grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .sm\:lm-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:lm-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:lm-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sm\:lm-grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .sm\:lm-grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
@media (min-width: 768px) {
    .md\:lm-grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .md\:lm-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:lm-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:lm-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .md\:lm-grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .md\:lm-grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .lg\:lm-grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .lg\:lm-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:lm-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:lm-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .lg\:lm-grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .lg\:lm-grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
@media (min-width: 1280px) {
    .xl\:lm-grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .xl\:lm-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .xl\:lm-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .xl\:lm-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .xl\:lm-grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .xl\:lm-grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}