/*styliser UI:
	ui-dialog: The outer container of the dialog.
	ui-dialog-titlebar: The title bar containing the dialog's title and close button.
	ui-dialog-title: The container around the textual title of the dialog.
	ui-dialog-titlebar-close: The dialog's close button.
	ui-dialog-content: The container around the dialog's content. This is also the element the widget was instantiated with.
	ui-dialog-buttonpane: The pane that contains the dialog's buttons. This will only be present if the buttons option is set.
	ui-dialog-buttonset: The container around the buttons themselves.
	Additionally, when the modal option is set, an element with a ui-widget-overlay class name is appended to the <body>.
	*/

.ui-widget-content *{
	font-family:"Courier New", Courier, monospace;
	font-weight: normal;
	font-size:16px;
}

*:focus{
	outline:none;
}

*:focus span.ui-button-text::after{
	position: relative;
}

*:focus span.ui-button-text::after{
	content:"";
	position: absolute;
	width:inherit;
	height:inherit;
	background-color: rgba(255, 255, 255, 0.7);
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1; 
}

.ui-state-focus{

}


.ui-widget-content, .ui-widget-header{
	background: none;
	border:none;
}

.ui-dialog{
	padding:10px;
	border:1px solid #000;
	border-radius: 0;
	background-color: rgba(255, 255, 255, 0.7);
}

.ui-dialog-title{
	font-size: 1.2em;
	white-space: normal !important;
	text-overflow:normal !important;
	overflow: hidden;
}

.ui-dialog-buttonpane{
	padding:10px;
}

.ui-dialog-buttonset{
	margin:0 auto;
}

.ui-button.ui-state-default{
	background: none;
	border:1px solid #000;
	color: #000;
	border-radius: 0;
}

.ui-button.ui-state-hover{
	text-decoration: underline;
}

.ui-icon-closethick{
	background-image: none !important;
}

.ui-button-icon-only{
	background-image: none;
	position: relative;
	vertical-align: middle;
}

.ui-button-icon-only:hover{
	background-color:rgba(230, 230, 230, 0.2);
}

.ui-button-icon-only::after{
	content:"x";
	position: absolute;
	width:inherit;
	height:inherit;
	top: -4px;
	left: -1px;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1; 
}