/* +--------------------------------------------------------------------------+
// ? 2002-2013 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: modal.css,v 1.1.2.2 2025/10/21 08:46:47 dgoron Exp $ */

/* ======================================================================== */
/* Modal				                                                    */
/* ======================================================================== */

.modal-container {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dfdfdfad;
    cursor: pointer;
}

.modal {
    width: 60%;
    min-width: 50%;
    min-height: 50%;
    padding: 30px;
    background-color: #fff;
    cursor: default;
    box-shadow: 7px 8px 7px #c5c5c573;
    position: relative;
}

.modal button {
    cursor: pointer;
}

.modal-header .modal-close {
    float: right;
}

.modal-content {
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-rows: 10% 5% 85%;
    grid-template-columns: 100%;
    row-gap: 15px;
}

.modal-footer {
    display: flex;
    justify-content: end;
    align-items: end;
    gap: 10px;
}

.modal-content .modal-title {
    margin-bottom: 10px !important;
}

.modal-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
    list-style: none;
}

.modal-separator {
    border-top: 1px solid #9d9b9b57;
    margin: 0px;
}

.modal-filters > li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-filters .modal-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    padding: 4px 7px;
    border-radius: 50%;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-transform: uppercase;
    border: 1px solid gray;
}

.modal-filters .modal-filter.active,
.modal-filters .modal-filter:hover:not([disabled]) {
    background-color: #FCFCFC;
    font-weight: 600;
}

.modal-filters .modal-filter[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.modal-content-list {
    overflow-y: auto;
}

.modal-list {
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 4%;
    list-style: none;
}

.modal-list .modal-item {
    font-size: medium;
}

.modal-item-checkbox {
    width: 19px;
    height: 16px;
}