/*
 * Stylesheet for Draggable and Resizable Dialog Box
 *
 * Designed by ZulNs, @Gorontalo, Indonesia, 7 June 2017
 * Extended by FrankBuchholz, Germany, 2019
 * You can change all colors
 * You can change some of the sizes without expecting issues, see below
*/

/* .modal-open {
	overflow: hidden;
}
.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
} */

.dialog {
	display: none; /* not visible by default */
	z-index: 1060;
	display: none;
	min-height: 360px;
	min-width:  400px;
	max-height: 600px;
	max-width:  600px;
	overflow: hidden;
	outline: 0;
	margin: 0;
	position: absolute;
	background-color: #fff;
}

/* .modal-dialog {
	position: relative;
	width: auto;
	margin: 0.5rem;
	pointer-events: none;
}
.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
	.modal.fade .modal-dialog {
	  transition: none;
	}
}
.modal.show .modal-dialog {
	transform: none;
} */

.dialog .titlebar {
	height: 32px; /* same as .dialog>button height */
	line-height: 32px; /* same as .dialog>button height */
	vertical-align: middle;
	font-size: 1.2em;
	padding: 0 8px 0 8px; /* change NOT allowed */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: move;
}

/* .modal-header {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1rem;
	border-bottom: 1px solid #dee2e6;
	border-top-left-radius: calc(0.3rem - 1px);
	border-top-right-radius: calc(0.3rem - 1px);
} */

.dialog .content {
	position: absolute;
	top: 65px; /* change allowed */
	left: 16px; /* change NOT allowed */
	overflow: hidden;
	font-size: 1em;
}

/* .modal-content {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	pointer-events: auto;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	outline: 0;
} */
  
.dialog .buttonpane {
	width: 100% !important;
	position: absolute;
	bottom: 0; /* change allowed */
	white-space: nowrap; /* keep buttons on one line */
}
.dialog .buttonset {
	float: right;
}

/* .dialog button {
	-webkit-transition: 0.25s;
	transition: 0.25s;
	color: #fff;
}
.dialog button::-moz-focus-inner {
	border: 0;
} */
/* .dialog button.hover, */ /* Let's use standard hover */
.dialog button:hover,
.dialog button.active
{
	cursor: pointer;
}

.gs-btn-close {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}