.ui-dialog {
	border-radius: 4px;
	background-color: #ffffff;
	border: solid 1px #b7b7b7;
	z-index:1000;
	box-shadow: 0 0 100px #000;
}

.ui-dialog-titlebar {
	position: relative;
	height: 50px;
	line-height: 50px;
	padding: 0 25px;
	background-color: #f9f9f9;
	color: #406984;
	font-size: 18px;
	font-weight: 700;
	border-bottom: solid 1px #b7b7b7;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	cursor: move;
}

.ui-dialog .ui-dialog-titlebar-close {
	position: absolute;
	top: 50%;
	margin-top: -6px;
	right: 0;
	background: none;
	border: none;
	cursor: pointer;
}

/* Removes dotted line on Close <button> in Firefox */
.ui-dialog .ui-dialog-titlebar-close:focus {outline:none;}
.ui-dialog .ui-dialog-titlebar-close::-moz-focus-inner {border:0;}

.ui-dialog .ui-button-icon-primary:before {
	display: inline-block;
	width: 25px;
	font-family: 'FontAwesome';
	font-size: 16px;
	content: "";
	color: #406984;
}

.ui-dialog-titlebar-close .ui-button-text {
	display: none;
}

.ui-dialog-content {
	margin: 25px;
	color: #27475c;
	overflow: auto;
}

.ui-dialog-buttonpane {
	margin: 25px;
	text-align: right;
}

.ui-dialog-buttonpane button {
	display: inline-block;
	border: solid 1px #436987;
	margin-left: 15px;
	padding: 2px 20px;
	border-radius: 3px;
	box-sizing: border-box;

	font-family: 'Segoe Remap','Open Sans',sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: white;
	text-shadow: 0 1px 2px #333;
	line-height: 35px;

	background-color: #FFFFFF; background-image: -webkit-gradient(linear, left top, left bottom, from(#8ca8c0), to(#597992));
	background-image: -webkit-linear-gradient(top, #8ca8c0, #597992);
	background-image: -moz-linear-gradient(top, #8ca8c0, #597992);
	background-image: -ms-linear-gradient(top, #8ca8c0, #597992);
	background-image: -o-linear-gradient(top, #8ca8c0, #597992);
	background-image: linear-gradient(to bottom, #8ca8c0, #597992);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#8ca8c0, endColorstr=#597992);

	cursor: pointer;
}

/* Bottom button rollover state */
.ui-dialog-buttonpane button:hover {

}

.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0,0,0,0.5 );
	z-index: 301;
}

/* Resizable rules - Taken from official theme */

.ui-resizable {
	position: relative;
}

.ui-resizable-handle {
	position: absolute;
	font-size: 0.1px;
	display: block;
	-ms-touch-action: none;
	touch-action: none;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
	display: none;
}
.ui-resizable-n {
	cursor: n-resize;
	height: 7px;
	width: 100%;
	top: -5px;
	left: 0;
}
.ui-resizable-s {
	cursor: s-resize;
	height: 7px;
	width: 100%;
	bottom: -5px;
	left: 0;
}
.ui-resizable-e {
	cursor: e-resize;
	width: 7px;
	right: -5px;
	top: 0;
	height: 100%;
}
.ui-resizable-w {
	cursor: w-resize;
	width: 7px;
	left: -5px;
	top: 0;
	height: 100%;
}
.ui-resizable-se {
	cursor: se-resize;
	width: 12px;
	height: 12px;
	right: 1px;
	bottom: 1px;
}
.ui-resizable-sw {
	cursor: sw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	bottom: -5px;
}
.ui-resizable-nw {
	cursor: nw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	top: -5px;
}
.ui-resizable-ne {
	cursor: ne-resize;
	width: 9px;
	height: 9px;
	right: -5px;
	top: -5px;
}