
.dialog {
	font-family: Verdana, sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: #fff;
	background: #666;
	margin: 0;
	position: absolute;
}

.dialog .titlebar {
	height: 32px;
	line-height: 32px;
	vertical-align: middle;
	font-size: 1.2em;
	padding: 0 8px 0 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: move;
	background: #39c;
}

.dialog .content {
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: auto;
	font-size: 1em;
}

.dialog .buttonpane:before {
	width: 100%;
	height: 0;
	border-bottom: 1px solid;
	content: '';
	position: absolute;
	top: -16px;
}

.dialog .buttonpane {
	width: 100%;
	position: absolute;
	bottom: 16px;
	right: 16px;
}

.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,
.dialog button.active
{
	cursor: pointer;
}

.dialog>button {
	width: 32px;
	height: 32px;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	border: 0;
	font-size: 1.4em;
	background: #fa0;
}

.dialog>button.hover,
.dialog>button.focus
{
	box-shadow: inset -16px 0 0 0 #e80, inset 16px 0 0 0 #e80;
}

.dialog>button.active {
	background: #f55;
	border: 1px solid #ddd;
}

.dialog .buttonset button {
	height: 32px;
	width: 64px;
	font-size: 1.1em;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 4px;
	margin-left: 16px;
	background: #39c
}

.dialog .buttonset button:first-child {
	margin-left: 0;
}

.dialog .buttonset button.hover,
.dialog .buttonset button.focus
{
	box-shadow: inset -32px 0 0 0 #17a, inset 32px 0 0 0 #17a;
}

.dialog .buttonset button.active {
	background: #1a7;
	border-color: #ddd;
}
