/*	dialog.css
 *	Modal Dialog Box CSS support
 *	See also dialog.js
 */

.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
/*	transform: scale(1.1); */
/*	z-index: 99; */
}

.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	border: 1px solid black;
	width: 24rem;
}
.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.close-button:hover { background-color: darkgray; }

.dialog-title {
	padding: 0.5em 1em;
	font-size: 10pt;
	font-weight: 700;
	background-color: #447;
	color: white;
	border-bottom: 1px solid black;
}
.dialog-content {
	padding: 1em;
	font-size: 9pt;
}
.dialog-content div:not(:first-child) {
	padding-top: 0.5em;
}
.dialog-buttonbar {
	background-color: #eee;
	color: white;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
}
.dialog-button {
	border-radius: 0.5em; 
	padding: 0.5em 1em;
	font-size: 10pt;
	font-weight: 700;
	text-align: center;
	background-color: #004;
	color: white;
	cursor: pointer;
	margin: 0.25em;
}
.dialog-button:hover { background-color: #42f; }

