.overlay {
background-color: gray;
height: 100vh;
left: 0;
opacity: 0.77;
position: fixed;
right: 0;
top: 0;
z-index: 50;
}
.dialog {
background: #fff none repeat scroll 0 0;
border: 2px solid #ccc;
border-radius: 5px;
box-shadow: 0 0 10px #222;
min-height: 300px;
min-width: 500px;
height: auto;
width: auto;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: fixed;
z-index: 50;
}
.dialog-header,
.dialog-body,
.dialog-footer{
padding: 5px 10px 0;
}
.dialog-header h2{
margin: 0;
}
.dialog-body b{
display: inline-block;
min-width: 140px;
}