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

/* ---------------------------------------------------------------------------*/
/*                                  Modal                                     */
/* ---------------------------------------------------------------------------*/

.modal-background {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	background: #8080805e;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal {
	background: white;
	min-height: 30%;
	min-width: 30%;
	border: 1px solid gray;
	border-radius: 5px;
	box-shadow: 0px 7px 11px 0px #7c7c7c;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
    overflow-y: auto;
    max-height: 90%;
}

.modal .modal-header,
.modal .modal-content,
.modal .modal-footer {
	padding: 2%;
}

.modal-header {
	height: 25%;
	border-bottom: 1px solid #80808082;
}

.modal-content {
	height: 50%;
	flex-grow: 1;
}

.modal-footer {
	height: 25%;
	border-top: 1px solid #80808082;
}