.dialog {
	display: none; /* not visible by default */
	font-family: Verdana, sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #024eb6;
	background-color: #eaefeb;
	background: #eaefeb;
	border-radius: 4px;
	margin: 0;
	position: absolute;
	-webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75);
	box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75);
	z-index: 9500; 
}
.dialog .titlebar {
	font-family:  Verdana, Arial, sans-serif/*{ffDefault}*/;
	padding-left: 15px;
    padding-top: 15px;
	color: #285698;    
	background-color: #eaefeb;
	background: #eaefeb;
	vertical-align: middle;
	font-size: 2em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: move;
	border-radius: 4px;
	line-height: 0.9em;
	padding-bottom: 5px;
}
.dialog .content {
	margin-top: 18px;
    margin-left: 15px;
    margin-right: 15px;
	overflow: auto;
	font-size: 1em;
	border: 1px solid #dbdedc;
	padding: 5px;
	color: #000; /*61508*/
	line-height: 1.3; /* 62214:Увеличить межстрочный интервал*/
}

.dialog .content-scroll-hide {
	overflow: hidden;
	font-size: 1em;
	margin-top: 18px;
    margin-left: 15px;
    margin-right: 15px;
}

.dialog .buttonpane:before {
	width: 100%;
	height: 0;
	content: '';
	position: absolute;
	top: -10px; /* change allowed */
}
.dialog .buttonpane {
	width: 100%;
	position: absolute;
	bottom: 16px; /* change allowed */
	right: 8px; /* change NOT allowed */
	white-space: nowrap; /* keep buttons on one line */
}
.dialog .buttonset {
	float: right;
}
.dialog button::-moz-focus-inner {
	border: 0;
}
/* .dialog button.hover, */ /* Let's use standard hover */
.dialog button:hover,
.dialog button.active
{
	cursor: pointer;
}
.dialog>button {
	margin-top: 15px;
    margin-right: 11px;
	width: 32px; /* change NOT allowed */
	height: 32px; /* same as .dialog .titlebar height */
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	border: 0;
	font-size: 1.4em;
	color: #285698;    
	background-color: #eaefeb;
	background: #eaefeb;
	border-radius: 4px;
}

.scroll-hide{
	overflow: hidden;
}

#dialog-box-button-cancel{
	margin-right: 8px;
}

.ui-widget-overlay
{
	height: 130vw;
	overflow: hidden;
	position: fixed;
}