/*	modals.css
 *	Modal Window / Dialog Box application-level CSS support
 *	See also modals.js
 */

.dbox-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
/*	min-width: 24em; */

/*	display: grid;
	grid: 1fr / auto-flow;
	align-items: start;
	place-items: stretch;
	align-content: start;
	justify-content: stretch;
*/
	background-color: white;
	border: 1px solid black;
}

.dbox-title {
	padding: 0.5em 1em;
	font-size: 10pt;
	font-weight: 700;
	background-color: #447;
	color: white;
	border-bottom: 1px solid black;
	text-align: center;
}

.dbox-message {
	padding: 1em;
	font-size: 9pt;
}

.dbox-buttonbar {
	background-color: #eee;
	color: white;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	padding: 0.25em;
}

.dbox-content push-button { background: #447; color: white; }
.dbox-content push-button:focus { background: #668; }


.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; }
