.modal-open
{
	opacity: 1 !important;
	display: block !important;
}

.modal-fixed{
	position: fixed;
}
.modal-overlay {
	position: fixed;
    z-index: 500;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

    opacity: 1;
    background: rgba(0,0,0,.6);
	transition: 1ms opacity ease;
}

body > dialog {
	z-index: 600;
}
dialog:focus {
	box-shadow: 0 0 .2em #F00;
}

dialog {
	margin: auto;
	background: #fff;
	opacity: 1;
	cursor: auto;
	min-width: 38ch;
	box-shadow: 0 0 .2rem #000;
	transition: 1ms opacity ease;
	height: auto;
	display: block !important;
}

dialog > section{
	padding: 0.3rem;
	min-height: 3rem;
	overflow: auto;
	max-height: calc(100vh - 11rem);
	
	-webkit-overflow-scrolling: touch;

}

dialog section .requesting:after {
	background: rgba(1, 1, 1, 0.8) no-repeat scroll 0 0;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    font-size: 40px;
    height: 100%;
    left: 0;
    padding-top: 25%;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
	display:block;
	content: url('/_res/images/hourglass.svg')
}

dialog > * {
	box-sizing: border-box;
}

dialog > header {
	background: #666;
	color: #FFF;
	padding: .4rem;
	/* font-size: 2rem; */
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-size: 16px;
}

dialog > footer {
	background: #EEE;
	border-top: 1px solid rgba(0,0,0,.4);
	padding: .4rem;
	text-align: right;
}
dialog button.secondary {
	/*float: left;*/
}

dialog button.reset {
	float: none;
}

dialog > footer button {
	display: inline-block;
	margin-left: .2rem;
	margin-right: .2rem;

}



